/* Theme tokens */
    :root {
      /* Theme tokens (default: dark, switched to light on initial load) */
      --primary: #0b192c;
      --secondary: #3D72FC;
      --accent: #00d4ff;
      --card: rgba(16, 31, 58, 0.72);
      --card-strong: #101f3a;
      --text: #ffffff;
      --muted: #9fb4d8;
      --soft: #dce7ff;
      --border: rgba(61, 114, 252, 0.24);

      --radius: 24px;
      --container: 1200px;

      /* Bootstrap theme bridge */
      --bs-body-font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      --bs-body-color: var(--text);
      --bs-body-bg: var(--primary);
    }

    /* Light theme overrides */
    html[data-theme="light"] {
      --primary: #f5f7ff;
      --secondary: #2f63ff;
      --accent: #007cff;
      --card: rgba(255, 255, 255, 0.78);
      --card-strong: #ffffff;
      --text: #0b192c;
      --muted: rgba(11, 25, 44, 0.72);
      --soft: rgba(11, 25, 44, 0.86);
      --border: rgba(47, 99, 255, 0.18);

      --bs-body-color: var(--text);
      --bs-body-bg: var(--primary);
    }

    /* Base layout */
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
    body {
      margin: 0;
      font-family: var(--bs-body-font-family);
      color: var(--text);
      background: var(--primary);
      overflow-x: hidden;
      width: 100%;
      max-width: 100%;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(circle at 10% 10%, rgba(61, 114, 252, 0.22), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(0, 212, 255, 0.14), transparent 28%),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: auto, auto, 72px 72px, 72px 72px;
      z-index: -2;
    }
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(11,25,44,0.08), rgba(11,25,44,0.96));
      z-index: -1;
    }
    html[data-theme="light"] body::before {
      background:
        radial-gradient(circle at 10% 10%, rgba(47, 99, 255, 0.14), transparent 32%),
        radial-gradient(circle at 90% 20%, rgba(0, 124, 255, 0.10), transparent 30%),
        linear-gradient(rgba(11,25,44,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,25,44,.04) 1px, transparent 1px);
      background-size: auto, auto, 72px 72px, 72px 72px;
    }
    html[data-theme="light"] body::after {
      background: linear-gradient(180deg, rgba(245,247,255,0.10), rgba(245,247,255,0.94));
    }


    .site-page {
      width: 100%;
      max-width: 100%;
      overflow-x: clip;
    }
    @supports not (overflow: clip) {
      .site-page { overflow-x: hidden; }
    }
    .row.overflow-auto {
      margin-left: 0;
      margin-right: 0;
      overscroll-behavior-inline: contain;
    }
    .row.overflow-auto > [class*="col-"] {
      min-width: 0;
    }

    a { color: inherit; text-decoration: none; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--accent);
      border: 1px solid var(--border);
      background: rgba(61,114,252,.09);
      padding: 8px 14px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
    }
    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 16px var(--accent);
    }
    h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; margin: 0; letter-spacing: -0.04em; }
    h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1; max-width: 700px; }
    h2 { font-size: clamp(30px, 3.35vw, 44px); line-height: 1.08; max-width: 760px; }
    h3 { font-size: 21px; line-height: 1.18; }
    p { color: var(--muted); font-size: 16px; line-height: 1.68; margin: 0; }
    .lead { font-size: 17px; color: var(--soft); max-width: 650px; }
    .gradient-text { background: linear-gradient(90deg, #fff, #8fb0ff 48%, #00d4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 0 22px;
      border-radius: 999px;
      font-weight: 800;
      border: 1px solid transparent;
      transition: .25s ease;
      cursor: pointer;
      white-space: nowrap;
    }
    .btn-primary {
      background: linear-gradient(135deg, var(--secondary), var(--accent));
      color: white;
      box-shadow: 0 18px 44px rgba(61,114,252,.32);
    }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(61,114,252,.45); }
    .btn-outline { border-color: var(--border); background: rgba(255,255,255,.04); color: white; }
    .btn-outline:hover { border-color: rgba(0,212,255,.7); background: rgba(0,212,255,.08); }

    /* Scroll and micro animations */
    @media (prefers-reduced-motion: no-preference) {
      .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity .75s ease, transform .75s ease;
        transition-delay: var(--reveal-delay, 0ms);
      }
      .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
      }
      .reveal-heading {
        opacity: 0;
        transform: translateY(18px) scale(.98);
        transition: opacity .7s ease, transform .7s ease;
        transition-delay: var(--reveal-delay, 0ms);
      }
      .reveal-heading.is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
      .reveal-card {
        opacity: 0;
        transform: translateY(26px) scale(.985);
        transition: opacity .75s ease, transform .75s ease, box-shadow .25s ease, border-color .25s ease;
        transition-delay: var(--reveal-delay, 0ms);
      }
      .reveal-card.is-visible {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
      .reveal-card.is-visible:hover {
        transform: translateY(-6px) scale(1.01);
      }
      .hero .score-card,
      .ai-scan-card,
      .form-card {
        animation: softFloat 7s ease-in-out infinite;
      }
      .eyebrow::before {
        animation: pulseDot 1.8s ease-in-out infinite;
      }
    }

    .btn-primary {
      position: relative;
      overflow: hidden;
      z-index: 1;
      isolation: isolate;
    }
    .btn-primary::before {
      content: "";
      position: absolute;
      inset: -2px;
      z-index: -1;
      background: linear-gradient(120deg, var(--secondary), var(--accent), #8fb0ff, var(--secondary));
      background-size: 260% 260%;
      animation: ctaGradientMove 4.5s ease infinite;
    }
    .btn-primary::after {
      content: "";
      position: absolute;
      top: 0;
      left: -90%;
      width: 46%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
      transform: skewX(-22deg);
      transition: left .65s ease;
      z-index: -1;
    }
    .btn-primary:hover::after {
      left: 120%;
    }

    @keyframes ctaGradientMove {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    @keyframes softFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }
    @keyframes pulseDot {
      0%, 100% { transform: scale(1); box-shadow: 0 0 12px var(--accent); }
      50% { transform: scale(1.35); box-shadow: 0 0 26px var(--accent); }
    }

    @media (prefers-reduced-motion: reduce) {
      .reveal,
      .reveal-heading,
      .reveal-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
      }
      .btn-primary::before,
      .eyebrow::before,
      .hero .score-card,
      .ai-scan-card,
      .form-card {
        animation: none !important;
      }
    }

    /* Header and navigation */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid rgba(255,255,255,.08);
      background: rgba(11,25,44,.72);
      backdrop-filter: blur(18px);
    }
    html[data-theme="light"] .site-header {
      border-bottom: 1px solid rgba(11,25,44,.10);
      background: rgba(245,247,255,.72);
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-family: "Space Grotesk", sans-serif;
      font-size: 21px;
      font-weight: 800;
    }
    .brand-logo {
      display: block;
      width: auto;
      height: 30px;
      object-fit: contain;
    }
    .logo-mark {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--secondary), var(--accent));
      box-shadow: 0 0 28px rgba(61,114,252,.5);
    }
    .menu { display: flex; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 700; }
    .menu a:hover { color: white; }

    /* Bootstrap navigation, mega menu, and offcanvas */
    .navbar { padding: 10px 0; }
    .navbar, .offcanvas, .dropdown-menu { font-family: var(--bs-body-font-family); }
    .navbar-brand, .mega-title { font-family: "Space Grotesk", Inter, sans-serif; }
    .navbar-nav .nav-link { color: var(--muted); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
    .navbar-nav .nav-link:hover { color: var(--text); }
    .navbar-toggler { border-color: rgba(255,255,255,.16); }
    .dropdown-menu {
      background: rgba(11,25,44,.92);
      border: 1px solid rgba(61,114,252,0.28);
      backdrop-filter: blur(18px);
      color: white;
    }
    .dropdown-item { color: rgba(255,255,255,.84); font-weight: 700; }
    .dropdown-item:hover, .dropdown-item:focus { color: white; background: rgba(0,212,255,.10); }
    .navbar .dropdown { position: static; }
    .dropdown-menu.mega-menu {
      padding: 22px;
      border-radius: 22px;
      width: min(1200px, calc(100vw - 32px));
      top: 100%;
      left: 50%;
      right: auto;
      transform: translateX(-50%);
      margin-top: 0 !important;
    }
    .dropdown-menu.mega-menu::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -16px;
      height: 16px;
    }
    .dropdown-menu.mega-menu.show {
      position: absolute !important;
      inset: auto auto auto 50% !important;
      top: 100% !important;
      transform: translateX(-50%) !important;
    }
    @media (min-width: 992px) {
      .navbar .dropdown:hover > .dropdown-menu,
      .navbar .dropdown:focus-within > .dropdown-menu,
      .navbar .dropdown > .dropdown-menu:hover {
        display: block;
      }
      .navbar .dropdown:hover > .dropdown-toggle,
      .navbar .dropdown:focus-within > .dropdown-toggle {
        color: var(--text);
      }
    }
    .mega-title { font-weight: 900; letter-spacing: -.02em; }
    .mega-muted { color: var(--muted); font-size: 13px; }
    .dropdown-submenu { position: relative; }
    .dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-left: 6px; }
    .service-tree {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
    .service-group {
      border: 1px solid rgba(61,114,252,0.22);
      border-radius: 18px;
      padding: 16px;
      background: rgba(255,255,255,.035);
    }
    .service-group-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      color: var(--text);
      font-weight: 900;
      margin-bottom: 12px;
    }
    .service-group-title span {
      color: var(--accent);
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .06em;
    }
    .service-branch {
      display: grid;
      gap: 8px;
      margin-top: 10px;
      padding-top: 10px;
      border-top: 1px solid rgba(255,255,255,.08);
    }
    .service-branch:first-of-type {
      margin-top: 0;
      padding-top: 0;
      border-top: 0;
    }
    .service-branch > a {
      color: var(--text);
      font-weight: 800;
      font-size: 14px;
    }
    .service-leaves {
      display: grid;
      gap: 5px;
      padding-left: 12px;
    }
    .service-leaves a {
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }
    .service-branch > a:hover,
    .service-leaves a:hover {
      color: var(--accent);
    }
    #mobileMenu {
      width: min(380px, calc(100vw - 24px));
      min-height: 100dvh;
      background: rgba(11,25,44,.98);
      color: var(--text);
      box-shadow: -24px 0 70px rgba(0,0,0,.28);
    }
    #mobileMenu .offcanvas-header,
    #mobileMenu .offcanvas-body {
      background: inherit;
    }
    #mobileMenu .offcanvas-body {
      display: block;
      padding: 18px;
      overflow-y: auto;
    }
    #mobileMenu .offcanvas-tools {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    #themeToggleMobile {
      width: 40px;
      height: 40px;
      min-height: 40px;
      padding: 0;
      border-radius: 50%;
      flex: 0 0 auto;
    }
    #themeToggleMobile [data-icon] {
      margin: 0 !important;
      line-height: 1;
    }
    #themeToggleMobile [data-label] {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    #mobileMenu .accordion-item {
      border-color: rgba(255,255,255,.10);
      background: transparent;
    }
    #mobileMenu .accordion-button {
      color: var(--text);
      font-weight: 800;
      box-shadow: none;
    }
    #mobileMenu .accordion-button::after {
      filter: invert(1) grayscale(1);
    }
    #mobileMenu .offcanvas-body .btn-outline {
      width: 100%;
      justify-content: center;
    }
    #mobileMenu .mobile-service-tree {
      display: grid;
      gap: 14px;
    }
    #mobileMenu .mobile-service-group {
      border: 1px solid var(--border);
      border-radius: 16px;
      background: rgba(255,255,255,.035);
      overflow: hidden;
    }
    #mobileMenu .mobile-service-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      border: 0;
      background: transparent;
      color: var(--text);
      font-weight: 900;
      padding: 14px;
      text-align: left;
    }
    #mobileMenu .mobile-service-title:focus-visible,
    #mobileMenu .mobile-branch-toggle:focus-visible {
      outline: 2px solid rgba(47,99,255,.36);
      outline-offset: -2px;
    }
    #mobileMenu .mobile-service-title::after,
    #mobileMenu .mobile-branch-toggle::after {
      content: "+";
      color: var(--accent);
      font-weight: 900;
      margin-left: 12px;
    }
    #mobileMenu .mobile-service-title[aria-expanded="true"]::after,
    #mobileMenu .mobile-branch-toggle[aria-expanded="true"]::after {
      content: "−";
    }
    #mobileMenu .mobile-service-branch {
      padding: 0 14px 12px;
    }
    #mobileMenu .mobile-service-branch + .mobile-service-branch {
      border-top: 1px solid rgba(255,255,255,.08);
    }
    #mobileMenu .mobile-branch-toggle {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      padding: 12px 0 8px;
      border: 0;
      background: transparent;
      color: var(--text);
      font-size: 14px;
      font-weight: 800;
      text-align: left;
    }
    #mobileMenu .mobile-service-leaves {
      display: grid;
      gap: 6px;
      padding: 0 0 8px 12px;
    }
    #mobileMenu .mobile-service-leaves a {
      color: var(--muted);
      font-size: 13px;
      font-weight: 700;
    }
    @media (hover: hover) and (min-width: 992px) {
      .dropdown:hover > .dropdown-menu { display: block; }
      .dropdown-submenu:hover > .dropdown-menu { display: block; }
    }

    /* Light theme component fixes */
    html[data-theme="light"] .btn-outline { color: var(--text); background: rgba(11,25,44,.03); }
    html[data-theme="light"] .btn-outline:hover { background: rgba(47,99,255,.08); }
    html[data-theme="light"] .navbar-toggler { border-color: rgba(11,25,44,.18); }
    html[data-theme="light"] .dropdown-menu {
      background: rgba(255,255,255,.94);
      border-color: rgba(47,99,255,0.16);
      color: var(--text);
    }
    html[data-theme="light"] .dropdown-item { color: rgba(11,25,44,.86); }
    html[data-theme="light"] .dropdown-item:hover,
    html[data-theme="light"] .dropdown-item:focus { color: var(--text); background: rgba(47,99,255,.10); }
    html[data-theme="light"] .gradient-text,
    html[data-theme="light"] .visibility-score {
      background: linear-gradient(120deg, #0b192c, #245cff 54%, #007cff);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    html[data-theme="light"] .dashboard,
    html[data-theme="light"] .form-card,
    html[data-theme="light"] .final-cta {
      background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(237,243,255,.94));
      box-shadow: 0 24px 70px rgba(47,99,255,.13), inset 0 1px 0 rgba(255,255,255,.9);
    }
    html[data-theme="light"] .dashboard::before {
      background: linear-gradient(120deg, transparent, rgba(47,99,255,.18), transparent);
    }
    html[data-theme="light"] .score-ring {
      background: conic-gradient(var(--accent) 0 78%, rgba(11,25,44,.10) 78% 100%);
    }
    html[data-theme="light"] .score-ring div {
      background: #ffffff;
      color: var(--text);
    }
    html[data-theme="light"] .metric,
    html[data-theme="light"] .mini-stat,
    html[data-theme="light"] .trust-row,
    html[data-theme="light"] .flow-wrap,
    html[data-theme="light"] .point,
    html[data-theme="light"] .faq-accordion .accordion-item,
    html[data-theme="light"] .automation-flow,
    html[data-theme="light"] .tech-pill,
    html[data-theme="light"] .matrix-card,
    html[data-theme="light"] .service-group,
    html[data-theme="light"] #mobileMenu .mobile-service-group,
    html[data-theme="light"] .scan-bar,
    html[data-theme="light"] .report-row {
      background: rgba(255,255,255,.68);
      border-color: rgba(47,99,255,.16);
    }
    html[data-theme="light"] .node,
    html[data-theme="light"] .auto-step {
      background: rgba(255,255,255,.78);
      border-color: rgba(47,99,255,.16);
      color: var(--text);
    }
    html[data-theme="light"] .chart,
    html[data-theme="light"] .field {
      border-color: rgba(47,99,255,.16);
      background: rgba(255,255,255,.74);
      color: var(--text);
    }
    html[data-theme="light"] .field::placeholder { color: rgba(11,25,44,.52); }
    html[data-theme="light"] .trust-item { border-color: rgba(47,99,255,.14); }
    html[data-theme="light"] .case-card strong,
    html[data-theme="light"] .matrix-card b { color: var(--text); }
    html[data-theme="light"] .status { color: #007a58; }
    html[data-theme="light"] .footer { border-color: rgba(11,25,44,.10); }
    html[data-theme="light"] .offcanvas {
      background: rgba(255,255,255,.98) !important;
      color: var(--text);
    }
    .audit-modal .modal-content {
      border: 1px solid var(--border);
      border-radius: 22px;
      background: var(--card-strong);
      color: var(--text);
      box-shadow: 0 30px 90px rgba(0,0,0,.28);
      overflow: hidden;
    }
    .audit-modal .modal-header,
    .audit-modal .modal-footer {
      border-color: var(--border);
      padding: 22px;
    }
    .audit-modal .modal-body {
      padding: 22px 22px 8px;
    }
    .recaptcha-wrap {
      min-height: 78px;
      overflow-x: auto;
    }
    .audit-modal .btn-close {
      filter: invert(1) grayscale(1);
      opacity: .75;
    }
    html[data-theme="light"] .audit-modal .modal-content {
      background: #ffffff;
      box-shadow: 0 30px 90px rgba(47,99,255,.16);
    }
    html[data-theme="light"] .audit-modal .btn-close {
      filter: none;
    }
    html[data-theme="light"] #mobileMenu {
      box-shadow: -24px 0 70px rgba(47,99,255,.16);
    }
    html[data-theme="light"] .offcanvas-header { border-color: rgba(11,25,44,.10) !important; }
    html[data-theme="light"] .accordion-item,
    html[data-theme="light"] .accordion-button {
      color: var(--text) !important;
      background: transparent !important;
    }
    html[data-theme="light"] .accordion-button::after { filter: invert(1) grayscale(1); }
    html[data-theme="light"] #mobileMenu .accordion-button::after { filter: none; }
    html[data-theme="light"] .faq-accordion .accordion-button::after { filter: none; }
    html[data-theme="light"] .btn-close { filter: none; }

    /* Hero section */
    .hero-copy { display: grid; gap: 26px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
    .hero-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
    .mini-stat { padding: 14px 16px; border: 1px solid var(--border); background: rgba(255,255,255,.045); border-radius: 16px; min-width: 150px; }
    .mini-stat strong { display: block; font-size: 22px; color: var(--text); }
    .mini-stat span { color: var(--muted); font-size: 13px; }

    .dashboard {
      position: relative;
      padding: 22px;
      border: 1px solid var(--border);
      border-radius: 32px;
      background: linear-gradient(180deg, rgba(16,31,58,.86), rgba(8,18,34,.86));
      box-shadow: 0 28px 90px rgba(0,0,0,.35), inset 0 0 60px rgba(61,114,252,.08);
      overflow: hidden;
    }
    .dashboard::before {
      content: "";
      position: absolute;
      inset: -1px;
      background: linear-gradient(120deg, transparent, rgba(0,212,255,.22), transparent);
      transform: translateX(-70%);
      animation: scan 5s infinite;
    }
    @keyframes scan { 50%,100% { transform: translateX(70%); } }
    .dash-inner { position: relative; z-index: 1; display: grid; gap: 18px; }
    .dash-top { display: flex; justify-content: space-between; align-items: center; }
    .status { color: #7dffcf; font-size: 13px; font-weight: 800; }
    .score-card { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; }
    .score-ring {
      width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
      background: conic-gradient(var(--accent) 0 78%, rgba(255,255,255,.08) 78% 100%);
      box-shadow: 0 0 40px rgba(0,212,255,.2);
    }
    .score-ring div { width: 116px; height: 116px; border-radius: 50%; background: #0b192c; display: grid; place-items: center; font-size: 36px; font-weight: 900; }
    .metrics { display: grid; gap: 12px; }
    .metric { padding: 16px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.045); }
    .metric b { display: block; font-size: 22px; color: var(--text); }
    .metric span { color: var(--muted); font-size: 13px; }
    .chart { height: 130px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(61,114,252,.18), rgba(0,212,255,.03)); position: relative; overflow: hidden; }
    .chart svg { width: 100%; height: 100%; }

    /* Trust strip */
    .trust-row { border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.035); }
    .trust-item { padding: 22px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); font-weight: 800; color: var(--soft); }
    .trust-item:last-child { border-right: 0; }

    /* Shared section headings and grids */
    .section-head.center { text-align: center; justify-items: center; }

    /* Creative section backgrounds */
    .section-bg-mesh,
    .section-bg-circuit,
    .section-bg-radial,
    .section-bg-data,
    .section-bg-soft {
      position: relative;
      overflow: hidden;
      isolation: isolate;
    }
    .section-bg-mesh > .container,
    .section-bg-circuit > .container,
    .section-bg-radial > .container,
    .section-bg-data > .container,
    .section-bg-soft > .container {
      position: relative;
      z-index: 1;
    }
    .section-bg-mesh::before,
    .section-bg-circuit::before,
    .section-bg-radial::before,
    .section-bg-data::before,
    .section-bg-soft::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }
    .section-bg-mesh::before {
      background:
        radial-gradient(circle at 12% 22%, rgba(0,212,255,.12), transparent 28%),
        linear-gradient(135deg, rgba(61,114,252,.10) 0 1px, transparent 1px 42px),
        linear-gradient(45deg, rgba(0,212,255,.055) 0 1px, transparent 1px 46px);
      background-size: auto, 42px 42px, 46px 46px;
      opacity: .78;
    }
    .section-bg-circuit::before {
      background:
        linear-gradient(90deg, transparent 0 12%, rgba(0,212,255,.13) 12% 12.4%, transparent 12.4% 100%),
        linear-gradient(0deg, transparent 0 32%, rgba(61,114,252,.12) 32% 32.4%, transparent 32.4% 100%),
        radial-gradient(circle at 18% 32%, rgba(0,212,255,.20) 0 4px, transparent 5px),
        radial-gradient(circle at 72% 70%, rgba(61,114,252,.20) 0 4px, transparent 5px);
      background-size: 180px 140px, 220px 160px, auto, auto;
      opacity: .64;
    }
    .section-bg-radial::before {
      background:
        radial-gradient(circle at 18% 20%, rgba(61,114,252,.16), transparent 28%),
        radial-gradient(circle at 82% 70%, rgba(0,212,255,.13), transparent 30%);
      opacity: .86;
    }
    .section-bg-data::before {
      background:
        linear-gradient(rgba(0,212,255,.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61,114,252,.075) 1px, transparent 1px),
        radial-gradient(circle at 78% 18%, rgba(0,212,255,.14), transparent 26%);
      background-size: 34px 34px, 34px 34px, auto;
      mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
      opacity: .7;
    }
    .section-bg-soft::before {
      background:
        linear-gradient(180deg, transparent, rgba(61,114,252,.075), transparent),
        radial-gradient(circle at 8% 40%, rgba(0,212,255,.08), transparent 24%);
      opacity: .82;
    }

    /* Shared cards and lists */
    .card {
      border: 1px solid var(--border);
      background: var(--card);
      border-radius: var(--radius);
      box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
      transition: .25s ease;
    }
    .card:hover { transform: translateY(-6px); border-color: rgba(0,212,255,.5); box-shadow: 0 24px 70px rgba(61,114,252,.15); }
