@layer reset, tokens, base, layout, components, utilities;

/* ===================== */
/* Reset                  */
/* ===================== */
@layer reset {
  * { margin: 0; padding: 0; box-sizing: border-box; }
  img { max-width: 100%; display: block; }
  a { text-decoration: none; color: inherit; }
  ul, ol { list-style: none; }
  button { font: inherit; cursor: pointer; }
  [hidden] { display: none !important; }
}

/* ===================== */
/* Design tokens          */
/* ===================== */
@layer tokens {
  :root {
    /* --purple deepened from the original #8b5cf6 to #7c3aed so white
       button/avatar text clears WCAG AA's 4.5:1 (old value: 3.88:1). */
    --bg-dark: #0a0a14;
    --bg-dark-2: #0d0d1a;
    --bg-dark-3: #111122;
    --card-bg: #14141f;
    --card-border: #26263a;
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --purple-deep: #6d28d9;
    --text-light: #f5f4ff;
    --text-muted: #a9a9c0;
    --text-muted-2: #7d7d95;
    --white: #ffffff;

    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 20px;
    --space-5: 28px;
    --space-6: 40px;
    --space-7: 60px;
    --space-8: 100px;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;

    --container-w: 1240px;
    --font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-script: 'Playfair Display', Georgia, serif;

    --motion-fast: 0.2s ease;
    --motion-base: 0.35s ease;
    --focus-ring: 0 0 0 3px rgba(167, 139, 250, 0.55);
    --touch-min: 44px;
  }
}

/* ===================== */
/* Base element styles    */
/* ===================== */
@layer base {
  html { scroll-behavior: smooth; }

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

  h1, h2, h3 { font-weight: 700; line-height: 1.2; }
  h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
  h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
  h3 { font-size: 1.15rem; }

  :focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
  }

  .skip-link {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    background: var(--purple-deep);
    color: var(--text-light);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: transform var(--motion-fast);

    &:focus-visible {
      transform: translateY(0);
    }
  }

  @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;
    }

    .service-card:hover, .btn:hover, .btn-primary:hover {
      transform: none;
    }
  }
}

/* ===================== */
/* Layout                 */
/* ===================== */
@layer layout {
  .container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    height: 104px;
  }

  .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-4);
    align-items: start;
    min-height: 560px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .results-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: var(--space-5);
    align-items: center;
    margin-bottom: var(--space-7);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .cta-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-6);
    align-items: center;
  }

  .footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-bottom: var(--space-6);
  }
  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 24px;
    position: relative;
  }

  @media (max-width: 1080px) {
    .results-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 968px) {
    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .cta-grid { grid-template-columns: 1fr; text-align: center; }
  }

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

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

