/* ── Reset & Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; color: #1a1a2e; background: #ffffff; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Variables ────────────────────────────────────────────────── */
:root {
  --blue:    #2563eb;
  --blue-lt: #e8f0fe;
  --green:   #0f9e6e;
  --text:    #1a1a2e;
  --muted:   #64748b;
  --border:  #e2e8f0;
  --bg-soft: #f8fafc;
  --radius:  12px;
  --radius-lg: 20px;
}

/* ── Layout helpers ───────────────────────────────────────────── */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 10px; }

/* ── NAV ──────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--blue); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--text); color: #fff;
  padding: 9px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: opacity .2s;
}
.btn-nav:hover { opacity: .85; }
.nav-burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }
.nav-mobile { display: none; flex-direction: column; gap: 16px; padding: 20px 24px; background: #fff; border-bottom: 1px solid var(--border); }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 15px; color: var(--muted); }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--text); color: #fff;
  padding: 13px 28px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500;
  transition: opacity .2s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: .85; }
.btn-primary.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-secondary {
  display: inline-block;
  background: transparent; color: var(--text);
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 15px; border: 1.5px solid var(--border);
  transition: border-color .2s; cursor: pointer;
}
.btn-secondary:hover { border-color: #94a3b8; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero { padding: 90px 24px 80px; background: linear-gradient(160deg, #f0f4ff 0%, #fff 60%); }
.hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-block; background: var(--blue-lt); color: var(--blue);
  font-size: 13px; padding: 5px 14px; border-radius: 99px; margin-bottom: 24px;
}
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(36px, 6vw, 58px); line-height: 1.12; letter-spacing: -.5px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-mockup {
  max-width: 680px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px 24px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.mic-ring {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue-lt); color: var(--blue);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.waveform { flex: 1; display: flex; align-items: center; gap: 4px; height: 36px; }
.waveform span { display: block; background: #94a3b8; border-radius: 3px; width: 4px; animation: wave 1.2s ease-in-out infinite; }
.waveform span:nth-child(1){height:8px;animation-delay:0s}
.waveform span:nth-child(2){height:20px;animation-delay:.1s}
.waveform span:nth-child(3){height:30px;animation-delay:.2s}
.waveform span:nth-child(4){height:14px;animation-delay:.3s}
.waveform span:nth-child(5){height:32px;animation-delay:.4s}
.waveform span:nth-child(6){height:22px;animation-delay:.5s}
.waveform span:nth-child(7){height:10px;animation-delay:.6s}
.waveform span:nth-child(8){height:26px;animation-delay:.7s}
.waveform span:nth-child(9){height:18px;animation-delay:.8s}
.waveform span:nth-child(10){height:8px;animation-delay:.9s}
@keyframes wave{0%,100%{opacity:.3}50%{opacity:1}}
.lang-pill {
  background: #f1f5f9; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 7px 14px;
  font-size: 13px; color: var(--muted); flex-shrink: 0;
}

/* ── FEATURES ─────────────────────────────────────────────────── */
.features { padding: 80px 24px; }
.features h2 { font-family: 'DM Serif Display', serif; font-size: clamp(26px, 4vw, 36px); margin-bottom: 48px; line-height: 1.2; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: box-shadow .2s; }
.feat-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.feat-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.feat-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── CTA SECTION ──────────────────────────────────────────────── */
.cta-section { padding: 80px 24px; background: var(--bg-soft); text-align: center; }
.cta-section h2 { font-family: 'DM Serif Display', serif; font-size: 32px; margin-bottom: 12px; }
.cta-section p { color: var(--muted); margin-bottom: 32px; }

