  :root {
      --bg1: #0f172a;
      --bg2: #1e293b;
      --accent: #60a5fa;
      --accent-2: #34d399;
      --text: #ffffff;
      --muted: #cbd5e1;
      --card: rgba(255, 255, 255, 0.12);
      --card-strong: rgba(255, 255, 255, 0.18);
      --shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
      --radius: 18px;
      --focus: 0 0 0 3px rgba(96, 165, 250, 0.55);
      --ring-ios: linear-gradient(120deg, #6ea8ff, #60a5fa 30%, #93c5fd 70%, #6ea8ff);
      --ring-android: linear-gradient(120deg, #34d399, #10b981 30%, #6ee7b7 70%, #34d399);
    }

    .theme-light {
      --bg1: #eef2ff;
      --bg2: #e2e8f0;
      --accent: #2563eb;
      --accent-2: #059669;
      --text: #0f172a;
      --muted: #475569;
      --card: rgba(15, 23, 42, 0.06);
      --card-strong: rgba(15, 23, 42, 0.10);
      --shadow: 0 12px 30px rgba(2, 6, 23, 0.12);
      --focus: 0 0 0 3px rgba(37, 99, 235, 0.45);
    }

    * {
      box-sizing: border-box
    }

    html,
    body {
      margin: 0;
      padding: 0;
      height: 100%;
      background: radial-gradient(1200px 800px at 70% 10%, var(--bg2) 0%, var(--bg1) 60%, #0b1222 100%);
      color: var(--text);
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji, Noto Color Emoji;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    /* Atmospheric layers */
    .backdrop {
      position: fixed;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(900px 480px at 15% 85%, rgba(52, 211, 153, 0.16), transparent 60%),
        radial-gradient(1200px 600px at 90% 10%, rgba(96, 165, 250, 0.18), transparent 60%),
        conic-gradient(from 210deg at 50% 50%, rgba(255, 255, 255, 0.03), transparent 30%, rgba(255, 255, 255, 0.02) 60%, transparent 100%);
      filter: saturate(112%);
      animation: floatBg 22s ease-in-out infinite alternate;
    }

    @keyframes floatBg {
      0% {
        transform: translateY(0) translateX(0)
      }

      100% {
        transform: translateY(-12px) translateX(8px)
      }
    }

    /* Soft parallax orbs */
    .orb {
      position: absolute;
      filter: blur(28px);
      opacity: .35;
      mix-blend: screen;
      pointer-events: none;
    }

    .orb.o1 {
      top: -80px;
      left: -80px;
      width: 260px;
      height: 260px;
      background: #60a5fa33;
      border-radius: 50%;
    }

    .orb.o2 {
      bottom: -60px;
      right: -40px;
      width: 220px;
      height: 220px;
      background: #34d39933;
      border-radius: 50%;
    }

    .orb.o3 {
      top: 40%;
      left: -120px;
      width: 180px;
      height: 180px;
      background: #9ca3af33;
      border-radius: 50%;
    }

    .parallax {
      transform: translateZ(0);
      will-change: transform;
    }

    main {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: 120px 20px 90px;
      position: relative;
      z-index: 1;
    }

    .card {
   width: min(980px, 94vw);
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) + 10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    padding: 42px;
    }

    /* decorative edge glow */
    .card::before {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: inherit;
      pointer-events: none;
      background: conic-gradient(from 0deg, transparent 0 30%, rgba(96, 165, 250, 0.14), transparent 60%, rgba(52, 211, 153, 0.14), transparent 100%);
      filter: blur(12px);
      opacity: .6;
    }

    
    .app-head {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 14px;
    }

    .app-logo {
      width: 100%;
      /* height: 64px; */
      object-fit: contain;
      border-radius: 14px;
      /* box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); */
    }

    h1 {
      margin: 0;
      font-size: clamp(1.8rem, 2.2vw + 1rem, 2.4rem);
      line-height: 1.15;
      letter-spacing: 0.2px;
    }

    .lead {
      margin: 10px 0 24px;
      color: var(--muted);
      font-size: 1.04rem;
    }

    .badges {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* Elevated buttons with animated gradient ring */
    .download-tab {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: 16px 22px;
      font-size: 1.05rem;
      font-weight: 800;
      letter-spacing: 0.25px;
      color: var(--text);
      text-decoration: none;
      cursor: pointer;
      border-radius: 16px;
      background: linear-gradient(180deg, var(--card-strong), var(--card));
      border: 1.5px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, filter .18s ease;
      will-change: transform;
    }

    .download-tab:hover {
      transform: translateY(-3px);
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
      border-color: rgba(255, 255, 255, 0.35);
      background: linear-gradient(180deg, var(--card-strong), rgba(255, 255, 255, 0.07));
    }

    .download-tab:active {
      transform: translateY(-1px) scale(0.995);
    }

    .download-tab:focus-visible {
      outline: none;
      box-shadow: var(--focus);
    }

    /* Animated gradient border ring using mask */
    .download-tab::after {
      content: "";
      position: absolute;
      inset: -2px;
      border-radius: 18px;
      padding: 2px;
      background: var(--ring-ios);
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity .25s ease;
    }

    .download-tab.ios::after {
      background: var(--ring-ios);
    }

    .download-tab.android::after {
      background: var(--ring-android);
    }

    .download-tab:hover::after {
      opacity: 1;
    }

    .download-tab.ios {
      border-color: rgba(96, 165, 250, 0.45);
    }

    .download-tab.android {
      border-color: rgba(52, 211, 153, 0.45);
    }

    .pulse {
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      overflow: hidden;
    }

    .pulse::before {
      content: "";
      position: absolute;
      width: 140%;
      height: 160%;
      top: -30%;
      left: -20%;
      background: radial-gradient(closest-side, rgba(255, 255, 255, 0.18), transparent 65%);
      transform: rotate(8deg);
      animation: sheen 3.2s ease-in-out infinite;
      opacity: .0;
    }

    .download-tab:hover .pulse::before {
      opacity: .25;
    }

    @keyframes sheen {
      0% {
        transform: translateX(-20%) rotate(8deg)
      }

      50% {
        transform: translateX(20%) rotate(8deg)
      }

      100% {
        transform: translateX(-20%) rotate(8deg)
      }
    }

    .icon {
      width: 28px;
      height: 28px;
      display: inline-block;
      vertical-align: middle;
      fill: currentColor;
    }

    /* Right column: decorative phone mock */
    .device {
      position: relative;
      aspect-ratio: 9/16;
      width: 100%;
      border-radius: 28px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
      border: 1px solid rgba(255, 255, 255, 0.14);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 50px rgba(0, 0, 0, 0.35);
      overflow: hidden;
    }

    .device .screen {
      position: absolute;
      inset: 12px;
      border-radius: 22px;
      overflow: hidden;
      background:
        radial-gradient(120% 80% at 20% 0%, rgba(96, 165, 250, 0.22), transparent 50%),
        radial-gradient(120% 80% at 100% 80%, rgba(52, 211, 153, 0.20), transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    }

    .glow {
      position: absolute;
      inset: auto 14% -20% -14%;
      height: 40%;
      background: radial-gradient(closest-side, rgba(96, 165, 250, 0.22), transparent 70%);
      filter: blur(22px);
    }

    .status {
      position: absolute;
      top: 14px;
      left: 50%;
      transform: translateX(-50%);
      padding: 4px 10px;
      font-size: 12px;
      border-radius: 999px;
      color: #0b1222;
      background: #e5f0ff;
      border: 1px solid #d8e7ff66;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    }

    /* Helper rows */
    .meta-grid {
      display: grid;
      gap: 14px;
      grid-template-columns: 1fr 1fr;
      margin-top: 22px;
    }

    .meta-item {
      background: var(--card);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 14px;
      padding: 14px 16px;
      color: var(--muted);
      font-size: .95rem;
    }

    code.hash {
      user-select: all;
      background: rgba(0, 0, 0, 0.25);
      padding: 2px 6px;
      border-radius: 8px;
      color: var(--text);
      font-size: .86rem;
    }

    footer {
      margin-top: 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      color: var(--muted);
      font-size: .92rem;
    }

    /* Responsive */
    @media (max-width:980px) {
      .card {
        padding: 34px
      }
    }

    @media (max-width:920px) {
      .hero {
        grid-template-columns: 1fr
      }
    }

    @media (max-width:560px) {
      .badges {
        gap: 12px
      }

      .download-tab {
        width: 100%;
        justify-content: center
      }

      .meta-grid {
        grid-template-columns: 1fr
      }
    }
    
    /* ── Navbar ─────────────────────────────────── */
    /* ── Navbar Updates for Dropdown ─────────────────────────────────── */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
  align-items: center;
}

.nav-item {
  position: relative;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '';
  margin-left: 4px;
  font-size: 0.8rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 200px;
  background: var(--bg2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

/* Mobile Dropdown Adjustments */
@media (max-width: 720px) {
  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 8px;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .dropdown.active .dropdown-menu {
    max-height: 300px;
  }
  
  .dropdown-item {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

    
    
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  backdrop-filter: blur(14px);
      padding: 15px !important;
  background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 20px rgba(0,0,0,.20);
  z-index: 99;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 26px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
}

.nav-link::after { /* small bottom accent */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s, transform .18s;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  opacity: .9;
  transform: translateY(0);
}

/* Mobile hamburger – hidden on large screens */
.nav-toggle,
.hamburger { display: none; }

@media (max-width: 720px) {
  /* hide inline nav, show hamburger */
  .nav         { 
    position: fixed;
    top: 64px; right: 0;
    width: 240px;
    height: calc(100% - 64px);
    flex-direction: column;
    padding: 24px;
    background: var(--bg2);
    transform: translateX(100%);
    transition: transform .28s ease;
  }
  .nav-link    { padding: 12px 0; font-size: 1.05rem; }

  .nav-toggle,
  .hamburger   { display: block; }

  .nav-toggle {
    position: absolute;
    width: 32px; height: 32px;
    opacity: 0; pointer-events: none;
  }
  .hamburger {
    width: 32px; height: 22px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hamburger span {
    display: block; height: 4px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
  }
  /* animate hamburger → X */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  /* slide-in menu */
  .nav-toggle:checked ~ .nav {
    transform: translateX(0);
  }
}

/* Prevent main content from hiding below fixed navbar */
body { padding-top: 64px; }
@media (max-width: 720px) { body { padding-top: 72px; } }