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

/* CSS Variables */
:root {
  /* Primary */
  --coral: #E8657A;
  --soft-rose: #FFB3C6;
  --blush: #F4D5DC;
  --shadow: #2A2035;

  /* Accent */
  --hot-pink: #FF6B8A;
  --mint: #4ECBA0;

  /* Neutrals */
  --bg: #FAF5F7;
  --white: #FFFFFF;
  --border: #F0E4E8;
  --disabled: #C8BFC3;
  --text-primary: #1A1121;
  --text-secondary: #7A6E80;

  /* Gradients */
  --cta-gradient: linear-gradient(135deg, #E8657A, #FF85A1);
  --pink-glow: linear-gradient(135deg, #FF85A1, #FFB3C6);
}

/* Base Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  padding: 20px 24px;
  text-align: center;
}

header a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.4rem;
}

header a:hover {
  color: var(--coral);
}

/* Main Content */
main {
  flex: 1;
  padding: 60px 24px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

p {
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

ul {
  margin-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

li {
  margin-bottom: 8px;
}

strong {
  color: var(--text-primary);
}

/* Footer */
footer {
  margin-top: auto;
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
  font-size: 0.82rem;
  color: var(--disabled);
}

footer p {
  font-size: 0.82rem;
  color: var(--disabled);
}

footer a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 500;
  margin: 0 12px;
}

footer a:hover {
  text-decoration: underline;
}

footer .links {
  margin-top: 8px;
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 0.82rem;
}

/* Homepage - Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(232, 101, 122, 0.25);
  margin-bottom: 32px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 48px;
}

/* Homepage - Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 480px;
  margin-bottom: 56px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(232, 101, 122, 0.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.feature-icon.pink { background: var(--blush); }
.feature-icon.mint { background: #D6F5EA; }
.feature-icon.rose { background: #FFE0E8; }
.feature-icon.lavender { background: #EDE4F5; }

.feature-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Homepage - Store Buttons */
.store-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
  padding: 20px 0;
}

.store-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 36px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
  border: none;
  font-family: inherit;
  min-width: 240px;
}

.store-btn.apple {
  background: var(--shadow);
  color: var(--white);
}

.store-btn.google {
  background: var(--white);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(42, 32, 53, 0.15);
}

.store-btn svg {
  width: 22px;
  height: 22px;
}

.store-btn .btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-btn .btn-text .label {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.store-btn .btn-text .store-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.coming-soon {
  display: inline-block;
  background: var(--pink-glow);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 32px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Homepage - Divider */
.divider {
  width: 100%;
  max-width: 480px;
  height: 1px;
  background: var(--border);
  margin: 40px auto;
}

/* Homepage - How It Works */
.how-it-works {
  text-align: center;
  padding: 0 24px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.how-it-works h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.steps {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 180px;
  max-width: 200px;
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cta-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

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

/* Contact Page */
.subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

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

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(232, 101, 122, 0.1);
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--coral);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-card a:hover {
  color: var(--hot-pink);
  text-decoration: underline;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232, 101, 122, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background: var(--cta-gradient);
  color: var(--white);
  padding: 14px 36px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
  width: 100%;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 101, 122, 0.3);
}

/* Legal Pages */
.last-updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 56px 20px 40px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  .logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .store-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
    min-width: unset;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step {
    max-width: 280px;
  }

  main {
    padding: 40px 20px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .contact-card {
    padding: 20px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero > * {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero > *:nth-child(1) { animation-delay: 0.1s; }
.hero > *:nth-child(2) { animation-delay: 0.2s; }
.hero > *:nth-child(3) { animation-delay: 0.3s; }
.hero > *:nth-child(4) { animation-delay: 0.4s; }
.hero > *:nth-child(5) { animation-delay: 0.5s; }
.hero > *:nth-child(6) { animation-delay: 0.6s; }
