@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@400;500;600;700;800&family=Karla:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #B91C1C;
  --primary-dark: #991B1B;
  --primary-light: #DC2626;
  --accent: #CA8A04;
  --accent-hover: #A16207;
  --accent-soft: #FDE68A;
  --bg: #FFFAEB;
  --bg-alt: #FEF3C7;
  --bg-deep: #2A1A0E;
  --text: #292524;
  --text-muted: #57534E;
  --text-light: #78716C;
  --card-bg: #FFFFFF;
  --border: #E7DFC9;
  --border-strong: #D6CBA9;
  --radius: 12px;
  --radius-sm: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(120, 50, 20, .06);
  --shadow: 0 6px 22px rgba(120, 50, 20, .09);
  --shadow-hover: 0 18px 40px rgba(185, 28, 28, .18);
  --grad-warm: linear-gradient(135deg, #B91C1C 0%, #DC2626 45%, #CA8A04 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Eczar', serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.01em;
}

a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

/* ===== HEADER — Nav F: centered logo, nav row beneath ===== */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0 10px;
}
.header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Eczar', serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: .01em;
}
.logo img { width: 40px; height: 40px; border-radius: 9px; box-shadow: var(--shadow-sm); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links > a {
  font-family: 'Karla', sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links > a:hover { color: var(--primary); }
.nav-links a.nav-cta {
  color: #000000;
  font-weight: 800;
  background: var(--accent-soft);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
}
.nav-links a.nav-cta:hover {
  color: #000000;
  background: var(--accent);
  border-color: var(--accent-hover);
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 30px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: absolute;
  right: 22px;
  top: 26px;
}
.burger span {
  display: block;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  padding: 64px 28px 28px;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Eczar', serif;
}
.mobile-nav .close-btn {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: 0;
  font-size: 36px;
  color: var(--primary);
  cursor: pointer;
}

/* ===== BUTTONS — Style A: rounded ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 11px;
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #FFFAEB;
  box-shadow: 0 5px 18px rgba(185, 28, 28, .25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(185, 28, 28, .35);
}
.btn-accent {
  background: var(--accent);
  color: #1A130A;
  box-shadow: 0 5px 18px rgba(202, 138, 4, .25);
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #FFFAEB;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #FFFAEB;
}

/* ===== HERO — Style E: minimalist, huge typography ===== */
.hero {
  padding: 90px 0 80px;
  background: var(--bg);
  text-align: center;
  position: relative;
}
.hero .eyebrow {
  display: inline-block;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(185, 28, 28, .08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 auto 26px;
  max-width: 1000px;
  letter-spacing: -.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 700;
}
.hero h1 .ink {
  display: inline-block;
  background: linear-gradient(180deg, transparent 62%, var(--accent-soft) 62%);
  padding: 0 6px;
}
.hero-desc {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 38px;
  line-height: 1.65;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.trust-badges {
  display: flex;
  gap: 14px 32px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14.5px;
  color: var(--text-muted);
}
.trust-badge { display: inline-flex; align-items: center; gap: 7px; }
.trust-badge strong { color: var(--text); font-weight: 700; }
.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

/* ===== STATS — flat strip ===== */
.stats {
  background: var(--bg-alt);
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Eczar', serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ===== SECTIONS — alternating cream/wheat (Sections A) ===== */
section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-cream { background: var(--bg); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 50px);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 17px;
  color: var(--text-muted);
}

/* ===== CARDS — Style A: shadow + hover lift ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .35s, box-shadow .35s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ===== PLATFORMS ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: block;
  color: inherit;
}
.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 16px;
  color: var(--primary);
}
.platform-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
  font-family: 'Eczar', serif;
}
.platform-card span {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ===== WHY DYADYA — narrative block ===== */
.story {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}
.story-text h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 22px;
}
.story-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16.5px;
}
.story-text p strong { color: var(--text); }
.story-text .quote {
  border-left: 4px solid var(--primary);
  padding: 6px 0 6px 22px;
  margin: 24px 0;
  font-family: 'Eczar', serif;
  font-style: italic;
  font-size: 21px;
  color: var(--text);
  line-height: 1.4;
}
.story-art {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.story-art::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -12px;
  right: 24px;
  bottom: 24px;
  border: 2px dashed var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .6;
}
.story-art h3 {
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--primary);
}
.story-art ul { display: flex; flex-direction: column; gap: 12px; }
.story-art li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
}
.story-art li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
}

