:root {
  --teal-900: #0f766e;
  --teal-700: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;
  --amber-500: #f59e0b;
  --red-500: #ef4444;
  --radius: 16px;
  --shadow: 0 25px 50px -12px rgba(15, 118, 110, 0.15);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.2s;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-500);
  letter-spacing: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--slate-900);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--slate-700);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--teal-700);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
}

.btn-outline {
  background: #fff;
  color: var(--teal-900);
  border: 2px solid var(--teal-700);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(20, 184, 166, 0.18), transparent),
    linear-gradient(180deg, #fff 0%, var(--slate-50) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fef3c7;
  color: #92400e;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--amber-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate-700);
  margin: 0 0 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 14px;
  color: var(--slate-500);
}

.hero-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-200);
  overflow: hidden;
}

.hero-card-header {
  padding: 16px 20px;
  background: var(--slate-900);
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-dots {
  display: flex;
  gap: 6px;
}

.hero-card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hero-card-dots span:first-child { background: #ef4444; }
.hero-card-dots span:nth-child(2) { background: #f59e0b; }
.hero-card-dots span:nth-child(3) { background: #22c55e; }

.ai-answer {
  padding: 24px;
}

.ai-answer-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  font-weight: 700;
  margin-bottom: 12px;
}

.ai-answer blockquote {
  margin: 0 0 16px;
  padding: 16px;
  background: var(--slate-50);
  border-left: 4px solid var(--teal-500);
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  color: var(--slate-900);
  line-height: 1.6;
}

.ai-answer cite {
  display: block;
  font-size: 13px;
  color: var(--teal-700);
  font-style: normal;
  font-weight: 600;
}

.ai-answer cite a {
  color: inherit;
  text-decoration: none;
}

.ai-answer cite a:hover {
  text-decoration: underline;
}

/* Stats */
.stats {
  padding: 48px 0;
  background: var(--slate-900);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal-500);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.stats-source {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.stats-source a {
  color: rgba(255, 255, 255, 0.5);
}

/* Sections */
section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-700);
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  line-height: 1.2;
}

.section-lead {
  font-size: 18px;
  color: var(--slate-500);
  max-width: 640px;
  margin: 0 0 48px;
  line-height: 1.65;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.problem-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal-500);
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.problem-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--slate-900);
}

.problem-card p {
  margin: 0;
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.6;
}

.compare {
  background: #fff;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.compare-col {
  border-radius: var(--radius);
  padding: 32px;
}

.compare-old {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}

.compare-new {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(20, 184, 166, 0.12));
  border: 2px solid var(--teal-500);
}

.compare-col h3 {
  margin: 0 0 20px;
  font-size: 20px;
}

.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-col li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.compare-col li:last-child {
  border-bottom: none;
}

.compare-old li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red-500);
  font-weight: 700;
}

.compare-new li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-700);
  font-weight: 700;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rule-item {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 20px;
}

.rule-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.rule-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--slate-900);
}

.rule-item p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-500);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step {
  text-align: center;
}

.step h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--slate-900);
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.5;
}

.pricing {
  background: linear-gradient(180deg, var(--slate-50) 0%, #fff 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--teal-500);
  box-shadow: var(--shadow);
  transform: scale(1.03);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--slate-900);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--slate-500);
}

.price-articles {
  font-size: 15px;
  color: var(--teal-700);
  font-weight: 600;
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  flex: 1;
}

.price-features li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: var(--slate-700);
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-700);
  font-weight: 700;
}

.trial-banner {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-500));
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
}

.trial-banner h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.trial-banner p {
  margin: 0;
  opacity: 0.9;
  font-size: 15px;
}

.trial-banner .btn-primary {
  background: #fff;
  color: var(--teal-900);
  flex-shrink: 0;
}

.faq-list {
  max-width: 720px;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.4;
}

.faq-question:hover {
  color: var(--teal-700);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.65;
}

.cta {
  padding: 80px 0;
  background: var(--slate-900);
  text-align: center;
  color: #fff;
}

.cta h2 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta p {
  margin: 0 auto 32px;
  font-size: 18px;
  opacity: 0.8;
  max-width: 520px;
}

.cta-legal {
  margin-top: 24px;
  font-size: 13px;
  opacity: 0.5;
}

.site-footer {
  padding: 48px 0 32px;
  background: var(--slate-950);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin: 12px 0 0;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--teal-500);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand .logo {
  color: #fff;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--slate-200);
    font-size: 17px;
  }

  .nav .btn {
    margin-top: 16px;
    width: 100%;
  }

  .hero-grid,
  .compare-grid,
  .problem-grid,
  .pricing-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trial-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 64px;
  }

  section {
    padding: 64px 0;
  }
}