/* ===================== */
/* Components             */
/* ===================== */
@layer components {

  .gradient-text {
    background: linear-gradient(90deg, var(--purple-light), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .eyebrow {
    color: var(--purple-light);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: var(--space-2);
  }
  .eyebrow.center { text-align: center; }

  .section-head { text-align: center; max-width: 680px; margin: 0 auto var(--space-6); }
  .section-sub { color: var(--text-muted); margin-top: var(--space-2); font-size: 1rem; }

  /* --- Buttons --- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    min-height: var(--touch-min);
    transition: transform var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
    border: 2px solid transparent;
  }
  .btn-primary {
    background: linear-gradient(90deg, var(--purple), var(--purple-deep));
    color: #fff;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5); }
  .btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.25); color: var(--text-light); }
  .btn-outline:hover { border-color: var(--purple-light); background: rgba(124, 58, 237, 0.08); }
  .arrow { display: inline-block; transition: transform var(--motion-fast); }
  .btn:hover .arrow { transform: translateX(3px); }
  .play-ico { font-size: 0.7rem; }

  /* --- Header --- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(9, 9, 18, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    /* :has() reacts to the mobile menu's open state directly — no extra
       JS-toggled class needed on the header itself. */
    &:has(.main-nav.open) {
      background: rgba(9, 9, 18, 0.97);
    }
  }
  .logo img { height: 74px; width: auto; }
  .main-nav ul { display: flex; gap: var(--space-5); }
  .main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--motion-fast);
    position: relative;
  }
  .main-nav a:hover, .main-nav a.active { color: var(--white); }
  .main-nav a.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -22px;
    height: 2px;
    background: var(--purple);
  }
  .header-cta { padding: 11px 22px; font-size: 0.88rem; }

  .nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: var(--touch-min);
    height: var(--touch-min);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav.open {
    display: block;
    position: absolute;
    top: 104px;
    left: 0; right: 0;
    background: #0b0b16;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-4) 24px 28px;
  }
  .main-nav.open ul { flex-direction: column; gap: 4px; }
  .main-nav.open a {
    display: flex;
    align-items: center;
    min-height: var(--touch-min);
    padding: 0 4px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .main-nav.open a.active::after { display: none; }

  @media (max-width: 968px) {
    .main-nav { display: none; }
    .header-cta { display: none; }
    .nav-toggle { display: flex; }
  }

  /* --- Hero --- */
  .hero { position: relative; padding: var(--space-7) 0 var(--space-6); overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; z-index: 0; }
  .hero-bg img {
    position: absolute; right: 0; top: 0; height: 100%; width: 68%;
    object-fit: cover; object-position: left center; opacity: 0.9;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    background:
      linear-gradient(90deg, var(--bg-dark) 0%, var(--bg-dark) 28%, rgba(10,10,20,0.55) 55%, rgba(10,10,20,0.15) 100%),
      linear-gradient(0deg, var(--bg-dark) 0%, transparent 18%, transparent 82%, var(--bg-dark) 100%);
  }

  /* Twinkling stars: each .hero-star gets randomized position/timing via
     inline style (set in js/script.js) so they light up independently. */
  .hero-stars { position: absolute; inset: 0; overflow: hidden; }
  .hero-star {
    position: absolute;
    width: var(--star-size, 2px); height: var(--star-size, 2px);
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    box-shadow: 0 0 4px 1px rgba(255,255,255,0.8);
    animation: star-twinkle var(--star-duration, 3s) ease-in-out infinite;
    animation-delay: var(--star-delay, 0s);
  }

  @keyframes star-twinkle {
    0%, 100% { opacity: 0; transform: scale(0.6); }
    50% { opacity: var(--star-peak, 0.9); transform: scale(1); }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-stars { display: none; }
  }
  .hero-content { max-width: 620px; padding-top: var(--space-3); }
  .hero-text { color: var(--text-muted); font-size: 1.05rem; max-width: 520px; margin: var(--space-3) 0 var(--space-5); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
  .hero-features { display: flex; flex-wrap: wrap; gap: var(--space-5); }
  .hero-features li {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.85rem; font-weight: 500; color: var(--text-light); line-height: 1.3;
  }
  .feature-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; color: var(--purple-light); flex-shrink: 0;
  }
  .feature-ico svg, .feature-ico img { width: 100%; height: 100%; object-fit: contain; }

  /* text-shadow guards legibility over whatever part of the photo ends up
     behind this — it moves around a bit whenever the hero photo changes. */
  .hero-side {
    text-align: right;
    padding-top: var(--space-4);
    min-width: 180px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.75);
  }
  .hero-side p {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--text-muted); line-height: 1.7;
  }
  .hero-side-strong { color: var(--white) !important; margin-top: 8px; }
  .hero-side-line {
    display: block; width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--purple), transparent);
    margin: var(--space-3) 0 var(--space-3) auto; border-radius: 2px;
  }
  .hero-script {
    font-family: var(--font-script); font-style: italic; color: var(--text-light);
    font-size: 1.15rem; line-height: 1.5; font-weight: 400;
  }

  @media (max-width: 968px) {
    .hero-side { text-align: left; padding-top: var(--space-4); }
    .hero-side-line { margin: var(--space-3) auto var(--space-3) 0; }
    .hero-bg img { width: 100%; opacity: 0.35; object-position: center 20%; }
    .hero-overlay { background: linear-gradient(180deg, rgba(10,10,20,0.55) 0%, var(--bg-dark) 55%, var(--bg-dark) 100%); }
  }

  /* --- Trusted by --- */
  .trusted { background: #f4f3f9; padding: var(--space-5) 0; }
  .trusted-label {
    text-align: center; color: #6b6b80; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: var(--space-4);
  }
  .tlogo {
    font-weight: 700; font-size: 1.15rem; color: #2b2b3a; opacity: 0.75;
    display: flex; align-items: baseline; gap: 4px; transition: opacity var(--motion-fast);
    white-space: nowrap;
  }
  .tlogo:hover { opacity: 1; }
  .tlogo sub { font-size: 0.55rem; font-weight: 500; text-transform: uppercase; }
  .tlogo .dot { width: 10px; height: 10px; border-radius: 50%; background: conic-gradient(#4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%); margin-right: 2px; flex-shrink: 0; }

  /* --- Logo marquee: two rows, opposite directions, seamless loop --- */
  .marquee {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-4);
  }
  .marquee-row {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  }
  .marquee-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 40px;
    width: max-content;
    padding: 0 20px;
    animation: marquee-left 42s linear infinite;
  }
  .marquee-row-reverse .marquee-track { animation-name: marquee-right; animation-duration: 40s; }

  .marquee-row:hover .marquee-track { animation-play-state: paused; }

  @keyframes marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
  }
  @keyframes marquee-right {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none !important; }
    .marquee-row { overflow-x: auto; }
    .marquee-track + .marquee-track { display: none; }
  }

  /* --- Services --- */
  .services { background: var(--bg-dark-2); padding: var(--space-8) 0; }
  .service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    transition: transform var(--motion-base), border-color var(--motion-fast), box-shadow var(--motion-base);
  }
  .service-card:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, 0.5); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
  .service-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: var(--radius);
    background: rgba(124, 58, 237, 0.12); color: var(--purple-light); margin-bottom: var(--space-3);
  }
  .service-ico svg, .service-ico img { width: 26px; height: 26px; object-fit: contain; }
  .service-card h3 { margin-bottom: var(--space-2); }
  .service-card h3 small { display: block; font-size: 0.62em; font-weight: 500; color: var(--text-muted-2); margin-top: 2px; }
  .service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: var(--space-3); }
  .learn-more { color: var(--purple-light); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
  .learn-more:hover .arrow { transform: translateX(3px); }

  /* Whole card lights up when its link is keyboard-focused, so keyboard
     users can see which card they're on, not just the small link. */
  .service-card:has(a:focus-visible) {
    border-color: var(--purple);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.35);
  }

  /* --- Process: connected path --- */
  .process { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(109,40,217,0.18), transparent), var(--bg-dark-3); padding: var(--space-8) 0; }
  .path-wrap { position: relative; }
  .path { display: flex; justify-content: space-between; gap: var(--space-4); position: relative; }

  /* Dim base line, spanning node-center to node-center (4 equal-width
     steps put node centers at 12.5%/37.5%/62.5%/87.5%). */
  .path-line {
    position: absolute;
    left: 12.5%; right: 12.5%; top: 29px;
    height: 2px;
    background: var(--card-border);
    overflow: hidden;
    pointer-events: none;
  }
  /* Slow traveling highlight that loops the full line, left to right. */
  .path-line-glow {
    position: absolute; top: 0; left: -40%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--purple-light), var(--purple), transparent);
    animation: path-sweep 6s linear infinite;
  }

  /* Hover-triggered guide: positioned over one 25%-wide segment by JS,
     between the hovered node and the next one. */
  .path-hover-glow {
    position: absolute; top: 27px; left: 0; width: 25%; height: 6px;
    border-radius: 3px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--motion-fast), left var(--motion-fast);
  }
  .path-hover-glow span {
    position: absolute; top: 0; left: -60%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--purple-light), var(--white), var(--purple-light), transparent);
    box-shadow: 0 0 10px 2px rgba(124,58,237,0.6);
  }
  .path-hover-glow.active {
    opacity: 1;
  }
  .path-hover-glow.active span {
    animation: path-sweep 0.9s linear infinite;
  }

  @keyframes path-sweep {
    from { left: -40%; }
    to { left: 100%; }
  }

  .path-step { position: relative; flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .path-node {
    position: relative;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--bg-dark-3);
    border: 1px solid rgba(124,92,246,0.4);
    display: flex; align-items: center; justify-content: center;
    color: var(--purple-light);
    margin-bottom: var(--space-3);
    transition: border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
  }
  .path-node-num {
    position: absolute; top: -8px; right: -10px;
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--purple-light), var(--purple));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .path-step:not([data-step="3"]) { cursor: pointer; }
  .path-step:hover .path-node,
  .path-step:focus-within .path-node {
    border-color: var(--purple);
    box-shadow: 0 0 0 6px rgba(124,58,237,0.15), 0 0 20px rgba(124,58,237,0.5);
    transform: scale(1.06);
  }
  .path-node svg { width: 26px; height: 26px; }
  .path-step h3 { margin-bottom: 8px; }
  .path-step p { color: var(--text-muted); font-size: 0.88rem; max-width: 220px; }

  @media (prefers-reduced-motion: reduce) {
    .path-line-glow, .path-hover-glow.active span { animation: none !important; }
  }

  @media (max-width: 800px) {
    .path { flex-direction: column; align-items: flex-start; gap: var(--space-6); }
    .path-hover-glow { display: none; }
    .path-line {
      left: 29px; right: auto; top: 5%; bottom: 5%; height: auto; width: 2px;
      background: var(--card-border);
    }
    .path-line-glow {
      left: 0; top: -40%; width: 100%; height: 40%;
      background: linear-gradient(180deg, transparent, var(--purple-light), var(--purple), transparent);
      animation: path-sweep-vertical 6s linear infinite;
    }
    .path-step { flex-direction: row; text-align: left; gap: var(--space-3); align-items: flex-start; }
    .path-node { flex-shrink: 0; margin-bottom: 0; }
  }

  @keyframes path-sweep-vertical {
    from { top: -40%; }
    to { top: 100%; }
  }

  /* --- Results & testimonial --- */
  .results { background: var(--bg-dark); padding: var(--space-8) 0 var(--space-6); }
  .results-copy p { color: var(--text-muted); margin: var(--space-3) 0 var(--space-5); }
  .stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-3);
    text-align: center;
  }
  .stat-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin-bottom: var(--space-2);
  }
  .stat-ico img { width: 100%; height: 100%; object-fit: contain; }
  .stat-num {
    font-size: 2.4rem; font-weight: 800;
    background: linear-gradient(90deg, var(--purple-light), var(--purple));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: 8px;
  }
  .tile-label { color: var(--text-muted); font-size: 0.85rem; }

  .testimonial-label {
    text-align: center; color: var(--text-muted-2); letter-spacing: 2px;
    text-transform: uppercase; font-size: 0.75rem; font-weight: 700; margin-bottom: var(--space-5);
  }
  .testimonial-slider { display: flex; align-items: center; gap: var(--space-4); max-width: 760px; margin: 0 auto; }
  .testimonial-track {
    position: relative;
    flex: 1;
    /* Sized to the card's own box — the footer reflows based on the tile's
       own width, not a page-level breakpoint. */
    container-type: inline-size;
    container-name: testimonial;
  }
  .testimonial {
    display: none;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-6);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--motion-base), transform var(--motion-base);
  }
  .testimonial.active { display: block; opacity: 1; transform: translateY(0); }
  .testimonial p { font-size: 1.05rem; color: var(--text-light); margin-bottom: var(--space-4); font-style: italic; }
  .testimonial footer { display: flex; align-items: center; gap: 14px; }
  .avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-deep));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
  }
  .testimonial footer cite { display: block; font-style: normal; font-weight: 600; font-size: 0.9rem; }
  .testimonial footer span { display: block; font-size: 0.78rem; color: var(--text-muted-2); }
  .testimonial footer > div:nth-child(2) { flex: 1; }
  .stars { color: var(--purple-light); letter-spacing: 2px; font-size: 0.85rem; }

  @container testimonial (max-width: 380px) {
    .testimonial footer { flex-wrap: wrap; row-gap: 8px; }
    .stars { flex-basis: 100%; }
  }

  .t-nav {
    width: var(--touch-min); height: var(--touch-min); border-radius: 50%;
    border: 1px solid var(--card-border); background: var(--card-bg);
    color: var(--text-light); font-size: 1.1rem; flex-shrink: 0;
    transition: border-color var(--motion-fast), color var(--motion-fast);
  }
  .t-nav:hover { border-color: var(--purple); color: var(--purple-light); }
  .t-dots { display: flex; justify-content: center; gap: 8px; margin-top: var(--space-4); }
  .t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--card-border); transition: background var(--motion-fast), transform var(--motion-fast); }
  .t-dot.active { background: var(--purple); transform: scale(1.2); }

  /* --- CTA --- */
  .cta {
    padding: var(--space-8) 0 var(--space-6);
    position: relative;
    overflow: hidden;
  }
  .cta-bg { position: absolute; inset: 0; z-index: 0; }
  .cta-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 68% center;
  }
  .cta-overlay {
    position: absolute; inset: 0;
    background:
      linear-gradient(90deg, var(--bg-dark) 0%, rgba(10,10,20,0.78) 28%, rgba(10,10,20,0.35) 52%, transparent 72%),
      linear-gradient(0deg, var(--bg-dark) 0%, rgba(10,10,20,0.6) 22%, transparent 40%, rgba(10,10,20,0.55) 68%, var(--bg-dark) 100%);
  }
  .cta-grid { position: relative; z-index: 1; }
  .cta-copy p { color: var(--text-muted); margin: var(--space-3) 0 var(--space-5); max-width: 460px; }
  .cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

  /* Checklist sits as its own horizontal row at the bottom of the section,
     clear of the laptop/logo artwork in the background photo. Its own
     scrim guarantees text contrast regardless of what's behind it. */
  .cta-checklist-wrap {
    position: relative;
    z-index: 1;
    margin-top: var(--space-7);
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(255,255,255,0.14);
    background: rgba(6,6,12,0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  .cta-checklist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3) var(--space-6);
  }
  .cta-checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  }
  .checklist-ico { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }

  @media (max-width: 968px) {
    .cta-overlay {
      background:
        linear-gradient(180deg, rgba(10,10,20,0.55) 0%, rgba(10,10,20,0.82) 45%, var(--bg-dark) 100%);
    }
    .cta-bg img { object-position: 62% 30%; }
  }

  @media (max-width: 560px) {
    .cta-checklist { justify-content: flex-start; gap: var(--space-2) var(--space-4); }
  }

  /* --- Footer --- */
  .site-footer { background: #060609; border-top: 1px solid rgba(255,255,255,0.06); padding-top: var(--space-6); }

  /* Call bar: a full-width utility strip at the very top of the page,
     stacked above the main header like a second nav bar. */
  .call-bar {
    position: relative;
    z-index: 1000;
    background: linear-gradient(90deg, var(--purple-deep), var(--purple));
  }
  .call-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-top: var(--space-2);
    padding-bottom: var(--space-2);
    flex-wrap: wrap;
  }
  .call-bar-icon {
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
  }
  .call-bar-icon svg { width: 18px; height: 18px; }

  .call-bar-phone { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: #fff; }
  .call-bar-phone strong { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.2px; }

  .call-bar-items { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
  .call-bar-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
  .call-bar-item span { font-size: 0.9rem; font-weight: 600; color: #fff; }
  a.call-bar-item.call-bar-email:hover span { text-decoration: underline; }

  .call-bar-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.3); flex-shrink: 0; }

  @media (max-width: 900px) {
    .call-bar-items .call-bar-divider:first-child { display: none; }
  }

  @media (max-width: 700px) {
    .call-bar-inner {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding-top: var(--space-2);
      padding-bottom: var(--space-2);
      gap: var(--space-2);
    }
    .call-bar-items { display: none; }
  }
  .footer-brand { display: flex; flex-direction: column; gap: var(--space-2); }
  .footer-logo img { height: 92px; width: auto; }
  .footer-contact { display: flex; flex-direction: column; gap: 4px; }
  .footer-contact a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--motion-fast);
  }
  .footer-contact a:hover { color: var(--purple-light); }

  .footer-nav { display: flex; flex-wrap: wrap; gap: 26px; }
  .footer-nav a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--motion-fast); }
  .footer-nav a:hover { color: var(--white); }
  .footer-social { display: flex; gap: 12px; }
  .footer-social a {
    width: var(--touch-min); height: var(--touch-min); border-radius: 50%;
    border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
    transition: border-color var(--motion-fast), color var(--motion-fast);
  }
  .footer-social a:hover { border-color: var(--purple); color: var(--purple-light); }
  .footer-bottom p { color: var(--text-muted-2); font-size: 0.82rem; }
  .to-top {
    position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
    width: var(--touch-min); height: var(--touch-min); border-radius: 50%;
    background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text-light);
    transition: background var(--motion-fast), border-color var(--motion-fast);
  }
  .to-top:hover { background: var(--purple); border-color: var(--purple); }

  @media (max-width: 700px) {
    .testimonial { padding: var(--space-5) var(--space-4); }
    .testimonial-slider { gap: 10px; }
    .footer-top { flex-direction: column; text-align: center; }
    .footer-brand { align-items: center; }
    .footer-nav { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 60px; }
    .to-top { top: 14px; transform: none; }
  }

  @media (max-width: 480px) {
    .container { padding: 0 18px; }
    h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
    .hero-features { gap: 20px 26px; }
    .tlogo { font-size: 0.95rem; }
    .marquee-track { gap: 26px; }
  }
}

/* ===================== */
/* Utilities              */
/* ===================== */
@layer utilities {
  .center { text-align: center; }

  .sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