/* ===== USE CASES ===== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.usecase {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform .25s;
}
.usecase:hover { transform: translateY(-4px); }
.usecase h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.usecase p {
  color: var(--text-muted);
  font-size: 15.5px;
}

/* ===== PRICE — Style A: gradient card ===== */
.price-wrap {
  display: flex;
  justify-content: center;
}
.price-card {
  background: var(--grad-warm);
  border-radius: 28px;
  padding: 56px 60px;
  color: #FFFAEB;
  max-width: 760px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 50px rgba(185, 28, 28, .25);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(255, 250, 235, .12);
  border-radius: 50%;
}
.price-card::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -50px;
  width: 260px;
  height: 260px;
  background: rgba(0, 0, 0, .08);
  border-radius: 50%;
}
.price-card > * { position: relative; z-index: 1; }
.price-card h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  color: #FFFAEB;
  margin-bottom: 14px;
}
.price-card p { font-size: 17px; opacity: .95; margin-bottom: 28px; }
.price-tag {
  font-family: 'Eczar', serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 6px;
}
.price-tag small {
  font-size: 18px;
  font-weight: 500;
  opacity: .85;
  margin-left: 4px;
}
.price-sub {
  font-size: 15px;
  opacity: .9;
  margin-bottom: 30px;
}
.price-card .btn {
  background: #FFFAEB;
  color: var(--primary);
  font-size: 17px;
  padding: 16px 36px;
}
.price-card .btn:hover { background: #FEF3C7; transform: translateY(-2px); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--bg-deep);
  color: var(--bg);
  padding: 70px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--bg);
  margin-bottom: 14px;
}
.cta-banner p {
  font-size: 17px;
  opacity: .85;
  max-width: 580px;
  margin: 0 auto 28px;
}
.cta-banner .btn-accent { font-size: 17px; padding: 16px 38px; }

/* ===== FAQ — Style A: accordion ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 22px 26px;
  font-family: 'Eczar', serif;
  font-weight: 600;
  font-size: 18px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  color: var(--text);
}
.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--primary);
  transition: transform .3s, background .3s;
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: #FFFAEB;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 26px;
  color: var(--text-muted);
}
.faq-item.active .faq-a {
  max-height: 600px;
  padding: 0 26px 24px;
}

/* ===== FOOTER — Style C: 3 cols + CTA banner above ===== */
.footer-cta {
  background: linear-gradient(135deg, var(--bg-alt), var(--accent-soft));
  border-radius: var(--radius-lg);
  padding: 44px;
  margin: 0 auto 0;
  max-width: 1116px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
}
.footer-cta h3 {
  font-size: clamp(24px, 3.2vw, 32px);
  margin-bottom: 8px;
}
.footer-cta p {
  color: var(--text-muted);
  font-size: 16px;
}
.footer-cta .btn { padding: 16px 30px; }

footer.footer {
  background: var(--bg-deep);
  color: #E7DFC9;
  padding: 70px 0 30px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand h4 {
  color: #FFFAEB;
  font-size: 22px;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14.5px; line-height: 1.7; opacity: .8; }
.footer-col h5 {
  font-family: 'Karla', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-soft);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: #C7BB9A;
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: #FFFAEB; }
.footer-bottom {
  border-top: 1px solid rgba(255, 250, 235, .12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #998A6A;
}
.footer-mark { font-size: 12px; opacity: .55; }

/* ===== INSTRUKTSIYA ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
.step {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  align-items: flex-start;
}
.step-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--grad-warm);
  color: #FFFAEB;
  font-family: 'Eczar', serif;
  font-weight: 800;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.step p {
  color: var(--text-muted);
  margin-bottom: 14px;
}
.step .btn { margin-top: 8px; }

.afterpay {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.afterpay h3 { font-size: 26px; margin-bottom: 14px; }
.afterpay p { color: var(--text-muted); margin-bottom: 22px; }

/* ===== ANIMATIONS — Anim A: fade up ===== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-cta { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .header { padding: 16px 0; }
  .header .container { flex-direction: row; justify-content: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .stat-num { font-size: 30px; }
  .features-grid, .platforms-grid, .usecases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-card { padding: 40px 26px; }
  .price-tag { font-size: 50px; }
  .step { grid-template-columns: 1fr; padding: 28px; }
  .step-num { width: 58px; height: 58px; font-size: 24px; }
  .hero { padding: 60px 0 56px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