.icon {
      width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
      background: linear-gradient(135deg, rgba(61,114,252,.2), rgba(0,212,255,.12)); border: 1px solid var(--border); font-size: 24px;
    }
    .services-grid .card {
      position: relative;
      overflow: hidden;
    }
    .services-grid .card::after {
      content: "";
      position: absolute;
      inset: auto -20% -35% -20%;
      height: 90px;
      background: radial-gradient(circle, rgba(0,212,255,.18), transparent 62%);
      opacity: .55;
      animation: serviceGlow 6s ease-in-out infinite;
      pointer-events: none;
    }
    .services-grid > div:nth-child(2) .card::after { animation-delay: 1.2s; }
    .services-grid > div:nth-child(3) .card::after { animation-delay: 2.4s; }
    .services-grid .icon {
      animation: serviceIconFloat 4.8s ease-in-out infinite;
    }
    .services-grid > div:nth-child(2) .card .icon { animation-delay: .7s; }
    .services-grid > div:nth-child(3) .card .icon { animation-delay: 1.4s; }
    @keyframes serviceGlow {
      0%, 100% { transform: translateY(18px) scale(.94); opacity: .35; }
      50% { transform: translateY(0) scale(1); opacity: .7; }
    }
    @keyframes serviceIconFloat {
      0%, 100% { transform: translateY(0); box-shadow: 0 0 0 rgba(0,212,255,0); }
      50% { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0,212,255,.16); }
    }
    .list { display: grid; padding: 0; list-style: none; color: var(--soft); }
    .list li { display: flex; gap: 10px; align-items: flex-start; color: var(--soft); font-size: 15px; }
    .list li::before { content: "✓"; color: var(--accent); font-weight: 900; }
    .old .list li::before { content: "×"; color: #ff7f9b; }
    .service-cta { color: var(--accent); font-weight: 800; display: inline-block; }

    /* Connected growth system section */
    .flow-wrap { position: relative; border: 1px solid var(--border); border-radius: 32px; background: rgba(255,255,255,.035); overflow: hidden; }
    .flow-wrap::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(0,212,255,.13), transparent);
      transform: translateX(-100%);
      animation: systemSweep 7s ease-in-out infinite;
      pointer-events: none;
    }
    .node { min-height: 120px; border: 1px solid var(--border); border-radius: 20px; display: grid; place-items: center; text-align: center; background: rgba(16,31,58,.8); font-weight: 800; position: relative; animation: nodePulse 6s ease-in-out infinite; }
    .flow > div:nth-child(2) .node { animation-delay: .45s; }
    .flow > div:nth-child(3) .node { animation-delay: .9s; }
    .flow > div:nth-child(4) .node { animation-delay: 1.35s; }
    .flow > div:nth-child(5) .node { animation-delay: 1.8s; }
    .flow > div:nth-child(6) .node { animation-delay: 2.25s; }
    .flow > div:not(:last-child) .node::after { content: "→"; position: absolute; right: -18px; color: var(--accent); z-index: 2; }
    @keyframes systemSweep {
      0%, 18% { transform: translateX(-100%); opacity: 0; }
      42%, 70% { opacity: 1; }
      100% { transform: translateX(100%); opacity: 0; }
    }
    @keyframes nodePulse {
      0%, 100% { border-color: var(--border); box-shadow: none; }
      45%, 55% { border-color: rgba(0,212,255,.48); box-shadow: 0 14px 36px rgba(61,114,252,.14); }
    }

    /* Audit form section */
    .form-card { border-radius: 28px; border: 1px solid rgba(0,212,255,.35); background: linear-gradient(180deg, rgba(16,31,58,.95), rgba(8,18,34,.95)); box-shadow: 0 24px 80px rgba(61,114,252,.18); }
