/* ==========================================================================
   StoneCode Technology — Premium Multipurpose Platform Homepage
   Base Stylesheet
   ========================================================================== */

/* ---------------------------------- */
/* 1. Custom Properties               */
/* ---------------------------------- */
:root {
  /* Brand palette */
  --c-primary: #0a1633;
  --c-secondary: #113bff;
  --c-dark: #050b16;
  --c-bg: #071322;
  --c-white: #ffffff;
  --c-gold: #f6c453;
  --c-glass-border: rgba(255, 255, 255, 0.12);
  --c-glow: rgba(55, 110, 255, 0.45);

  /* Derived tones */
  --c-text-muted: rgba(255, 255, 255, 0.62);
  --c-text-faint: rgba(255, 255, 255, 0.38);
  --c-surface: rgba(255, 255, 255, 0.04);
  --c-surface-hover: rgba(255, 255, 255, 0.07);
  --c-success: #34d399;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #113bff 0%, #4f7dff 50%, #7aa5ff 100%);
  --grad-gold: linear-gradient(135deg, #f6c453 0%, #e8a93a 100%);
  --grad-hero-text: linear-gradient(120deg, #ffffff 0%, #9db8ff 55%, #113bff 100%);
  --grad-radial-glow: radial-gradient(circle at 50% 0%, rgba(55, 110, 255, 0.35), transparent 60%);
  --grad-card: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);

  /* Typography */
  --font-display: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --container-width: 1400px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;

  /* Shadows */
  --shadow-glow-sm: 0 0 24px rgba(55, 110, 255, 0.25);
  --shadow-glow-md: 0 12px 48px rgba(55, 110, 255, 0.28);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.45);
}

/* ---------------------------------- */
/* 2. Reset & Base                    */
/* ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 32px;
  position: relative;
}

section {
  position: relative;
  padding-block: 110px;
}

/* ---------------------------------- */
/* 3. Global Background Atmosphere    */
/* ---------------------------------- */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 8%, rgba(55, 110, 255, 0.22), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(246, 196, 83, 0.08), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(17, 59, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #050b16 0%, #071322 40%, #071624 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  pointer-events: none;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(122, 165, 255, 0.6);
  box-shadow: 0 0 10px 2px rgba(122, 165, 255, 0.4);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120vh) translateX(30px); opacity: 0; }
}

.cube {
  position: fixed;
  z-index: -1;
  border: 1px solid rgba(122, 165, 255, 0.35);
  background: linear-gradient(135deg, rgba(55, 110, 255, 0.12), rgba(255, 255, 255, 0.02));
  border-radius: 8px;
  backdrop-filter: blur(2px);
  animation: floatCube 12s ease-in-out infinite;
}

@keyframes floatCube {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(-30px) rotate(28deg); }
}

/* ---------------------------------- */
/* 4. Utility Classes                 */
/* ---------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-gold);
  background: rgba(246, 196, 83, 0.08);
  border: 1px solid rgba(246, 196, 83, 0.3);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.section-tag {
  color: var(--c-gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 16px;
}

.section-title .highlight {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-desc {
  color: var(--c-text-muted);
  font-size: 16px;
  max-width: 560px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-gold);
  font-weight: 600;
  font-size: 14px;
  transition: gap var(--dur-fast) var(--ease-out);
}

.text-link:hover {
  gap: 12px;
}

.glass {
  background: var(--grad-card);
  border: 1px solid var(--c-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform var(--dur-fast) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--c-dark);
  box-shadow: 0 8px 30px rgba(246, 196, 83, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(246, 196, 83, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-glass-border);
  color: var(--c-white);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-glow {
  background: transparent;
  border: 1px solid rgba(122, 165, 255, 0.4);
  color: var(--c-white);
}

.btn-outline-glow:hover {
  box-shadow: 0 0 0 1px rgba(122, 165, 255, 0.6), var(--shadow-glow-sm);
  transform: translateY(-2px);
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim 0.6s var(--ease-out);
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animations-ready .reveal {
  opacity: 0;
  transform: translateY(36px);
}

.animations-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animations-ready .reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}

.animations-ready .reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------------------------------- */
/* 5. Navbar                          */
/* ---------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding-block: 20px;
  transition: padding var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding-block: 12px;
  background: rgba(5, 11, 22, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--c-glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: 174px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.nav-links a:hover,
.nav-links li.active > a {
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links svg.chev {
  width: 12px;
  height: 12px;
  transition: transform var(--dur-fast) var(--ease-out);
}

.has-dropdown:hover svg.chev {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  padding: 14px;
  border-radius: var(--radius-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), visibility var(--dur-fast);
  box-shadow: var(--shadow-card);
  z-index: 50;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 11px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--c-glass-border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}

/* ---------------------------------- */
/* 6. Hero Section                    */
/* ---------------------------------- */
.hero {
  padding-top: 190px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-heading {
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 22px;
}

.hero-heading .line-1 {
  display: block;
  color: var(--c-white);
}

.hero-heading .line-2 {
  display: block;
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--c-text-muted);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  padding: 16px 14px;
  border-radius: var(--radius-md);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 165, 255, 0.4);
}

.stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(17, 59, 255, 0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.stat-icon svg {
  width: 17px;
  height: 17px;
  color: #7aa5ff;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}

.stat-label {
  font-size: 11.5px;
  color: var(--c-text-muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 560px;
  perspective: 1400px;
}

.hero-orb {
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 59, 255, 0.35), transparent 70%);
  filter: blur(30px);
  animation: pulseOrb 6s ease-in-out infinite;
}

@keyframes pulseOrb {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.device {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: floatDevice 7s ease-in-out infinite;
}

@keyframes floatDevice {
  0%, 100% { transform: translateY(0) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
  50% { transform: translateY(-16px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
}

.device-laptop {
  width: 62%;
  left: 18%;
  top: 12%;
  --ry: -6deg;
  --rx: 4deg;
  z-index: 3;
  border-radius: 16px 16px 4px 4px;
  border: 6px solid #0d1a30;
  background: #071021;
}

.device-laptop::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -22px;
  height: 20px;
  background: linear-gradient(180deg, #1a2740, #0a1224);
  border-radius: 0 0 8px 8px;
}

.device-tablet {
  width: 34%;
  right: 0;
  top: 4%;
  --ry: 10deg;
  --rx: -3deg;
  z-index: 2;
  animation-delay: 0.6s;
  border: 5px solid #0d1a30;
}

.device-mobile {
  width: 20%;
  left: 2%;
  bottom: 8%;
  --ry: -12deg;
  --rx: 2deg;
  z-index: 4;
  animation-delay: 1.2s;
  border: 4px solid #0d1a30;
  border-radius: 20px;
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-ring {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(17, 59, 255, 0.55), transparent 70%);
  filter: blur(10px);
  z-index: 1;
}

.float-cube {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(122, 165, 255, 0.5);
  background: linear-gradient(135deg, rgba(17, 59, 255, 0.25), rgba(255, 255, 255, 0.04));
  border-radius: 10px;
  animation: floatCube 8s ease-in-out infinite;
}

.float-cube.c1 { top: -2%; left: 30%; animation-delay: 0.3s; }
.float-cube.c2 { bottom: 2%; right: 6%; width: 30px; height: 30px; animation-delay: 1.5s; }

/* ---------------------------------- */
/* 7. Industry Switcher               */
/* ---------------------------------- */
.industries {
  padding-block: 50px 90px;
}

.industry-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 165, 255, 0.4) transparent;
}

.industry-track::-webkit-scrollbar {
  height: 5px;
}

.industry-track::-webkit-scrollbar-thumb {
  background: rgba(122, 165, 255, 0.4);
  border-radius: 10px;
}

.industry-card {
  flex: 0 0 auto;
  width: 108px;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--dur-fast) var(--ease-spring), border-color var(--dur-fast), background var(--dur-fast);
  cursor: pointer;
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(122, 165, 255, 0.5);
}

.industry-card.active {
  background: rgba(17, 59, 255, 0.16);
  border-color: rgba(122, 165, 255, 0.6);
  box-shadow: var(--shadow-glow-sm);
}

.industry-icon {
  width: 40px;
  height: 40px;
  margin-inline: auto;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  color: #9db8ff;
}

.industry-icon svg {
  width: 22px;
  height: 22px;
}

.industry-card span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-text-muted);
}

