:root {
  --bg: #FBF7EE;
  --surface: #FFFFFF;
  --primary-text: #7C6100;
  --cta-yellow: #F5C842;
  --card-border: #E6E2D6;
  --body-dark: #393832;
  --body-secondary: #4A453E;
  --radius: 16px;
  --radius-lg: 32px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--body-dark);
  font-family: 'Be Vietnam Pro', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Decorative blobs — match app's organic background shapes */
.blob {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  filter: blur(70px);
}
.blob-1 {
  width: 420px;
  height: 420px;
  background: #F7CA43;
  top: -160px;
  right: -120px;
}
.blob-2 {
  width: 360px;
  height: 360px;
  background: #FFC5AF;
  bottom: 60px;
  left: -130px;
}
.blob-3 {
  width: 260px;
  height: 260px;
  background: #FD90A3;
  top: 45%;
  right: -90px;
}

/* Language toggle — fixed top-right pill */
.lang-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  background: var(--surface);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--card-border);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lang-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--body-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.lang-btn.active {
  background: var(--cta-yellow);
  color: var(--body-dark);
}

/* Main content area */
main {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 80px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

/* Logo */
.logo-block {
  margin-bottom: 4px;
}

.logo-svg {
  height: 52px;
  width: auto;
}

/* Headline */
.headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 800;
  color: var(--primary-text);
  line-height: 1.2;
}

/* Sub-headline */
.subheadline {
  font-size: 16px;
  font-weight: 400;
  color: var(--body-secondary);
  line-height: 1.7;
  max-width: 380px;
}

/* App store buttons */
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 14px 28px;
  background: var(--body-dark);
  color: #fff;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: 'Be Vietnam Pro', sans-serif;
  min-width: 144px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.store-btn:active {
  transform: scale(0.96);
}

.store-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
}

.store-label {
  font-size: 14px;
  font-weight: 600;
}

.store-coming {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
}

/* Waitlist card */
.waitlist-card {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 16px;
  text-align: left;
  margin-top: 8px;
}

.waitlist-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-text);
  line-height: 1.25;
  margin-bottom: 6px;
}

.waitlist-sub {
  font-size: 14px;
  color: var(--body-secondary);
  margin-bottom: 12px;
}

/* Waitlist form */
.form-row {
  display: flex;
  gap: 8px;
}

.email-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-pill);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  color: var(--body-dark);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.email-input::placeholder {
  color: #B0AA9E;
}

.email-input:focus {
  border-color: var(--primary-text);
}

.submit-btn {
  padding: 12px 20px;
  background: var(--cta-yellow);
  color: var(--body-dark);
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(245, 200, 66, 0.45);
}

.submit-btn:active {
  transform: scale(0.96);
}

.form-success {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-text);
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px 24px 48px;
}

.footer-copy {
  font-size: 13px;
  color: var(--body-secondary);
  opacity: 0.65;
}

/* Desktop */
@media (min-width: 640px) {
  main {
    padding-top: 110px;
  }

  .logo-svg {
    height: 68px;
  }

  .blob-1 { width: 600px; height: 600px; }
  .blob-2 { width: 500px; height: 500px; }
  .blob-3 { width: 360px; height: 360px; }
}