.field { width: 100%; height: 52px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.06); color: white; outline: none; font: inherit; }
    .field::placeholder { color: #8da2c2; }
.report-preview { display: grid; }
    .report-row { display: flex; justify-content: space-between; border-radius: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); color: var(--soft); }
    .report-row b { color: var(--accent); }

    /* Results and tools sections */
    .case-card strong { font-size: 42px; line-height: 1; display: block; color: white; margin: 16px 0 8px; }
    .tag { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: rgba(61,114,252,.16); color: var(--accent); font-size: 12px; font-weight: 800; }
    .tool-card { min-height: 150px; display: grid; align-content: space-between; }
    .tool-card h3 { font-size: 18px; }

    /* Why Weforit and final CTA sections */
    .point { border-radius: 20px; border: 1px solid var(--border); background: rgba(255,255,255,.04); }
    .point b { display: block; font-size: 18px; }

    .final-cta {
      position: relative;
      overflow: hidden;
      text-align: center;
      border-radius: 36px;
      border: 1px solid rgba(0,212,255,.24);
      background: radial-gradient(circle at 50% 0%, rgba(61,114,252,.34), transparent 44%), linear-gradient(135deg, rgba(16,31,58,.95), rgba(8,18,34,.95));
      animation: ctaBreath 6.5s ease-in-out infinite;
    }
    .final-cta::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,.10) 38%, transparent 58%);
      transform: translateX(-120%);
      animation: ctaSheen 8s ease-in-out infinite;
      pointer-events: none;
    }
    .final-cta::after {
      content: "";
      position: absolute;
      inset: 14px;
      border-radius: 28px;
      border: 1px solid rgba(0,212,255,.16);
      opacity: .35;
      animation: ctaInnerGlow 5.5s ease-in-out infinite;
      pointer-events: none;
    }
    .final-cta > * {
      position: relative;
      z-index: 1;
    }
    .final-cta p { max-width: 680px; }
    .final-cta .btn-primary {
      animation: ctaButtonPulse 4.8s ease-in-out infinite;
    }
    @keyframes ctaBreath {
      0%, 100% { box-shadow: 0 24px 80px rgba(61,114,252,.12), inset 0 0 40px rgba(0,212,255,.04); border-color: rgba(0,212,255,.24); }
      50% { box-shadow: 0 30px 100px rgba(61,114,252,.22), inset 0 0 64px rgba(0,212,255,.10); border-color: rgba(0,212,255,.44); }
    }
    @keyframes ctaSheen {
      0%, 35% { transform: translateX(-120%); opacity: 0; }
      50% { opacity: 1; }
      80%, 100% { transform: translateX(120%); opacity: 0; }
    }
    @keyframes ctaInnerGlow {
      0%, 100% { transform: scale(.985); opacity: .22; }
      50% { transform: scale(1); opacity: .52; }
    }
    @keyframes ctaButtonPulse {
      0%, 100% { box-shadow: 0 18px 44px rgba(61,114,252,.32); }
      50% { box-shadow: 0 22px 60px rgba(0,212,255,.34); }
    }
    .footer { border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); }
    .footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; }
    /* AI visibility score preview section */
    .ai-scan-card { min-height: 430px; position: relative; overflow: hidden; display: grid; align-content: space-between; }
    .ai-scan-card::after { content: ""; position:absolute; left:-20%; right:-20%; top: 42%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 30px rgba(0,212,255,.9); animation: scanline 4.5s infinite ease-in-out; }
    @keyframes scanline { 0% { transform: translateY(-110px); opacity:.2; } 50% { opacity:1; } 100% { transform: translateY(120px); opacity:.2; } }
    .visibility-score { font-size: clamp(64px, 8vw, 118px); font-weight: 900; letter-spacing: -.08em; font-family: "Space Grotesk", sans-serif; line-height: .9; background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip:text; background-clip:text; color:transparent; }
    .scan-bars { display: grid; gap: 12px; margin-top: 24px; }
    .scan-bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
    .scan-bar span { display:block; height:100%; border-radius:inherit; background: linear-gradient(90deg, var(--secondary), var(--accent)); box-shadow: 0 0 24px rgba(0,212,255,.4); }
    .matrix-card { min-height: 132px; border-radius: 22px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.045); }
    .matrix-card b { display:block; font-size: 28px; margin-bottom: 8px; color:#fff; }
    .matrix-card span { color: var(--muted); font-size: 14px; line-height: 1.5; }

    /* V2 conversion sections */
    .pain-card, .process-card, .differentiator-card, .journey-card { position: relative; overflow: hidden; }
    .pain-card::before, .process-card::before, .journey-card::before {
      content:""; position:absolute; inset:0 0 auto 0; height:3px;
      background: linear-gradient(90deg, var(--secondary), var(--accent)); opacity:.9;
    }
    .pain-card strong, .process-card strong, .journey-card strong { display:block; font-size: 28px; margin-bottom: 10px; }
    .process-card .step-badge, .journey-card .step-badge {
      display:inline-grid; place-items:center; width:42px; height:42px; border-radius:14px;
      background: rgba(61, 114, 252, .14); color: var(--accent); font-weight: 800;
      border: 1px solid var(--border);
    }
    .comparison-column { border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
.comparison-row { display:flex; justify-content:space-between; border-top:1px solid var(--border); color:var(--muted); }
    .comparison-row b { color: var(--text); }
.case-card .case-detail span { display:block; border-radius: 14px; background: rgba(61,114,252,.08); border: 1px solid var(--border); color: var(--muted); font-size: 14px; }
    .case-card .case-detail b { color: var(--text); }
    .lead-magnet-band { border-radius: var(--radius); border:1px solid var(--border); background: linear-gradient(135deg, rgba(61,114,252,.16), rgba(0,212,255,.08)); }
    .magnet-list div { border-radius:16px; background: var(--card); border:1px solid var(--border); }
@media (max-width: 767px) {
}

    /* Automation workflow section */
    .automation-flow { position: relative; border-radius: 32px; border: 1px solid var(--border); background: rgba(255,255,255,.035); overflow: hidden; }
    .automation-flow::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(61,114,252,.24), transparent 35%), radial-gradient(circle at 80% 80%, rgba(0,212,255,.16), transparent 32%); pointer-events:none; animation: automationAura 8s ease-in-out infinite; }
    .auto-step { position: relative; z-index:1; display:flex; align-items:center; border-radius: 18px; border:1px solid rgba(255,255,255,.09); background: rgba(11,25,44,.72); animation: stepSignal 7.5s ease-in-out infinite; }
    .auto-step:nth-child(2) { animation-delay: .6s; }
    .auto-step:nth-child(3) { animation-delay: 1.2s; }
    .auto-step:nth-child(4) { animation-delay: 1.8s; }
    .auto-step:nth-child(5) { animation-delay: 2.4s; }
    .auto-step:last-child { margin-bottom:0; }
    .step-num { width:36px; height:36px; border-radius:12px; display:grid; place-items:center; background: linear-gradient(135deg, var(--secondary), var(--accent)); font-weight:900; box-shadow: 0 0 28px rgba(61,114,252,.35); flex:0 0 auto; }
    .auto-step b { display:block; }
    .auto-step small { color: var(--muted); line-height:1.5; }
    @keyframes automationAura {
      0%, 100% { opacity: .7; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.04); }
    }
    @keyframes stepSignal {
      0%, 100% { transform: translateX(0); border-color: rgba(255,255,255,.09); }
      42%, 52% { transform: translateX(4px); border-color: rgba(0,212,255,.42); box-shadow: 0 16px 40px rgba(61,114,252,.12); }
    }

    /* Industry solutions section */
    .industry-card { min-height: 150px; display:grid; align-content:space-between; }
    .industry-card .icon { width:48px; height:48px; border-radius:16px; }

    /* Technology stack section */
    .tech-pill { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid var(--border); font-weight:800; color:var(--soft); display:flex; gap:12px; align-items:center; animation: techPillLift 6s ease-in-out infinite; }
    .tech-pill:nth-child(2) { animation-delay: .3s; }
    .tech-pill:nth-child(3) { animation-delay: .6s; }
    .tech-pill:nth-child(4) { animation-delay: .9s; }
    .tech-pill:nth-child(5) { animation-delay: 1.2s; }
    .tech-pill:nth-child(6) { animation-delay: 1.5s; }
    .tech-pill:nth-child(7) { animation-delay: 1.8s; }
    .tech-pill:nth-child(8) { animation-delay: 2.1s; }
    .tech-pill::before { content:""; width:10px; height:10px; border-radius:50%; background:var(--accent); box-shadow:0 0 14px var(--accent); animation: techDotPulse 2.8s ease-in-out infinite; }
    @keyframes techPillLift {
      0%, 100% { transform: translateY(0); border-color: var(--border); }
      50% { transform: translateY(-3px); border-color: rgba(0,212,255,.32); }
    }
    @keyframes techDotPulse {
      0%, 100% { transform: scale(.82); opacity: .72; }
      50% { transform: scale(1.18); opacity: 1; }
    }

    /* Engagement models section */
    .engagement-card { position:relative; overflow:hidden; min-height: 270px; }
    .engagement-card.featured { border-color: rgba(0,212,255,.55); box-shadow: 0 26px 80px rgba(61,114,252,.16); }
