:root {
      --bg: #050b13;
      --bg-soft: rgba(9, 18, 31, 0.9);
      --card: rgba(12, 20, 33, 0.76);
      --card-strong: rgba(14, 22, 35, 0.92);
      --line: rgba(148, 163, 184, 0.18);
      --line-strong: rgba(124, 92, 255, 0.6);
      --text: #edf6ff;
      --muted: #9eb2c9;
      --blue: #60a5fa;
      --cyan: #22d3ee;
      --teal: #2dd4bf;
      --green: #34d399;
      --purple: #7c5cff;
      --magenta: #e879f9;
      --purple-soft: rgba(124, 92, 255, 0.2);
      --shadow: rgba(34, 211, 238, 0.22);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: "Inter", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      position: relative;
      overflow-x: hidden;
    }

    body.home-page::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      z-index: 0;
      pointer-events: none;
      background:
        linear-gradient(180deg, rgba(5, 11, 19, 0.85) 0%, rgba(5, 11, 19, 0.72) 50%, rgba(5, 11, 19, 0.9) 100%),
        url("../images/about3.webp?v=dfc096f8698e") center / cover no-repeat;
      transform: translate3d(0, 0, 0);
    }

    main, footer {
      position: relative;
      z-index: 1;
    }

    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; text-decoration: none; }

    .page-glow {
      position: fixed;
      width: 560px;
      height: 560px;
      border-radius: 50%;
      z-index: 0;
      filter: blur(90px);
      opacity: 0.48;
      pointer-events: none;
    }
    .glow-one { background: rgba(124, 92, 255, 0.3); top: -180px; left: -120px; }
    .glow-two { background: rgba(217, 70, 239, 0.2); right: -140px; bottom: -80px; }

    .wrap {
      width: min(1180px, calc(100% - 2rem));
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    /* ==========================================
       UNIFIED FLOATING NAVIGATION BAR (.glass-nav)
       Matched to Portfolio & About Pages
       ========================================== */
    .glass-nav,
    header.top {
      position: fixed;
      top: 1.15rem;
      left: 2rem;
      right: 2rem;
      height: 68px;
      padding: 0 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      background: rgba(9, 18, 31, 0.9);
      border: 1px solid rgba(124, 92, 255, 0.45);
      border-radius: 999px;
      box-shadow: 0 16px 40px rgba(3, 7, 18, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      z-index: 100;
    }

    main {
      padding-top: 6.2rem;
    }

    .brand-id,
    .top .brand {
      display: inline-flex;
      align-items: center;
      gap: 0.8rem;
      text-decoration: none;
      color: var(--text);
      flex-shrink: 0;
      font-family: "Space Grotesk", sans-serif;
    }

    .brand-logo-img,
    .brand-mark {
      height: 44px;
      width: 44px;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.25));
    }

    .brand-orb-fallback {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--cyan), var(--purple), var(--magenta));
      display: none;
      place-items: center;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      font-weight: 700;
      font-size: 0.85rem;
      color: #fff;
      box-shadow: 0 0 18px rgba(34, 211, 238, 0.4);
    }

    .brand-text strong,
    .top .brand-text {
      display: block;
      white-space: nowrap;
      font-size: 1.08rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      line-height: 1.1;
      color: var(--text);
    }

    .brand-text strong em,
    .top .brand-text span {
      font-style: normal;
      color: var(--cyan);
    }

    .brand-id .brand-text > span,
    .top .brand-sub {
      display: block;
      white-space: nowrap;
      font-family: "Inter", sans-serif;
      font-size: 0.66rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--teal);
      margin-top: 0.18rem;
    }

    .nav-links,
    .main-nav {
      display: flex;
      align-items: center;
      gap: 1.35rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-links a,
    .nav-links button.nav-link-btn,
    .main-nav a,
    .main-nav button.nav-link-btn {
      position: relative;
      padding: 0.4rem 0;
      color: var(--muted);
      background: none;
      border: 0;
      font: 500 0.88rem/1.4 "Inter", sans-serif;
      text-decoration: none;
      white-space: nowrap;
      cursor: pointer;
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links button.nav-link-btn:hover,
    .main-nav a:hover,
    .main-nav button.nav-link-btn:hover {
      color: var(--magenta);
      transform: translateY(-1px);
    }

    .nav-links a.active,
    .nav-links a[aria-current="page"],
    .main-nav a[aria-current="page"] {
      color: var(--teal);
      font-weight: 700;
    }

    .nav-links a.active::after,
    .nav-links a[aria-current="page"]::after,
    .main-nav a[aria-current="page"]::after {
      content: "";
      position: absolute;
      right: 0;
      bottom: -2px;
      left: 0;
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--cyan), var(--green));
      box-shadow: 0 0 12px rgba(45, 212, 191, 0.45);
    }

    /* Site-Matched Orchid/Magenta CTA */
    .nav-cta,
    .header-quote {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.62rem 1.2rem !important;
      border-radius: 12px;
      background: linear-gradient(135deg, #e879f9, #f0abfc) !important;
      border: 1px solid #e879f9 !important;
      color: #050b13 !important;
      font: 800 0.86rem/1.2 "Inter", sans-serif !important;
      letter-spacing: 0.01em;
      white-space: nowrap;
      cursor: pointer;
      box-shadow: 0 0 28px rgba(232, 121, 249, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
      transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    }

    .nav-cta:hover,
    .header-quote:hover {
      transform: translateY(-1px);
      color: #050b13 !important;
      box-shadow: 0 0 40px rgba(232, 121, 249, 0.65), 0 10px 24px rgba(0, 0, 0, 0.35);
    }

    /* Mobile Hamburger Button & Dropdown Drawer */
    .mobile-menu-btn {
      display: none;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: rgba(124, 92, 255, 0.16);
      border: 1px solid rgba(124, 92, 255, 0.45);
      color: var(--text);
      cursor: pointer;
    }

    .mobile-menu-btn svg {
      width: 22px;
      height: 22px;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      fill: none;
    }

    .mobile-nav-drawer {
      display: none;
      position: fixed;
      top: 76px;
      left: 0.85rem;
      right: 0.85rem;
      background: rgba(9, 18, 31, 0.98);
      border: 1px solid rgba(124, 92, 255, 0.55);
      border-radius: 22px;
      padding: 1.1rem;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
      z-index: 99;
      flex-direction: column;
      gap: 0.35rem;
    }

    .mobile-nav-drawer.open {
      display: flex;
    }

    .mobile-nav-drawer a,
    .mobile-nav-drawer button.mobile-drawer-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 0.8rem 1.05rem;
      border-radius: 14px;
      background: none;
      border: 0;
      color: var(--muted);
      text-decoration: none;
      font: 500 0.95rem/1.3 "Inter", sans-serif;
      text-align: left;
      cursor: pointer;
    }

    .mobile-nav-drawer a:hover,
    .mobile-nav-drawer a.active,
    .mobile-nav-drawer button.mobile-drawer-link:hover {
      background: rgba(124, 92, 255, 0.15);
      color: var(--teal);
      font-weight: 700;
    }

    .mobile-nav-drawer a.mobile-drawer-cta,
    .mobile-nav-drawer button.mobile-drawer-cta {
      margin-top: 0.4rem;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 0.85rem 1.05rem;
      border-radius: 14px;
      background: linear-gradient(135deg, #e879f9, #f0abfc);
      border: 1px solid #e879f9;
      color: #050b13;
      font: 800 0.95rem/1.3 "Inter", sans-serif;
      cursor: pointer;
      box-shadow: 0 0 28px rgba(232, 121, 249, 0.4);
    }

    @media (max-width: 1040px) {
      .glass-nav,
      header.top {
        top: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        height: 58px;
        padding: 0 1rem;
      }
      .nav-links,
      .main-nav {
        display: none;
      }
      .mobile-menu-btn {
        display: inline-flex;
      }
      main {
        padding-top: 5.2rem;
      }
    }

    /* Typography & Shared Elements */
    .eyebrow {
      margin: 0 0 0.75rem;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--teal);
      font-weight: 700;
    }
    h1, h2, h3, .font-display {
      font-family: "Space Grotesk", sans-serif;
      letter-spacing: -0.03em;
      margin: 0;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      min-height: 50px;
      padding: 0.85rem 1.35rem;
      border-radius: 14px;
      border: 1px solid rgba(148, 163, 184, 0.22);
      font: 700 0.95rem/1.2 "Inter", sans-serif;
      cursor: pointer;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
    .btn:hover { transform: translateY(-2px); }
    .btn-magenta,
    a[href^="website-quote.html"]:not(.quote-path):not(.package-quote-cta) {
      background: linear-gradient(135deg, #e879f9, #f0abfc);
      border-color: #e879f9;
      color: #050b13;
      box-shadow: 0 0 32px rgba(232, 121, 249, 0.4), 0 8px 24px rgba(0, 0, 0, 0.3);
    }
    .btn-magenta:hover,
    a[href^="website-quote.html"]:not(.quote-path):not(.package-quote-cta):hover {
      color: #050b13;
      box-shadow: 0 0 44px rgba(232, 121, 249, 0.6), 0 10px 28px rgba(0, 0, 0, 0.35);
    }
    .btn-primary {
      background: linear-gradient(135deg, rgba(124, 92, 255, 0.75), rgba(124, 92, 255, 0.35));
      border-color: var(--purple);
      color: var(--text);
      box-shadow: 0 0 28px rgba(124, 92, 255, 0.35);
    }
    .btn-secondary {
      background: rgba(12, 20, 33, 0.72);
      color: var(--text);
      border-color: rgba(148, 163, 184, 0.28);
    }
    .btn-secondary:hover {
      border-color: var(--cyan);
      color: var(--cyan);
    }

    /* ==========================================================================
       ZONE 1: SPLIT HERO + LIVE SCOPE & SAVINGS DIAL
       ========================================================================== */
    .hero-stage {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 2.2rem;
      padding: 3.2rem 0 2.5rem;
      align-items: start;
    }

    .hero-copy {
      padding-top: 0.5rem;
    }
    .hero-copy h1 {
      font-size: clamp(2.75rem, 4.7vw, 4.6rem);
      line-height: 1.02;
      max-width: 13ch;
    }
    .hero-copy h1 span {
      background: linear-gradient(90deg, var(--cyan), var(--green), var(--purple));
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    .lede {
      margin: 1.15rem 0 0;
      max-width: 54ch;
      font-size: 1.05rem;
      color: var(--muted);
    }
    .cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
      margin-top: 1.65rem;
    }
    .hero-explore {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.65rem;
      margin-top: 1rem;
      color: var(--muted);
      font-size: 0.9rem;
    }
    .hero-explore button.link-btn, .hero-explore a {
      background: none;
      border: 0;
      padding: 0;
      color: var(--cyan);
      font: inherit;
      text-decoration: underline;
      text-underline-offset: 0.2em;
      cursor: pointer;
    }
    .hero-explore button.link-btn:hover, .hero-explore a:hover {
      color: var(--teal);
    }

    /* Compact 3-Benefit Strip */
    .stats {
      list-style: none;
      margin: 1.75rem 0 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.75rem;
    }
    .stats li {
      --benefit-rgb: 34, 211, 238;
      --benefit-color: #67e8f9;
      background: linear-gradient(145deg, rgba(var(--benefit-rgb), 0.2), rgba(11, 17, 28, 0.86));
      border: 1px solid rgba(var(--benefit-rgb), 0.55);
      border-radius: 16px;
      padding: 0.85rem 0.95rem;
      box-shadow: 0 0 22px rgba(var(--benefit-rgb), 0.16), inset 0 0 18px rgba(var(--benefit-rgb), 0.06);
      transition: transform 0.22s ease, border-color 0.22s ease;
    }
    .stats li:nth-child(2) { --benefit-rgb: 217, 70, 239; --benefit-color: #f0abfc; }
    .stats li:nth-child(3) { --benefit-rgb: 52, 211, 153; --benefit-color: #6ee7b7; }
    .stats li:hover { transform: translateY(-3px); border-color: var(--benefit-color); }
    .stats strong {
      display: block;
      font-size: 1.05rem;
      color: var(--benefit-color);
      font-weight: 800;
      margin-bottom: 0.15rem;
    }
    .stats span {
      display: block;
      color: var(--muted);
      font-size: 0.78rem;
      line-height: 1.35;
    }

    /* Right Console: Interactive Scope & Savings Dial */
    .scope-console {
      position: relative;
      padding: 1.25rem;
      border-radius: 26px;
      background: linear-gradient(145deg, rgba(44, 24, 72, 0.72), rgba(9, 15, 25, 0.92));
      border: 1px solid rgba(124, 92, 255, 0.75);
      box-shadow: 0 24px 80px rgba(3, 7, 18, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
    .console-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.85rem;
    }
    .console-title {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--teal);
      font-weight: 800;
    }
    .console-hint {
      font-size: 0.75rem;
      color: var(--muted);
    }

    /* 5-Pill Scope Dial */
    .scope-dial {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 0.45rem;
      padding: 0.35rem;
      border-radius: 16px;
      background: rgba(5, 11, 19, 0.75);
      border: 1px solid var(--line);
      margin-bottom: 1rem;
    }
    .dial-btn {
      appearance: none;
      border: 1px solid transparent;
      background: transparent;
      color: var(--muted);
      border-radius: 12px;
      padding: 0.55rem 0.4rem;
      text-align: center;
      cursor: pointer;
      font: inherit;
      transition: all 0.2s ease;
    }
    .dial-btn:hover {
      color: var(--text);
      background: rgba(124, 92, 255, 0.14);
    }
    .dial-btn.active {
      background: linear-gradient(135deg, rgba(124, 92, 255, 0.48), rgba(232, 121, 249, 0.22));
      border-color: var(--magenta);
      color: var(--text);
      box-shadow: 0 0 20px rgba(124, 92, 255, 0.35);
    }
    .dial-price {
      display: block;
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--cyan);
      line-height: 1.1;
    }
    .dial-btn.active .dial-price { color: #f0abfc; }
    .dial-label {
      display: block;
      font-size: 0.68rem;
      margin-top: 0.2rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Active Package Spotlight Card inside Console */
    .package-spotlight {
      background: rgba(11, 18, 29, 0.82);
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 20px;
      padding: 1.1rem 1.2rem;
      margin-bottom: 0.9rem;
    }
    .spotlight-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 0.4rem;
    }
    .spotlight-kicker {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--magenta);
      font-weight: 800;
    }
    .spotlight-turnaround {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.22rem 0.65rem;
      border-radius: 999px;
      background: rgba(34, 211, 238, 0.12);
      border: 1px solid rgba(34, 211, 238, 0.3);
      color: var(--cyan);
      font-size: 0.72rem;
      font-weight: 700;
    }
    .spotlight-title-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .spotlight-title-row h2 {
      font-size: clamp(1.35rem, 2.2vw, 1.65rem);
      color: var(--text);
    }
    .spotlight-build-price {
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.55rem;
      font-weight: 700;
      color: var(--green);
    }
    .spotlight-desc {
      margin: 0.45rem 0 0.75rem;
      color: var(--muted);
      font-size: 0.9rem;
    }

    /* Expandable Inclusions Drawer */
    .spotlight-inclusions {
      border-top: 1px solid var(--line);
      padding-top: 0.65rem;
    }
    .spotlight-inclusions summary {
      cursor: pointer;
      color: var(--cyan);
      font-size: 0.84rem;
      font-weight: 600;
      user-select: none;
    }
    .spotlight-inclusions summary:hover { color: var(--teal); }
    .spotlight-features {
      margin: 0.6rem 0 0;
      padding-left: 1.15rem;
      color: var(--muted);
      font-size: 0.83rem;
      display: grid;
      gap: 0.35rem;
    }
    .spotlight-features strong { color: var(--text); }

    /* Live Synchronized Savings Panel */
    .roi-panel {
      background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(45, 212, 191, 0.07));
      border: 1px solid rgba(45, 212, 191, 0.3);
      border-radius: 20px;
      padding: 1.05rem 1.2rem;
    }
    .roi-headline-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    .roi-eyebrow {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--muted);
      margin: 0;
    }
    .savings-headline {
      font-size: clamp(1.55rem, 2.5vw, 2.1rem);
      color: var(--green);
      line-height: 1.15;
      margin: 0.2rem 0 0;
    }
    .roi-pill-badge {
      padding: 0.28rem 0.7rem;
      border-radius: 999px;
      background: rgba(124, 92, 255, 0.32);
      border: 1px solid var(--purple);
      color: #f0abfc;
      font-family: "Space Grotesk", sans-serif;
      font-weight: 700;
      font-size: 0.88rem;
    }
    .cost-comparison { margin-top: 0.85rem; }
    .cost-label {
      display: flex;
      justify-content: space-between;
      gap: 0.75rem;
      font-size: 0.8rem;
    }
    .cost-track {
      height: 10px;
      margin: 0.35rem 0 0.75rem;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.12);
      overflow: hidden;
    }
    .cost-bar {
      display: block;
      height: 100%;
      border-radius: inherit;
      transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .bensfolio-cost { width: 47.14%; background: linear-gradient(90deg, var(--teal), var(--blue)); }
    .competitor-cost { width: 100%; background: linear-gradient(90deg, var(--purple), var(--magenta)); }

    .roi-meta-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.65rem;
      margin-top: 0.75rem;
      padding-top: 0.75rem;
      border-top: 1px solid var(--line);
    }
    .roi-mini-stat span {
      display: block;
      font-size: 0.72rem;
      color: var(--muted);
    }
    .roi-mini-stat strong {
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.05rem;
      color: var(--text);
    }

    .savings-note {
      margin: 0.75rem 0 0;
      color: var(--muted);
      font-size: 0.74rem;
      line-height: 1.45;
    }
    .console-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 0.9rem;
    }
    .console-actions .btn {
      min-height: 44px;
      padding: 0.65rem 1.1rem;
      font-size: 0.88rem;
    }

    /* ==========================================================================
       ZONE 2: INTERACTIVE 3-STATE "BEFORE / AFTER" BROWSER STAGE
       ========================================================================== */
    .stage-section {
      padding: 2.5rem 0;
    }
    .stage-head {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
      gap: 1.25rem;
      margin-bottom: 1.25rem;
    }
    .stage-head > div {
      min-width: 0;
    }
    .stage-head h2 {
      font-size: clamp(1.85rem, 3.2vw, 2.75rem);
      line-height: 1.08;
    }
    .stage-head p {
      margin: 0.45rem 0 0;
      max-width: 64ch;
      color: var(--muted);
      font-size: 0.98rem;
    }
    .view-mode-btn {
      width: 232px;
      min-width: 232px;
      max-width: 232px;
      justify-self: end;
      align-self: end;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.65rem 0.95rem;
      border-radius: 12px;
      border: 1px solid var(--line-strong);
      background: rgba(124, 92, 255, 0.16);
      color: var(--cyan);
      font: 600 0.82rem/1.2 "Inter", sans-serif;
      white-space: nowrap;
      text-align: center;
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease;
    }
    .view-mode-btn:hover {
      background: rgba(232, 121, 249, 0.22);
      border-color: var(--magenta);
    }

    /* Interactive Browser Shell */
    .browser-stage-shell {
      border-radius: 26px;
      border: 1px solid rgba(124, 92, 255, 0.55);
      background: linear-gradient(155deg, rgba(16, 26, 42, 0.88), rgba(7, 12, 21, 0.95));
      box-shadow: 0 24px 80px rgba(2, 6, 14, 0.72);
      overflow: hidden;
    }

    /* Top Stage Switcher Tabs */
    .stage-tabs {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.5rem;
      padding: 0.75rem;
      background: rgba(4, 9, 17, 0.85);
      border-bottom: 1px solid var(--line);
    }
    .stage-tab {
      appearance: none;
      border: 1px solid var(--line);
      border-top: 3px solid var(--tab-color, var(--blue));
      background: rgba(12, 20, 33, 0.65);
      color: var(--muted);
      border-radius: 14px;
      padding: 0.75rem 0.9rem;
      text-align: left;
      cursor: pointer;
      font: inherit;
      transition: all 0.22s ease;
    }
    .stage-tab[data-stage="absent"] { --tab-color: var(--blue); }
    .stage-tab[data-stage="dated"] { --tab-color: var(--magenta); }
    .stage-tab[data-stage="custom"] { --tab-color: var(--teal); }
    .stage-tab:hover {
      color: var(--text);
      background: rgba(22, 34, 54, 0.8);
    }
    .stage-tab.active {
      color: var(--text);
      background: linear-gradient(155deg, rgba(45, 212, 191, 0.14), rgba(14, 24, 39, 0.95));
      border-color: var(--tab-color);
      box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
    }
    .stage-tab-kicker {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.68rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--tab-color);
      font-weight: 800;
      margin-bottom: 0.25rem;
    }
    .stage-tab strong {
      display: block;
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.05rem;
    }

    /* Interactive Stage Body */
    .stage-viewport {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 1.5rem;
      padding: 1.5rem;
      align-items: stretch;
    }

    /* Simulated Browser Window */
    .mock-browser-window {
      border-radius: 18px;
      border: 1px solid rgba(148, 163, 184, 0.24);
      background: #070d18;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-height: 310px;
    }
    .mock-browser-bar {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.65rem 0.9rem;
      background: rgba(15, 23, 38, 0.95);
      border-bottom: 1px solid var(--line);
    }
    .browser-dots {
      display: flex;
      gap: 5px;
    }
    .browser-dots i {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--blue);
      display: inline-block;
    }
    .browser-address {
      flex: 1;
      padding: 0.28rem 0.7rem;
      border-radius: 8px;
      background: rgba(5, 11, 19, 0.85);
      border: 1px solid rgba(148, 163, 184, 0.15);
      color: var(--muted);
      font-size: 0.75rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .browser-status-pill {
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .mock-browser-canvas {
      flex: 1;
      padding: 1.35rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    /* Right Side of Stage: Survey Stat + Build Model Comparison */
    .stage-analysis {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1rem;
    }
    .stage-stat-card {
      padding: 1.15rem 1.25rem;
      border-radius: 18px;
      background: rgba(11, 19, 31, 0.85);
      border: 1px solid var(--line);
    }
    .stage-stat-number {
      font-family: "Space Grotesk", sans-serif;
      font-size: clamp(2.4rem, 4vw, 3.2rem);
      font-weight: 700;
      line-height: 1;
      margin-bottom: 0.35rem;
    }
    .stage-stat-track {
      height: 10px;
      border-radius: 999px;
      background: rgba(148, 163, 184, 0.15);
      overflow: hidden;
      margin: 0.65rem 0;
    }
    .stage-stat-fill {
      display: block;
      height: 100%;
      border-radius: inherit;
      transition: width 0.35s ease;
    }

    .stage-model-card {
      padding: 1.15rem 1.25rem;
      border-radius: 18px;
      background: linear-gradient(145deg, rgba(124, 92, 255, 0.14), rgba(11, 19, 31, 0.9));
      border: 1px solid rgba(124, 92, 255, 0.38);
    }
    .stage-model-card h4 {
      margin: 0.25rem 0 0.55rem;
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.2rem;
    }
    .stage-model-list {
      margin: 0;
      padding-left: 1.1rem;
      color: var(--muted);
      font-size: 0.88rem;
      display: grid;
      gap: 0.4rem;
    }
    .stage-model-takeaway {
      margin: 0.75rem 0 0;
      padding-top: 0.65rem;
      border-top: 1px solid var(--line);
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text);
    }

    /* Optional All-3 Side-by-Side Matrix View (Toggled) */
    .stage-all-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
      padding: 0 1.5rem 1.5rem;
    }
    .stage-all-grid[hidden] { display: none; }
    .mini-matrix-card {
      padding: 1.1rem;
      border-radius: 18px;
      background: rgba(11, 18, 29, 0.88);
      border: 1px solid var(--line);
    }
    .mini-matrix-card h4 {
      margin: 0.3rem 0 0.45rem;
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.1rem;
    }
    .mini-matrix-card p {
      margin: 0;
      font-size: 0.84rem;
      color: var(--muted);
    }

    /* Bottom Dock of Stage: 4 Trust Builders + 4 Human Advantage Pills */
    .stage-footer-dock {
      padding: 1.25rem 1.5rem;
      background: rgba(5, 10, 18, 0.78);
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: 1fr 1.15fr;
      gap: 1.25rem;
      align-items: start;
    }
    .trust-pill-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.6rem;
      list-style: none;
      padding: 0;
      margin: 0.5rem 0 0;
    }
    .trust-pill-grid li {
      padding: 0.6rem 0.75rem;
      border-radius: 12px;
      background: rgba(12, 20, 33, 0.85);
      border: 1px solid var(--line);
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .trust-pill-grid strong {
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.25rem;
      color: var(--teal);
    }
    .trust-pill-grid span {
      font-size: 0.78rem;
      color: var(--muted);
      line-height: 1.25;
    }

    /* Interactive Human Advantage Accordion Pills */
    .advantage-pills {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.55rem;
      margin-top: 0.5rem;
    }
    .adv-pill-btn {
      appearance: none;
      text-align: left;
      padding: 0.6rem 0.8rem;
      border-radius: 12px;
      border: 1px solid rgba(124, 92, 255, 0.35);
      background: rgba(12, 20, 33, 0.85);
      color: var(--text);
      font: 600 0.8rem/1.3 "Inter", sans-serif;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .adv-pill-btn:hover, .adv-pill-btn.active {
      border-color: var(--cyan);
      background: rgba(34, 211, 238, 0.14);
      color: var(--cyan);
    }
    .adv-detail-box {
      margin-top: 0.6rem;
      padding: 0.75rem 0.9rem;
      border-radius: 12px;
      background: rgba(11, 18, 29, 0.9);
      border-left: 3px solid var(--cyan);
      color: var(--muted);
      font-size: 0.82rem;
    }
    .adv-detail-box strong { color: var(--text); }

    .presence-sources {
      margin: 0 1.5rem 1.25rem;
      padding: 0.85rem 1.1rem;
      border: 1px solid var(--line);
      border-radius: 14px;
      color: var(--muted);
      font-size: 0.8rem;
      background: rgba(8, 14, 24, 0.7);
    }
    .presence-sources summary {
      cursor: pointer;
      color: var(--text);
      font-weight: 600;
    }
    .presence-sources a {
      color: var(--cyan);
      text-decoration: underline;
    }

    /* ==========================================================================
       ZONE 3: INTERACTIVE 4-STEP LAUNCH RAIL + UNIFIED ACTION DOCK
       ========================================================================== */
    .process-section {
      padding: 2rem 0 3.5rem;
    }
    .process-rail-shell {
      border-radius: 26px;
      border: 1px solid var(--line-strong);
      background: linear-gradient(125deg, rgba(124, 92, 255, 0.16), rgba(9, 17, 29, 0.92) 60%, rgba(45, 212, 191, 0.08));
      padding: clamp(1.35rem, 3.5vw, 2.25rem);
    }
    .step-rail-buttons {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.75rem;
      margin: 1.25rem 0 1rem;
    }
    .step-rail-btn {
      appearance: none;
      text-align: left;
      padding: 1rem 1.05rem;
      border-radius: 18px;
      border: 1px solid var(--line);
      background: rgba(11, 18, 29, 0.78);
      color: var(--text);
      cursor: pointer;
      font: inherit;
      transition: all 0.22s ease;
    }
    .step-rail-btn:hover {
      transform: translateY(-2px);
      border-color: rgba(34, 211, 238, 0.5);
    }
    .step-rail-btn.active {
      border-color: var(--teal);
      background: linear-gradient(145deg, rgba(45, 212, 191, 0.18), rgba(11, 22, 34, 0.95));
      box-shadow: 0 12px 32px rgba(34, 211, 238, 0.15);
    }
    .step-num {
      display: inline-block;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      color: var(--teal);
      margin-bottom: 0.35rem;
    }
    .step-rail-btn h3 {
      font-size: 1.05rem;
      margin: 0 0 0.3rem;
    }
    .step-rail-btn p {
      margin: 0;
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.4;
    }

    .step-spotlight-banner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1.25rem;
      padding: 1.2rem 1.4rem;
      border-radius: 18px;
      background: rgba(6, 12, 22, 0.85);
      border: 1px solid rgba(45, 212, 191, 0.35);
    }
    .step-spotlight-copy {
      max-width: 64ch;
    }
    .step-spotlight-copy h4 {
      margin: 0 0 0.3rem;
      font-family: "Space Grotesk", sans-serif;
      font-size: 1.2rem;
      color: var(--cyan);
    }
    .step-spotlight-copy p {
      margin: 0;
      font-size: 0.9rem;
      color: var(--muted);
    }
    .website-steps-note {
      margin: 1rem 0 0;
      color: var(--muted);
      font-size: 0.8rem;
    }
    .website-steps-note button.link-btn {
      background: none;
      border: 0;
      padding: 0;
      color: var(--teal);
      font: inherit;
      text-decoration: underline;
      cursor: pointer;
    }

    /* Footer */
    footer {
      border-top: 1px solid rgba(148, 163, 184, 0.14);
      background: rgba(6, 10, 16, 0.72);
    }
    .footer-wrap {
      min-height: 72px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 0.85rem;
      color: var(--muted);
      font-size: 0.92rem;
      text-align: center;
      padding: 1.5rem 1rem 3rem;
    }
    .footer-brand {
      display: inline-flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
    .footer-brand img {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }
    .back-to-top {
      color: var(--cyan);
      text-decoration: underline;
    }

    /* In-Page Interactive Modal System */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 100;
      background: rgba(2, 6, 14, 0.82);
      backdrop-filter: blur(12px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }
    .modal-backdrop[hidden] { display: none; }
    .modal-window {
      width: min(1040px, 100%);
      max-height: calc(100vh - 2rem);
      border-radius: 24px;
      border: 1px solid var(--purple);
      background: #060d18;
      color: var(--text);
      box-shadow: 0 24px 100px rgba(0, 0, 0, 0.8);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .modal-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.9rem 1.35rem;
      background: linear-gradient(100deg, rgba(124, 92, 255, 0.38), rgba(217, 70, 239, 0.14));
      border-bottom: 1px solid var(--line);
    }
    .modal-bar h2 { font-size: 1.15rem; }
    .modal-close-btn {
      min-height: 40px;
      padding: 0.45rem 0.95rem;
      border: 1px solid var(--line-strong);
      border-radius: 10px;
      background: rgba(12, 20, 33, 0.85);
      color: var(--text);
      font: 600 0.88rem/1 "Inter", sans-serif;
      cursor: pointer;
    }
    .modal-close-btn:hover {
      background: rgba(232, 121, 249, 0.22);
      border-color: var(--magenta);
    }
    .modal-body {
      padding: 1.5rem;
      overflow-y: auto;
    }

    /* Comparison Table inside Modal */
    .comp-table-wrap {
      overflow-x: auto;
      border-radius: 16px;
      border: 1px solid var(--line);
      background: rgba(10, 16, 25, 0.85);
      margin-top: 1rem;
    }
    .comp-table {
      width: 100%;
      min-width: 680px;
      border-collapse: collapse;
      text-align: left;
      font-size: 0.9rem;
    }
    .comp-table th {
      padding: 0.85rem 1rem;
      color: var(--cyan);
      font-size: 0.74rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      border-bottom: 1px solid var(--line);
      background: rgba(96, 165, 250, 0.08);
    }
    .comp-table td {
      padding: 0.85rem 1rem;
      border-bottom: 1px solid rgba(148, 163, 184, 0.08);
      color: var(--muted);
    }
    .comp-table tr.row-highlight {
      background: linear-gradient(90deg, rgba(96, 165, 250, 0.14), rgba(45, 212, 191, 0.12));
    }
    .comp-table tr.row-highlight td {
      color: var(--text);
      font-weight: 600;
    }

    /* Responsive Adjustments */
    @media (max-width: 980px) {
      .hero-stage,
      .stage-viewport,
      .stage-footer-dock {
        grid-template-columns: 1fr;
      }
      .step-rail-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .stage-all-grid {
        grid-template-columns: 1fr;
      }
    }
    @media (max-width: 680px) {
      .stage-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 0.85rem;
      }
      .view-mode-btn {
        justify-self: start;
      }
      .scope-dial {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .stage-tabs,
      .stats,
      .step-rail-buttons,
      .trust-pill-grid,
      .advantage-pills {
        grid-template-columns: 1fr;
      }
      .top .nav-wrap {
        flex-direction: column;
        padding: 0.75rem 0;
      }
      .main-nav {
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: center;
      }
    }

/* ==========================================================================
   UNIFIED FLOATING PILL NAVIGATION (Matches Portfolio & About Pages)
   Works automatically on both <header class="glass-nav"> and <header class="top">
   ========================================================================== */
.glass-nav,
header.top {
  position: fixed;
  top: 1.15rem;
  left: 2rem;
  right: 2rem;
  height: 68px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(9, 18, 31, 0.9);
  border: 1px solid rgba(124, 92, 255, 0.45);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(3, 7, 18, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
}

header.top .nav-wrap {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
  gap: 1rem;
}

body:has(header.top) main,
body:has(.glass-nav):not(:has(.viewport-lock)) main {
  padding-top: 6.2rem;
}

.brand-id,
header.top .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text, #edf6ff);
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand-logo-img,
header.top .brand-mark {
  height: 44px;
  width: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.25));
}

.brand-orb-fallback {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee, #7c5cff, #e879f9);
  display: none;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.4);
}

