@charset "UTF-8";

/* =========================================================
   ITERATUM — COMPLETE COHESIVE CSS
   - Fixed header (dark bg, no white logo box)
   - All component styles included
   - Consistent design language
   ========================================================= */

/* =========================
   CSS LAYERS
   ========================= */
@layer reset, tokens, base, components, utilities, overrides;

/* =========================
   FONT IMPORTS
   ========================= */
@layer tokens {
  @import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600&display=swap");
}

/* =========================
   TOKENS
   ========================= */
@layer tokens {
  :root {
    /* Brand */
    --brand-500: #12ace0;
    --brand-600: #0a8fc0;
    --brand-400: #4fc3ed;
    --brand-300: #7dd4f3;
    --brand-700: #007fa4;
    --brand-800: #006685;

    /* Light theme */
    --bg: #ffffff;
    --bg-muted: #f6f8fb;
    --surface: #ffffff;
    --surface-2: #fbfcfe;
    --surface-3: #f1f5f9;

    --text: #0b1220;
    --text-muted: #475569;
    --text-subtle: #64748b;

    --border: rgba(2, 6, 23, 0.10);
    --border-strong: rgba(2, 6, 23, 0.16);

    --ring: color-mix(in srgb, var(--brand-500) 45%, transparent);

    /* Dark palette */
    --dark-bg: #071a28;
    --dark-surface: #0b2232;
    --dark-elevated: #102b3e;
    --dark-border: rgba(18, 172, 224, 0.18);

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.10), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 26px 56px rgba(0, 0, 0, 0.16), 0 10px 22px rgba(0, 0, 0, 0.10);

    --shadow-card: 0 4px 24px rgba(2, 6, 23, 0.08), 0 1px 4px rgba(2, 6, 23, 0.04);
    --shadow-card-hover: 0 20px 50px rgba(2, 6, 23, 0.12), 0 8px 20px rgba(2, 6, 23, 0.08);

    --glow-sm: 0 0 20px color-mix(in srgb, var(--brand-500) 25%, transparent);
    --glow: 0 0 40px color-mix(in srgb, var(--brand-500) 35%, transparent);

    /* Glass */
    --glass-bg: color-mix(in srgb, #ffffff 70%, transparent);
    --glass-bg-strong: color-mix(in srgb, #ffffff 80%, transparent);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-dark: rgba(248, 250, 252, 0.12);
    --glass-shadow: 0 16px 40px rgba(2, 6, 23, 0.08);
    --glass-blur: 16px;
    --glass-sat: 180%;
    --glass-bright: 105%;

    /* Header - DARK theme for logo visibility */
    --header-bg: rgba(7, 26, 40, 0.85);
    --header-bg-scrolled: rgba(7, 26, 40, 0.95);
    --header-border: rgba(255, 255, 255, 0.08);
    --header-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 12px 40px rgba(0,0,0,0.25);

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
    --gradient-brand-vivid: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-500) 50%, var(--brand-700) 100%);
    --gradient-brand-soft: linear-gradient(
      135deg,
      color-mix(in srgb, var(--brand-500) 10%, transparent) 0%,
      color-mix(in srgb, var(--brand-700) 10%, transparent) 100%
    );
    --gradient-dark: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
    --gradient-mesh:
      radial-gradient(at 0% 0%, rgba(18, 172, 224, 0.18) 0px, transparent 50%),
      radial-gradient(at 100% 0%, rgba(0, 127, 164, 0.12) 0px, transparent 50%),
      radial-gradient(at 100% 100%, rgba(18, 172, 224, 0.18) 0px, transparent 50%),
      radial-gradient(at 0% 100%, rgba(0, 127, 164, 0.12) 0px, transparent 50%);
    --gradient-hero-overlay: linear-gradient(
      135deg,
      rgba(7, 26, 40, 0.94) 0%,
      rgba(11, 34, 50, 0.88) 50%,
      rgba(0, 127, 164, 0.75) 100%
    );

    /* Typography */
    --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    --lh-none: 1;
    --lh-tight: 1.12;
    --lh-snug: 1.3;
    --lh-normal: 1.5;
    --lh-relaxed: 1.65;

    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    /* Fluid type */
    --text-xs: clamp(0.74rem, 0.72rem + 0.10vw, 0.82rem);
    --text-sm: clamp(0.86rem, 0.84rem + 0.12vw, 0.94rem);
    --text-base: clamp(1.00rem, 0.98rem + 0.18vw, 1.10rem);
    --text-lg: clamp(1.12rem, 1.06rem + 0.32vw, 1.26rem);
    --text-xl: clamp(1.26rem, 1.16rem + 0.55vw, 1.50rem);
    --text-2xl: clamp(1.52rem, 1.30rem + 0.95vw, 1.92rem);
    --text-3xl: clamp(1.84rem, 1.48rem + 1.35vw, 2.38rem);
    --text-4xl: clamp(2.22rem, 1.68rem + 1.90vw, 3.00rem);
    --text-5xl: clamp(2.70rem, 2.02rem + 2.40vw, 3.70rem);
    --text-6xl: clamp(3.20rem, 2.34rem + 3.10vw, 4.40rem);

    /* Spacing */
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: clamp(4rem, 3rem + 3vw, 6rem);
    --space-32: clamp(5rem, 4rem + 4vw, 8rem);
    --space-40: clamp(6rem, 4.5rem + 6vw, 10rem);

    /* Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --t-fast: 150ms;
    --t-base: 220ms;
    --t-slow: 320ms;

    /* Z-index */
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-sticky: 1100;
    --z-overlay: 1300;
    --z-modal: 1400;

    /* Textures */
    --paper-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    --grid-pattern: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0z' fill='none' stroke='%2312ace0' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");

    /* Primary color alias for inline styles */
    --primary: var(--brand-500);
    --gray-600: var(--text-muted);
    --gray-900: var(--text);
  }

  /* Dark mode tokens */
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #0b1220;
      --bg-muted: #0f172a;
      --surface: #0f2332;
      --surface-2: #142d3f;
      --surface-3: #0f172a;

      --text: #f8fafc;
      --text-muted: rgba(248, 250, 252, 0.78);
      --text-subtle: rgba(248, 250, 252, 0.62);

      --border: rgba(248, 250, 252, 0.12);
      --border-strong: rgba(248, 250, 252, 0.18);

      --glass-bg: rgba(15, 23, 42, 0.60);
      --glass-bg-strong: rgba(15, 23, 42, 0.75);
      --glass-border: var(--glass-border-dark);
      --glass-shadow: 0 20px 60px rgba(0,0,0,0.45);

      --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.30);
      --shadow-card-hover: 0 24px 64px rgba(0, 0, 0, 0.40);
    }
  }

  [data-theme="dark"] {
    --bg: #0b1220;
    --bg-muted: #0f172a;
    --surface: #0f2332;
    --surface-2: #142d3f;
    --surface-3: #0f172a;

    --text: #f8fafc;
    --text-muted: rgba(248, 250, 252, 0.78);
    --text-subtle: rgba(248, 250, 252, 0.62);

    --border: rgba(248, 250, 252, 0.12);
    --border-strong: rgba(248, 250, 252, 0.18);

    --glass-bg: rgba(15, 23, 42, 0.60);
    --glass-bg-strong: rgba(15, 23, 42, 0.75);
    --glass-border: var(--glass-border-dark);
  }
}

