:root {
  --bg: #000000;
  --surface-1: #141417;
  --surface-2: #1d1d21;
  --surface-3: #1e1e24;
  --border: #28282e;

  --text-primary: #e2e3e8;
  --text-secondary: #848794;
  --text-muted: #4b4e57;

  --positive: #1ee980;
  --negative: #e91e48;
  --warning: #ffd60a;
  --info: #5ac8fa;

  --premium-1: #f0d780;
  --premium-2: #d7b75d;
  --premium-3: #c9a84c;

  --container-max: 1180px;
  --nav-height: 72px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --carousel-transition-duration: 600ms;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 15% 20%, rgba(90, 200, 250, 0.08), transparent 40%),
    radial-gradient(circle at 85% 0%, rgba(240, 215, 128, 0.12), transparent 35%),
    var(--bg);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100vw 100vh, 100vw 100vh, auto;
  background-attachment: fixed, fixed, fixed;
  color: var(--text-primary);
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', 'Noto Sans', sans-serif;
  line-height: 1.2;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

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

main {
  position: relative;
  z-index: 1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: env(safe-area-inset-top);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid rgba(226, 227, 232, 0.1);
  backdrop-filter: blur(12px);
}

.nav-container {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.nav-logo a:hover,
.nav-logo a:focus-visible {
  background: rgba(226, 227, 232, 0.08);
  outline: none;
}

.nav-logo img.logo-image {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-links a {
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
  background: rgba(226, 227, 232, 0.08);
  outline: none;
}

.hero {
  padding: calc(var(--nav-height) + 64px) 0 var(--space-8);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-7);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--warning);
}

.hero-title {
  margin-top: var(--space-4);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  max-width: 12ch;
}

.hero-subtitle {
  margin-top: var(--space-4);
  max-width: 56ch;
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero-highlights span {
  background: rgba(20, 20, 23, 0.95);
  border: 1px solid rgba(226, 227, 232, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 14px;
}

.hero-cta {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-footnote {
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary,
.btn-premium {
  color: #000;
  background: linear-gradient(135deg, var(--premium-1) 0%, var(--premium-2) 55%, var(--premium-3) 100%);
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-premium:hover,
.btn-premium:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(201, 168, 76, 0.45);
}

.btn-secondary,
.btn-ghost {
  color: var(--text-primary);
  border-color: rgba(226, 227, 232, 0.22);
  background: rgba(226, 227, 232, 0.03);
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  outline: none;
  border-color: rgba(226, 227, 232, 0.42);
  background: rgba(226, 227, 232, 0.08);
}

.phone-mockup {
  width: min(320px, 88vw);
  margin-left: auto;
  margin-right: auto;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #0d0d10, #232328);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(226, 227, 232, 0.15);
}

.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  background: #09090b;
  aspect-ratio: 1242 / 2688;
}

.phone-carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform var(--carousel-transition-duration) ease;
}

.phone-carousel-slide {
  width: 100%;
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
  flex-shrink: 0;
  background: #09090b;
}

.phone-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.features {
  padding: var(--space-8) 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.section-title {
  margin-top: var(--space-4);
  font-size: clamp(1.8rem, 3vw, 2.9rem);
}

.section-subtitle {
  margin-top: var(--space-3);
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.features-grid {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.feature-card {
  background: linear-gradient(160deg, rgba(30, 30, 36, 0.95), rgba(20, 20, 23, 0.95));
  border: 1px solid rgba(226, 227, 232, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 227, 232, 0.24);
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: var(--space-3);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  background: linear-gradient(135deg, var(--premium-1), var(--premium-3));
}

.feature-card h3 {
  font-size: 1.35rem;
}

.feature-card p {
  margin-top: var(--space-3);
  color: var(--text-secondary);
}

.premium-spotlight {
  padding: 0 0 var(--space-8);
}

.spotlight-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 227, 232, 0.18);
  background: linear-gradient(130deg, rgba(20, 20, 23, 0.96), rgba(29, 29, 33, 0.96));
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1.2fr 0.8fr;
  position: relative;
  overflow: hidden;
}

.spotlight-panel::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240, 215, 128, 0.24), rgba(240, 215, 128, 0));
  pointer-events: none;
}

.spotlight-copy p {
  color: var(--text-secondary);
  margin-top: var(--space-3);
}

.spotlight-list {
  margin-top: var(--space-4);
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.spotlight-list li {
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.spotlight-list li::before {
  content: '';
  width: 9px;
  height: 9px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--positive);
  flex-shrink: 0;
}

.spotlight-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-4);
}

.premium-chip {
  background: linear-gradient(130deg, var(--premium-1), var(--premium-2), var(--premium-3));
  color: #000;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spotlight-badge p {
  color: var(--text-secondary);
  max-width: 34ch;
}

.download {
  padding: 0 0 var(--space-8);
}