.industry-card.active span,
.industry-card.active .industry-icon {
  color: var(--c-white);
}

/* ---------------------------------- */
/* 8. Services Section                */
/* ---------------------------------- */
.services-head {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 46px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 26px 24px;
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(122, 165, 255, 0.45);
  box-shadow: var(--shadow-glow-md);
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--grad-primary);
  box-shadow: var(--shadow-glow-sm);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

/* ---------------------------------- */
/* 9. Analytics / AI Split Section    */
/* ---------------------------------- */
.split-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.panel {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.dash-card {
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
}

.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--c-glass-border);
}

.dash-brand {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}

.dash-sidebar a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--c-text-muted);
  font-size: 11.5px;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.dash-sidebar a.active,
.dash-sidebar a:hover {
  background: rgba(17, 59, 255, 0.22);
  color: var(--c-white);
}

.dash-main {
  min-width: 0;
}

.dash-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.metric {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-glass-border);
}

.metric-label {
  font-size: 11px;
  color: var(--c-text-muted);
  margin-bottom: 6px;
}

.metric-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}

.metric-delta {
  font-size: 11px;
  color: var(--c-success);
}

.dash-charts {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
}

.chart-box {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-glass-border);
}

.chart-box h4 {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}

.line-chart {
  width: 100%;
  height: 90px;
}

.donut-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.donut-legend {
  font-size: 11px;
  color: var(--c-text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.donut-legend span {
  color: var(--c-white);
  font-weight: 600;
}

.ai-panel h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.ai-panel .section-desc {
  margin-bottom: 26px;
}

.ai-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.ai-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
}

.ai-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--c-success);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ai-check svg {
  width: 12px;
  height: 12px;
}

.ai-chip {
  position: relative;
  height: 180px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 50% 50%, rgba(17, 59, 255, 0.35), rgba(5, 11, 22, 0.9) 70%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(122, 165, 255, 0.3);
}

.ai-chip-core {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  box-shadow: 0 0 50px rgba(55, 110, 255, 0.6);
  animation: chipPulse 3s ease-in-out infinite;
}

@keyframes chipPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(55, 110, 255, 0.5); }
  50% { box-shadow: 0 0 70px rgba(55, 110, 255, 0.85); }
}

.ai-chip-trace {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, transparent 49%, rgba(122, 165, 255, 0.15) 50%, transparent 51%),
    linear-gradient(90deg, transparent 49%, rgba(122, 165, 255, 0.15) 50%, transparent 51%);
  background-size: 30px 30px;
  opacity: 0.5;
}

/* ---------------------------------- */
/* 10. Testimonials                   */
/* ---------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 44px;
}

.testimonial-card {
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 196, 83, 0.4);
}

.testimonial-card p.quote {
  font-size: 14px;
  color: var(--c-white);
  margin-bottom: 18px;
  min-height: 62px;
}

.testimonial-main .avatars {
  display: flex;
  margin-bottom: 14px;
}

.testimonial-main .avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--c-bg);
  margin-left: -10px;
  object-fit: cover;
}

.testimonial-main .avatars img:first-child {
  margin-left: 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-gold);
  font-size: 13px;
  font-weight: 600;
}

.rating .stars svg {
  width: 14px;
  height: 14px;
  display: inline;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-name {
  font-size: 13.5px;
  font-weight: 600;
}

.reviewer-role {
  font-size: 11.5px;
  color: var(--c-text-muted);
}

.reviewer-stars {
  color: var(--c-gold);
  font-size: 11px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-block {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius-md);
}

.stat-block .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  background: var(--grad-hero-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.stat-block .label {
  font-size: 13px;
  color: var(--c-text-muted);
}

/* ---------------------------------- */
/* 11. Pricing                        */
/* ---------------------------------- */
.pricing-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(420px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 0;
}

