/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #f8c8dc;
  --mint: #c8f0e8;
  --lavender: #e8d8f8;
  --peach: #fde8d0;
  --white: #fdfcff;
  --text: #4a4458;
  --text-light: #7a7488;
  --accent: #b48acb;
  --accent-hover: #9a6eb5;
  --gradient-bg: linear-gradient(135deg, #fdf2f8 0%, #f0fdf4 50%, #f5f3ff 100%);
  --card-shadow: 0 8px 32px rgba(180, 138, 203, 0.12);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--gradient-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(253, 252, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(180, 138, 203, 0.1);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--accent);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-left {
  flex: 1;
  max-width: 630px;
  text-align: left;
}

.hero-right {
  flex: 0 0 400px;
}

.hero-phones {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hero-phone-wrapper {
  text-align: center;
}

.hero-phone-wrapper:last-child {
  margin-top: 2rem;
}

.phone-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-phone {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(180, 138, 203, 0.2));
}

.hero-phone-wrapper:first-child .hero-phone {
  animation: float 3s ease-in-out infinite;
}

.hero-phone-wrapper:last-child .hero-phone {
  animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), #e88fc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

/* ===== WAITLIST FORM ===== */
.waitlist-form {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.waitlist-form input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border: 2px solid rgba(180, 138, 203, 0.2);
  border-radius: 50px;
  font-size: 1rem;
  font-family: var(--font);
  background: white;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.waitlist-form input:focus {
  border-color: var(--accent);
}

.waitlist-form input::placeholder {
  color: #b8b0c4;
}

.waitlist-form button {
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
}

.waitlist-form button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.waitlist-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.4rem;
}

.form-message.success {
  color: #5bba6f;
}

.form-message.error {
  color: #e06c75;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 6rem 2rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card .step-mascot {
  width: 180px;
  height: auto;
  border-radius: 16px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== WHY MOCHI ===== */
.why-mochi {
  padding: 6rem 2rem;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature {
  background: white;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: var(--card-shadow);
  text-align: left;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.feature p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* ===== TESTIMONIAL ===== */
.testimonial-section {
  padding: 4rem 2rem 6rem;
  text-align: center;
}

.testimonial {
  max-width: 560px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  font-weight: 800;
  color: var(--pink);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ===== CTA BOTTOM ===== */
.cta-bottom {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(180, 138, 203, 0.06));
}

.cta-bottom h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-bottom p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-bottom .waitlist-form {
  max-width: 480px;
  margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(180, 138, 203, 0.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-light);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .nav {
    padding: 0.75rem 1.2rem;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-right {
    flex: 0 0 auto;
    width: 280px;
    order: -1;
  }

  .hero-phones {
    gap: 0.5rem;
  }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form button {
    width: 100%;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .features {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ===== LEGAL PAGES ===== */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.legal .last-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p, .legal li {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