/* =========================
   RESET
   ========================= */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body { height: 100%; }
  body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }
  img, picture, video, canvas, svg { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; }
  a { color: inherit; text-decoration: none; }
}

/* =========================
   BASE
   ========================= */
@layer base {
  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-padding-top: 88px;
  }

  body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--fw-normal);
    line-height: var(--lh-normal);
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    min-height: 100vh;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--paper-texture);
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: multiply;
    z-index: -1;
  }

  ::selection {
    background: color-mix(in srgb, var(--brand-500) 22%, transparent);
    color: var(--text);
  }

  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: var(--bg-muted); }
  ::-webkit-scrollbar-thumb {
    background: color-mix(in srgb, var(--text) 25%, transparent);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-muted);
  }
  ::-webkit-scrollbar-thumb:hover { background: color-mix(in srgb, var(--text) 35%, transparent); }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: var(--fw-extrabold);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--text);
    margin-bottom: var(--space-4);
  }

  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-5xl); }
  h3 { font-size: var(--text-4xl); }
  h4 { font-size: var(--text-3xl); }
  h5 { font-size: var(--text-2xl); }
  h6 { font-size: var(--text-xl); }

  p {
    margin-bottom: var(--space-4);
    line-height: var(--lh-relaxed);
    color: var(--text-muted);
  }

  .lead {
    font-size: var(--text-xl);
    line-height: var(--lh-relaxed);
    color: var(--text-muted);
  }

  :focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
  }

  button, [role="button"], a { -webkit-tap-highlight-color: transparent; }

  .skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-4);
    background: var(--brand-500);
    color: #fff;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: var(--fw-semibold);
    z-index: 9999;
  }
  .skip-link:focus { top: var(--space-4); }
}

/* =========================
   LAYOUT
   ========================= */
