/* CSS Variables */
      :root {
        --clr-primary: #6a4fff;
        --clr-accent: #ff3d8a;
        --clr-bg: #0a0818;
        --clr-surface: #13102b;
        --clr-surface2: #1e1a3d;
        --clr-text-body: #e8e4ff;
        --clr-text-muted: #8a85b8;
        --clr-success: #22d48f;
        --clr-border: #2e2855;
        --clr-gradient: linear-gradient(135deg, #6a4fff 0%, #ff3d8a 100%);

        --font-display: "Barlow Condensed", sans-serif;
        --font-body: "DM Sans", sans-serif;
        --font-ui: "Rajdhani", sans-serif;

        --transition: all 0.3s ease;
        --nav-height: 76px;
      }

      /* Reset & Base */
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        background-color: var(--clr-bg);
        color: var(--clr-text-body);
        font-family: var(--font-body);
        line-height: 1.6;
        overflow-x: hidden;
        background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
      }

      a {
        text-decoration: none;
        color: inherit;
      }

      ul {
        list-style: none;
      }

      img {
        max-width: 100%;
        display: block;
      }

      /* Typography */
      h1,
      h2,
      h3 {
        font-family: var(--font-display);
        text-transform: uppercase;
      }

      .h2-wrap {
        margin-bottom: 24px;
        position: relative;
      }

      .h2-wrap.center {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
      }

      .h2-title {
        font-size: 44px;
        font-weight: 700;
        color: var(--clr-text-body);
        margin-bottom: 8px;
        text-align: left;
      }

      .center .h2-title {
        text-align: center;
      }

      .h2-accent {
        height: 4px;
        width: 40px;
        background: var(--clr-gradient);
        margin-bottom: 16px;
        border-radius: 2px;
      }

      .h2-subtitle {
        font-size: 18px;
        color: var(--clr-text-muted);
        max-width: 600px;
        margin-inline: auto;
      }

      /* Layout */
      .container {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
      }

      .section-pad {
        padding: 80px 0;
      }

      .bg-surface {
        background-color: var(--clr-surface);
      }

      .bg-base {
        background-color: var(--clr-bg);
      }

      /* Components */
      .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 32px;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: var(--transition);
        border-radius: 50px;
      }

      .btn-primary {
        background: var(--clr-gradient);
        color: #fff;
        border: none;
        box-shadow: 0 4px 15px rgba(106, 79, 255, 0.4);
      }

      .btn-primary:hover {
        filter: brightness(1.15);
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(255, 61, 138, 0.5);
      }

      .btn-outline {
        background: transparent;
        color: var(--clr-text-body);
        border: 1px solid var(--clr-primary);
        border-radius: 8px;
      }

      .btn-outline:hover {
        background: var(--clr-gradient);
        border-color: transparent;
      }

      .btn-text-link {
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 16px;
        color: var(--clr-primary);
        display: inline-flex;
        align-items: center;
        transition: var(--transition);
      }

      .btn-text-link:hover {
        color: var(--clr-accent);
      }

      /* Navbar */
      .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
        padding: 20px 0;
        transition: var(--transition);
        background: transparent;
        height: var(--nav-height);
        display: flex;
        align-items: center;
      }

      .navbar.scrolled {
        background: var(--clr-bg);
        border-bottom: 1px solid var(--clr-border);
        box-shadow: 0 4px 20px rgba(10, 8, 24, 0.8);
      }

      .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
      }

      .logo {
        font-family: var(--font-display);
        font-size: 28px;
        font-weight: 800;
        color: #fff;
        letter-spacing: 1px;
        z-index: 101;
      }
      .logo span {
        color: var(--clr-primary);
      }

      .nav-menu {
        display: flex;
        align-items: center;
        gap: 32px;
        flex: 1;
        justify-content: flex-end;
      }

      .nav-links {
        display: flex;
        gap: 32px;
      }

      .nav-link {
        font-weight: 500;
        color: var(--clr-text-body);
        transition: color 0.3s;
      }

      .nav-link:hover {
        color: var(--clr-accent);
      }

      .nav-actions {
        display: flex;
        gap: 16px;
        align-items: center;
      }

      .hamburger {
        display: none;
        background: none;
        border: none;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        z-index: 101;
      }

      /* S1: Page Hero Split */
      .page-hero-split {
        position: relative;
        padding-top: calc(var(--nav-height) + 60px);
        padding-bottom: 80px;
        background: var(--clr-bg);
        overflow: hidden;
        min-height: 500px;
        display: flex;
        align-items: center;
      }

      .hero-grid-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image:
          linear-gradient(rgba(106, 79, 255, 0.1) 1px, transparent 1px),
          linear-gradient(90deg, rgba(106, 79, 255, 0.1) 1px, transparent 1px);
        background-size: 40px 40px;
        opacity: 0.4;
        z-index: 0;
        pointer-events: none;
      }

      .hero-split-container {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: 55% 45%;
        gap: 40px;
        align-items: center;
      }

      .hero-split-content h1 {
        font-size: 64px;
        font-weight: 800;
        font-style: italic;
        line-height: 1.1;
        margin-bottom: 16px;
      }

      .hero-split-content p {
        font-size: 18px;
        color: var(--clr-text-muted);
        margin-bottom: 32px;
        max-width: 560px;
      }

      .hero-cta-row {
        display: flex;
        align-items: center;
        gap: 24px;
      }

      .hero-split-image {
        display: flex;
        justify-content: center;
      }

      .hero-split-image img {
        width: 100%;
        max-width: 360px;
        border-radius: 20px;
        object-fit: cover;
        box-shadow: 0 0 40px rgba(106, 79, 255, 0.4);
      }

      /* S2: App Feature Strip */
      .trust-strip {
        background: var(--clr-surface);
        padding: 40px 0;
        border-top: 1px solid var(--clr-border);
        border-bottom: 1px solid var(--clr-border);
      }

      .trust-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 24px;
      }

      .trust-item {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        flex: 1;
      }

      .trust-icon {
        width: 32px;
        height: 32px;
        background: rgba(34, 212, 143, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }

      .trust-icon svg {
        color: var(--clr-success);
      }

      .trust-text h4 {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 600;
        color: var(--clr-text-body);
        margin-bottom: 4px;
      }

      .trust-text p {
        font-size: 14px;
        color: var(--clr-text-muted);
      }

      .trust-divider {
        width: 1px;
        height: 60px;
        background: var(--clr-border);
      }

      /* S3: Download Steps */
      .steps-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
        position: relative;
        margin-bottom: 48px;
      }

      .step-connector {
        position: absolute;
        top: 36px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient(
          90deg,
          var(--clr-primary) 0%,
          var(--clr-accent) 100%
        );
        z-index: 0;
        opacity: 0.3;
        background-size: 12px 2px;
        background-image: linear-gradient(
          to right,
          var(--clr-primary) 50%,
          transparent 50%
        );
      }

      .step-item {
        position: relative;
        z-index: 1;
        padding: 16px 0;
        background: var(--clr-bg); /* Match section bg to cover connector */
      }

      .step-num-large {
        font-family: var(--font-display);
        font-size: 64px;
        font-weight: 800;
        background: var(--clr-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        opacity: 0.9;
        line-height: 1;
        margin-bottom: 16px;
        display: inline-block;
      }

      .step-item h3 {
        font-family: var(--font-body);
        font-size: 18px;
        color: var(--clr-text-body);
        margin-bottom: 12px;
        text-transform: none;
      }

      .step-item p {
        color: var(--clr-text-muted);
        font-size: 15px;
        line-height: 1.6;
      }

      .steps-action {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .tech-note {
        font-family: var(--font-body);
        font-size: 13px;
        font-style: italic;
        color: var(--clr-text-muted);
        margin-top: 16px;
      }

      /* S4: iOS / Browser Play (Split Section) */
      .split-section {
        display: grid;
        grid-template-columns: 55% 45%;
        gap: 60px;
        align-items: center;
      }

      .split-content p {
        font-size: 16px;
        color: var(--clr-text-muted);
        margin-bottom: 24px;
        max-width: 520px;
      }

      .feature-highlights {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 32px;
      }

      .highlight-list-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
      }

      .highlight-list-item svg {
        color: var(--clr-primary);
        flex-shrink: 0;
        margin-top: 2px;
      }

      .highlight-list-text strong {
        font-family: var(--font-body);
        font-weight: 600;
        color: var(--clr-text-body);
        display: block;
        margin-bottom: 4px;
      }

      .highlight-list-text {
        color: var(--clr-text-muted);
        font-size: 15px;
      }

      .split-image {
        display: flex;
        justify-content: center;
      }

      .split-image img {
        width: 100%;
        border-radius: 16px;
        object-fit: cover;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      }

      /* S5: App Features (Cards) */
      .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
      }

      .feature-card {
        background: var(--clr-surface);
        border: 1px solid var(--clr-border);
        border-top: 3px solid transparent;
        background-clip: padding-box;
        border-radius: 12px;
        padding: 32px 24px;
        position: relative;
        transition: var(--transition);
      }

      .feature-card::before {
        content: "";
        position: absolute;
        top: -3px;
        left: -1px;
        right: -1px;
        height: 3px;
        background: var(--clr-gradient);
        border-radius: 12px 12px 0 0;
      }

      .feature-card:hover {
        box-shadow: 0 0 24px rgba(106, 79, 255, 0.35);
        transform: translateY(-4px);
      }

      .feature-card-icon {
        width: 48px;
        height: 48px;
        background: rgba(106, 79, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--clr-primary);
        margin-bottom: 20px;
      }

      .feature-card h3 {
        font-family: var(--font-body);
        font-size: 20px;
        text-transform: none;
        margin-bottom: 12px;
        color: var(--clr-text-body);
      }

      .feature-card p {
        color: var(--clr-text-muted);
        font-size: 15px;
        line-height: 1.6;
      }

      /* S6: System Requirements */
      .sys-req-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
      }

      .sys-req-col {
        background: var(--clr-surface2);
        border-radius: 12px;
        padding: 24px;
      }

      .sys-req-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
      }

      .sys-req-header svg {
        color: var(--clr-primary);
      }

      .sys-req-header h3 {
        font-family: var(--font-ui);
        font-size: 18px;
        font-weight: 600;
        text-transform: uppercase;
        background: var(--clr-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin: 0;
      }

      .sys-spec-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        border-bottom: 1px solid var(--clr-border);
        padding: 12px 0;
      }

      .sys-spec-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }

      .sys-spec-label {
        font-family: var(--font-body);
        font-size: 15px;
        color: var(--clr-text-muted);
        font-weight: 500;
        width: 40%;
      }

      .sys-spec-value {
        font-family: var(--font-body);
        font-size: 15px;
        color: var(--clr-text-body);
        width: 60%;
        text-align: right;
      }

      /* S7: FAQ */
      .faq-container {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
      }

      .faq-item {
        background: var(--clr-surface);
        border: 1px solid var(--clr-border);
        border-radius: 8px;
        overflow: hidden;
        transition: var(--transition);
      }

      .faq-item.active {
        border-left: 3px solid var(--clr-primary);
      }

      .faq-question {
        width: 100%;
        text-align: left;
        padding: 20px 24px;
        background: none;
        border: none;
        color: var(--clr-text-body);
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .faq-icon {
        font-size: 20px;
        transition: transform 0.3s;
        color: var(--clr-primary);
      }

      .faq-item.active .faq-icon {
        transform: rotate(45deg);
      }

      .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        padding: 0 24px;
      }

      .faq-item.active .faq-answer {
        max-height: 200px;
        padding-bottom: 20px;
      }

      .faq-answer p {
        color: var(--clr-text-muted);
        font-size: 15px;
      }

      /* S8: Final CTA */
      .final-cta {
        background: var(--clr-gradient);
        text-align: center;
      }

      .final-cta h2 {
        font-size: 52px;
        font-style: italic;
        color: #fff;
        margin-bottom: 16px;
      }

      .final-cta p {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 32px;
        max-width: 600px;
        margin-inline: auto;
      }

      .btn-white {
        background: #fff;
        color: var(--clr-primary);
        border-radius: 50px;
      }
      .btn-white:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
      }

      .legal-note {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 24px;
        display: block;
      }

      /* Footer */
      .footer {
        background: var(--clr-bg);
        padding: 60px 0 24px;
        border-top: 1px solid var(--clr-border);
      }

      .footer-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 48px;
      }

      .footer-brand p {
        color: var(--clr-text-muted);
        font-size: 14px;
        margin-top: 16px;
        max-width: 300px;
      }

      .footer-col h4 {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #fff;
      }

      .footer-links li {
        margin-bottom: 12px;
      }

      .footer-links a {
        color: var(--clr-text-muted);
        font-size: 14px;
        transition: color 0.3s;
      }

      .footer-links a:hover {
        color: var(--clr-primary);
      }

      .footer-bottom {
        border-top: 1px solid var(--clr-border);
        padding-top: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 12px;
        color: var(--clr-text-muted);
      }

      .license-badge {
        background: var(--clr-surface2);
        border: 1px solid var(--clr-border);
        padding: 4px 12px;
        border-radius: 20px;
        font-family: var(--font-ui);
        font-weight: 600;
        color: var(--clr-success);
      }

      /* Floating CTA */
      .floating-cta {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 99;
        animation: pulse 2s infinite;
      }

      @keyframes pulse {
        0% {
          transform: scale(1);
          box-shadow: 0 0 0 0 rgba(106, 79, 255, 0.7);
        }
        70% {
          transform: scale(1.05);
          box-shadow: 0 0 0 15px rgba(106, 79, 255, 0);
        }
        100% {
          transform: scale(1);
          box-shadow: 0 0 0 0 rgba(106, 79, 255, 0);
        }
      }

      /* Responsive Breakpoints */
      @media (max-width: 1023px) {
        .h2-title {
          font-size: 38px;
        }

        .hero-split-container {
          grid-template-columns: 1fr;
          gap: 32px;
        }
        .hero-split-image {
          order: -1;
        }
        .hero-split-image img {
          max-height: 320px;
          object-position: center;
        }

        .trust-row {
          flex-wrap: wrap;
        }
        .trust-item {
          flex: 1 1 40%;
        }
        .trust-divider {
          display: none;
        }

        .steps-container {
          grid-template-columns: repeat(2, 1fr);
        }
        .step-connector {
          display: none;
        }

        .split-section {
          grid-template-columns: 1fr;
          gap: 40px;
        }
        .split-section .split-image {
          order: 2; /* Keep text top, image bottom */
        }

        .footer-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (max-width: 767px) {
        .section-pad {
          padding: 48px 0;
        }
        .h2-title {
          font-size: 30px;
        }

        /* Navbar Mobile */
        .nav-menu {
          display: none;
          flex-direction: column;
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          background: var(--clr-bg);
          padding: 24px;
          border-bottom: 1px solid var(--clr-border);
          gap: 24px;
        }

        .nav-menu.active {
          display: flex;
        }

        .nav-links {
          flex-direction: column;
          width: 100%;
          text-align: center;
          gap: 20px;
        }

        .nav-actions {
          flex-direction: column;
          width: 100%;
        }

        .nav-actions .btn {
          width: 100%;
        }

        .hamburger {
          display: block;
        }

        /* Content Mobile */
        .page-hero-split {
          padding-bottom: 48px;
          min-height: 400px;
        }
        .hero-split-content h1 {
          font-size: 38px;
        }
        .hero-split-content p {
          font-size: 15px;
        }

        .hero-cta-row {
          flex-direction: column;
          gap: 16px;
          width: 100%;
        }
        .hero-cta-row .btn {
          width: 100%;
        }
        .hero-split-image img {
          max-height: 260px;
        }

        .trust-item {
          flex: 1 1 100%;
        }

        .steps-container {
          grid-template-columns: 1fr;
          gap: 24px;
        }

        .features-grid {
          grid-template-columns: 1fr;
        }

        .sys-req-grid {
          grid-template-columns: 1fr;
        }

        .final-cta h2 {
          font-size: 36px;
        }

        .footer-grid {
          grid-template-columns: 1fr;
          gap: 32px;
        }
        .footer-bottom {
          flex-direction: column;
          gap: 16px;
          text-align: center;
        }
      }
