/* Eduped — marketing sayti (STAGE_9_deploy.md). Framework yo'q, mobil-birinchi. */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --text: #16181d;
  --text-muted: #5b6472;
  --primary: #2481cc;
  --primary-dark: #1a63a0;
  --accent: #ffb020;
  --border: #e6e9ef;
  --radius: 16px;
  --max-width: 1080px;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
}

/* ── Header ───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(36, 129, 204, 0.35);
}

.btn-primary:active {
  background: var(--primary-dark);
}

.btn-header {
  padding: 10px 18px;
  font-size: 14px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg) 70%);
}

.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p {
  font-size: clamp(16px, 3vw, 19px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

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

.hero-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-previews {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .hero-previews {
    grid-template-columns: 1fr 1fr;
  }
}

.preview-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: left;
}

.preview-card .frame {
  height: 200px;
  overflow: hidden;
  background: #0d2233;
}

.preview-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.preview-card .caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Umumiy bo'lim ────────────────────────────────────────────── */
section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ── Muammo ───────────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 720px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.problem-card .emoji {
  font-size: 32px;
  margin-bottom: 12px;
}

.problem-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.problem-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Qadamlar ─────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}

.step .step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Narxlar ──────────────────────────────────────────────────── */
.pricing-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.pricing-card .bonus {
  display: inline-block;
  background: var(--accent);
  color: #241a00;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.price-row:last-of-type {
  border-bottom: none;
}

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

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 4px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── Yopiq CTA ────────────────────────────────────────────────── */
.cta-band {
  background: var(--primary);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 48px 24px;
  margin: 0 20px;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 30px);
}

.cta-band p {
  margin: 0 0 24px;
  opacity: 0.9;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}
