/* Shared styles for earnyourears.app pages (moved out of index.html 2026-11-04). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0D0C1E;
  --purple:  #4535B8;
  --violet:  #6C5CE7;
  --gold:    #C9A227;
  --gold-lt: #FFD166;
  --white:   #FFFFFF;
  --muted:   rgba(255,255,255,0.65);
  --surface: rgba(255,255,255,0.06);
  --border:  rgba(255,255,255,0.12);
  --danger:  #E53E3E;
  --radius:  14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: rgba(13,12,30,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.3px;
  background: linear-gradient(135deg, var(--violet), var(--gold-lt));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-cta {
  background: var(--violet); color: var(--white);
  padding: 9px 20px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #7c6ef0; }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108,92,231,0.25) 0%, transparent 70%);
}
.badge .badge-device { text-transform: none; }
.badge {
  display: inline-block;
  background: rgba(124,252,0,0.12);
  border: 1px solid rgba(124,252,0,0.4);
  color: #7CFC00;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--violet) 0%, var(--gold-lt) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted); max-width: 600px; margin: 0 auto 36px;
}

/* ── APP STORE BUTTON ── */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #6C5CE7, #8B7CF6);
  color: #ffffff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 24px rgba(108,92,231,0.35);
}
.app-store-btn:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}
.app-store-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.app-store-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}

/* ── SCREENSHOTS ── */
.screenshots {
  display: flex; justify-content: center; gap: 24px;
  padding: 20px 24px 60px;
  flex-wrap: wrap;
}
.phone-frame {
  width: 200px;
  background: #1a1a2e;
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  transform: translateY(0);
  transition: transform 0.3s;
}
.phone-frame:hover { transform: translateY(-6px); }
.phone-frame img { width: 100%; display: block; }
.phone-label {
  text-align: center; margin-top: 12px;
  font-size: 0.78rem; color: var(--muted); font-weight: 600;
}

/* ── SECTIONS ── */
section { padding: 72px 24px; }
.section-inner { max-width: 1040px; margin: 0 auto; }

.section-tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-lt);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted); font-size: 1.05rem;
  max-width: 580px; margin-bottom: 52px;
}

/* ── SOCIAL PROOF ── */
.social-proof {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.social-proof p {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── PROBLEM ── */
.problem-section {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.problem-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.problem-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.problem-text p:last-child {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0;
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(108,92,231,0.5); transform: translateY(-3px); }
.feature-icon {
  font-size: 2rem; margin-bottom: 16px; display: block;
}
.feature-title {
  font-size: 1rem; font-weight: 700; margin-bottom: 8px;
}
.feature-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── FOUNDER ── */
.founder-section {
  background: rgba(108,92,231,0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.founder-inner {
  max-width: 680px;
  margin: 0 auto;
}
.founder-inner h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.founder-inner p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.founder-sig {
  color: var(--white);
  font-weight: 700;
  font-style: italic;
  font-size: 0.95rem;
}

/* ── FINAL CTA ── */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(108,92,231,0.2) 0%, transparent 70%);
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 16px; }
.cta-section p { color: var(--muted); margin-bottom: 36px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}
.footer-inner { max-width: 720px; margin: 0 auto; }
.footer-logo { font-size: 1rem; font-weight: 800; color: var(--muted); margin-bottom: 12px; }
.disclaimer {
  font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.7;
}
.footer-links {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-links a {
  color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.78rem; font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--muted); }

/* ── LIGHTBOX ── */
.phone-frame img {
  cursor: pointer;
}
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  padding: 40px;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-height: 90vh;
  max-width: 90vw;
  width: auto;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
  display: none;
}
.lightbox-close.active {
  display: block;
}
.lightbox-close:hover {
  color: #ffffff;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav { padding: 14px 16px; }
  .hero { padding: 28px 20px 28px; }
  .hero .badge { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 14px; }
  .hero p { margin-bottom: 22px; }
  .phone-frame { width: 150px; border-radius: 24px; }
  section { padding: 52px 20px; }
  .app-store-btn { padding: 14px 28px; font-size: 0.98rem; }
}