.download-panel {
  background: linear-gradient(170deg, rgba(14, 14, 16, 0.95), rgba(20, 20, 23, 0.95));
  border: 1px solid rgba(226, 227, 232, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.download-buttons {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.download-btn {
  border-radius: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.download-btn:hover,
.download-btn:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.download-btn img {
  height: 58px;
}

.download-btn img[alt*='Google Play'] {
  height: 88px;
}

.download-links {
  margin-top: var(--space-4);
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.download-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

.download-links a:hover,
.download-links a:focus-visible {
  color: var(--text-primary);
  outline: none;
}

.footer {
  border-top: 1px solid rgba(226, 227, 232, 0.1);
  background: rgba(0, 0, 0, 0.75);
  padding: var(--space-7) 0 var(--space-5);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr;
  gap: var(--space-6);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: var(--space-3);
}

.footer-section p,
.footer-section li {
  color: var(--text-secondary);
}

.footer-section ul {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.footer-section a {
  color: var(--text-secondary);
}

.footer-section a:hover,
.footer-section a:focus-visible {
  color: var(--text-primary);
  outline: none;
}

.footer-section .disclaimer {
  margin-top: var(--space-3);
  font-size: 12px;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(226, 227, 232, 0.12);
  color: var(--text-muted);
  font-size: 13px;
}

.page-content {
  padding: calc(var(--nav-height) + 54px) 0 var(--space-8);
  min-height: 100vh;
}

.page-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--space-6);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-header p {
  margin-top: var(--space-3);
  color: var(--text-secondary);
}

.legal-content,
.support-sections {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section,
.support-section {
  margin-bottom: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 227, 232, 0.14);
  background: linear-gradient(165deg, rgba(30, 30, 36, 0.94), rgba(20, 20, 23, 0.94));
  box-shadow: var(--shadow-soft);
  padding: clamp(20px, 4vw, 36px);
}

.legal-section h2,
.support-section h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(1.4rem, 2.7vw, 1.9rem);
  border-bottom: 1px solid rgba(226, 227, 232, 0.16);
  padding-bottom: var(--space-3);
}

.legal-section h3,
.support-section h3 {
  margin: var(--space-5) 0 var(--space-3);
  font-size: 1.2rem;
}

.legal-section p,
.support-section p,
.legal-section li,
.support-section li {
  color: var(--text-secondary);
}

.legal-section p,
.support-section p {
  margin-bottom: var(--space-3);
}

.legal-section ul,
.support-section ul {
  margin: var(--space-3) 0;
  padding-left: 22px;
}

.legal-section li,
.support-section li {
  margin-bottom: var(--space-2);
}

.legal-section a,
.support-section a {
  color: var(--info);
}

.legal-section a:hover,
.support-section a:hover,
.legal-section a:focus-visible,
.support-section a:focus-visible {
  color: #9cdfff;
  outline: none;
}

.faq-item,
.troubleshooting-item {
  margin-bottom: var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 227, 232, 0.14);
  background: rgba(20, 20, 23, 0.85);
  padding: 18px;
}

.faq-item:last-child,
.troubleshooting-item:last-child {
  margin-bottom: 0;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.contact-method {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 227, 232, 0.16);
  background: rgba(20, 20, 23, 0.85);
  padding: 24px;
  text-align: center;
}

.contact-method .btn {
  margin-top: var(--space-3);
}

.contact-method a.btn,
.contact-method a.btn:visited,
.contact-method a.btn:hover,
.contact-method a.btn:focus-visible {
  color: #000;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.in-app-browser .header {
  position: absolute;
}

.standalone-mode .header {
  padding-top: env(safe-area-inset-top);
}

:focus-visible {
  outline: 2px solid var(--premium-1);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

  .hero-title,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .spotlight-panel {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .spotlight-badge {
    align-items: flex-start;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links {
    gap: var(--space-2);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 62px;
  }

  .container {
    padding: 0 14px;
  }

  .nav-container {
    min-height: var(--nav-height);
  }

  .nav-logo img.logo-image {
    width: 30px;
    height: 30px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 44px);
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    margin-left: auto;
    margin-right: auto;
    max-width: 340px;
  }

  .features,
  .premium-spotlight,
  .download,
  .page-content {
    padding-bottom: var(--space-7);
  }

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

  .download-buttons {
    flex-direction: column;
  }

  .footer {
    padding-top: var(--space-6);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-bottom {
    margin-top: var(--space-5);
  }

  .legal-section,
  .support-section {
    margin-bottom: var(--space-4);
  }

  .legal-section p,
  .support-section p,
  .legal-section li,
  .support-section li {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .spotlight-panel,
  .download-panel {
    border-radius: var(--radius-md);
  }

  .download-links {
    gap: var(--space-3);
  }

  .download-btn img {
    height: 54px;
  }

  .download-btn img[alt*='Google Play'] {
    height: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
  }

  .phone-carousel-track {
    transition: none !important;
    transform: translateX(0) !important;
  }
}