/* ── PAGE HERO ────────────────────────────────────────────────── */
.page-hero { padding: 60px 24px 40px; background: linear-gradient(160deg, #f0f4ff 0%, #fff 70%); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(28px, 4vw, 42px); margin: 8px 0 12px; }
.page-hero p { color: var(--muted); font-size: 16px; }

/* ── PRICING ──────────────────────────────────────────────────── */
.pricing-section { padding: 60px 24px 80px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.plan-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.plan-card.featured { border-color: var(--blue); }
.plan-badge { display: inline-block; background: var(--blue-lt); color: var(--blue); font-size: 11px; padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; width: fit-content; }
.plan-name { font-size: 12px; font-weight: 500; letter-spacing: 1px; color: var(--muted); }
.plan-price { font-size: 38px; font-weight: 500; margin: 10px 0 4px; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan-desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.plan-credits { background: var(--bg-soft); border-radius: var(--radius); padding: 14px; text-align: center; margin-bottom: 10px; }
.credits-big { font-size: 30px; font-weight: 500; }
.credits-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.plan-audio { font-size: 12px; color: var(--muted); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.plan-features { list-style: none; flex: 1; margin-bottom: 20px; }
.plan-features li { font-size: 13px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.plan-features li:last-child { border: none; }
.plan-features li.ok::before { content: '✓'; color: var(--green); font-weight: 600; }
.plan-features li.no::before { content: '–'; color: #ccc; }
.plan-btn { display: block; text-align: center; padding: 11px; border-radius: var(--radius); font-size: 14px; font-weight: 500; border: 1.5px solid var(--border); color: var(--text); transition: background .2s; margin-top: auto; }
.plan-btn:hover { background: var(--bg-soft); }
.plan-btn-featured { background: var(--text); color: #fff; border-color: var(--text); }
.plan-btn-featured:hover { opacity: .85; background: var(--text); }
.credits-bareme { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px; }
.credits-bareme h3 { font-size: 15px; font-weight: 500; margin-bottom: 20px; }
.bareme-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.bareme-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; }
.bareme-val { font-size: 26px; font-weight: 500; margin-bottom: 6px; }
.bareme-label { font-size: 12px; color: var(--muted); line-height: 1.4; }
.bareme-note { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ── BLOG ─────────────────────────────────────────────────────── */
.blog-section { padding: 60px 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 60px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.blog-cover { height: 180px; background-size: cover; background-position: center; background-color: var(--bg-soft); }
.blog-cover-placeholder { display: flex; align-items: center; justify-content: center; color: #ccc; }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { display: inline-block; background: var(--blue-lt); color: var(--blue); font-size: 11px; padding: 2px 8px; border-radius: 99px; margin-bottom: 10px; }
.blog-body h2 { font-size: 16px; font-weight: 500; margin-bottom: 8px; line-height: 1.4; }
.blog-body p { font-size: 13px; color: var(--muted); flex: 1; margin-bottom: 12px; }
.blog-meta { font-size: 12px; color: #aaa; }
.empty-state { text-align: center; color: var(--muted); padding: 60px 0; font-size: 16px; }

/* ── REVIEWS ──────────────────────────────────────────────────── */
.reviews-section { padding: 60px 24px; background: var(--bg-soft); }
.reviews-section h2 { font-family: 'DM Serif Display', serif; font-size: 30px; margin-bottom: 32px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.review-stars { color: #f59e0b; font-size: 16px; margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.review-author { font-size: 13px; font-weight: 500; }
.review-author span { font-weight: 400; color: var(--muted); }
.review-form-wrap { max-width: 600px; }
.review-form-wrap h3 { font-size: 18px; font-weight: 500; margin-bottom: 20px; }
.star-picker { font-size: 28px; color: #f59e0b; cursor: pointer; letter-spacing: 4px; margin-bottom: 8px; user-select: none; }

/* ── ARTICLE ──────────────────────────────────────────────────── */
.article-header { padding: 60px 24px 40px; background: linear-gradient(160deg, #f0f4ff 0%, #fff 70%); }
.article-header h1 { font-family: 'DM Serif Display', serif; font-size: clamp(26px, 4vw, 42px); margin: 10px 0 12px; line-height: 1.2; }
.article-meta { font-size: 13px; color: var(--muted); }
.article-cover { max-height: 420px; overflow: hidden; }
.article-cover img { width: 100%; object-fit: cover; }
.article-body { padding: 48px 24px; font-size: 16px; line-height: 1.8; color: #2d3748; max-width: 760px; }
.article-body h2,.article-body h3 { font-family: 'DM Serif Display', serif; margin: 28px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body img { border-radius: var(--radius); margin: 20px 0; }
.article-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.article-images figure { border-radius: var(--radius); overflow: hidden; }
.article-images figcaption { font-size: 12px; color: var(--muted); padding: 8px 0; }
.article-footer { padding: 32px 24px 60px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CONTACT ──────────────────────────────────────────────────── */
.contact-section { padding: 60px 24px 80px; }
.contact-box { max-width: 600px; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ── FORMS ────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 13px; font-weight: 500; color: var(--text); }
input, select, textarea {
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 14px; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { resize: vertical; }

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 28px 40px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner p { font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .nav-burger { display: block; }
  .nav { padding: 14px 20px; }
  .features-grid, .pricing-grid, .blog-grid, .reviews-grid { grid-template-columns: 1fr; }
  .bareme-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero { padding: 60px 20px; }
  .footer { padding: 24px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
