/* ═══════════════════════════════════════════════════════
   Bit AI — Premium Stylesheet
   Dark theme · Glassmorphism · Neon accents · Animations
═══════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --clr-bg:          #020408;
  --clr-surface:     rgba(255,255,255,0.03);
  --clr-glass:       rgba(10,14,26,0.55);
  --clr-glass-hover: rgba(18,24,42,0.75);
  --clr-border:      rgba(255,255,255,0.07);
  --clr-border-glow: rgba(124,58,237,0.35);

  --clr-purple:      #7c3aed;
  --clr-blue:        #3b82f6;
  --clr-cyan:        #06b6d4;
  --clr-violet:      #6366f1;

  --grad-primary:    linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
  --grad-text:       linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #34d399 100%);
  --grad-overlay:    linear-gradient(180deg, rgba(2,4,8,0) 0%, rgba(2,4,8,0.55) 40%, rgba(2,4,8,0.92) 100%);

  --ff-sans:         'Inter', system-ui, sans-serif;
  --ff-display:      'Space Grotesk', 'Inter', sans-serif;

  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       36px;

  --transition:      0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;

  --shadow-glow:     0 0 40px rgba(124,58,237,0.25), 0 0 80px rgba(59,130,246,0.12);
  --shadow-card:     0 8px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.05) inset;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--clr-bg);
  color: #e2e8f0;
  font-family: var(--ff-sans);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0d14; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--clr-purple), var(--clr-blue));
  border-radius: 3px;
}

/* ════════════════════════════════
   CANVAS / OVERLAY
════════════════════════════════ */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--grad-overlay);
  pointer-events: none;
}

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1rem, 5vw, 3rem);
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(2, 4, 8, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--clr-border);
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 12px rgba(124,58,237,0.8); transform: scale(1); }
  50%       { box-shadow: 0 0 20px rgba(59,130,246,1);  transform: scale(1.15); }
}

