@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy: #0B1D3A;
  --navy-light: #132B52;
  --navy-mid: #1A3666;
  --slate: #8B99AE;
  --ivory: #F7F5F0;
  --ivory-warm: #EDE9E0;
  --amber: #D4943A;
  --amber-light: #E8B86D;
  --amber-glow: rgba(212, 148, 58, 0.12);
  --white: #FFFFFF;
  --text-primary: #0B1D3A;
  --text-secondary: #5A6878;
  --text-on-dark: #E8E4DC;
  --border: rgba(11, 29, 58, 0.08);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: var(--ivory);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 148, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.hero-inner {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 148, 58, 0.12);
  border: 1px solid rgba(212, 148, 58, 0.25);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-light);
  letter-spacing: 0.03em;
  margin-bottom: 36px;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--slate);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 40px 24px;
}

.stats-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 0 16px;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.4;
}

/* ===== PROBLEM SECTION ===== */
.problem {
  padding: 100px 24px;
  background: var(--ivory);
}

.problem-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.problem h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 48px;
  max-width: 700px;
  letter-spacing: -0.02em;
}

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

.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(11, 29, 58, 0.06);
}

.pain-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: var(--amber-glow);
}

.pain-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== SOLUTION SECTION ===== */
.solution {
  padding: 100px 24px;
  background: var(--white);
}

.solution-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.solution h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 650px;
  letter-spacing: -0.02em;
}

.solution-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 56px;
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 36px 28px;
  background: var(--ivory);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(11, 29, 58, 0.06);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== VISION SECTION ===== */
.vision {
  padding: 100px 24px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 148, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.vision-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.vision h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.vision p {
  font-size: 1.1rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

.vision-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.vision-column h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(232, 184, 109, 0.3);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.6;
}

.feature-list.coming-soon li {
  color: rgba(232, 184, 109, 0.7);
}

.roadmap {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 0.88rem;
  color: var(--text-on-dark);
  position: relative;
}

.roadmap-item::after {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(212, 148, 58, 0.3);
}

.roadmap-item:last-child::after { display: none; }

.roadmap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.roadmap-item.future .roadmap-dot {
  background: transparent;
  border: 1.5px solid var(--amber);
}

/* ===== WAITLIST V2 FORM ===== */
.waitlist-v2-form {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(232, 184, 109, 0.2);
}

.waitlist-v2-description {
  font-size: 0.9rem;
  color: var(--slate);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-input-group {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(232, 184, 109, 0.25);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.waitlist-input::placeholder {
  color: rgba(232, 184, 109, 0.5);
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255,255,255,0.08);
}

.waitlist-btn {
  padding: 12px 28px;
  background: var(--amber);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.waitlist-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.waitlist-btn:active {
  transform: translateY(0);
}

.waitlist-subtext {
  font-size: 0.8rem;
  color: rgba(232, 184, 109, 0.6);
  margin-top: 12px;
  text-align: center;
}

.waitlist-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  text-align: center;
}

.waitlist-message.success {
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #2ecc71;
}

.waitlist-message.error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 24px;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.footer-text {
  font-size: 0.82rem;
  color: var(--slate);
}

.footer-text a {
  color: var(--amber-light);
  text-decoration: none;
}

.footer-links {
  margin-top: 10px;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--slate);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--amber-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 80px 20px 60px; min-height: auto; }
  .hero-cta-btn { width: 100%; }
  .pain-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.04); padding-bottom: 20px; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .roadmap { flex-direction: column; align-items: center; }
  .roadmap-item::after { display: none; }
  .vision-split { grid-template-columns: 1fr; gap: 32px; }
  .problem, .solution, .vision { padding: 72px 20px; }
  .why-reglia { padding: 72px 20px; }
  .waitlist-input-group { flex-direction: column; }
  .waitlist-input { width: 100%; }
  .waitlist-btn { width: 100%; }
}