@layer components {
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: clamp(1rem, 3vw, 2rem);
  }

  .container-wide { max-width: 1440px; }
  .container-narrow { max-width: 960px; }

  .section {
    padding: var(--space-24) 0;
    position: relative;
  }

  .section-sm { padding: var(--space-16) 0; }
  .section-lg { padding: var(--space-32) 0; }

  .section-light { background: var(--bg-muted); }
  .section-gradient { background: var(--gradient-brand-soft); }

  .section-dark {
    background: var(--dark-bg);
    color: #fff;
  }

  .section-dark h1, .section-dark h2, .section-dark h3,
  .section-dark h4, .section-dark h5, .section-dark h6 { color: #fff; }
  .section-dark p { color: rgba(255, 255, 255, 0.80); }

  .section-mesh::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
    pointer-events: none;
  }

  .section-header {
    text-align: center;
    max-width: 880px;
    margin: 0 auto var(--space-16);
  }
  .section-header p { margin-bottom: 0; }

  .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: var(--brand-500);
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    margin-bottom: var(--space-4);
  }

  .section-eyebrow::before,
  .section-eyebrow::after {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
  }

  /* Grid */
  .grid { display: grid; gap: var(--space-8); }
  .grid-cols-1 { grid-template-columns: 1fr; }
  .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

  .flex { display: flex; }
  .flex-col { flex-direction: column; }
  .items-center { align-items: center; }
  .items-start { align-items: flex-start; }
  .justify-between { justify-content: space-between; }
  .justify-center { justify-content: center; }
  .gap-2 { gap: var(--space-2); }
  .gap-3 { gap: var(--space-3); }
  .gap-4 { gap: var(--space-4); }
  .gap-6 { gap: var(--space-6); }
  .gap-8 { gap: var(--space-8); }
}

/* =========================
   HEADER / NAV
   ========================= */
@layer components {
  .site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--z-sticky);
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    transition: background var(--t-slow) var(--ease-smooth),
                box-shadow var(--t-slow) var(--ease-smooth);
  }

  @supports (backdrop-filter: blur(1px)) {
    .site-header {
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
  }

  .site-header.scrolled {
    background: var(--header-bg-scrolled);
    box-shadow: var(--header-shadow);
  }

  .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: var(--space-8);
  }

  .site-header.scrolled .header-flex { height: 68px; }

  .brand-logo {
    height: 110px;
    width: auto;
    transition: height var(--t-slow) var(--ease-smooth);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  }

  .site-header.scrolled .brand-logo { height: 65px; }

  .main-nav { display: flex; align-items: center; gap: var(--space-6); }

  .nav-links {
    display: flex;
    gap: var(--space-1);
    list-style: none;
    margin: 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-full);
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--fw-medium);
    font-size: var(--text-sm);
    transition: background var(--t-fast) var(--ease-smooth),
                color var(--t-fast) var(--ease-smooth);
    white-space: nowrap;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  .nav-links a.active {
    background: rgba(18, 172, 224, 0.25);
    color: var(--brand-300);
  }

  .nav-cta { display: flex; gap: var(--space-3); }

  .mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    padding: 0.6rem;
    color: #fff;
    border-radius: var(--radius-lg);
    transition: background var(--t-fast) var(--ease-smooth);
  }

  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  .mobile-menu-toggle svg { width: 24px; height: 24px; }
}

/* =========================
   BUTTONS
   ========================= */
@layer components {
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--t-fast) var(--ease-out),
                box-shadow var(--t-base) var(--ease-smooth),
                background var(--t-base) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
  }

  .btn:active { transform: scale(0.98); }
  .btn svg { width: 18px; height: 18px; flex-shrink: 0; }

  .btn-primary {
    background: var(--gradient-brand-vivid);
    color: #fff;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--brand-500) 30%, transparent),
                0 12px 28px color-mix(in srgb, var(--brand-500) 20%, transparent);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--brand-500) 35%, transparent),
                0 20px 40px color-mix(in srgb, var(--brand-500) 25%, transparent);
  }

  .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.20);
  }

  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
  }

  /* Light section secondary button */
  .section:not(.section-dark):not(.hero) .btn-secondary,
  .pricing-card .btn-secondary {
    background: var(--bg);
    color: var(--brand-700);
    border-color: color-mix(in srgb, var(--brand-500) 35%, transparent);
    box-shadow: var(--shadow-sm);
  }

  .section:not(.section-dark):not(.hero) .btn-secondary:hover,
  .pricing-card .btn-secondary:hover {
    background: color-mix(in srgb, var(--brand-500) 8%, var(--bg));
    border-color: var(--brand-500);
    box-shadow: var(--shadow-md);
  }

  .btn-lg { min-height: 48px; padding: 0.9rem 1.5rem; font-size: var(--text-base); }
  .btn-sm { min-height: 38px; padding: 0.5rem 0.9rem; font-size: var(--text-xs); }
}

/* =========================
   HERO
   ========================= */