.logo-text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-accent { color: #818cf8; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  color: rgba(226,232,240,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  flex-shrink: 0;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ════════════════════════════════
   SECTIONS (shared)
════════════════════════════════ */
.section {
  position: relative;
  z-index: 10;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #818cf8;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #818cf8;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  color: rgba(226,232,240,0.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════
   HERO SECTION
════════════════════════════════ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px clamp(1rem, 5vw, 3rem) 80px;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #a78bfa;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #a78bfa;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.75rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(226,232,240,0.65);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124,58,237,0.45), 0 4px 12px rgba(59,130,246,0.25);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-large {
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  color: rgba(226,232,240,0.85);
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: rgba(226,232,240,0.75);
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.btn-outline:hover {
  border-color: rgba(124,58,237,0.6);
  color: #fff;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.trust-label {
  font-size: 0.8rem;
  color: rgba(226,232,240,0.35);
  letter-spacing: 0.05em;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-logo {
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(226,232,240,0.45);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
}

.trust-logo:hover { color: rgba(226,232,240,0.75); }

.trust-sep {
  color: rgba(226,232,240,0.2);
  font-size: 0.85rem;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-dot {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  position: relative;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* ════════════════════════════════
   GLASS CARD / GLASSMORPHISM
════════════════════════════════ */
.glass {
  background: var(--clr-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.glass:hover {
  background: var(--clr-glass-hover);
  border-color: rgba(124,58,237,0.25);
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(124,58,237,0.1), 0 20px 60px rgba(0,0,0,0.4);
}

/* ════════════════════════════════
   BORDER GLOW — Feature Cards
════════════════════════════════ */
.feature-card {
  --bg-glow:        #0a0d1a;
  --edge-proximity: 0;
  --cursor-angle:   45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: 50;
  --cone-spread: 22;
  --glow-padding: 38px;
  --fill-opacity: 0.45;

  /* Glow color HSL vars (purple-indigo) */
  --glow-color:    hsl(248deg 87% 78% / 100%);
  --glow-color-60: hsl(248deg 87% 78% / 60%);
  --glow-color-50: hsl(248deg 87% 78% / 50%);
  --glow-color-40: hsl(248deg 87% 78% / 40%);
  --glow-color-30: hsl(248deg 87% 78% / 30%);
  --glow-color-20: hsl(248deg 87% 78% / 20%);
  --glow-color-10: hsl(248deg 87% 78% / 10%);

  /* Mesh gradient stops */
  --g1: radial-gradient(at 80% 55%, #c084fc 0px, transparent 50%);
  --g2: radial-gradient(at 69% 34%, #f472b6 0px, transparent 50%);
  --g3: radial-gradient(at 8%  6%,  #38bdf8 0px, transparent 50%);
  --g4: radial-gradient(at 41% 38%, #a78bfa 0px, transparent 50%);
  --g5: radial-gradient(at 86% 85%, #67e8f9 0px, transparent 50%);
  --g6: radial-gradient(at 82% 18%, #f9a8d4 0px, transparent 50%);
  --g7: radial-gradient(at 51% 4%,  #e879f9 0px, transparent 50%);
  --gb: linear-gradient(#c084fc 0 100%);

  position: relative;
  isolation: isolate;
  overflow: visible !important;
}

/* ── Colored mesh-gradient border (conic-masked) ── */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  border: 1px solid transparent;

  background:
    linear-gradient(var(--clr-glass) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    var(--g1) border-box,
    var(--g2) border-box,
    var(--g3) border-box,
    var(--g4) border-box,
    var(--g5) border-box,
    var(--g6) border-box,
    var(--g7) border-box,
    var(--gb) border-box;

  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%)
  );

  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

/* ── Soft mesh fill (blended color wash) ── */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  border: 1px solid transparent;

  background:
    var(--g1) padding-box,
    var(--g2) padding-box,
    var(--g3) padding-box,
    var(--g4) padding-box,
    var(--g5) padding-box,
    var(--g6) padding-box,
    var(--g7) padding-box,
    var(--gb) padding-box;

  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);

  mask-composite: subtract, add, add, add, add, add;
  -webkit-mask-composite: destination-out, source-over, source-over, source-over, source-over, source-over;

  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

/* ── Outer edge glow ring ── */
.feature-card > .edge-light {
  position: absolute;
  inset: calc(var(--glow-padding) * -1);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  mix-blend-mode: plus-lighter;
  transition: opacity 0.75s ease-in-out;

  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black 2.5%,
    transparent 10%,
    transparent 90%,
    black 97.5%
  );
}

.feature-card > .edge-light::before {
  content: '';
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px    var(--glow-color),
    inset 0 0 1px  0   var(--glow-color-60),
    inset 0 0 3px  0   var(--glow-color-50),
    inset 0 0 6px  0   var(--glow-color-40),
    inset 0 0 15px 0   var(--glow-color-30),
    inset 0 0 25px 2px var(--glow-color-20),
    inset 0 0 50px 2px var(--glow-color-10),
          0 0 1px  0   var(--glow-color-60),
          0 0 3px  0   var(--glow-color-50),
          0 0 6px  0   var(--glow-color-40),
          0 0 15px 0   var(--glow-color-30),
          0 0 25px 2px var(--glow-color-20),
          0 0 50px 2px var(--glow-color-10);
}

/* Active state — all three layers fade in */
.feature-card:hover::before,
.feature-card.bg-glow-active::before {
  opacity: calc(
    (var(--edge-proximity) - var(--color-sensitivity)) /
    (100 - var(--color-sensitivity))
  );
  transition: opacity 0.25s ease-out;
}

.feature-card:hover::after,
.feature-card.bg-glow-active::after {
  opacity: calc(
    var(--fill-opacity) *
    (var(--edge-proximity) - var(--color-sensitivity)) /
    (100 - var(--color-sensitivity))
  );
  transition: opacity 0.25s ease-out;
}

.feature-card:hover > .edge-light,
.feature-card.bg-glow-active > .edge-light {
  opacity: calc(
    (var(--edge-proximity) - var(--edge-sensitivity)) /
    (100 - var(--edge-sensitivity))
  );
  transition: opacity 0.25s ease-out;
}

/* Keep card inner content above pseudo-elements */
.feature-card > *:not(.edge-light) {
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════
   FEATURES SECTION
════════════════════════════════ */
.features-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem 2rem 1.75rem;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feat-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 8px rgba(124,58,237,0.4));
}

.feat-icon svg {
  width: 100%;
  height: 100%;
}

.feat-title {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.65rem;
}

.feat-desc {
  font-size: 0.9rem;
  color: rgba(226,232,240,0.55);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.feat-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #818cf8;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

/* ════════════════════════════════
   STATS SECTION
════════════════════════════════ */
.stats-section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  padding: 2rem 2rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--grad-primary);
  opacity: 0.6;
}

.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.stat-suffix {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  display: inline;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(226,232,240,0.5);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.stat-bar {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-card.animated .stat-bar-fill {
  transform: scaleX(1);
}

/* ════════════════════════════════
   TESTIMONIALS
════════════════════════════════ */
.testimonials-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(226,232,240,0.75);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--clr-border);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.author-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.author-role {
  font-size: 0.78rem;
  color: rgba(226,232,240,0.45);
}

/* ════════════════════════════════
   CTA SECTION
════════════════════════════════ */
.cta-section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.cta-card {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 100%);
  height: 300px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.18) 0%, rgba(59,130,246,0.08) 50%, transparent 80%);
  pointer-events: none;
  filter: blur(20px);
}

.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 1rem 0;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(226,232,240,0.55);
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-fine {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: rgba(226,232,240,0.3);
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--clr-border);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
  background: rgba(2,4,8,0.6);
  backdrop-filter: blur(12px);
}

.footer-inner {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(226,232,240,0.4);
  margin-top: 0.75rem;
  max-width: 220px;
}

.footer-links-group {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.5);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(226,232,240,0.45);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:hover { color: rgba(226,232,240,0.85); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
  font-size: 0.8rem;
  color: rgba(226,232,240,0.3);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: rgba(226,232,240,0.3);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: rgba(226,232,240,0.7); }

/* ════════════════════════════════
   SCROLL REVEAL ANIMATIONS
════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.hero-content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero-content .reveal:nth-child(2) { transition-delay: 0.22s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.34s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.46s; }
.hero-content .reveal:nth-child(5) { transition-delay: 0.58s; }

.features-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.features-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.33s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.40s; }

.stats-grid .reveal:nth-child(1) { transition-delay: 0.0s; }
.stats-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.stats-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.stats-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

.testimonials-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.25s; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .nav-cta    { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(2,4,8,0.96);
    backdrop-filter: blur(20px);
    padding: 1.5rem clamp(1rem, 5vw, 3rem) 2rem;
    border-bottom: 1px solid var(--clr-border);
    gap: 0.25rem;
    z-index: 99;
  }

  .features-grid      { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-inner       { flex-direction: column; gap: 2rem; }
  .footer-links-group { gap: 2rem; }
  .hero-actions       { gap: 0.75rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }

  /* Reduce animation intensity on mobile */
  .reveal {
    transform: translateY(20px);
  }

  .feature-card:hover,
  .testimonial-card:hover {
    transform: none;
  }

  .hero-trust { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .logo-dot, .badge-dot, .scroll-dot::after {
    animation: none;
  }
}
