/* ---- RESET-ish ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #f9fafb;
  background: #050816;
  min-height: 100vh;
}

/* Shared background gradient */
.page-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, #6b21a8 0, transparent 55%),
    radial-gradient(circle at bottom right, #22c55e 0, transparent 55%),
    #020617;
  z-index: -2;
}

/* Slight overlay to soften */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), #020617);
  z-index: -1;
}

/* Containers */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

/* Cards */
.card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 24px;
  padding: 1.75rem 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.4)
  );
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, #22c55e, #16a34a);
  color: #020617;
  font-size: 18px;
}

.logo-text {
  font-size: 0.98rem;
}

/* Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Hero */
#hero {
  padding: 2.5rem 0 2rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.hero-text {
  flex: 1;
}

.tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a5b4fc;
  margin: 0 0 0.5rem;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

.subtitle {
  margin: 0 0 1.5rem;
  color: #cbd5f5;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.13s ease, box-shadow 0.13s ease,
    background 0.13s ease, border-color 0.13s ease, opacity 0.13s ease;
}

.btn-primary {
  background: linear-gradient(to right, #22c55e, #16a34a);
  color: #020617;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

.tiny-link {
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.tiny-link a {
  color: #9ca3af;
  text-decoration: underline;
}

/* Hero visual phone mockup */
.hero-visual {
  flex: 1;
  text-align: center;
}

.phone-frame {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 0.75rem;
  padding: 0.65rem;
  border-radius: 32px;
  background: radial-gradient(circle at top left, #1d4ed8, #0f172a);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

.phone-screen {
  border-radius: 26px;
  background: #020617;
  padding: 0.85rem 0.8rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.phone-status-bar {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
}

.phone-status-bar .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #4b5563;
}

.phone-content {
  text-align: left;
}

.phone-app-name {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3af;
  margin: 0 0 0.4rem;
}

.phone-heading {
  margin: 0 0 0.2rem;
  font-weight: 600;
}

.phone-subheading {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: #d1d5db;
}

.phone-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.phone-chip {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  text-align: center;
  color: #e5e7eb;
}

.chip-correct {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
}

.phone-footer {
  font-size: 0.78rem;
  color: #9ca3af;
}

.mockup-caption {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Features */
#features {
  padding: 1.5rem 0 2rem;
}

#features h2,
#how-it-works h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  margin: 0 0 1.5rem;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
}

.feature-icon {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.feature-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
  line-height: 1.5;
}

/* How it works */
#how-it-works {
  padding: 1.5rem 0 2.5rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.step h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
  line-height: 1.5;
}

/* CTA */
#cta {
  padding-bottom: 2.5rem;
}

.cta-card {
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.cta-card p {
  margin: 0 0 1rem;
  color: #e5e7eb;
}

.cta-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: rgba(15, 23, 42, 0.96);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9ca3af;
  gap: 0.75rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Privacy page */
.privacy-body {
  display: flex;
  min-height: 100vh;
}

.privacy-container {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.privacy-container h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.privacy-meta {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0;
}

.privacy-container h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.privacy-container p,
.privacy-container ul {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #e5e7eb;
}

.privacy-container a {
  color: #a5b4fc;
}

/* Responsive */
@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
  }

  .hero-text,
  .hero-visual {
    flex: 1;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