@layer components {
  .hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(78px + var(--space-16)) var(--space-6) var(--space-16);
    overflow: hidden;
    isolation: isolate;
  }

  .video-container {
    position: absolute;
    inset: 0;
    z-index: var(--z-0);
    overflow: hidden;
  }

  .video-container video {
    position: absolute;
    inset: 50% auto auto 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero-overlay);
    z-index: var(--z-10);
  }

  .hero-mesh {
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.4;
    z-index: var(--z-20);
    animation: meshFloat 25s var(--ease-smooth) infinite;
  }

  @keyframes meshFloat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }

  .hero-orbs {
    position: absolute;
    inset: 0;
    z-index: var(--z-10);
    overflow: hidden;
    pointer-events: none;
  }

  .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.30;
    animation: orbFloat 18s var(--ease-smooth) infinite;
  }

  .hero-orb-1 { width: 500px; height: 500px; background: var(--brand-500); top: -200px; left: -200px; }
  .hero-orb-2 { width: 450px; height: 450px; background: var(--brand-700); bottom: -150px; right: -150px; animation-delay: -5s; }
  .hero-orb-3 { width: 350px; height: 350px; background: var(--brand-400); top: 45%; left: 50%; transform: translate(-50%, -50%); animation-delay: -10s; }

  @keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.03); }
    50% { transform: translate(-15px, 15px) scale(0.97); }
    75% { transform: translate(12px, 20px) scale(1.02); }
  }

  .hero-data-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--brand-300);
    border-radius: 50%;
    opacity: 0.5;
    animation: dataFloat 12s ease-in-out infinite;
  }

  .hero-data-point:nth-child(1) { top: 20%; left: 15%; }
  .hero-data-point:nth-child(2) { top: 60%; left: 85%; animation-delay: -3s; }
  .hero-data-point:nth-child(3) { top: 80%; left: 25%; animation-delay: -6s; }
  .hero-data-point:nth-child(4) { top: 30%; left: 75%; animation-delay: -9s; }

  @keyframes dataFloat {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-30px); opacity: 0.2; }
  }

  .hero-content {
    position: relative;
    z-index: var(--z-50);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: #fff;
    margin-bottom: var(--space-8);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.8s var(--ease-out) both;
  }

  .hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--success);
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
  }

  .hero-title {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: var(--fw-extrabold);
    line-height: 1.05;
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
    text-wrap: balance;
  }

  .hero-title .text-gradient {
    background: linear-gradient(135deg, var(--brand-300) 0%, var(--brand-400) 50%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .hero-subtitle {
    font-size: var(--text-xl);
    line-height: var(--lh-relaxed);
    color: rgba(255, 255, 255, 0.85);
    max-width: 65ch;
    margin: 0 auto var(--space-10);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
  }

  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
    animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
  }

  .hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-6);
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
  }

  .hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: rgba(255, 255, 255, 0.80);
  }

  .hero-trust-item svg { width: 18px; height: 18px; color: var(--brand-300); }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 212, 243, 0.35), transparent);
    z-index: var(--z-30);
    animation: scanLine 10s linear infinite;
    pointer-events: none;
  }

  @keyframes scanLine {
    0% { top: 0; opacity: 0.3; }
    50% { top: 100%; opacity: 0.15; }
    50.01% { top: 0; opacity: 0; }
    60% { opacity: 0.3; }
    100% { top: 0; opacity: 0.3; }
  }

  .hero-mesh::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grid-pattern);
    opacity: 0.20;
    pointer-events: none;
  }
}

/* =========================
   CARDS
   ========================= */
@layer components {
  .card {
    background: var(--surface);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-card);
    transition: transform var(--t-slow) var(--ease-out),
                box-shadow var(--t-slow) var(--ease-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
  }

  .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--paper-texture);
    opacity: 0.25;
    pointer-events: none;
    mix-blend-mode: overlay;
  }

  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
  }

  .magnify-hover:hover {
    transform: translateY(-6px) scale(1.02);
  }

  .card-dark {
    background: var(--dark-elevated);
    border-color: var(--dark-border);
    color: #fff;
  }
  .card-dark .card-title { color: #fff; }
  .card-dark .card-description { color: rgba(255, 255, 255, 0.75); }

  .card-horizontal {
    display: flex;
    align-items: flex-start;
    gap: var(--space-5);
    padding: var(--space-6);
  }
  .card-horizontal .card-icon { margin-bottom: 0; flex-shrink: 0; }

  .card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand-soft);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-5);
    color: var(--brand-600);
    transition: transform var(--t-base) var(--ease-out),
                background var(--t-base) var(--ease-smooth),
                color var(--t-base) var(--ease-smooth);
  }

  .card:hover .card-icon {
    background: var(--gradient-brand);
    color: #fff;
    transform: scale(1.05);
  }

  .card-icon svg { width: 28px; height: 28px; }

  .card-title { font-size: var(--text-xl); font-weight: var(--fw-bold); color: var(--text); margin-bottom: var(--space-3); }
  .card-description { font-size: var(--text-base); color: var(--text-muted); line-height: var(--lh-relaxed); margin-bottom: 0; }
}

