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

:root {
  --bg: #f0f7fa;
  --bg-hero: linear-gradient(160deg, #e8f4f8 0%, #fdf0ee 100%);
  --bg-card: #ffffff;
  --bg-features: #ffffff;
  --text: #2d3748;
  --text-muted: #64748b;
  --heading: linear-gradient(135deg, #2a9d8f 0%, #e07a5f 100%);
  --accent: #38b2ac;
  --accent-hover: #2c9e98;
  --coral: #f06868;
  --coral-light: #fff1f0;
  --teal-light: #e6fffa;
  --border: #e2e8f0;
  --input-bg: #f0f7fa;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1720;
    --bg-hero: linear-gradient(160deg, #121e2b 0%, #1a1520 100%);
    --bg-card: #182230;
    --bg-features: #141d28;
    --text: #e2e8f0;
    --text-muted: #8b9bb4;
    --heading: linear-gradient(135deg, #45d4c8 0%, #f08a6e 100%);
    --coral: #f08a6e;
    --coral-light: rgba(240, 138, 110, 0.12);
    --teal-light: rgba(69, 212, 200, 0.12);
    --border: #243040;
    --input-bg: #0f1720;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Language picker */
.lang-picker {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
}

.lang-picker select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 28px 6px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2364748b'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.2s;
}

.lang-picker select:hover {
  border-color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 80px 24px 64px;
  background: var(--bg-hero);
}

.hero-logo {
  margin-bottom: 24px;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(56, 178, 172, 0.15), 0 4px 16px rgba(240, 104, 104, 0.1);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #45c7c0 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(56, 178, 172, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  box-shadow: 0 6px 20px rgba(56, 178, 172, 0.4);
}

/* Sections */
section {
  padding: 80px 24px;
}

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
  font-weight: 700;
  background: var(--heading);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Why cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

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

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Features */
.features {
  background: var(--bg-features);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

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

.feature-icon.teal {
  background: var(--teal-light);
}

.feature-icon.coral {
  background: var(--coral-light);
}

.feature strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

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

/* Steps */
.steps {
  list-style: none;
  max-width: 500px;
  margin: 0 auto;
}

.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #45c7c0 100%);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
}

.steps p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing */
.pricing {
  padding-bottom: 100px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 24px rgba(56, 178, 172, 0.08);
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--accent);
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-card ul {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.price-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-card li::before {
  content: "\2713\00a0";
  color: var(--accent);
  font-weight: 700;
}

/* Checkout form */
#checkout-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#checkout-form input[type="email"] {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#checkout-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 178, 172, 0.15);
}

#checkout-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.fine-print {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Footer */
footer {
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    padding: 48px 24px 40px;
  }

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

  .tagline {
    font-size: 1.1rem;
  }

  section {
    padding: 48px 24px;
  }

  .price {
    font-size: 2.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
