/* ══════════════════════════════════════════════════
       DESIGN TOKENS — Rescuel BRAND SYSTEM
       Primary:   Electric Lime  #A8F22A
       BG:        Deep Charcoal  #05070D
       Surface:   Dark Gray      #1A1F2B
       White:     Pure White     #FFFFFF
       Red:       SOS Crimson    #FF3B30
       Teal:      Medical Teal   #00C9A7
    ══════════════════════════════════════════════════ */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --lime:           #A8F22A;
      --lime-dim:       #8FD420;
      --lime-muted:     #5A8A15;
      --lime-subtle:    rgba(168, 242, 42, 0.07);
      --lime-subtle2:   rgba(168, 242, 42, 0.12);

      --bg:             #05070D;
      --bg-2:           #080B14;
      --surface:        #1A1F2B;
      --surface-2:      #222736;
      --surface-3:      #2A3040;
      --border:         rgba(255,255,255,0.06);
      --border-lime:    rgba(168,242,42,0.18);

      --white:          #FFFFFF;
      --gray-100:       #F0F1F3;
      --gray-400:       #8892A4;
      --gray-500:       #5C6478;
      --gray-600:       #3D4455;

      --crimson:        #FF3B30;
      --crimson-dim:    #CC2F26;
      --crimson-subtle: rgba(255,59,48,0.08);
      --teal:           #00C9A7;
      --teal-subtle:    rgba(0,201,167,0.08);
      --blue:           #3B82F6;

      --font-display:   'Barlow Condensed', sans-serif;
      --font-body:      'Space Grotesk', sans-serif;
      --font-mono:      'JetBrains Mono', monospace;

      --nav-h:          68px;
      --radius-sm:      8px;
      --radius-md:      14px;
      --radius-lg:      20px;
      --radius-xl:      28px;
    }

    html { scroll-behavior: smooth; font-size: 16px; }

    body {
      font-family: var(--font-body);
      background: var(--bg);
      color: var(--white);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    ::selection { background: var(--lime); color: var(--bg); }

    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--lime-muted); }

    /* ── Grain texture overlay ─────────────────────────────────── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9999;
    }

    /* ══════════════════════════════════════════════════
       NAVIGATION
    ══════════════════════════════════════════════════ */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--nav-h);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 clamp(16px, 5vw, 72px);
      background: rgba(5,7,13,0.8);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-bottom: 1px solid var(--border);
      transition: background 0.3s, border-color 0.3s;
    }

    nav > .nav-brand {
      display: flex;
      align-items: center;
      gap: 0;
      flex-shrink: 0;
    }

    nav > .lang-switcher {
      margin-left: 0;
      flex-shrink: 0;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 0;
      flex-shrink: 0;
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }

    nav.scrolled {
      background: rgba(5,7,13,0.97);
      border-bottom-color: rgba(168,242,42,0.08);
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .nav-logo-mark {
      width: 42px;
      height: 42px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    }

    .nav-logo-mark img {
      width: 37px;
      height: 37px;
      display: block;
    }

    .nav-brand-name {
      font-family: var(--font-display);
      font-size: 21px;
      font-weight: 700;
      letter-spacing: 0.5px;
      color: var(--white);
    }

    .nav-brand-name span { color: var(--lime); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      list-style: none;
    }

    .nav-links a {
      font-size: 14px;
      font-weight: 500;
      color: var(--gray-400);
      text-decoration: none;
      letter-spacing: 0.2px;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--white); }

    .lang-switcher {
      position: relative;
      width: min(100%, 160px);
      min-width: auto;
      color: var(--white);
      font-family: var(--font-body);
    }

    @media (max-width: 767px) {
      .lang-switcher {
        width: min(100%, 100px);
      }
    }

    .lang-switcher-toggle {
      width: 100%;
      min-height: 36px;
      padding: 4px 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 3px;
      background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(10,12,20,0.88) 100%);
      border: 1px solid rgba(168,242,42,0.10);
      border-radius: 14px;
      color: var(--white);
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.03);
      -webkit-tap-highlight-color: transparent;
      transition: border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
      appearance: none;
      -webkit-appearance: none;
    }

    .lang-switcher-toggle:focus-visible {
      outline: none;
      border-color: rgba(168,242,42,0.28);
      box-shadow: 0 0 0 4px rgba(168,242,42,0.12), 0 10px 26px rgba(0,0,0,0.22);
    }

    .lang-switcher-copy {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      text-align: left;
    }

    .lang-switcher-label {
      display: inline-block;
      font-size: 9px;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      color: var(--gray-500);
      line-height: 1;
      white-space: nowrap;
    }

    .lang-switcher-value {
      font-size: 13px;
      line-height: 1.1;
      font-weight: 600;
      color: var(--white);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 90px;
    }

    .lang-switcher-chevron {
      width: 10px;
      height: 10px;
      flex-shrink: 0;
      color: var(--lime);
      transition: transform 220ms ease, color 220ms ease;
    }

    .lang-switcher.is-open .lang-switcher-chevron {
      transform: rotate(180deg);
    }

    .lang-switcher-menu {
      position: absolute;
      top: calc(100% + 4px);
      right: 0;
      left: auto;
      width: max-content;
      min-width: 100%;
      max-width: min(90vw, 180px);
      max-height: min(260px, calc(100vh - 80px));
      overflow: auto;
      padding: 4px;
      margin: 0;
      display: grid;
      gap: 3px;
      background: rgba(10,12,20,0.92);
      border: 1px solid rgba(168,242,42,0.12);
      border-radius: 16px;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 18px 36px rgba(0,0,0,0.32);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px) scale(0.99);
      pointer-events: none;
      transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
      z-index: 120;
    }

    .lang-switcher.is-open .lang-switcher-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
      pointer-events: auto;
      transition: opacity 250ms ease, transform 250ms ease, visibility 0s;
    }

    .lang-option {
      width: 100%;
      min-height: 36px;
      padding: 6px 8px;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1px;
      align-items: center;
      text-align: left;
      border: 1px solid transparent;
      border-radius: 8px;
      background: transparent;
      color: var(--gray-100);
      cursor: pointer;
      transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
      appearance: none;
      -webkit-appearance: none;
    }

    .lang-option:hover,
    .lang-option:focus-visible {
      outline: none;
      background: rgba(168,242,42,0.08);
      border-color: rgba(168,242,42,0.15);
      box-shadow: 0 0 0 1px rgba(168,242,42,0.08), 0 8px 18px rgba(0,0,0,0.18);
    }

    .lang-option.is-selected {
      background: var(--lime);
      color: var(--bg);
      border-color: rgba(168,242,42,0.22);
      box-shadow: 0 10px 20px rgba(168,242,42,0.16);
    }

    .lang-native,
    .lang-english {
      display: block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .lang-native {
      font-size: 11px;
      line-height: 1.15;
      font-weight: 700;
      letter-spacing: 0;
      font-feature-settings: 'kern' 1, 'liga' 1;
    }

    .lang-english {
      font-size: 9px;
      line-height: 1.1;
      color: var(--gray-400);
      letter-spacing: 0;
    }

    .lang-option.is-selected .lang-english {
      color: rgba(5,7,13,0.82);
    }

    @media (max-width: 767px) {
      .lang-switcher-label {
        display: none;
      }

      .lang-switcher-value {
        font-size: 11px;
        max-width: 60px;
      }

      .lang-switcher-copy {
        gap: 3px;
      }
    }

    @media (hover: hover) and (pointer: fine) {
      .lang-switcher-toggle:hover {
        border-color: rgba(168,242,42,0.22);
        box-shadow: 0 14px 28px rgba(0,0,0,0.26), 0 0 0 1px rgba(168,242,42,0.04);
        transform: translateY(-1px);
      }

      .lang-option:hover {
        background: rgba(168,242,42,0.08);
        color: var(--white);
      }

      .lang-option.is-selected:hover {
        background: var(--lime);
        color: var(--bg);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .lang-switcher-toggle,
      .lang-switcher-chevron,
      .lang-switcher-menu,
      .lang-option {
        transition: none !important;
      }
    }

    .nav-pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--lime-subtle);
      border: 1px solid var(--border-lime);
      color: var(--lime) !important;
      font-weight: 600 !important;
      font-size: 13px !important;
      padding: 8px 18px;
      border-radius: 100px;
      transition: background 0.2s, box-shadow 0.2s !important;
    }

    .nav-pill:hover {
      background: rgba(168,242,42,0.14) !important;
      box-shadow: 0 0 18px rgba(168,242,42,0.18);
    }

    .nav-pill-dot {
      width: 6px;
      height: 6px;
      background: var(--lime);
      border-radius: 50%;
      animation: blink 2s ease infinite;
    }

    @keyframes blink {
      0%,100% { opacity:1; } 50% { opacity:0.3; }
    }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
      transition: 0.3s;
    }

    /* ══════════════════════════════════════════════════
       HERO
    ══════════════════════════════════════════════════ */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: var(--nav-h);
      padding-left: clamp(16px, 5vw, 72px);
      padding-right: clamp(16px, 5vw, 72px);
      position: relative;
      overflow: hidden;
    }

    /* Grid lines background */
    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(168,242,42,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168,242,42,0.025) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
    }

    /* Central glow */
    .hero-glow {
      position: absolute;
      top: -10%;
      left: 50%;
      transform: translateX(-50%);
      width: 800px;
      height: 700px;
      background: radial-gradient(ellipse, rgba(168,242,42,0.055) 0%, transparent 60%);
      pointer-events: none;
    }

    .hero-inner {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      align-items: center;
      gap: 64px;
      padding: 80px 0 80px;
      position: relative;
      z-index: 1;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--lime-subtle);
      border: 1px solid var(--border-lime);
      border-radius: 100px;
      padding: 5px 14px 5px 8px;
      margin-bottom: 24px;
      opacity: 0;
      animation: fadeUp 0.5s ease 0.1s forwards;
    }

    .hero-tag-badge {
      background: var(--lime);
      color: var(--bg);
      font-size: 9px;
      font-weight: 800;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 100px;
      font-family: var(--font-mono);
    }

    .hero-tag-text {
      font-size: 12px;
      font-weight: 600;
      color: var(--lime);
      letter-spacing: 0.3px;
    }

    h1 {
      font-family: var(--font-display);
      font-size: clamp(52px, 6.5vw, 88px);
      font-weight: 800;
      line-height: 0.95;
      letter-spacing: -0.5px;
      text-transform: uppercase;
      margin-bottom: 22px;
      opacity: 0;
      animation: fadeUp 0.6s ease 0.2s forwards;
    }

    h1 .lime { color: var(--lime); }
    h1 .dim  { color: var(--gray-400); font-weight: 600; font-size: 0.7em; display: block; text-transform: none; letter-spacing: 0; margin-top: 6px; }

    .hero-desc {
      font-size: clamp(15px, 1.3vw, 17px);
      color: var(--gray-400);
      line-height: 1.72;
      max-width: 500px;
      margin-bottom: 40px;
      opacity: 0;
      animation: fadeUp 0.6s ease 0.3s forwards;
    }

    .hero-desc strong { color: var(--white); font-weight: 600; }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 52px;
      opacity: 0;
      animation: fadeUp 0.6s ease 0.4s forwards;
    }

    /* Primary button */
    .btn-lime {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: var(--lime);
      color: var(--bg);
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 700;
      padding: 14px 28px;
      border-radius: var(--radius-md);
      text-decoration: none;
      border: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .btn-lime::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 55%);
      opacity: 0;
      transition: opacity 0.2s;
    }

    .btn-lime:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 32px rgba(168,242,42,0.4), 0 8px 24px rgba(0,0,0,0.3);
    }

    .btn-lime:hover::after { opacity: 1; }
    .btn-lime:active { transform: translateY(0); }

    .btn-outline {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      color: var(--white);
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 500;
      padding: 14px 24px;
      border-radius: var(--radius-md);
      text-decoration: none;
      border: 1px solid var(--surface-3);
      cursor: pointer;
      transition: border-color 0.2s, background 0.2s, transform 0.2s;
    }

    .btn-outline:hover {
      border-color: var(--gray-500);
      background: rgba(255,255,255,0.03);
      transform: translateY(-1px);
    }

    /* Trust bar */
    .hero-trust {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 18px;
      opacity: 0;
      animation: fadeUp 0.6s ease 0.5s forwards;
    }

    .hero-mobile-panel {
      display: none;
      background: linear-gradient(180deg, rgba(168,242,42,0.08) 0%, rgba(26,31,43,0.92) 26%, rgba(8,11,20,0.98) 100%);
      border: 1px solid var(--border-lime);
      border-radius: var(--radius-lg);
      padding: 18px;
      margin-bottom: 26px;
      text-align: left;
      box-shadow: 0 18px 44px rgba(0,0,0,0.34);
    }

    .hero-mobile-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 14px;
    }

    .hero-mobile-title {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 700;
      letter-spacing: 0.2px;
      text-transform: uppercase;
      color: var(--white);
    }

    .hero-mobile-os {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(0,201,167,0.08);
      border: 1px solid rgba(0,201,167,0.2);
      color: var(--teal);
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .hero-mobile-list {
      display: grid;
      gap: 10px;
      margin-bottom: 16px;
    }

    .hero-mobile-item {
      display: grid;
      grid-template-columns: 18px 1fr;
      gap: 10px;
      align-items: start;
      font-size: 13px;
      line-height: 1.55;
      color: var(--gray-100);
    }

    .hero-mobile-item svg {
      color: var(--lime);
      margin-top: 1px;
    }

    .hero-mobile-note {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 12px 13px;
      font-size: 12px;
      color: var(--gray-400);
      line-height: 1.5;
    }

    .hero-mobile-note strong {
      color: var(--white);
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 13px;
      color: var(--gray-500);
      font-weight: 500;
    }

    .trust-item svg { color: var(--lime); flex-shrink: 0; }
    .trust-sep { width: 1px; height: 14px; background: var(--surface-3); }

    /* ── Phone Mockup ─────────────────────────────────────────── */
    .hero-visual {
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      opacity: 0;
      animation: fadeUp 0.8s ease 0.25s forwards;
    }

    .phone-wrap { position: relative; width: 280px; }

    .phone-ambient {
      position: absolute;
      inset: -50px;
      background: radial-gradient(ellipse at 50% 55%, rgba(168,242,42,0.1) 0%, transparent 65%);
    }

    .phone-frame {
      width: 280px;
      height: 580px;
      background: var(--bg-2);
      border-radius: 46px;
      border: 1.5px solid rgba(255,255,255,0.09);
      position: relative;
      overflow: hidden;
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 48px 96px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.06);
    }

    .phone-di {
      position: absolute;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
      width: 96px;
      height: 28px;
      background: #000;
      border-radius: 18px;
      z-index: 10;
    }

    .phone-screen {
      position: absolute;
      inset: 0;
      padding: 56px 16px 72px;
      background: var(--bg);
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    /* Status bar */
    .pstatus {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 4px;
      margin-bottom: 4px;
    }

    .pstatus-time {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 700;
      color: var(--white);
    }

    .pstatus-icons {
      display: flex;
      gap: 4px;
      align-items: center;
    }

    .pstatus-icons svg { width: 13px; height: 13px; color: var(--white); }

    /* Cockpit header on phone */
    .p-cockpit-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 4px;
    }

    .p-ride-badge {
      display: flex;
      align-items: center;
      gap: 5px;
      background: var(--lime-subtle);
      border: 1px solid var(--border-lime);
      border-radius: 100px;
      padding: 3px 10px;
    }

    .p-ride-dot {
      width: 5px;
      height: 5px;
      background: var(--lime);
      border-radius: 50%;
      animation: blink 1.2s ease infinite;
    }

    .p-ride-label {
      font-size: 9px;
      font-weight: 700;
      color: var(--lime);
      letter-spacing: 1px;
      text-transform: uppercase;
      font-family: var(--font-mono);
    }

    .p-time {
      font-size: 10px;
      color: var(--gray-500);
      font-family: var(--font-mono);
    }

    /* Speed gauge on phone */
    .p-speed-gauge {
      background: var(--surface);
      border: 1px solid rgba(255,255,255,0.04);
      border-radius: 18px;
      padding: 14px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .p-speed-gauge::before {
      content: '';
      position: absolute;
      top: -20px;
      left: 50%;
      transform: translateX(-50%);
      width: 120px;
      height: 80px;
      background: radial-gradient(ellipse, rgba(168,242,42,0.08) 0%, transparent 70%);
    }

    .p-speed-val {
      font-family: var(--font-mono);
      font-size: 38px;
      font-weight: 700;
      color: var(--lime);
      line-height: 1;
    }

    .p-speed-unit {
      font-size: 10px;
      color: var(--gray-500);
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-top: 2px;
    }

    /* Trip metrics row */
    .p-metrics {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .p-metric {
      background: var(--surface);
      border: 1px solid rgba(255,255,255,0.04);
      border-radius: 12px;
      padding: 10px 12px;
    }

    .p-metric-val {
      font-family: var(--font-mono);
      font-size: 16px;
      font-weight: 700;
      color: var(--white);
    }

    .p-metric-label {
      font-size: 8px;
      color: var(--gray-500);
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-top: 2px;
    }

    /* Map strip */
    .p-map-strip {
      background: #0D1520;
      border: 1px solid rgba(255,255,255,0.04);
      border-radius: 12px;
      height: 62px;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }

    /* Fake road on map */
    .p-map-road {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 3px;
      background: rgba(255,255,255,0.08);
      transform: translateY(-50%);
    }

    .p-map-road::after {
      content: '';
      position: absolute;
      top: 6px;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent 0%, rgba(168,242,42,0.5) 50%, transparent 100%);
    }

    .p-map-pin {
      position: absolute;
      top: 50%;
      left: 40%;
      transform: translate(-50%, -50%);
      width: 10px;
      height: 10px;
      background: var(--lime);
      border-radius: 50%;
      box-shadow: 0 0 8px rgba(168,242,42,0.6);
    }

    .p-map-hospital {
      position: absolute;
      top: 30%;
      right: 25%;
      width: 14px;
      height: 14px;
      background: var(--crimson);
      border-radius: 3px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .p-map-hospital span {
      font-size: 8px;
      font-weight: 800;
      color: white;
    }

    .p-map-label {
      position: absolute;
      bottom: 5px;
      left: 8px;
      font-size: 8px;
      color: var(--gray-500);
      font-family: var(--font-mono);
    }

    /* Phone tab bar */
    .p-tabbar {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 66px;
      background: rgba(8,11,20,0.98);
      border-top: 1px solid rgba(255,255,255,0.05);
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding: 0 8px;
    }

    .p-tab {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      flex: 1;
    }

    .p-tab svg { width: 16px; height: 16px; }
    .p-tab.active svg { color: var(--lime); }
    .p-tab:not(.active) svg { color: var(--gray-600); }

    .p-tab-dot {
      width: 4px;
      height: 4px;
      background: var(--lime);
      border-radius: 50%;
    }

    .p-sos-btn {
      width: 46px;
      height: 46px;
      background: var(--crimson);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 10px;
      box-shadow: 0 0 14px rgba(255,59,48,0.5);
    }

    .p-sos-btn span {
      font-size: 10px;
      font-weight: 900;
      color: #fff;
      letter-spacing: 1.5px;
      font-family: var(--font-mono);
    }

    /* Floating data cards */
    .phone-float {
      position: absolute;
      background: var(--surface);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: 12px;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 8px 28px rgba(0,0,0,0.45);
      z-index: 5;
    }

    .phone-float-1 {
      top: 160px;
      right: -28px;
      animation: floatUp 3s ease-in-out infinite;
    }

    .phone-float-2 {
      bottom: 200px;
      left: -32px;
      animation: floatUp 3.5s ease-in-out 1s infinite;
    }

    @keyframes floatUp {
      0%,100% { transform: translateY(0); }
      50%      { transform: translateY(-7px); }
    }

    .float-icon {
      width: 28px;
      height: 28px;
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .float-icon svg { width: 14px; height: 14px; }

    .float-text strong { display: block; font-size: 11px; color: var(--white); font-weight: 600; }
    .float-text span   { font-size: 10px; color: var(--gray-500); }

    /* ══════════════════════════════════════════════════
       STATS BAR
    ══════════════════════════════════════════════════ */
    .stats-bar {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: var(--bg-2);
    }

    .stats-grid {
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      padding: 0 clamp(16px, 5vw, 72px);
    }

    .stat-cell {
      text-align: center;
      padding: 32px 20px;
      border-right: 1px solid var(--border);
      position: relative;
    }

    .stat-cell:last-child { border-right: none; }

    .stat-cell:first-child::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 2px;
      background: var(--lime);
      border-radius: 2px;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .stat-num {
      font-family: var(--font-display);
      font-size: clamp(34px, 4vw, 52px);
      font-weight: 800;
      color: var(--white);
      letter-spacing: -1px;
      line-height: 1;
      margin-bottom: 6px;
    }

    .stat-num .accent { color: var(--lime); }
    .stat-lbl { font-size: 12px; color: var(--gray-500); font-weight: 500; letter-spacing: 0.3px; }

    /* ══════════════════════════════════════════════════
       FEATURES SECTION
    ══════════════════════════════════════════════════ */
    section { padding: 110px clamp(16px, 5vw, 72px); }

    .sec-center { max-width: 1240px; margin: 0 auto; }

    .sec-eyebrow {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--lime);
      margin-bottom: 14px;
      font-family: var(--font-mono);
    }

    .sec-title {
      font-family: var(--font-display);
      font-size: clamp(36px, 4.5vw, 58px);
      font-weight: 800;
      letter-spacing: -1px;
      line-height: 1.05;
      color: var(--white);
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .sec-sub {
      font-size: 16px;
      color: var(--gray-400);
      line-height: 1.7;
      max-width: 540px;
      margin-bottom: 64px;
    }

    .features-intro {
      display: grid;
      grid-template-columns: 1fr;
      gap: 18px;
      align-items: center;
      margin-bottom: 56px;
      padding: 28px 30px 24px;
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 28px;
      background:
        radial-gradient(circle at top left, rgba(168,242,42,0.08) 0%, transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(8,11,20,0.92) 100%);
      box-shadow: 0 18px 48px rgba(0,0,0,0.22);
      position: relative;
      overflow: hidden;
    }

    .features-intro::after {
      content: '';
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: min(180px, calc(100% - 60px));
      bottom: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(168,242,42,0.35), transparent);
    }

    .features-intro-copy .sec-title {
      margin-bottom: 0;
      max-width: 12ch;
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }

    .features-intro-side {
      display: grid;
      gap: 14px;
      justify-items: center;
      align-self: stretch;
      padding-top: 0;
    }

    .features-intro-side .sec-sub {
      margin-bottom: 0;
      max-width: 420px;
      text-align: center;
    }

    .features-highlight {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 16px;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(168,242,42,0.12);
      color: var(--gray-100);
      font-size: 13px;
      font-weight: 600;
      line-height: 1.45;
    }

    .features-highlight svg {
      color: var(--lime);
      flex-shrink: 0;
    }

    /* Feature grid */
    .feat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
    }

    .feat-cell {
      background: var(--bg);
      padding: 40px 36px;
      transition: background 0.25s;
      position: relative;
      overflow: hidden;
    }

    .feat-cell::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: var(--lime);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.35s ease;
    }

    .feat-cell:hover { background: var(--bg-2); }
    .feat-cell:hover::before { transform: scaleX(1); }

    .feat-icon {
      width: 50px;
      height: 50px;
      border-radius: 13px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }

    .feat-icon svg { width: 24px; height: 24px; }

    .feat-title {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
      color: var(--white);
      letter-spacing: 0.2px;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .feat-desc {
      font-size: 14px;
      color: var(--gray-400);
      line-height: 1.65;
    }

    .feat-chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 3px 9px;
      border-radius: 100px;
      margin-top: 14px;
      font-family: var(--font-mono);
    }

    /* ══════════════════════════════════════════════════
       TECH STACK SECTION
    ══════════════════════════════════════════════════ */
    .tech-section {
      background: var(--bg-2);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .tech-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .tech-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      transition: border-color 0.2s, transform 0.2s;
    }

    .tech-card:hover {
      border-color: var(--border-lime);
      transform: translateY(-2px);
    }

    .tech-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .tech-name { font-size: 14px; font-weight: 600; color: var(--white); }
    .tech-desc { font-size: 11px; color: var(--gray-500); margin-top: 2px; }

    /* ══════════════════════════════════════════════════
       DOWNLOAD SECTION
    ══════════════════════════════════════════════════ */
    .download-section {
      background: var(--bg);
      position: relative;
      overflow: hidden;
    }

    .download-glow {
      position: absolute;
      bottom: -200px;
      left: 50%;
      transform: translateX(-50%);
      width: 700px;
      height: 500px;
      background: radial-gradient(ellipse, rgba(0,201,167,0.05) 0%, transparent 60%);
      pointer-events: none;
    }

    .download-shell {
      max-width: 1160px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .download-hero {
      max-width: 920px;
      margin: 0 auto 42px;
      padding: 34px clamp(20px, 3vw, 36px);
      border-radius: 30px;
      border: 1px solid rgba(168,242,42,0.12);
      background:
        radial-gradient(circle at top center, rgba(168,242,42,0.1) 0%, transparent 42%),
        linear-gradient(180deg, rgba(8,11,20,0.98) 0%, rgba(26,31,43,0.92) 100%);
      box-shadow: 0 28px 80px rgba(0,0,0,0.28);
    }

    .download-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 12px;
      border-radius: 999px;
      background: rgba(168,242,42,0.08);
      border: 1px solid var(--border-lime);
      color: var(--lime);
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

    .download-kicker-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--lime);
      box-shadow: 0 0 10px rgba(168,242,42,0.45);
    }

    .download-title-wrap {
      display: grid;
      grid-template-columns: 1fr;
      gap: 18px;
      align-items: center;
      justify-items: center;
      text-align: center;
    }

    .download-support {
      display: grid;
      gap: 10px;
      justify-items: center;
      min-width: 0;
    }

    .download-note {
      font-size: 12px;
      color: var(--gray-400);
      line-height: 1.5;
      text-align: center;
      max-width: 320px;
    }

    .download-pills {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      margin-top: 18px;
    }

    .download-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 12px;
      border-radius: 14px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--border);
      color: var(--gray-100);
      font-size: 12px;
      font-weight: 600;
    }

    .download-pill svg {
      color: var(--lime);
      flex-shrink: 0;
    }

    .dl-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      max-width: 1100px;
      margin: 0 auto;
      align-items: stretch;
    }

    .dl-card {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(8,11,20,0.96) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 24px;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-height: 100%;
      transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }

    .dl-card:hover {
      transform: translateY(-6px);
    }

    .dl-card.featured {
      border-color: var(--border-lime);
      background:
        linear-gradient(160deg, rgba(168,242,42,0.09) 0%, rgba(8,11,20,0.98) 48%, rgba(26,31,43,0.96) 100%);
    }

    .dl-card.featured:hover {
      box-shadow: 0 20px 60px rgba(168,242,42,0.1);
    }

    .dl-card:not(.featured):hover {
      border-color: rgba(255,255,255,0.12);
      box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    }

    .dl-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%);
      pointer-events: none;
    }

    .dl-corner-glow {
      position: absolute;
      top: -60px;
      right: -60px;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      opacity: 0;
      transition: opacity 0.35s;
      pointer-events: none;
    }

    .dl-card:hover .dl-corner-glow { opacity: 1; }
    .dl-card.featured .dl-corner-glow { background: radial-gradient(circle, rgba(168,242,42,0.12) 0%, transparent 70%); }
    .dl-card:not(.featured) .dl-corner-glow { background: radial-gradient(circle, rgba(0,201,167,0.1) 0%, transparent 70%); }

    .dl-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 4px 11px;
      border-radius: 100px;
      margin-bottom: 20px;
      font-family: var(--font-mono);
    }

    .dl-badge.lime   { background: var(--lime-subtle); color: var(--lime); border: 1px solid var(--border-lime); }
    .dl-badge.teal   { background: var(--teal-subtle); color: var(--teal); border: 1px solid rgba(0,201,167,0.2); }
    .dl-badge.purple { background: rgba(139,92,246,0.08); color: #A78BFA; border: 1px solid rgba(139,92,246,0.2); }

    .dl-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 18px;
    }

    .dl-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .dl-meta-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 10px;
      border-radius: 999px;
      background: rgba(255,255,255,0.035);
      border: 1px solid rgba(255,255,255,0.06);
      color: var(--gray-100);
      font-size: 11px;
      font-weight: 600;
      line-height: 1;
    }

    .dl-icon {
      width: 52px;
      height: 52px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 18px;
    }

    .dl-icon svg { width: 26px; height: 26px; }

    .dl-title {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 700;
      color: var(--white);
      text-transform: uppercase;
      letter-spacing: 0.3px;
      margin-bottom: 10px;
    }

    .dl-desc {
      font-size: 13px;
      color: var(--gray-400);
      line-height: 1.65;
      margin-bottom: 24px;
    }

    .dl-steps {
      list-style: none;
      margin-bottom: 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .dl-steps li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 13px;
      color: var(--gray-400);
      line-height: 1.5;
    }

    .step-num {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 1px solid var(--surface-3);
      background: var(--surface);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
      font-weight: 700;
      color: var(--lime);
      flex-shrink: 0;
      margin-top: 1px;
      font-family: var(--font-mono);
    }

    .dl-steps-wrap {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(255,255,255,0.05);
      border-radius: 18px;
      padding: 16px 14px;
      margin-bottom: 18px;
      flex: 1;
    }

    .dl-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 13px 20px;
      border-radius: var(--radius-md);
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
      font-family: var(--font-body);
    }

    .dl-cta.lime-cta {
      background: var(--lime);
      color: var(--bg);
    }

    .dl-cta.lime-cta:hover {
      transform: translateY(-1px);
      box-shadow: 0 0 24px rgba(168,242,42,0.35);
    }

    .dl-cta.teal-cta {
      background: var(--teal-subtle);
      color: var(--teal);
      border: 1px solid rgba(0,201,167,0.2);
    }

    .dl-cta.teal-cta:hover {
      background: rgba(0,201,167,0.14);
      transform: translateY(-1px);
    }

    .dl-cta.purple-cta {
      background: rgba(139,92,246,0.1);
      color: #A78BFA;
      border: 1px solid rgba(139,92,246,0.2);
    }

    .dl-cta.purple-cta:hover {
      background: rgba(139,92,246,0.16);
      transform: translateY(-1px);
    }

    /* Requirements strip */
    .req-strip {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 20px 28px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 20px;
      max-width: 840px;
      margin: 40px auto 0;
    }

    .req-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-600); margin-bottom: 5px; font-family: var(--font-mono); }
    .req-val { font-size: 13px; color: var(--white); font-weight: 500; }
    .req-val .ok { color: var(--teal); display: flex; align-items: center; gap: 4px; }

    /* ══════════════════════════════════════════════════
       HOW TO INSTALL
    ══════════════════════════════════════════════════ */
    .install-section { background: var(--bg-2); border-top: 1px solid var(--border); }

    .install-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: start;
      max-width: 1100px;
      margin: 0 auto;
    }

    .install-steps-list {
      display: flex;
      flex-direction: column;
      gap: 0;
      position: relative;
    }

    .install-steps-list::before {
      content: '';
      position: absolute;
      top: 26px;
      bottom: 26px;
      left: 25px;
      width: 1px;
      background: linear-gradient(180deg, var(--lime), rgba(168,242,42,0.1) 80%, transparent);
    }

    .install-step {
      display: flex;
      gap: 24px;
      padding: 24px 0;
      position: relative;
    }

    .install-step-num {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: var(--surface);
      border: 1px solid rgba(168,242,42,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-mono);
      font-size: 16px;
      font-weight: 700;
      color: var(--lime);
      flex-shrink: 0;
      position: relative;
      z-index: 1;
      transition: background 0.3s, box-shadow 0.3s;
    }

    .install-step:hover .install-step-num {
      background: rgba(168,242,42,0.06);
      box-shadow: 0 0 16px rgba(168,242,42,0.18);
    }

    .install-step-body { padding-top: 12px; }

    .install-step-title {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--white);
      margin-bottom: 6px;
    }

    .install-step-desc {
      font-size: 14px;
      color: var(--gray-400);
      line-height: 1.65;
    }

    /* Code blocks */
    .code-block {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-left: 2px solid var(--lime);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      margin-top: 12px;
    }

    .code-text {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--lime);
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .code-copy-btn {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--gray-500);
      padding: 2px;
      display: flex;
      align-items: center;
      transition: color 0.2s;
      flex-shrink: 0;
    }

    .code-copy-btn:hover { color: var(--lime); }
    .code-copy-btn svg { width: 14px; height: 14px; }

    /* APK path highlight */
    .apk-path {
      background: var(--surface);
      border: 1px solid var(--border);
      border-left: 2px solid var(--crimson);
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      margin-top: 12px;
    }

    .apk-path-label { font-size: 10px; color: var(--gray-500); margin-bottom: 4px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; }
    .apk-path-val   { font-family: var(--font-mono); font-size: 12px; color: var(--crimson); word-break: break-all; }

    /* Right side — visual terminal */
    .terminal-wrap {
      position: sticky;
      top: 100px;
    }

    .terminal {
      background: #0B0E17;
      border: 1px solid var(--surface-3);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    }

    .terminal-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 18px;
      background: var(--surface);
      border-bottom: 1px solid var(--border);
    }

    .t-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    .t-title {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--gray-500);
      margin-left: 8px;
    }

    .terminal-body {
      padding: 20px 20px;
      font-family: var(--font-mono);
      font-size: 12.5px;
      line-height: 1.85;
      color: var(--gray-400);
    }

    .t-prompt { color: var(--lime); }
    .t-cmd    { color: var(--white); }
    .t-out    { color: var(--gray-500); }
    .t-out.success { color: var(--teal); }
    .t-out.warn    { color: var(--lime); }
    .t-cursor {
      display: inline-block;
      width: 8px;
      height: 14px;
      background: var(--lime);
      animation: cursor-blink 1.1s step-end infinite;
      vertical-align: middle;
      margin-left: 3px;
    }

    @keyframes cursor-blink {
      0%,100% { opacity:1; } 50% { opacity:0; }
    }

    .terminal-note {
      background: var(--lime-subtle);
      border: 1px solid var(--border-lime);
      border-radius: var(--radius-md);
      padding: 16px 18px;
      margin-top: 16px;
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }

    .terminal-note svg { color: var(--lime); flex-shrink: 0; margin-top: 1px; }

    .terminal-note-text { font-size: 13px; color: var(--gray-400); line-height: 1.6; }
    .terminal-note-text strong { color: var(--lime); }

    /* ══════════════════════════════════════════════════
       PERMISSIONS SECTION
    ══════════════════════════════════════════════════ */
    .perm-section .sec-center {
      width: min(100%, 1440px);
      max-width: 1440px;
    }

    .perm-title {
      font-size: clamp(2rem, 5vw, 5rem);
      max-width: 13ch;
      margin-left: auto;
      margin-right: auto;
      text-wrap: balance;
    }

    .perm-sub {
      max-width: 560px;
      margin: 0 auto clamp(32px, 4vw, 56px);
      font-size: clamp(0.95rem, 1.1vw, 1.1rem);
      color: var(--gray-400);
      line-height: 1.7;
      text-wrap: balance;
    }

    .perm-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: clamp(12px, 1.4vw, 18px);
      max-width: 1440px;
      margin: 0 auto;
      align-items: stretch;
    }

    .perm-card {
      background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(26,31,43,0.96) 100%);
      border: 1px solid rgba(168,242,42,0.12);
      border-radius: clamp(16px, 1.4vw, 20px);
      padding: clamp(18px, 2vw, 28px);
      min-width: 0;
      min-height: 100%;
      display: flex;
      align-items: flex-start;
      gap: clamp(12px, 1.2vw, 16px);
      transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, background-color 300ms ease;
      box-shadow: 0 12px 28px rgba(0,0,0,0.16);
    }

    .perm-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: var(--lime-subtle);
      border: 1px solid var(--border-lime);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .perm-icon svg { width: 18px; height: 18px; color: var(--lime); }

    .perm-name  { font-size: clamp(0.95rem, 1vw, 1.02rem); font-weight: 700; color: var(--white); margin-bottom: 6px; font-family: var(--font-mono); letter-spacing: 0.2px; }
    .perm-why   { font-size: clamp(0.85rem, 0.95vw, 0.95rem); color: var(--gray-500); line-height: 1.6; overflow-wrap: anywhere; }

    @media (hover: hover) and (pointer: fine) {
      .perm-card:hover {
        border-color: rgba(168,242,42,0.22);
        transform: translateY(-4px);
        box-shadow: 0 18px 34px rgba(0,0,0,0.24);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .perm-grid,
      .perm-card {
        transition: none !important;
      }
    }

    /* ══════════════════════════════════════════════════
       PROMISE / CTA SECTION
    ══════════════════════════════════════════════════ */
    .cta-section {
      background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
      border-top: 1px solid var(--border);
      text-align: center;
    }

    .cta-inner { max-width: 640px; margin: 0 auto; }

    .cta-shield {
      width: 72px;
      height: 72px;
      background: var(--lime-subtle);
      border: 1px solid var(--border-lime);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 28px;
      box-shadow: 0 0 32px rgba(168,242,42,0.12);
    }

    .cta-shield svg { width: 34px; height: 34px; color: var(--lime); }

    .cta-title {
      font-family: var(--font-display);
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: -0.5px;
      color: var(--white);
      line-height: 1.1;
      margin-bottom: 18px;
    }

    .cta-title .lime { color: var(--lime); }

    .cta-desc {
      font-size: 16px;
      color: var(--gray-400);
      line-height: 1.7;
      margin-bottom: 36px;
    }

    .cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

    /* ══════════════════════════════════════════════════
       FOOTER
    ══════════════════════════════════════════════════ */
    footer {
      padding: 40px clamp(16px, 5vw, 72px);
      border-top: 1px solid var(--border);
      background: var(--bg);
    }

    .footer-inner {
      max-width: 1240px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px 28px;
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .footer-brand-name {
      font-family: var(--font-display);
      font-size: 18px;
      font-weight: 700;
      color: var(--white);
    }

    .footer-brand-name span { color: var(--lime); }

    .footer-links {
      display: flex;
      gap: 16px 22px;
      list-style: none;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
    }

    .footer-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 8px 2px;
      font-size: 13px;
      color: var(--gray-500);
      text-decoration: none;
      text-align: center;
      transition: color 0.2s, opacity 0.2s;
    }

    .footer-links a:hover { color: var(--white); }

    .footer-right {
      display: flex;
      align-items: center;
      gap: 10px 14px;
      flex-wrap: wrap;
      justify-content: flex-end;
      flex-basis: auto;
      min-width: 0;
    }

    .footer-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 4px 10px;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--gray-500);
      flex-wrap: wrap;
      white-space: nowrap;
    }

    .footer-tag .v { color: var(--lime); }

    .footer-copy {
      font-size: 12px;
      color: var(--gray-500);
      text-align: right;
      line-height: 1.6;
      max-width: 420px;
      word-wrap: break-word;
    }

    .footer-copy strong {
      color: var(--gray-100);
      font-weight: 600;
    }

    .mobile-quickbar {
      display: none;
      position: fixed;
      left: 12px;
      right: 12px;
      bottom: 12px;
      z-index: 120;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
      background: rgba(8,11,20,0.94);
      border: 1px solid rgba(168,242,42,0.18);
      border-radius: 18px;
      padding: 10px;
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
      box-shadow: 0 16px 40px rgba(0,0,0,0.42);
    }

    .mobile-quickbar-inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
    }

    .mobile-quickbar-copy strong {
      display: block;
      font-size: 13px;
      color: var(--white);
      font-weight: 700;
      margin-bottom: 3px;
    }

    .mobile-quickbar-copy span {
      display: block;
      font-size: 11px;
      color: var(--gray-400);
      line-height: 1.4;
    }

    .mobile-quickbar .btn-lime {
      padding: 12px 16px;
      font-size: 13px;
      white-space: nowrap;
    }

    /* ══════════════════════════════════════════════════
       TOAST
    ══════════════════════════════════════════════════ */
    .toast {
      position: fixed;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%) translateY(70px);
      background: var(--surface);
      border: 1px solid var(--border-lime);
      border-radius: var(--radius-md);
      padding: 12px 20px;
      font-size: 13px;
      font-weight: 500;
      color: var(--white);
      display: flex;
      align-items: center;
      gap: 10px;
      z-index: 9998;
      transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
      pointer-events: none;
      box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    }

    .toast.show { transform: translateX(-50%) translateY(0); }

    .toast-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }

    /* ══════════════════════════════════════════════════
       SCROLL REVEAL
    ══════════════════════════════════════════════════ */
    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-d1 { transition-delay: 0.1s; }
    .reveal-d2 { transition-delay: 0.2s; }
    .reveal-d3 { transition-delay: 0.3s; }

    /* ══════════════════════════════════════════════════
       ANIMATIONS
    ══════════════════════════════════════════════════ */
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(18px); }
      to   { opacity:1; transform:translateY(0); }
    }

    /* ══════════════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════════════ */
    @media (max-width: 1024px) {
      .feat-grid    { grid-template-columns: repeat(2, 1fr); }
      .install-grid { grid-template-columns: 1fr; }
      .terminal-wrap { position: relative; top: auto; }
      .features-intro {
        grid-template-columns: 1fr;
        align-items: start;
      }
      .features-intro-copy .sec-title {
        max-width: none;
      }
      .features-intro-side {
        padding-top: 0;
      }
      .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 18px;
      }
      .footer-links {
        justify-content: center;
      }
      .footer-right {
        justify-content: center;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }
      .footer-copy {
        text-align: center;
        max-width: 100%;
      }
    }

    @media (max-width: 860px) {
      body { padding-bottom: 96px; }
      .hero { min-height: auto; }
      .hero-inner {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 18px 0 40px;
      }
      .hero-desc  { margin: 0 auto 36px; }
      .hero-actions  { justify-content: center; }
      .hero-trust    { justify-content: center; }
      .hero-visual   { order: -1; margin-top: 12px; }
      .hero-mobile-panel { display: block; }
      .phone-frame   { width: 250px; height: 510px; }
      .phone-wrap    { width: 250px; }
      .phone-float   { display: none; }
      .stats-grid    { grid-template-columns: repeat(2, 1fr); }
      .stat-cell:nth-child(2) { border-right: none; }
      .stat-cell:nth-child(3) { border-top: 1px solid var(--border); }
      .feat-grid     { grid-template-columns: 1fr; }
      .dl-grid       { grid-template-columns: 1fr; max-width: 460px; }
      .download-title-wrap { grid-template-columns: 1fr; }
      .download-support {
        justify-items: center;
        min-width: 0;
      }
      .download-note { text-align: center; max-width: none; }
      .download-pills { justify-content: center; }
      .nav-links     { display: none; }
      .hamburger     { display: flex; }
      h1             { font-size: clamp(44px, 12vw, 70px); }
      .mobile-quickbar { display: block; }
      .lang-switcher {
        margin-left: auto;
        margin-right: 12px;
        width: min(100%, 320px);
      }
    }

    @media (max-width: 560px) {
      nav { padding: 0 14px; }
      section { padding: 82px 16px; }
      .hero {
        padding-left: 16px;
        padding-right: 16px;
      }
      .hero-tag { margin-bottom: 18px; }
      h1 {
        font-size: clamp(34px, 12vw, 52px);
        line-height: 0.98;
        margin-bottom: 16px;
      }
      .hero-desc {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 24px;
      }
      .hero-actions { margin-bottom: 28px; }
      .hero-actions .btn-lime,
      .hero-actions .btn-outline,
      .cta-actions .btn-lime,
      .cta-actions .btn-outline {
        width: 100%;
        justify-content: center;
      }
      .hero-trust { gap: 10px; }
      .trust-sep { display: none; }
      .trust-item {
        width: 100%;
        justify-content: center;
        text-align: center;
      }
      .hero-mobile-panel {
        padding: 16px;
        margin-bottom: 22px;
      }
      .hero-mobile-head {
        align-items: flex-start;
        flex-direction: column;
      }
      .hero-mobile-title { font-size: 22px; }
      .phone-frame   { width: 220px; height: 462px; border-radius: 38px; }
      .phone-wrap    { width: 220px; }
      .phone-screen  { padding: 52px 12px 68px; }
      .phone-di      { width: 84px; height: 24px; }
      .p-speed-val   { font-size: 32px; }
      .p-tabbar      { height: 60px; }
      .p-sos-btn     { width: 42px; height: 42px; }
      .stats-grid      { grid-template-columns: repeat(2, 1fr); }
      .stat-cell       { padding: 24px 14px; }
      .stat-lbl        { font-size: 11px; }
      .sec-sub         { margin-bottom: 42px; font-size: 14px; }
      .features-intro  {
        margin-bottom: 34px;
        padding: 22px 18px 18px;
        gap: 18px;
      }
      .features-intro::after {
        width: min(160px, calc(100% - 36px));
      }
      .features-highlight {
        width: 100%;
        align-items: flex-start;
      }
      .feat-cell       { padding: 28px 22px; }
      .dl-card         { padding: 26px 20px; }
      .download-hero   { padding: 24px 18px; margin-bottom: 30px; }
      .download-kicker { margin-bottom: 14px; }
      .dl-top          { align-items: center; }
      .dl-meta         { margin-bottom: 14px; }
      .dl-steps-wrap   { padding: 14px 12px; }
      .req-strip       { padding: 18px; gap: 16px; }
      .perm-grid       { grid-template-columns: 1fr; }
      .req-strip       { grid-template-columns: 1fr 1fr; }
      .install-step    { gap: 16px; }
      .install-step-num { width: 44px; height: 44px; font-size: 14px; }
      .install-step-body { padding-top: 8px; }
      .code-block      { align-items: flex-start; }
      .code-text       { white-space: normal; word-break: break-word; }
      .footer-inner    { flex-direction: column; text-align: center; gap: 18px; }
      .footer-links    {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 12px;
      }
      .footer-links li { min-width: 0; }
      .footer-links a  {
        width: 100%;
        min-height: 48px;
        padding: 10px 12px;
        border-radius: 12px;
        background: rgba(255,255,255,0.025);
        border: 1px solid rgba(255,255,255,0.05);
      }
      .footer-right    { justify-content: center; width: 100%; flex-direction: column; align-items: center; gap: 10px; }
      .footer-tag      { justify-content: center; flex-wrap: wrap; }
      .footer-copy     { text-align: center; max-width: 100%; }
      .mobile-quickbar {
        left: 10px;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        width: auto;
      }
      .mobile-quickbar-inner { grid-template-columns: 1fr; }
      .mobile-quickbar .btn-lime {
        width: 100%;
        justify-content: center;
      }
      .lang-switcher {
        width: 100%;
        min-width: 0;
        margin-right: 8px;
      }

      .lang-switcher-toggle {
        min-height: 40px;
        padding: 6px 8px;
        border-radius: 10px;
      }

      .lang-switcher-menu {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
      }
    }

    @media (max-width: 380px) {
      .nav-brand-name { font-size: 18px; }
      .hero-tag-text { font-size: 11px; }
      .hero-mobile-item { font-size: 12px; }
      .req-strip { grid-template-columns: 1fr; }
      .download-pill,
      .dl-meta-chip { width: 100%; justify-content: center; }
      .footer-links { grid-template-columns: 1fr; }
    }

    @media (min-width: 768px) and (max-width: 1199px) {
      .perm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 1200px) {
      .perm-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

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

      .perm-title {
        max-width: 18ch;
      }

      .perm-title br {
        display: none;
      }

      .perm-sub {
        margin-bottom: 32px;
      }

      .perm-card {
        transform: none !important;
      }
    }

    /* ══════════════════════════════════════════════════
         MODALS: Privacy Policy & Terms of Service
    ══════════════════════════════════════════════════ */

    .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(8px);
      z-index: 500;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }

    .modal-backdrop.active {
      opacity: 1;
      pointer-events: auto;
    }

    .modal {
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0.95);
      z-index: 501;
      background: var(--surface);
      border: 1px solid var(--border-lime);
      border-radius: var(--radius-lg);
      width: min(760px, 92vw);
      max-height: 80vh;
      display: flex;
      flex-direction: column;
      opacity: 0;
      pointer-events: none;
      transition: all 0.25s ease;
      box-sizing: border-box;
      overflow: hidden;
    }

    .modal.active {
      opacity: 1;
      pointer-events: auto;
      transform: translate(-50%, -50%) scale(1);
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 28px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
      box-sizing: border-box;
    }

    .modal-header h2 {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 700;
      letter-spacing: -0.5px;
      color: var(--white);
    }

    .modal-close {
      background: none;
      border: none;
      color: var(--gray-400);
      cursor: pointer;
      padding: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.2s ease;
    }

    .modal-close:hover {
      color: var(--lime);
    }

    .modal-body {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      padding: 28px;
      box-sizing: border-box;
      scrollbar-width: thin;
      scrollbar-color: var(--lime) var(--surface-2);
    }

    .modal-body::-webkit-scrollbar {
      width: 8px;
    }

    .modal-body::-webkit-scrollbar-track {
      background: var(--surface-2);
      border-radius: 4px;
    }

    .modal-body::-webkit-scrollbar-thumb {
      background: var(--lime);
      border-radius: 4px;
    }

    .modal-body::-webkit-scrollbar-thumb:hover {
      background: var(--lime-dim);
    }

    .policy-section {
      margin-bottom: 24px;
      box-sizing: border-box;
    }

    .policy-section:last-child {
      margin-bottom: 0;
    }

    .policy-section h3 {
      font-family: var(--font-display);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: -0.3px;
      color: var(--lime);
      margin-bottom: 12px;
      text-transform: uppercase;
      overflow-wrap: break-word;
      word-break: break-word;
    }

    .policy-section p {
      font-size: 14px;
      line-height: 1.7;
      color: var(--gray-400);
      margin-bottom: 12px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .policy-section ul {
      list-style: none;
      margin-left: 16px;
      margin-bottom: 12px;
      box-sizing: border-box;
    }

    .policy-section li {
      font-size: 14px;
      line-height: 1.7;
      color: var(--gray-400);
      margin-bottom: 8px;
      position: relative;
      padding-left: 16px;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    .policy-section li::before {
      content: "→";
      position: absolute;
      left: 0;
      color: var(--lime);
    }

    .policy-intro {
      padding: 16px;
      background: var(--surface-2);
      border-left: 3px solid var(--lime);
      border-radius: 6px;
      margin-bottom: 20px;
      font-size: 13px;
      line-height: 1.7;
      color: var(--gray-400);
      box-sizing: border-box;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }

    body.modal-open {
      overflow: hidden;
    }

    @media (max-width: 1024px) {
      .modal {
        width: min(720px, 94vw);
        max-height: 80vh;
        box-sizing: border-box;
        overflow: hidden;
      }

      .modal-header {
        padding: 24px;
        box-sizing: border-box;
      }

      .modal-header h2 {
        font-size: 22px;
        overflow-wrap: break-word;
        word-break: break-word;
      }

      .modal-body {
        padding: 24px;
        box-sizing: border-box;
        overflow-x: hidden;
      }
    }

    @media (max-width: 768px) {
      .modal {
        width: min(650px, 94vw);
        max-height: 85vh;
        top: 45%;
        box-sizing: border-box;
        overflow: hidden;
      }

      .modal-header {
        padding: 20px;
        box-sizing: border-box;
      }

      .modal-header h2 {
        font-size: 18px;
        overflow-wrap: break-word;
        word-break: break-word;
      }

      .modal-body {
        padding: 20px;
        box-sizing: border-box;
        overflow-x: hidden;
      }

      .policy-section h3 {
        font-size: 14px;
        margin-bottom: 10px;
      }

      .policy-section p,
      .policy-section li {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 8px;
      }

      .policy-section ul {
        margin-left: 14px;
        margin-bottom: 10px;
      }

      .policy-section li {
        margin-bottom: 6px;
        padding-left: 14px;
      }

      .policy-intro {
        font-size: 12px;
        padding: 12px;
        margin-bottom: 16px;
        line-height: 1.6;
      }
    }

    @media (max-width: 560px) {
      .modal {
        width: 92vw;
        max-height: 85vh;
        top: 48%;
        box-sizing: border-box;
        overflow: hidden;
      }

      .modal-header {
        padding: 16px;
        box-sizing: border-box;
      }

      .modal-header h2 {
        font-size: 16px;
        overflow-wrap: break-word;
        word-break: break-word;
      }

      .modal-close {
        flex-shrink: 0;
      }

      .modal-body {
        padding: 16px;
        box-sizing: border-box;
        overflow-x: hidden;
      }

      .policy-section {
        margin-bottom: 18px;
      }

      .policy-section h3 {
        font-size: 13px;
        margin-bottom: 8px;
      }

      .policy-section p,
      .policy-section li {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 6px;
      }

      .policy-section ul {
        margin-left: 12px;
        margin-bottom: 8px;
      }

      .policy-section li {
        margin-bottom: 4px;
        padding-left: 12px;
      }

      .policy-section li::before {
        font-size: 12px;
      }

      .policy-intro {
        font-size: 11px;
        padding: 10px;
        margin-bottom: 12px;
        line-height: 1.5;
      }
    }

    @media (max-width: 380px) {
      .modal {
        width: 96vw;
        max-height: 80vh;
        box-sizing: border-box;
        overflow: hidden;
      }

      .modal-header {
        padding: 14px;
        gap: 8px;
        box-sizing: border-box;
      }

      .modal-header h2 {
        font-size: 15px;
        word-break: break-word;
        overflow-wrap: break-word;
      }

      .modal-close {
        min-width: 32px;
        min-height: 32px;
        flex-shrink: 0;
      }

      .modal-body {
        padding: 14px;
        box-sizing: border-box;
        overflow-x: hidden;
      }

      .policy-section {
        margin-bottom: 14px;
      }

      .policy-section h3 {
        font-size: 12px;
        margin-bottom: 6px;
        letter-spacing: -0.2px;
      }

      .policy-section p,
      .policy-section li {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 4px;
      }

      .policy-section ul {
        margin-left: 10px;
        margin-bottom: 6px;
      }

      .policy-section li {
        margin-bottom: 3px;
        padding-left: 10px;
      }

      .policy-intro {
        font-size: 10px;
        padding: 8px;
        margin-bottom: 10px;
        line-height: 1.4;
      }
    }