/* =========================
   FEATURE GRID
   ========================= */
@layer components {
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
  }

  .feature-card {
    background: var(--surface);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: transform var(--t-slow) var(--ease-out),
                box-shadow var(--t-slow) var(--ease-smooth);
  }

  .feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--paper-texture);
    opacity: 0.2;
    pointer-events: none;
  }

  .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
  }

  .feature-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand-soft);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-5);
    color: var(--brand-600);
    transition: transform var(--t-base) var(--ease-out),
                background var(--t-base) var(--ease-smooth),
                color var(--t-base) var(--ease-smooth);
  }

  .feature-card:hover .feature-icon {
    background: var(--gradient-brand);
    color: #fff;
    transform: scale(1.05);
  }

  .feature-icon svg { width: 32px; height: 32px; }
  .feature-title { font-size: var(--text-xl); font-weight: var(--fw-bold); margin-bottom: var(--space-3); color: var(--text); }
  .feature-description { font-size: var(--text-base); color: var(--text-muted); line-height: var(--lh-relaxed); margin-bottom: 0; }
}

/* =========================
   PRICING
   ========================= */
@layer components {
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    align-items: stretch;
  }

  .pricing-card {
    background: var(--surface);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform var(--t-slow) var(--ease-out),
                box-shadow var(--t-slow) var(--ease-smooth);
  }

  .pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--paper-texture);
    opacity: 0.2;
    pointer-events: none;
  }

  .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
  }

  .pricing-card.featured {
    border-color: var(--brand-500);
    box-shadow: var(--shadow-lg), var(--glow-sm);
  }

  .pricing-card.featured:hover {
    box-shadow: var(--shadow-xl), var(--glow);
  }

  .pricing-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--gradient-brand);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
  }

  .pricing-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border);
  }

  .pricing-name {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-2);
    color: var(--text);
  }

  .pricing-description {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    line-height: var(--lh-relaxed);
  }

  .pricing-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
    margin-bottom: var(--space-1);
  }

  .pricing-amount {
    font-size: var(--text-4xl);
    font-weight: var(--fw-extrabold);
    color: var(--text);
    letter-spacing: var(--tracking-tight);
  }

  .pricing-period {
    font-size: var(--text-lg);
    color: var(--text-muted);
  }

  .pricing-starting {
    font-size: var(--text-sm);
    color: var(--text-subtle);
    margin-bottom: 0;
  }

  .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: var(--lh-normal);
  }

  .pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .pricing-features li strong { color: var(--text); }

  .pricing-cta { margin-top: auto; }
  .pricing-cta .btn { width: 100%; }
}

/* =========================
   CASE FILE / DOCUMENT
   ========================= */
@layer components {
  .case-file {
    background: var(--surface);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    padding-top: calc(var(--space-8) + 20px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
  }

  .case-file::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--paper-texture);
    opacity: 0.25;
    pointer-events: none;
  }

  .file-tab {
    position: absolute;
    top: 0;
    left: var(--space-6);
    background: var(--brand-500);
    color: #fff;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    padding: var(--space-1) var(--space-4);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
  }

  .vendor-check-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-muted);
    border-radius: var(--radius-xl);
    transition: background var(--t-fast) var(--ease-smooth),
                transform var(--t-fast) var(--ease-out);
  }

  .vendor-check-item:hover {
    background: color-mix(in srgb, var(--brand-500) 8%, var(--bg-muted));
    transform: translateX(4px);
  }

  .vendor-check-status {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    flex-shrink: 0;
  }

  .vendor-check-status.pass {
    background: color-mix(in srgb, var(--success) 15%, transparent);
    color: var(--success);
  }

  .vendor-check-status.fail {
    background: color-mix(in srgb, var(--danger) 15%, transparent);
    color: var(--danger);
  }

  .vendor-check-label {
    font-size: var(--text-base);
    color: var(--text-muted);
  }

  .reveal-check {
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity var(--t-slow) var(--ease-out),
                transform var(--t-slow) var(--ease-out);
  }
  .reveal-check.active {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================
   PROCESS STEPS
   ========================= */
@layer components {
  .process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-6);
  }

  .process-step {
    position: relative;
    padding: var(--space-8);
    padding-top: calc(var(--space-8) + 16px);
    background: var(--surface);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: transform var(--t-slow) var(--ease-out),
                box-shadow var(--t-slow) var(--ease-smooth);
  }

  .process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
  }

  .process-number {
    position: absolute;
    top: calc(var(--space-4) * -1);
    left: var(--space-6);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: #fff;
    font-size: var(--text-lg);
    font-weight: var(--fw-extrabold);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md), var(--glow-sm);
  }

  .process-title {
    font-size: var(--text-xl);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-3);
    color: var(--text);
  }

  .process-description {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: 0;
  }
}

