:root { color-scheme: light; }
* { box-sizing: border-box; }
body {
  font-family: Inter, Segoe UI, Arial, sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
  color: #111827;
  min-height: 100vh;
}
.wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 28px 20px 48px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.brand { text-decoration: none; color: inherit; }
.brand-title { font-size: 28px; font-weight: 800; letter-spacing: -0.04em; }
.brand-ai { color: #2563eb; }
.brand-mins { color: #0f172a; }
.topbar-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nav-link { color: #475569; text-decoration: none; font-size: 14px; font-weight: 500; }
.lang-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(255,255,255,.9); border: 1px solid #e5e7eb; }
.lang-switch a, .lang-switch button {
  min-width: 36px; padding: 6px 8px; border: none; border-radius: 8px;
  background: transparent; font-size: 11px; font-weight: 700; color: #64748b;
  text-decoration: none; cursor: pointer; text-align: center;
}
.lang-switch a.active, .lang-switch button.active { background: #111827; color: #fff; }
.hero-block { margin-bottom: 48px; }
.eyebrow { color: #2563eb; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
h1 { font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.04em; line-height: 1.1; margin: 8px 0 16px; }
.lead, .subtitle { font-size: 18px; color: #334155; line-height: 1.55; max-width: 680px; }
.cta-row, .cta-section { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 40px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 14px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent;
}
.button-primary { background: #111827; color: #fff; }
.button-secondary { background: #fff; color: #111827; border-color: #cbd5e1; }
.feature-list { padding-left: 20px; line-height: 1.7; color: #334155; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { background: rgba(255,255,255,.92); border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: #2563eb; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 10px; }
.section-label { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; margin: 0 0 16px; }
.cards-grid { display: grid; gap: 16px; margin-bottom: 32px; }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card, .addon-card {
  background: rgba(255,255,255,.92); border: 1.5px solid #e5e7eb; border-radius: 20px; padding: 20px;
}
.card.popular { border-color: #2563eb; box-shadow: 0 4px 20px rgba(37,99,235,.15); position: relative; }
.card-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #2563eb; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.card-name { font-weight: 700; margin-bottom: 6px; }
.card-minutes { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.card-price { font-size: 20px; font-weight: 700; color: #2563eb; margin-top: 4px; }
.card-price.free { color: #16a34a; }
.card-validity { font-size: 12px; color: #94a3b8; margin-top: 4px; }
.card-desc { font-size: 13px; color: #475569; margin-top: 8px; border-top: 1px solid #f1f5f9; padding-top: 8px; }
.addon-card { border-style: dashed; border-color: #c7d2fe; }
.addons-note { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 14px; padding: 14px 18px; color: #1e40af; margin-bottom: 16px; line-height: 1.5; }
.page-hero { text-align: center; margin-bottom: 32px; }
.topic-links-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic-link-card { display: block; padding: 18px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; text-decoration: none; color: #111827; font-weight: 600; }
.topic-link-card:hover { border-color: #2563eb; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 8px; }
.features-grid .step-card h3 { font-size: 16px; margin: 0 0 8px; }
.use-cases-block { margin: 40px 0; }
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use-case-card { background: rgba(255,255,255,.92); border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; }
.use-case-card h3 { font-size: 15px; margin: 0 0 6px; }
.use-case-card p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; }
.trust-block { background: rgba(255,255,255,.92); border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px 24px; margin: 32px 0; }
.trust-block p { color: #475569; line-height: 1.6; margin: 0; }
.trust-block a { color: #2563eb; }
.topic-section { margin: 36px 0; }
.topic-section h2 { font-size: 22px; margin-bottom: 12px; }
.topic-list { padding-left: 20px; line-height: 1.7; color: #334155; }
.topic-page .faq { margin-top: 40px; }
.faq-item { border-bottom: 1px solid #e2e8f0; padding: 16px 0; }
.faq-item summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { color: #64748b; font-size: 14px; line-height: 1.6; margin: 10px 0 0; }
.site-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid #e5e7eb; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.footer-legal a { color: #475569; text-decoration: none; font-size: 13px; }
.footer-meta { display: flex; gap: 12px; flex-wrap: wrap; color: #64748b; font-size: 13px; }
.pricing-more { margin-top: -16px; margin-bottom: 40px; }
.pricing-more a { color: #2563eb; font-weight: 600; }

/* RTL */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .topbar { flex-direction: row-reverse; }
html[dir="rtl"] .topbar-actions { flex-direction: row-reverse; }
html[dir="rtl"] .cta-row, html[dir="rtl"] .cta-section { flex-direction: row-reverse; }
html[dir="rtl"] .feature-list, html[dir="rtl"] .topic-page ul { padding-right: 20px; padding-left: 0; }
html[dir="rtl"] .footer-legal, html[dir="rtl"] .footer-meta { flex-direction: row-reverse; }
html[dir="rtl"] .steps-grid { direction: rtl; }
.ltr-nums, .card-price, .card-minutes, .lang-switch { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .card-badge { left: auto; right: 50%; transform: translateX(50%); }

@media (max-width: 900px) {
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-links-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cards-grid-4, .cards-grid-3, .steps-grid, .topic-links-row, .features-grid, .use-cases-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .cta-row, .cta-section { flex-direction: column; }
  html[dir="rtl"] .cta-row, html[dir="rtl"] .cta-section { flex-direction: column; }
}