.price-card {
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}

.price-card:hover {
  transform: translateY(-8px);
}

.price-card.featured {
  background: linear-gradient(160deg, rgba(17, 59, 255, 0.18), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(122, 165, 255, 0.5);
  box-shadow: var(--shadow-glow-md);
}

.price-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--grad-gold);
  color: var(--c-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.price-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  margin-bottom: 6px;
}

.price-amount span {
  font-size: 15px;
  font-weight: 400;
  color: var(--c-text-muted);
}

.price-card > p.desc {
  font-size: 13.5px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.price-features svg {
  width: 16px;
  height: 16px;
  color: var(--c-success);
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
}

/* Comparison table */
.compare-table {
  border-radius: var(--radius-lg);
  padding: 8px;
  overflow-x: auto;
}

.compare-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--c-glass-border);
}

.compare-table th {
  color: var(--c-text-muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
}

.compare-table tbody tr {
  transition: background var(--dur-fast) var(--ease-out);
}

.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.compare-table td.col-featured,
.compare-table th.col-featured {
  background: rgba(17, 59, 255, 0.12);
}

.compare-table svg.yes {
  width: 18px;
  height: 18px;
  color: var(--c-success);
}

/* ---------------------------------- */
/* 12. Trusted Brands                 */
/* ---------------------------------- */
.brands-strip {
  padding-block: 46px;
  border-top: 1px solid var(--c-glass-border);
  border-bottom: 1px solid var(--c-glass-border);
}

.brands-strip p {
  text-align: center;
  color: var(--c-text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.brands-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.7;
}

.brands-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--c-white);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--dur-fast), transform var(--dur-fast);
}

.brands-track span:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ---------------------------------- */
/* 13. CTA Section                    */
/* ---------------------------------- */
.cta-section {
  padding-block: 70px;
}

.cta-box {
  border-radius: var(--radius-lg);
  padding: 50px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(17, 59, 255, 0.22), rgba(5, 11, 22, 0.4));
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(122, 165, 255, 0.3), transparent 70%);
  right: -100px;
  top: -150px;
  filter: blur(10px);
}

.cta-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
}

.cta-content p {
  color: var(--c-text-muted);
  font-size: 15px;
}

.cta-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cta-trust {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-trust .avatars {
  display: flex;
}

.cta-trust .avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--c-dark);
  margin-left: -10px;
  object-fit: cover;
}

.cta-trust .avatars img:first-child {
  margin-left: 0;
}

.cta-trust span {
  font-size: 13px;
  color: var(--c-text-muted);
  white-space: nowrap;
}

/* ---------------------------------- */
/* 14. Footer                         */
/* ---------------------------------- */
.footer {
  border-top: 1px solid var(--c-glass-border);
  padding-block: 70px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--c-text-muted);
  font-size: 14px;
  margin: 18px 0 22px;
  max-width: 280px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-glass-border);
  transition: border-color var(--dur-fast), transform var(--dur-fast), background var(--dur-fast);
}

.social-icons a:hover {
  border-color: rgba(122, 165, 255, 0.5);
  transform: translateY(-3px);
  background: rgba(17, 59, 255, 0.12);
}

.social-icons svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 14.5px;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
}

.footer-col a:hover {
  color: var(--c-white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--c-text-muted);
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #7aa5ff;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--c-glass-border);
  font-size: 13px;
  color: var(--c-text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--c-text-faint);
}

.footer-bottom a:hover {
  color: var(--c-white);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

/* ---------------------------------- */
/* 15. Back to top                    */
/* ---------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-primary);
  box-shadow: var(--shadow-glow-md);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-fast), transform var(--dur-fast), visibility var(--dur-fast);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------- */
/* 16. Skip link (a11y)               */
/* ---------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-gold);
  color: var(--c-dark);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}