/* =========================
   FAQ
   ========================= */
@layer components {
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 900px;
    margin: 0 auto;
  }

  .faq-item {
    background: var(--surface);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow var(--t-base) var(--ease-smooth);
  }

  .faq-item:hover {
    box-shadow: var(--shadow-md);
  }

  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-6);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
  }

  .faq-question span {
    font-size: var(--text-lg);
    font-weight: var(--fw-semibold);
    color: var(--text);
  }

  .faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--brand-500);
    transition: transform var(--t-base) var(--ease-out);
    flex-shrink: 0;
  }

  .faq-item[open] .faq-question svg {
    transform: rotate(45deg);
  }

  .faq-answer {
    padding: 0 var(--space-6) var(--space-6);
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: var(--lh-relaxed);
  }

  .faq-answer p:last-child { margin-bottom: 0; }
}

/* =========================
   FOOTER
   ========================= */
@layer components {
  .site-footer {
    background: var(--dark-bg);
    color: #fff;
    padding: var(--space-16) 0 var(--space-8);
    position: relative;
    overflow: hidden;
  }

  .site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.08;
    pointer-events: none;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-12);
    position: relative;
    z-index: 1;
  }

  .footer-brand { max-width: 320px; }

  .footer-logo { display: flex; align-items: center; margin-bottom: var(--space-4); }
  .footer-logo img {
    height: 65px;
    width: auto;
    max-width: 170px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
  }

  .footer-tagline {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.70);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-4);
  }

  .footer-social { display: flex; gap: var(--space-3); }

  .footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-xl);
    color: #fff;
    transition: transform var(--t-fast) var(--ease-out),
                background var(--t-base) var(--ease-smooth);
  }

  .footer-social-link:hover {
    background: rgba(18,172,224,0.20);
    transform: translateY(-2px);
  }

  .footer-social-link svg { width: 18px; height: 18px; }

  .footer-column h4 {
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    color: #fff;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
  }

  .footer-links { list-style: none; padding: 0; margin: 0; }
  .footer-links li { margin-bottom: var(--space-2); }

  .footer-links a {
    font-size: var(--text-base);
    color: rgba(255,255,255,0.70);
    transition: color var(--t-fast) var(--ease-smooth),
                transform var(--t-fast) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
  }

  .footer-links a:hover { color: var(--brand-300); transform: translateX(3px); }

  .footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255,255,255,0.08);
    position: relative;
    z-index: 1;
  }

  .footer-copyright { font-size: var(--text-sm); color: rgba(255,255,255,0.50); }
  .footer-legal { display: flex; gap: var(--space-6); }
  .footer-legal a { font-size: var(--text-sm); color: rgba(255,255,255,0.50); transition: color var(--t-base); }
  .footer-legal a:hover { color: var(--brand-300); }
}

/* =========================
   REVEAL ANIMATIONS
   ========================= */
@layer components {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 0;
    transition: opacity var(--t-slow) var(--ease-out),
                transform var(--t-slow) var(--ease-out);
  }

  .reveal { transform: translateY(30px); }
  .reveal-left { transform: translateX(-30px); }
  .reveal-right { transform: translateX(30px); }
  .reveal-scale { transform: scale(0.94); }

  .reveal.active,
  .reveal-left.active,
  .reveal-right.active,
  .reveal-scale.active {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--t-slow) var(--ease-out),
                transform var(--t-slow) var(--ease-out);
  }

  .reveal-stagger.active > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: none; }
  .reveal-stagger.active > *:nth-child(2) { transition-delay: 60ms; opacity: 1; transform: none; }
  .reveal-stagger.active > *:nth-child(3) { transition-delay: 120ms; opacity: 1; transform: none; }
  .reveal-stagger.active > *:nth-child(4) { transition-delay: 180ms; opacity: 1; transform: none; }
  .reveal-stagger.active > *:nth-child(5) { transition-delay: 240ms; opacity: 1; transform: none; }
  .reveal-stagger.active > *:nth-child(6) { transition-delay: 300ms; opacity: 1; transform: none; }
  .reveal-stagger.active > *:nth-child(7) { transition-delay: 360ms; opacity: 1; transform: none; }
  .reveal-stagger.active > *:nth-child(8) { transition-delay: 420ms; opacity: 1; transform: none; }
}

/* =========================
   UTILITIES
   ========================= */
