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

:root {
  --primary: #2D4A5E;
  --primary-light: #4A6572;
  --primary-dark: #1B3340;
  --accent: #D4A853;
  --accent-light: #E8C87A;
  --paper: #FDFBF7;
  --surface: #F8F6F2;
  --text: #1B3340;
  --text-light: #4A6572;
  --white: #FFFFFF;
  --radius: 12px;
  --max-width: 960px;
}

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

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

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

a:hover {
  text-decoration: underline;
}

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

/* ===== Layout ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Nav ===== */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
  max-width: 800px;
  margin: 0 auto 16px;
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-badge {
  transition: opacity 0.2s;
}

.cta-badge:hover {
  opacity: 0.85;
}

.cta-badge img {
  height: 80px;
  width: auto;
}

.cta-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
}

.cta-free {
  color: var(--accent);
}

.step-screenshot {
  max-height: 360px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin: 16px auto 0;
}

/* ===== Steps (How It Works) ===== */
.steps {
  padding: 64px 0;
}

.steps h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 48px;
}

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

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

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

/* ===== Benefits ===== */
.benefits {
  padding: 64px 0;
  background: var(--surface);
}

.benefits h2 {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 48px;
}

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

.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.benefit p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Languages ===== */
.languages {
  padding: 48px 0;
  text-align: center;
}

.languages h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

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

.languages strong {
  color: var(--primary);
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 64px 0 80px;
  text-align: center;
}

.final-cta h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.final-cta p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

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

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

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

.footer-social {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-social a {
  color: var(--text-light);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

/* ===== Legal Pages ===== */
.legal {
  padding: 48px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

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

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p {
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.7;
}

.legal ul, .legal ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

.legal li {
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.7;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.legal th, .legal td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
}

.legal th {
  font-weight: 600;
  color: var(--primary);
}

.legal a {
  color: var(--accent);
  font-weight: 500;
}

.legal a:hover {
  color: var(--primary);
}

.legal hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 32px 0;
}

.legal em {
  color: var(--text-light);
}

/* ===== Delete Account Page ===== */
.delete-account-content {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 24px;
}

.delete-account-content p {
  margin-bottom: 16px;
}

.delete-account-content p:last-child {
  margin-bottom: 0;
}

.email-link {
  font-weight: 600;
  color: var(--accent);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    padding: 48px 0 40px;
  }

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

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

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .step-screenshot {
    max-height: 280px;
  }
}

@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .cta-badge img {
    height: 48px;
  }

  .nav-links {
    gap: 16px;
  }
}