.engagement-label { display:inline-flex; color:var(--accent); font-weight:900; font-size:12px; text-transform:uppercase; letter-spacing:.08em; }

    /* FAQ section */
    .faq-accordion .accordion-item {
      border: 1px solid var(--border);
      border-radius: 18px;
      overflow: hidden;
      background: rgba(255,255,255,.04);
    }
    .faq-accordion .accordion-button {
      min-height: 64px;
      color: var(--text);
      background: transparent;
      box-shadow: none;
      font-family: "Space Grotesk", Inter, sans-serif;
      font-size: 19px;
      font-weight: 800;
      letter-spacing: -.02em;
    }
    .faq-accordion .accordion-button:not(.collapsed) {
      color: var(--text);
      background: rgba(61,114,252,.08);
    }
    .faq-accordion .accordion-button::after {
      filter: invert(1) grayscale(1);
    }
.faq-accordion .accordion-body p {
      font-size: 15.5px;
      line-height: 1.65;
    }

    /* Tablet layout */
    @media (max-width: 1024px) {
      .menu { display: none; }
      .node::after { display: none; }
      .trust-item { border-bottom: 1px solid rgba(255,255,255,.08); }
    }
    /* Mobile compact layout */
    @media (max-width: 640px) {
      .hero.py-5,
      .section.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
      .hero.py-5 { padding-top: 1.25rem !important; padding-bottom: 1.35rem !important; }
      .hero .row.g-5 { --bs-gutter-y: 1rem; }
      .trust-strip.py-4 { padding-top: 1rem !important; }
      .trust-strip.pb-5 { padding-bottom: 1.75rem !important; }
      .container,
      .container-fluid { --bs-gutter-x: 1.25rem; }
      .brand-logo { height: 26px; }
      .hero h1 { font-size: 30px; line-height: 1.02; max-width: 100%; }
      h1 { font-size: 34px; line-height: 1.04; }
      h2 { font-size: 26px; line-height: 1.12; }
      h3 { font-size: 19px; }
      p,
      .lead { font-size: 15px; line-height: 1.56; }
      .hero .lead { font-size: 14px; line-height: 1.45; }
      .eyebrow { padding: 7px 12px; font-size: 11px; }
      .btn { min-height: 46px; padding: 0 18px; font-size: 14px; }
      .hero-copy { gap: 12px; }
      .hero-actions { gap: 8px; margin-top: 0; }
      .hero-actions .btn { min-height: 42px; padding: 0 14px; }
      .hero-stats {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px !important;
        margin-top: 2px;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
      }
      .hero-stats > [class*="col-"] {
        width: auto;
        max-width: none;
        flex: 0 0 auto;
        padding: 0 !important;
      }
      .mini-stat { min-width: 0; height: 100%; padding: 8px 5px !important; border-radius: 12px; text-align: center; }
      .mini-stat strong { font-size: 16px; line-height: 1.05; }
      .mini-stat span { font-size: 10px; line-height: 1.2; }
      .hero .dashboard { padding: 14px !important; }
      .hero .dash-top { gap: 8px; }
      .hero .dash-top h3 { font-size: 16px; }
      .hero .status { font-size: 10px; }
      .dashboard,
      .card,
      .form-card,
      .flow-wrap,
      .automation-flow,
      .matrix-card,
      .point { border-radius: 18px; }
      .card:hover { transform: none; }
      .icon { width: 44px; height: 44px; border-radius: 14px; font-size: 20px; }

      .list li { font-size: 14px; }

      .dash-inner,
      .metrics,
      .faq-accordion,
      .scan-bars { gap: 10px; }
      .why-points,
      .score-card { grid-template-columns: 120px 1fr; gap: 12px; }
      .score-ring { width: 112px; height: 112px; }
      .score-ring div { width: 86px; height: 86px; font-size: 29px; }
      .metric { padding: 12px; border-radius: 14px; }
      .metric b { font-size: 19px; }
      .chart { height: 88px; border-radius: 16px; }
      .trust-row { border-radius: 16px; }
      .trust-item { padding: 14px 10px; font-size: 13px; border-right: 0; }
      .tool-card,
      .industry-card { min-height: 112px; }
      .tool-card h3 { font-size: 16px; }
      .industry-card .icon { width: 40px; height: 40px; }
      .industry-card p { font-size: 13.5px; line-height: 1.45; }
      .ai-scan-card { min-height: 300px; }
      .visibility-score { font-size: 66px; }
      .matrix-card { min-height: auto; }
      .matrix-card b { font-size: 22px; margin-bottom: 6px; }
      .matrix-card span { font-size: 13px; line-height: 1.42; }
      .flow-wrap { overflow: hidden; }
      .node { min-height: 72px; padding: 12px; border-radius: 14px; font-size: 13px; }
      .report-row { font-size: 14px; }
      .field { height: 46px; border-radius: 12px; }
      .case-card strong { font-size: 34px; margin: 12px 0 6px; }
      .tech-pill { padding: 13px 12px; border-radius: 14px; font-size: 13px; gap: 8px; }
      .engagement-card { min-height: auto; }
      .faq-accordion .accordion-button { min-height: 54px; font-size: 17px; }

      .faq-accordion .accordion-body p { font-size: 14px; line-height: 1.5; }
      .final-cta { border-radius: 24px; }
      .nav .btn { display: none; }
    }
    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
      }
    }