@layer utilities {
  .text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .text-center { text-align: center; }
  .text-left { text-align: left; }
  .text-right { text-align: right; }
  .text-primary { color: var(--brand-500); }
  .text-white { color: #fff; }

  .mx-auto { margin-left: auto; margin-right: auto; }
  .w-full { width: 100%; }

  .mt-0 { margin-top: 0; }
  .mt-4 { margin-top: var(--space-4); }
  .mt-6 { margin-top: var(--space-6); }
  .mt-8 { margin-top: var(--space-8); }
  .mb-0 { margin-bottom: 0; }
  .mb-4 { margin-bottom: var(--space-4); }
  .mb-6 { margin-bottom: var(--space-6); }
  .mb-8 { margin-bottom: var(--space-8); }

  .max-w-md { max-width: 28rem; }
  .max-w-lg { max-width: 32rem; }
  .max-w-xl { max-width: 36rem; }
  .max-w-2xl { max-width: 42rem; }
}

/* =========================
   RESPONSIVE
   ========================= */
@layer overrides {
  @media (max-width: 1024px) {
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
    .footer-brand { grid-column: 1 / -1; max-width: none; text-align: center; }
    .footer-social { justify-content: center; }
    .nav-links { gap: 2px; padding: 4px; }
  }

  @media (max-width: 768px) {
    html { scroll-padding-top: 76px; }
    .header-flex { height: 72px; }
    .brand-logo { height: 48px; }
    .site-header.scrolled .brand-logo { height: 42px; }

    .mobile-menu-toggle { display: inline-flex; }

    .main-nav {
      position: fixed;
      top: 72px;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(7, 26, 40, 0.96);
      padding: var(--space-6);
      transform: translateX(100%);
      opacity: 0;
      visibility: hidden;
      transition: transform var(--t-slow) var(--ease-out),
                  opacity var(--t-slow) var(--ease-smooth),
                  visibility var(--t-slow);
      display: flex;
      flex-direction: column;
      align-items: stretch;
      overflow-y: auto;
      z-index: var(--z-overlay);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }

    .main-nav.show { transform: translateX(0); opacity: 1; visibility: visible; }

    .nav-links {
      flex-direction: column;
      gap: var(--space-2);
      border-radius: var(--radius-2xl);
      padding: var(--space-3);
      background: rgba(255, 255, 255, 0.05);
    }

    .nav-links a {
      justify-content: flex-start;
      padding: 1rem;
      font-size: var(--text-lg);
      border-radius: var(--radius-xl);
      min-height: 52px;
    }

    .nav-cta {
      flex-direction: column;
      margin-top: var(--space-6);
      padding-top: var(--space-6);
      border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    .nav-cta .btn { width: 100%; justify-content: center; }

    .hero { padding: calc(72px + var(--space-12)) var(--space-4) var(--space-12); min-height: auto; }
    .hero-orb { filter: blur(70px); opacity: 0.25; }
    .hero-trust { flex-direction: column; align-items: center; gap: var(--space-3); }

    .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); text-align: center; }
    .footer-links a:hover { transform: none; }
    .footer-bottom { flex-direction: column; text-align: center; }
  }

  @media (max-width: 480px) {
    .section { padding: var(--space-16) 0; }
    .card { padding: var(--space-6); border-radius: var(--radius-2xl); }
    .btn { width: 100%; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { width: 100%; }
    .pricing-card { padding: var(--space-6); }
    .feature-card { padding: var(--space-6); }
  }
}

/* =========================
   ACCESSIBILITY
   ========================= */
@layer overrides {
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

  @media print {
    .site-header, .site-footer, .mobile-menu-toggle, .btn { display: none !important; }
    body { background: #fff; color: #000; }
    .section { padding: 2rem 0; }
    .card { box-shadow: none; border: 1px solid #ccc; }
  }
  /* ==========================
   TESTIMONIALS (Index page)
   ========================== */

.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.testimonial-card{
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.testimonial-quote-icon{
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  opacity: 0.22;
}

.testimonial-quote-icon svg{
  width: 34px;
  height: 34px;
}

.testimonial-content{
  margin: 0;
  padding-right: var(--space-10); /* room so text doesn't collide with quote icon */
  color: rgba(255,255,255,0.82);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
}

.testimonial-author{
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.10);
}

.testimonial-avatar-placeholder{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: var(--fw-bold);
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  flex: 0 0 auto;
}

.testimonial-name{
  font-weight: var(--fw-semibold);
  color: rgba(255,255,255,0.92);
  line-height: var(--lh-snug);
}

.testimonial-role{
  margin-top: 2px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: var(--lh-snug);
}

/* Responsive */
@media (max-width: 980px){
  .testimonials-grid{ grid-template-columns: 1fr; }
  .testimonial-card{ padding: var(--space-7); }
  .testimonial-content{ padding-right: var(--space-8); }
}
/* =========================================================
   ADD THIS TO THE END OF iteratum-complete.css
   Infinite Scrolling Testimonials Styles
   ========================================================= */

/* Testimonials Section */
.testimonials-infinite-section {
  position: relative;
  overflow: hidden;
}

.testimonials-infinite-section .section-subtitle {
  max-width: 700px;
  margin: var(--space-4) auto 0;
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* Scroll Wrapper */
.testimonials-scroll-wrapper {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-12);
  max-height: 700px;
  overflow: hidden;
  position: relative;
  
  -webkit-mask-image: linear-gradient(to bottom, 
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, 
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

/* Columns */
.testimonial-scroll-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.testimonial-scroll-column:nth-child(2),
.testimonial-scroll-column:nth-child(3) {
  display: none;
}

@media (min-width: 768px) {
  .testimonial-scroll-column:nth-child(2) {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .testimonial-scroll-column:nth-child(3) {
    display: flex;
  }
}

/* Scrolling Track */
.testimonial-track {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  animation: scrollDown 45s linear infinite;
  will-change: transform;
}

.testimonial-scroll-column[data-speed="45"] .testimonial-track {
  animation-duration: 45s;
}

.testimonial-scroll-column[data-speed="50"] .testimonial-track {
  animation-duration: 50s;
}

.testimonial-scroll-column[data-speed="55"] .testimonial-track {
  animation-duration: 55s;
}

@keyframes scrollDown {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.testimonial-scroll-column:hover .testimonial-track {
  animation-play-state: paused;
}

/* Social Media Post Card */
.social-post {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
  cursor: default;
  max-width: 420px;
}

.social-post:hover {
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
}

/* Post Header */
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
}

.post-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Gradient Variations */
.gradient-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.gradient-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.gradient-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.gradient-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.gradient-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.gradient-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.post-author {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.author-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

.post-platform {
  flex-shrink: 0;
  opacity: 0.3;
  transition: opacity 0.2s ease;
}

.social-post:hover .post-platform {
  opacity: 0.5;
}

.post-platform svg {
  display: block;
}

/* Post Content */
.post-content {
  line-height: 1.5;
}

.post-content p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* CTA */
.testimonials-cta {
  text-align: center;
  margin-top: var(--space-12);
}

.testimonials-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
}

.testimonials-cta .btn svg {
  transition: transform 0.3s ease;
}

.testimonials-cta .btn:hover svg {
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-scroll-wrapper {
    max-height: 600px;
    gap: var(--space-4);
  }
  
  .social-post {
    padding: 16px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none !important;
  }
  
  .social-post:hover {
    transform: none;
  }
}
/* =========================================================
   ADD THIS TO iteratum-complete.css (before the testimonials-cta styles)
   CTA Section Styles
   ========================================================= */

/* Final CTA Section */
.cta-section {
  position: relative;
  padding: var(--space-20) 0;
  background: var(--gradient-dark);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--brand-500) 15%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, color-mix(in srgb, var(--brand-600) 10%, transparent) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: #ffffff;
  margin-bottom: var(--space-4);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}

.cta-description {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-10);
  line-height: var(--lh-relaxed);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}

/* Button Wrapper with Animated Circle */
.cta-button-wrapper {
  position: relative;
  display: inline-block;
  padding: 30px;
}

/* Animated Circle SVG */
.cta-circle-animate {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  color: var(--brand-400);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.cta-circle-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawCircle 2.5s cubic-bezier(0.43, 0.13, 0.23, 0.96) forwards;
  animation-delay: 0.5s;
  filter: drop-shadow(0 0 8px currentColor);
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

/* Enhanced Button */
.cta-btn-glow {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--brand-500) 100%);
  color: #ffffff;
  font-weight: var(--fw-bold);
  font-size: var(--text-lg);
  padding: var(--space-5) var(--space-10);
  box-shadow: 
    0 0 30px rgba(18, 172, 224, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.cta-btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--brand-300) 0%, var(--brand-500) 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(12px);
}

.cta-btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 0 50px rgba(18, 172, 224, 0.6),
    0 12px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-btn-glow:hover::before {
  opacity: 1;
}

/* Hover effect on circle */
.cta-button-wrapper:hover .cta-circle-path {
  opacity: 1;
  animation: pulseCircle 1.5s ease-in-out infinite;
}

@keyframes pulseCircle {
  0%, 100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 8px currentColor);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 16px currentColor);
  }
}

.cta-btn-glow:active {
  transform: translateY(0) scale(0.98);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: var(--space-16) 0;
  }
  
  .cta-title {
    font-size: var(--text-3xl);
  }
  
  .cta-description {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
  }
  
  .cta-button-wrapper {
    padding: 20px;
  }
  
  .cta-circle-animate {
    width: 240px;
    height: 240px;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-btn-glow {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-8);
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .cta-circle-path {
    animation: none;
    stroke-dashoffset: 0;
  }
  
  .cta-btn-glow:hover {
    transform: none;
  }
  
  .cta-button-wrapper:hover .cta-circle-path {
    animation: none;
  }
}
}