:root {
  --bg-deep: #060e1e;
  --bg-dark: #0a1628;
  --bg-card: #111d35;
  --bg-card-hover: #162544;
  --primary: #5DADE2;
  --primary-light: #85c7ee;
  --coral: #FFB3BA;
  --purple: #BB8FCE;
  --teal-accent: #4dd8b0;
  --text: #e8edf5;
  --text-muted: #8899b3;
  --text-heading: #ffffff;
  --border: rgba(93, 173, 226, 0.15);
  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1080px;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  color: var(--text-heading);
  line-height: 1.25;
}

h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 20px;
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 14, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
  font-weight: 800;
  font-size: 22px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--bg-deep) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  gap: 4px;
  border-top: 1px solid var(--border);
}

.nav-mobile a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--text-heading);
}

.nav-mobile.open {
  display: flex;
}

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(165deg, #0d1f3c 0%, #0a1628 30%, #091322 60%, #0d1a2f 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 173, 226, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 143, 206, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-body {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-visual {
  flex-shrink: 0;
}

.phone-mockup {
  position: relative;
  width: 260px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  display: block;
  border-radius: 24px;
}

.hero .phone-mockup {
  animation: float 4s ease-in-out infinite;
}

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

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

/* Coming soon & early access */
.hero-coming-soon {
  font-size: 16px;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.early-access-form {
  margin-bottom: 32px;
  max-width: 480px;
}

.early-access-input-wrap {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s;
}

.early-access-input-wrap:focus-within {
  border-color: var(--primary);
}

.early-access-input {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  min-width: 0;
}

.early-access-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.early-access-btn {
  padding: 14px 24px;
  background: var(--primary);
  color: var(--bg-deep);
  border: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.early-access-btn:hover {
  background: var(--primary-light);
}

.early-access-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.early-access-msg {
  font-size: 14px;
  margin-top: 10px;
  font-weight: 600;
  min-height: 20px;
}

.early-access-msg.success {
  color: var(--teal-accent);
}

.early-access-msg.error {
  color: var(--coral);
}

.download .early-access-form {
  margin: 0 auto 0;
  max-width: 480px;
}

/* Trust chips */
.trust-chips {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(93, 173, 226, 0.06);
  border: 1px solid var(--border);
}

.chip svg {
  stroke: var(--primary);
  flex-shrink: 0;
}

/* About */
.about {
  padding: 100px 0;
  background: var(--bg-dark);
}

.about h2 {
  text-align: center;
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-content p:last-child {
  margin-bottom: 0;
  color: var(--primary-light);
  font-weight: 700;
  font-size: 18px;
}

/* Screenshots */
.screenshots {
  padding: 100px 0;
  background: var(--bg-dark);
}

.screenshots h2 {
  text-align: center;
  margin-bottom: 8px;
}

.screenshots-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
}

.screenshots-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.screenshot-item .phone-mockup {
  width: 220px;
  transition: transform 0.3s ease;
}

.screenshot-item:hover .phone-mockup {
  transform: translateY(-8px);
}

.screenshot-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--bg-deep);
}

.features h2 {
  text-align: center;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(93, 173, 226, 0.25);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(93, 173, 226, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  stroke: var(--primary);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(255, 179, 186, 0.1);
}
.feature-card:nth-child(2) .feature-icon svg {
  stroke: var(--coral);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(187, 143, 206, 0.1);
}
.feature-card:nth-child(3) .feature-icon svg {
  stroke: var(--purple);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(77, 216, 176, 0.1);
}
.feature-card:nth-child(4) .feature-icon svg {
  stroke: var(--teal-accent);
}

.feature-card:nth-child(5) .feature-icon {
  background: rgba(255, 179, 186, 0.1);
}
.feature-card:nth-child(5) .feature-icon svg {
  stroke: var(--coral);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* Download */
.download {
  padding: 100px 0;
  background: var(--bg-dark);
  text-align: center;
}

.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-mascot {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 24px rgba(93, 173, 226, 0.15));
}

.download p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 440px;
}

.download .hero-buttons {
  justify-content: center;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: var(--bg-deep);
  text-align: center;
}

.contact p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 24px;
}

.contact-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--primary-light);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.15s;
}

.contact-links a:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  padding: 28px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-body {
    margin-left: auto;
    margin-right: auto;
  }

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

  .trust-chips {
    justify-content: center;
  }

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

  .screenshots-row {
    gap: 24px;
  }

  .screenshot-item .phone-mockup {
    width: 180px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  background: var(--bg-dark);
  padding: 100px 0 60px;
}

.legal-page .container {
  max-width: 760px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 32px;
}

.legal-page h1 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--primary-light);
}

.legal-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.legal-summary h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-light);
}

.legal-summary ul {
  list-style: none;
  padding: 0;
}

.legal-summary li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}

.legal-summary li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-accent);
}