.brand-text strong,
header.top .brand-text {
  display: block;
  white-space: nowrap;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--text, #edf6ff);
}

.brand-text strong em,
header.top .brand-text span {
  display: inline;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  margin-top: 0;
  font-style: normal;
  color: var(--cyan, #22d3ee);
}

.brand-id .brand-text > span,
header.top .brand-sub {
  display: block;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal, #2dd4bf);
  margin-top: 0.18rem;
}

.nav-links,
header.top .main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

header.top .nav-wrap:has(.header-quote) .main-nav {
  margin-left: auto;
}

.nav-links a,
header.top .main-nav a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--muted, #9eb2c9);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
header.top .main-nav a:hover {
  color: var(--magenta, #e879f9);
  transform: translateY(-1px);
}

.nav-links a.active,
.nav-links a[aria-current="page"],
header.top .main-nav a[aria-current="page"] {
  color: var(--teal, #2dd4bf);
  font-weight: 700;
}

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after,
header.top .main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan, #22d3ee), var(--green, #34d399));
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.45);
}

.nav-cta,
header.top .header-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0.62rem 1.2rem !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #e879f9, #f0abfc) !important;
  border: 1px solid #e879f9 !important;
  color: #050b13 !important;
  font: 800 0.86rem/1.2 "Inter", sans-serif !important;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(232, 121, 249, 0.4), 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover,
header.top .header-quote:hover {
  transform: translateY(-1px);
  color: #050b13 !important;
  box-shadow: 0 0 40px rgba(232, 121, 249, 0.65), 0 10px 24px rgba(0, 0, 0, 0.35);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(124, 92, 255, 0.16);
  border: 1px solid rgba(124, 92, 255, 0.45);
  color: var(--text, #edf6ff);
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0.85rem;
  right: 0.85rem;
  background: rgba(9, 18, 31, 0.98);
  border: 1px solid rgba(124, 92, 255, 0.55);
  border-radius: 22px;
  padding: 1.1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  z-index: 99;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.05rem;
  border-radius: 14px;
  color: var(--muted, #9eb2c9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.mobile-nav-drawer a:hover,
.mobile-nav-drawer a.active,
.mobile-nav-drawer a[aria-current="page"] {
  background: rgba(124, 92, 255, 0.15);
  color: var(--teal, #2dd4bf);
  font-weight: 700;
}

.mobile-nav-drawer a.mobile-drawer-cta {
  margin-top: 0.4rem;
  justify-content: center;
  background: linear-gradient(135deg, #e879f9, #f0abfc);
  border: 1px solid #e879f9;
  color: #050b13;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(232, 121, 249, 0.4);
}

@media (max-width: 1040px) {
  .glass-nav,
  header.top {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    height: 58px;
    padding: 0 1rem;
  }
  .nav-links,
  header.top .main-nav,
  header.top .header-quote {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  body:has(header.top) main,
  body:has(.glass-nav):not(:has(.viewport-lock)) main {
    padding-top: 5.2rem;
  }
}
