/* Atlas Academy marketing site — static files for Hostinger public_html */

:root {
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --teal: #0d9488;
  --stone-50: #fafaf9;
  --stone-600: #57534e;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --radius: 1rem;
  --shadow: 0 20px 50px -20px rgba(79, 70, 229, 0.25);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Nunito', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--stone-800);
  background: var(--stone-50);
  line-height: 1.6;
}
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  color: var(--stone-900); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 2.5rem; height: 2.5rem; border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  display: grid; place-items: center; color: white; font-size: 1.25rem; box-shadow: var(--shadow);
}
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  color: white; box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.6);
}
.btn-secondary { background: white; color: var(--indigo); border: 2px solid rgba(79, 70, 229, 0.15); }
.btn-ghost { background: transparent; color: var(--stone-600); border: 1px solid rgba(0, 0, 0, 0.08); }
.btn.disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.hero { padding: 4rem 0 3rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  background: #fff7ed; color: #9a3412; font-size: 0.85rem; font-weight: 600;
  border: 1px solid #fed7aa; margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1; color: var(--stone-900); margin: 0 0 1rem;
}
.hero .lead { font-size: 1.15rem; color: var(--stone-600); max-width: 36rem; margin: 0 0 1.75rem; }

.hero-card {
  background: white; border-radius: 1.5rem; padding: 1.75rem;
  box-shadow: var(--shadow); border: 1px solid rgba(79, 70, 229, 0.08);
}
.hero-card h2 { font-family: var(--font-display); margin: 0 0 0.35rem; font-size: 1.35rem; }
.hero-card p { margin: 0 0 1.25rem; color: var(--stone-600); font-size: 0.95rem; }

.waitlist-form { display: grid; gap: 0.75rem; }
.waitlist-form label { font-size: 0.85rem; font-weight: 600; color: var(--stone-800); }
.waitlist-form input {
  width: 100%; padding: 0.85rem 1rem; border-radius: 0.75rem;
  border: 1px solid #d6d3d1; font: inherit; background: var(--stone-50);
}
.waitlist-form input:focus { outline: 2px solid rgba(79, 70, 229, 0.35); border-color: var(--indigo); }
.form-hint { font-size: 0.8rem; color: var(--stone-600); margin: 0; }
.form-success, .form-error {
  padding: 0.85rem 1rem; border-radius: 0.75rem; font-size: 0.9rem; display: none;
}
.form-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-success.visible, .form-error.visible { display: block; }

.features { padding: 3rem 0 4rem; }
.section-title {
  font-family: var(--font-display); font-size: 1.75rem; text-align: center;
  margin: 0 0 0.5rem; color: var(--stone-900);
}
.section-sub { text-align: center; color: var(--stone-600); max-width: 36rem; margin: 0 auto 2.5rem; }
.feature-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: white; border-radius: var(--radius); padding: 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.feature-card .emoji { font-size: 1.75rem; margin-bottom: 0.5rem; }
.feature-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.feature-card p { margin: 0; font-size: 0.92rem; color: var(--stone-600); }

.cta-band {
  background: linear-gradient(135deg, var(--indigo), var(--teal));
  color: white; padding: 3rem 0; text-align: center;
}
.cta-band h2 { font-family: var(--font-display); margin: 0 0 0.75rem; font-size: 1.75rem; }
.cta-band p { margin: 0 auto 1.5rem; max-width: 32rem; opacity: 0.95; }

.site-footer { padding: 2.5rem 0; background: var(--stone-900); color: #d6d3d1; font-size: 0.9rem; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer a { color: #e7e5e4; }
.site-footer strong { color: white; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }

.legal-page { padding: 2.5rem 0 4rem; }
.legal-page h1 { font-family: var(--font-display); font-size: 2rem; margin: 0 0 0.25rem; }
.legal-page .meta { color: var(--stone-600); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.15rem; margin-top: 1.75rem; color: var(--stone-900); }
.legal-page p { margin: 0.75rem 0; }
.hidden { display: none !important; }
