/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Icon-inspired palette (deep navy + neon cyan) */
  --bg-0: #05081a;
  --bg-1: #070d28;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.75);
  --muted-2: rgba(255, 255, 255, 0.6);

  --primary: #41e3ff;
  --primary-2: #1aa9ff;
  --primary-3: #2f63ff;
  --glow: rgba(65, 227, 255, 0.25);

  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --container: 1160px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(700px 500px at 50% 30%, rgba(65, 227, 255, 0.18), transparent 55%),
    radial-gradient(600px 600px at 80% 20%, rgba(26, 169, 255, 0.14), transparent 55%),
    radial-gradient(600px 700px at 15% 70%, rgba(47, 99, 255, 0.14), transparent 60%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1));
  background-attachment: fixed;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 8, 26, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(65, 227, 255, 0.14);
}

.logo-text {
  font-size: 18px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 160ms var(--ease), transform 160ms var(--ease);
  padding: 10px 10px;
  border-radius: 12px;
}

.nav-link:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(65, 227, 255, 0.18), rgba(26, 169, 255, 0.12));
  border: 1px solid rgba(65, 227, 255, 0.28);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(65, 227, 255, 0.08);
}

.nav-cta:hover {
  border-color: rgba(65, 227, 255, 0.45);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 2px;
  transition: transform 220ms var(--ease), opacity 180ms var(--ease);
}

/* Hero */
.hero {
  padding: 120px 0 64px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px -40px auto -40px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(65, 227, 255, 0.25), transparent 70%);
  filter: blur(8px);
  opacity: 0.85;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-icon {
  margin-bottom: 16px;
}

.app-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(65, 227, 255, 0.18);
  transform: translateZ(0);
}

.hero-title {
  font-size: clamp(42px, 4.7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin-bottom: 14px;
}

.gradient-text {
  background: linear-gradient(135deg, #e9fbff, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 28px rgba(65, 227, 255, 0.22);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 56ch;
  margin-bottom: 22px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease),
    background 180ms var(--ease);
  min-width: 170px;
}

.btn-primary {
  color: #051021;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-color: rgba(65, 227, 255, 0.55);
  box-shadow: 0 18px 50px rgba(65, 227, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(65, 227, 255, 0.24);
  border-color: rgba(65, 227, 255, 0.75);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

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

.badge {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero screenshots */
.hero-media {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.phone-frame {
  width: min(420px, 92vw);
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(closest-side, rgba(65, 227, 255, 0.22), transparent 70%);
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-screenshot {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-xl) - 8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dot.active {
  background: rgba(65, 227, 255, 0.9);
  border-color: rgba(65, 227, 255, 0.7);
  box-shadow: 0 0 22px rgba(65, 227, 255, 0.24);
}

/* Sections */
.section-header {
  text-align: center;
  margin: 40px 0 26px;
}

.section-header h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
  max-width: 70ch;
  margin: 0 auto;
}

/* Features */
.features {
  padding: 28px 0 72px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -40px -60px auto -60px;
  height: 120px;
  background: radial-gradient(closest-side, rgba(65, 227, 255, 0.16), transparent 65%);
  filter: blur(10px);
  opacity: 0.8;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(65, 227, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.feature-icon {
  font-size: 26px;
  margin-bottom: 10px;
  opacity: 0.95;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}

.feature-card p {
  color: var(--muted-2);
  font-size: 14px;
}

/* Screenshots */
.screenshots {
  padding: 54px 0 78px;
  position: relative;
}

.screenshots::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(65, 227, 255, 0.26), transparent);
  opacity: 0.9;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.screenshot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.screenshot:hover {
  transform: translateY(-3px);
  border-color: rgba(65, 227, 255, 0.22);
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* Download */
.download {
  padding: 40px 0 86px;
}

.download-card {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(65, 227, 255, 0.2);
  background: linear-gradient(135deg, rgba(65, 227, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: -40px -80px auto -80px;
  height: 180px;
  background: radial-gradient(closest-side, rgba(65, 227, 255, 0.26), transparent 70%);
  filter: blur(10px);
  opacity: 0.85;
  pointer-events: none;
}

.download-card h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  margin-bottom: 8px;
}

.download-card p {
  color: var(--muted);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
}

.store-pill {
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 8, 26, 0.55);
  color: var(--text);
  min-width: 210px;
  display: grid;
  gap: 2px;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.store-pill[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.82;
}

.store-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(65, 227, 255, 0.3);
  background: rgba(5, 8, 26, 0.7);
}

.store-pill-label {
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.store-pill-name {
  font-size: 16px;
  font-weight: 900;
}

.download-footnote {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 10px;
}

/* Footer */
.footer {
  padding: 32px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 26, 0.55);
  backdrop-filter: blur(10px);
}

.footer-content {
  text-align: center;
}

.footer-tagline p {
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted-2);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 160ms var(--ease);
}

.footer-links a:hover {
  color: rgba(65, 227, 255, 0.95);
}

.separator {
  opacity: 0.45;
}

/* Legal pages */
.legal {
  padding: 110px 0 74px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
}

.legal-header {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.back-link {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(65, 227, 255, 0.95);
  text-decoration: none;
  font-weight: 800;
}

.back-link:hover {
  text-decoration: underline;
}

.last-updated {
  color: var(--muted-2);
  font-size: 13px;
}

.legal-body {
  line-height: 1.75;
}

.legal-body h2 {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 20px;
}

.legal-body h3 {
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 16px;
}

.legal-body p {
  color: var(--muted);
  margin-bottom: 10px;
}

.legal-body ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

.legal-body li {
  color: var(--muted);
  margin-bottom: 6px;
}

.legal-body a {
  color: rgba(65, 227, 255, 0.95);
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-media {
    order: -1;
  }
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 26, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .btn {
    min-width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

