:root {
    --brand: #6c5ce7;
    --brand-2: #8f7bff;
    --brand-ink: #4a3fc4;
    --ink: #14162b;
    --body: #454a63;
    --muted: #6b7183;
    --line: #eceef5;
    --bg: #ffffff;
    --bg-soft: #f7f8fc;
    --bg-ink: #0f1122;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(20,22,43,.06), 0 1px 3px rgba(20,22,43,.05);
    --shadow: 0 10px 30px -12px rgba(20,22,43,.18);
    --shadow-lg: 0 30px 60px -20px rgba(76,63,196,.35);
    --container: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--body); background: var(--bg); line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.025em; margin: 0; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; }
.section__head p { font-size: 18px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 650; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform .08s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn--primary { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 10px 24px -10px rgba(108,92,231,.7); }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(108,92,231,.85); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--white { background: #fff; color: var(--brand-ink); }
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav--scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; }
.nav__logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--brand)); font-size: 14px; }
.nav__links { display: flex; gap: 28px; margin-left: 8px; margin-right: auto; }
.nav__links a { font-size: 15px; font-weight: 550; color: var(--body); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 40px; }
.hero::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(600px 300px at 80% -10%, rgba(143,123,255,.18), transparent),
    radial-gradient(500px 260px at 5% 10%, rgba(108,92,231,.12), transparent); z-index: -1; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 900; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand), #b06cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 34ch; margin-bottom: 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 22px; margin-top: 26px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { color: #22c55e; }
.hero__visual { position: relative; }
.mock { border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: #dfe2ee; }
.mock__bar i:nth-child(1){ background:#ff6b6b } .mock__bar i:nth-child(2){ background:#fdcb6e } .mock__bar i:nth-child(3){ background:#00b894 }
.mock__body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; background: linear-gradient(180deg,#fbfbff,#f4f5fb); }
.mock__col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-height: 220px; }
.mock__col h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 10px; display: flex; justify-content: space-between; }
.mock__card { border-radius: 9px; padding: 9px 10px; margin-bottom: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); }
.mock__card b { display: block; font-size: 11px; color: var(--ink); }
.mock__card span { font-size: 10px; color: var(--muted); }
.mock__card--won { border-left-color: #00b894; }
.mock__card--warn { border-left-color: #fdcb6e; }

/* Logos */
.logos { padding: 40px 0 8px; }
.logos p { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 26px; }
.logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 56px; }
.logos__row img { height: 34px; width: auto; opacity: .7; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.logos__row img:hover { opacity: 1; filter: grayscale(0); }
.logos__name { font-weight: 800; font-size: 20px; color: #aab; letter-spacing: -.02em; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e2e0fb; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: var(--brand); background: linear-gradient(135deg, rgba(108,92,231,.14), rgba(143,123,255,.08)); }
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }

/* Benefits (split) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
.split--rev .split__media { order: -1; }
.split h3 { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.split ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.split li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.split li svg { flex: none; margin-top: 3px; color: var(--brand); }
.split__media { background: linear-gradient(160deg,#f0f0ff,#f7f8fc); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; }
.stat { flex: 1; min-width: 120px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.stat b { display: block; font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.stat span { font-size: 13px; color: var(--muted); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.price--featured { border-color: var(--brand); box-shadow: var(--shadow-lg); position: relative; }
.price__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg,var(--brand-2),var(--brand)); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price h3 { font-size: 18px; font-weight: 700; }
.price__amount { font-size: 42px; font-weight: 900; color: var(--ink); letter-spacing: -.03em; margin: 10px 0 2px; }
.price__amount span { font-size: 15px; font-weight: 600; color: var(--muted); }
.price__desc { color: var(--muted); font-size: 14px; min-height: 42px; }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 11px; }
.price li { display: flex; gap: 10px; font-size: 14.5px; }
.price li svg { flex: none; color: var(--brand); }
.price .btn { width: 100%; justify-content: center; margin-top: auto; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.quote__stars { color: #f7b955; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 15.5px; color: var(--ink); }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,var(--brand-2),var(--brand)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote__who b { display: block; color: var(--ink); font-size: 14.5px; }
.quote__who span { font-size: 13px; color: var(--muted); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq__item summary { cursor: pointer; padding: 20px 22px; font-weight: 650; color: var(--ink); font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 22px; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-ink), var(--brand) 60%, #9b7bff); border-radius: 24px; padding: 56px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(26px,3.4vw,38px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 46ch; margin: 0 auto 26px; }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post__cover { aspect-ratio: 16/9; background: linear-gradient(135deg,#e9e7ff,#f4f5fb); object-fit: cover; }
.post__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.post h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.post p { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; }
.post__meta { margin-top: auto; font-size: 13px; color: var(--muted); display: flex; gap: 10px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.contact__form label { font-size: 13px; font-weight: 600; color: var(--ink); }
.contact__form input, .contact__form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; font: inherit; font-size: 14.5px; margin-top: 6px; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(108,92,231,.12); }

/* Article */
.article-hero { padding: 56px 0 28px; }
.article-hero .container { max-width: 760px; }
.article-hero h1 { font-size: clamp(30px,4vw,46px); font-weight: 900; margin: 14px 0; }
.article-cover { max-width: 900px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.prose { max-width: 720px; margin: 40px auto; font-size: 17px; color: #33384d; }
.prose h2 { font-size: 27px; margin: 32px 0 12px; }
.prose h3 { font-size: 21px; margin: 26px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose img { border-radius: 12px; margin: 20px 0; }
.prose a { color: var(--brand); text-decoration: underline; }
.blog-head { text-align: center; padding: 64px 0 8px; }
.blog-head h1 { font-size: clamp(32px,4.4vw,48px); font-weight: 900; }
.blog-head p { font-size: 18px; color: var(--muted); max-width: 52ch; margin: 12px auto 0; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 14px; }
.pagination .active span { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination [aria-disabled="true"] span { opacity: .4; }

/* Responsive */
@media (max-width: 940px) {
    .hero__inner, .split, .contact { grid-template-columns: 1fr; }
    .split--rev .split__media { order: 0; }
    .features, .pricing, .quotes, .posts { grid-template-columns: 1fr 1fr; }
    .nav__links, .nav__cta .btn--ghost { display: none; }
    .nav__burger { display: block; }
    body.nav-open .nav__links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
}
@media (max-width: 620px) {
    .section { padding: 64px 0; }
    .features, .pricing, .quotes, .posts, .mock__body { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 24px; }
    .mock__body { grid-template-columns: 1fr 1fr; }
}
