/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #FF385C;
  --dark: #0A0A0A;
  --light: #FAFAFA;
  --gray: #888;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--light);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Floating Buttons ── */
.floating-left {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.floating-right-group {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  gap: 8px;
  align-items: center;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover, .lang-toggle:hover {
  background: rgba(255,255,255,.15);
  transform: scale(1.05);
}

.lang-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}

.floating-cta {
  padding: 10px 24px;
  background: rgba(255,56,92,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: opacity 0.2s, transform 0.2s;
}

.floating-cta:hover {
  background: rgba(255,56,92,.7);
  transform: scale(1.05);
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-logo-img {
  height: 80px;
  width: 80px;
  border-radius: 18px;
}

.nav-cta {
  font-size: 0.875rem;
  color: var(--gray);
  text-decoration: none;
  transition: color .2s;
}
.nav-cta:hover { color: var(--light); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(255,56,92,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  position: relative;
}

.hero-title em {
  font-style: italic;
  color: var(--primary);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* ── Waitlist Form ── */
.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.waitlist-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}
.waitlist-form input::placeholder { color: #555; }
.waitlist-form input:focus { border-color: var(--primary); }

.waitlist-form button {
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, opacity .2s;
}
.waitlist-form button:hover { opacity: .9; transform: translateY(-1px); }
.waitlist-form button:active { transform: translateY(0); }
.waitlist-form button:disabled { opacity: .5; cursor: not-allowed; }

.form-msg {
  text-align: center;
  margin-top: 12px;
  font-size: 0.875rem;
  min-height: 1.2em;
}
.form-msg.success { color: #34d399; }
.form-msg.error { color: var(--primary); }

/* ── Section shared ── */
.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--primary);
}

/* ── Features ── */
.features {
  padding: 120px 0;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.feature-card {
  padding: 24px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  transition: border-color .3s, transform .3s;
}
.feature-card:hover {
  border-color: rgba(255,56,92,.3);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ── How it works ── */
.how-it-works {
  padding: 120px 0;
  background: #111;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.step { text-align: center; }

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: rgba(255,56,92,.25);
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 10px;
}

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

/* ── Bottom Waitlist ── */
.waitlist-bottom {
  padding: 120px 0;
  text-align: center;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
}

.waitlist-sub {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.waitlist-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #555;
}

/* ── Footer ── */
.footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

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

.footer-logo-img {
  height: 28px;
  width: auto;
}

.footer-text {
  font-size: 0.8rem;
  color: #444;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.4s cubic-bezier(.22,1,.36,1), transform 1.4s cubic-bezier(.22,1,.36,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.feature-card.fade-in:nth-child(1) { transition-delay: 0s; }
.feature-card.fade-in:nth-child(2) { transition-delay: .12s; }
.feature-card.fade-in:nth-child(3) { transition-delay: .24s; }
.feature-card.fade-in:nth-child(4) { transition-delay: .36s; }

.step.fade-in:nth-child(1) { transition-delay: 0s; }
.step.fade-in:nth-child(2) { transition-delay: .15s; }
.step.fade-in:nth-child(3) { transition-delay: .3s; }
.step.fade-in:nth-child(4) { transition-delay: .45s; }

/* Scale-up variant for logo & icons */
.fade-in-scale {
  opacity: 0;
  transform: scale(.85);
  transition: opacity 1.4s cubic-bezier(.22,1,.36,1), transform 1.4s cubic-bezier(.22,1,.36,1);
}
.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide from left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.4s cubic-bezier(.22,1,.36,1), transform 1.4s cubic-bezier(.22,1,.36,1);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.4s cubic-bezier(.22,1,.36,1), transform 1.4s cubic-bezier(.22,1,.36,1);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; }
  .hero { padding: 100px 24px 60px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .feature-card { padding: 28px 20px; }
}

/* ── Light Mode ── */
body.light {
  color: #1a1a1a;
  background: #FFFFFF;
}

body.light .theme-toggle, body.light .lang-toggle {
  border-color: rgba(0,0,0,.15);
  background: rgba(0,0,0,.06);
  color: #1a1a1a;
}
body.light .theme-toggle:hover, body.light .lang-toggle:hover {
  background: rgba(0,0,0,.1);
}

body.light .hero {
  background: #FFFFFF;
}

body.light .hero::before {
  background: radial-gradient(ellipse, rgba(255,56,92,.1) 0%, transparent 70%);
}

body.light .hero-title {
  color: #1a1a1a;
}

body.light .hero-sub {
  color: #666;
}

/* Logo stays white on light bg — add dark pill behind it */
body.light .hero-logo-img {
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

body.light .waitlist-form input {
  border-color: rgba(0,0,0,.15);
  background: rgba(0,0,0,.04);
  color: #1a1a1a;
}
body.light .waitlist-form input::placeholder { color: #999; }
body.light .waitlist-form input:focus { border-color: var(--primary); }

body.light .features {
  background: #F7F7F7;
  border-top-color: rgba(0,0,0,.06);
}

body.light .feature-card {
  border-color: rgba(0,0,0,.08);
  background: #FFFFFF;
}
body.light .feature-card:hover {
  border-color: rgba(255,56,92,.3);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

body.light .feature-card h3 {
  color: #1a1a1a;
}

body.light .feature-card p {
  color: #666;
}

body.light .how-it-works {
  background: #FFFFFF;
}

body.light .step h3 {
  color: #1a1a1a;
}

body.light .step p {
  color: #666;
}

body.light .step-num {
  color: rgba(255,56,92,.2);
}

body.light .section-title {
  color: #1a1a1a;
}

body.light .waitlist-bottom {
  background: #F7F7F7;
  border-top-color: rgba(0,0,0,.06);
}

body.light .waitlist-sub {
  color: #666;
}

body.light .waitlist-note {
  color: #999;
}

body.light .footer {
  border-top-color: rgba(0,0,0,.06);
}

body.light .footer-text {
  color: #999;
}

/* Footer logo: keep original colors, add subtle bg like hero */
body.light .footer-logo-img {
  background: rgba(255,56,92,.08);
  border-radius: 10px;
  padding: 4px;
}

body.light .floating-cta {
  box-shadow: 0 2px 12px rgba(255,56,92,.3);
}
