:root {
  --navy-deep: #001f50;
  --navy: #012051;
  --blue-mid: #012c86;
  --blue-bright: #013697;
  --sky: #5eb8ff;
  --sky-light: #a8d8ff;
  --white: #ffffff;
  --off-white: #f0f6ff;
  --text-muted: #b8d4f0;
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 20, 60, 0.45);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--sky-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Background atmosphere */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(94, 184, 255, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(1, 54, 151, 0.5), transparent),
    linear-gradient(180deg, var(--blue-bright) 0%, var(--blue-mid) 35%, var(--navy) 70%, var(--navy-deep) 100%);
}

.bg-waves {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath fill='%23001a42' d='M0 120 Q360 60 720 100 T1440 80 L1440 180 L0 180Z'/%3E%3Cpath fill='%23001230' d='M0 140 Q400 100 800 130 T1440 110 L1440 180 L0 180Z'/%3E%3C/svg%3E") bottom center / cover no-repeat;
  opacity: 0.9;
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(0, 31, 80, 0.75);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav a {
  color: var(--off-white);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--sky), #2d8fe8);
  color: var(--navy-deep) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero-banner {
  max-width: 640px;
  margin: 0 auto 2rem;
  filter: drop-shadow(var(--shadow));
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero h1 span {
  color: var(--sky);
}

.hero-slogan {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 600;
  color: var(--off-white);
  max-width: 32ch;
  margin: 0.5rem auto 0.85rem;
  line-height: 1.4;
}

.hero-slogan em {
  font-style: normal;
  color: var(--sky);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--white), var(--off-white));
  color: var(--navy);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--white);
  border: 1px solid var(--card-border);
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(94, 184, 255, 0.4);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Screenshots */
.screens-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.screen-item {
  text-align: center;
}

.screen-item h3 {
  margin-top: 1.25rem;
  font-size: 1.1rem;
}

.screen-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.phone-frame {
  background: #1a1a1e;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow), inset 0 0 0 2px #333;
  max-width: 280px;
  margin: 0 auto;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #f2f2f7;
  aspect-ratio: 9 / 19.5;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--blue-bright));
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(94, 184, 255, 0.2), rgba(1, 44, 134, 0.4));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid #444;
}

.app-store-badge:hover {
  text-decoration: none;
  background: #111;
}

.app-store-badge img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.app-store-badge strong {
  display: block;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--card-border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .brand-footer {
  height: 36px;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .screens-row {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .screens-row {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .screens-row .screen-item:not(:first-child) {
    display: none;
  }

  .screens-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 31, 80, 0.98);
    padding: 1rem;
    border-bottom: 1px solid var(--card-border);
  }

  .nav.open {
    display: flex;
  }

  .site-header .container {
    position: relative;
  }
}

.screens-dots {
  display: none;
}
