/* ── Variables ──────────────────────────────────────────────── */
:root {
    --navy:   #092A52;
    --blue:   #2F7CFF;
    --cyan:   #22D3C5;
    --ink:    #071B35;
    --muted:  #5E7187;
    --sky:    #EAF9FF;
    --soft:   #F5FBFF;
    --border: #D9EEF8;
    --white:  #FFFFFF;
    --grad:   linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    --r-card: 28px;
    --r-btn:  9999px;
    --shadow-card: 0 24px 70px rgba(9,42,82,.10);
    --shadow-btn:  0 14px 30px rgba(34,211,197,.25);
    --trans:  .2s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', 'Noto Sans SC', system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--cyan); }
ul, ol { list-style: none; }

/* ── Container ──────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ── Typography ─────────────────────────────────────────────── */
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.055em; color: var(--navy); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -.04em; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
p  { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }

.section-label {
    display: inline-flex; align-items: center; gap: 6px;
    background: #EAFBFB; color: var(--cyan); border-radius: var(--r-btn);
    padding: 6px 16px; font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
    margin-bottom: 16px; text-transform: uppercase;
}
.section-title { margin-bottom: 12px; }
.section-sub   { font-size: 1.0625rem; color: var(--muted); max-width: 580px; }
.text-center   { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--r-btn); font-weight: 700;
    font-size: 1rem; cursor: pointer; transition: all var(--trans); border: none;
    text-decoration: none; line-height: 1;
}
.btn-primary {
    background: var(--grad); color: #fff;
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(34,211,197,.35); color: #fff; }
.btn-secondary {
    background: #fff; color: var(--navy);
    border: 1.5px solid var(--border);
}
.btn-secondary:hover { background: var(--sky); color: var(--navy); }
.btn-lg { padding: 18px 42px; font-size: 1.0625rem; }
.btn-sm { padding: 9px 20px; font-size: .875rem; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(217,238,248,.6);
    transition: box-shadow var(--trans);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(9,42,82,.08); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; gap: 32px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo img { height: 36px; width: auto; }
.site-logo-text { font-size: 1.125rem; font-weight: 800; color: var(--navy); }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { font-size: .9375rem; font-weight: 500; color: var(--navy); transition: color var(--trans); }
.nav-menu a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: all var(--trans); border-radius: 2px; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
    background: radial-gradient(circle at 20% 10%, #DFF8FF, #fff 50%), radial-gradient(circle at 80% 90%, #e8f4ff, #fff 50%);
    padding: 100px 0 80px;
    overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #EAFBFB; color: var(--cyan); border-radius: var(--r-btn);
    padding: 7px 18px; font-size: .875rem; font-weight: 700;
    margin-bottom: 24px; border: 1px solid rgba(34,211,197,.2);
}
.hero-badge svg { width: 14px; height: 14px; }
.hero h1 { margin-bottom: 20px; }
.hero .hero-sub { font-size: 1.125rem; color: var(--muted); margin-bottom: 36px; max-width: 480px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--navy); }
.hero-stat span { font-size: .875rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-card {
    background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
    padding: 28px; border: 1px solid var(--border);
}
.hero-card-title { font-size: .875rem; font-weight: 700; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.stat-row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.stat-pill {
    display: flex; align-items: center; gap: 8px;
    background: var(--soft); border-radius: 12px; padding: 10px 16px;
    font-size: .9375rem; font-weight: 700; flex: 1; margin: 0 6px;
}
.stat-pill:first-child { margin-left: 0; }
.stat-pill:last-child { margin-right: 0; }
.stat-pill.blue  { color: var(--blue); }
.stat-pill.orange{ color: #F97316; }
.stat-pill.red   { color: #EF4444; }
.stat-pill.green { color: #22C55E; }
.stat-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.progress-bar { height: 6px; background: var(--soft); border-radius: 6px; overflow: hidden; margin: 16px 0 8px; }
.progress-fill { height: 100%; background: var(--grad); border-radius: 6px; width: 73%; }
.hero-float-1, .hero-float-2 {
    position: absolute; background: #fff; border-radius: 18px;
    box-shadow: 0 8px 30px rgba(9,42,82,.12); padding: 14px 20px;
    display: flex; align-items: center; gap: 12px;
    font-size: .875rem; font-weight: 600; color: var(--navy);
    border: 1px solid var(--border);
}
.hero-float-1 { bottom: -20px; left: -20px; }
.hero-float-2 { top: -16px; right: -16px; }
.float-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.float-icon.cyan  { background: #EAFBFB; }
.float-icon.blue  { background: var(--sky); }

/* ── Trust strip ─────────────────────────────────────────────── */
.trust-strip { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.trust-item { padding: 32px 28px; background: #fff; text-align: center; }
.trust-item:not(:last-child) { border-right: 1px solid var(--border); }
.trust-num { font-size: 2.25rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.trust-label { font-size: .875rem; color: var(--muted); margin-top: 4px; }

/* ── Features ────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feature-card {
    background: #fff; border-radius: var(--r-card); padding: 32px;
    border: 1px solid var(--border); transition: all var(--trans);
    box-shadow: 0 4px 20px rgba(9,42,82,.04);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(9,42,82,.10); border-color: rgba(47,124,255,.2); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 16px;
    background: var(--sky); display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { font-size: .9375rem; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.f-tag { background: var(--soft); color: var(--blue); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: var(--r-btn); }

/* ── How it works ────────────────────────────────────────────── */
.how-bg { background: var(--soft); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; position: relative; }
.steps-grid::before {
    content: ''; position: absolute; top: 36px; left: calc(16.67% + 16px); right: calc(16.67% + 16px);
    height: 2px; background: var(--border); z-index: 0;
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad); color: #fff; font-size: 1.5rem; font-weight: 800;
    box-shadow: 0 8px 24px rgba(34,211,197,.3);
}
.step-card h3 { margin-bottom: 10px; }

/* ── Formats section ─────────────────────────────────────────── */
.formats-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; justify-content: center; }
.format-badge {
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1.5px solid var(--border); border-radius: 18px;
    padding: 16px 24px; font-weight: 700; color: var(--navy); font-size: .9375rem;
    transition: all var(--trans); box-shadow: 0 2px 12px rgba(9,42,82,.04);
}
.format-badge:hover { border-color: var(--blue); background: var(--sky); }
.format-badge .fmt-icon { font-size: 1.5rem; }

/* ── Download section ────────────────────────────────────────── */
.download-section { background: var(--navy); overflow: hidden; position: relative; }
.download-section::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34,211,197,.12), transparent 70%);
}
.download-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.download-text h2 { color: #fff; }
.download-text p  { color: rgba(255,255,255,.7); margin: 16px 0 36px; font-size: 1.0625rem; }
.download-card {
    background: rgba(255,255,255,.07); border-radius: var(--r-card);
    border: 1px solid rgba(255,255,255,.12); padding: 32px;
}
.download-card h3 { color: #fff; margin-bottom: 6px; }
.download-card .version { color: var(--cyan); font-size: .875rem; font-weight: 600; margin-bottom: 24px; }
.download-features { margin-bottom: 28px; }
.download-features li {
    display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8);
    font-size: .9375rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.download-features li::before { content: '✓'; color: var(--cyan); font-weight: 800; }
.telegram-link {
    display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6);
    font-size: .875rem; margin-top: 16px; transition: color var(--trans);
}
.telegram-link:hover { color: var(--cyan); }

/* ── Blog section ────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.article-card {
    background: #fff; border-radius: var(--r-card); overflow: hidden;
    border: 1px solid var(--border); transition: all var(--trans);
    display: flex; flex-direction: column;
    box-shadow: 0 4px 20px rgba(9,42,82,.04);
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(9,42,82,.10); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--soft); }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--trans); }
.article-card:hover .article-card-img img { transform: scale(1.04); }
.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.article-cat {
    background: var(--sky); color: var(--blue); border-radius: var(--r-btn);
    padding: 3px 10px; font-weight: 600; font-size: .78rem;
}
.article-card h3 { margin-bottom: 10px; line-height: 1.4; }
.article-card h3 a { color: var(--navy); }
.article-card h3 a:hover { color: var(--blue); }
.article-card p { font-size: .9rem; flex: 1; }
.article-card .read-more { color: var(--blue); font-weight: 600; font-size: .875rem; margin-top: 16px; display: inline-flex; align-items: center; gap: 4px; }
.article-card .read-more:hover { gap: 8px; }
.article-no-img { display: flex; align-items: center; justify-content: center; font-size: 3rem; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%; text-align: left; padding: 20px 0; display: flex;
    justify-content: space-between; align-items: center; cursor: pointer;
    background: none; border: none; font-size: 1rem; font-weight: 600;
    color: var(--navy); gap: 16px;
}
.faq-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; transition: all var(--trans); font-size: .75rem; }
.faq-item.open .faq-icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 0 20px; color: var(--muted); font-size: .9375rem; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Friendly Links ──────────────────────────────────────────── */
.footer-friendlinks {
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}
.friendlinks-label {
    font-size: .8rem;
    font-weight: 700;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
    padding-top: 4px;
    flex-shrink: 0;
}
.friendlinks-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.friendlinks-list a {
    font-size: .8125rem;
    color: rgba(255,255,255,.65);
    transition: color var(--trans);
    white-space: nowrap;
}
.friendlinks-list a:hover { color: var(--cyan); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--ink); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .9rem; margin: 16px 0 24px; max-width: 280px; }
.footer-logo-text { font-size: 1.125rem; font-weight: 800; color: #fff; }
.footer-col h4 { color: #fff; font-size: .875rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .02em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.5); font-size: .875rem; transition: color var(--trans); }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .8125rem; }
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--cyan); }
.social-links { display: flex; gap: 12px; }
.social-link {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.5); font-size: .9rem; transition: all var(--trans);
}
.social-link:hover { background: var(--cyan); color: #fff; }

/* ── Blog pages ──────────────────────────────────────────────── */
.page-hero { background: var(--soft); padding: 56px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 12px; }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 56px 0; }
.blog-main {}
.blog-sidebar {}
.sidebar-widget { background: #fff; border-radius: var(--r-card); border: 1px solid var(--border); padding: 28px; margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 1rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sidebar-cat-list li { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a { font-size: .9375rem; color: var(--navy); font-weight: 500; }
.sidebar-cat-list a:hover { color: var(--blue); }
.cat-count { background: var(--sky); color: var(--blue); font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-btn); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link { background: var(--soft); color: var(--muted); border-radius: var(--r-btn); padding: 5px 12px; font-size: .8125rem; font-weight: 500; transition: all var(--trans); border: 1px solid var(--border); }
.tag-link:hover { background: var(--sky); color: var(--blue); border-color: var(--blue); }
.recent-article { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.recent-article:last-child { border-bottom: none; }
.recent-article img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.recent-article-text a { font-size: .875rem; font-weight: 600; color: var(--navy); line-height: 1.4; }
.recent-article-text a:hover { color: var(--blue); }
.recent-date { font-size: .78rem; color: var(--muted); margin-top: 4px; }

/* ── Article page ────────────────────────────────────────────── */
.article-header { background: var(--soft); padding: 56px 0 40px; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin: 16px 0 20px; }
.article-info { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--muted); font-size: .875rem; }
.article-info span { display: flex; align-items: center; gap: 5px; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 56px 0; }
.article-content { max-width: 760px; }
.article-featured-img { border-radius: 20px; margin-bottom: 36px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Article typography */
.prose h2 { font-size: 1.625rem; margin: 2.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--sky); }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; color: var(--navy); }
.prose p  { margin-bottom: 1.25rem; color: var(--ink); font-size: 1rem; line-height: 1.8; }
.prose ul, .prose ol { margin: 1rem 0 1.25rem 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5rem; color: var(--ink); font-size: 1rem; line-height: 1.7; }
.prose strong { color: var(--navy); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote { border-left: 4px solid var(--cyan); padding: 16px 20px; background: var(--soft); border-radius: 0 12px 12px 0; margin: 1.5rem 0; }
.prose blockquote p { color: var(--muted); margin: 0; font-style: italic; }
.prose code { background: var(--sky); color: var(--blue); padding: 2px 7px; border-radius: 5px; font-size: .875em; font-family: monospace; }
.prose pre { background: var(--ink); border-radius: 14px; padding: 20px; margin: 1.5rem 0; overflow-x: auto; }
.prose pre code { background: none; color: var(--cyan); font-size: .875rem; }
.prose img { border-radius: 14px; margin: 1.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem; }
.prose table th { background: var(--sky); color: var(--navy); font-weight: 700; padding: 12px 16px; text-align: left; }
.prose table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--ink); }
.prose table tr:last-child td { border-bottom: none; }

/* TOC */
.toc-box { background: var(--soft); border: 1px solid var(--border); border-radius: 18px; padding: 20px 24px; margin-bottom: 32px; }
.toc-box h4 { font-size: .875rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.toc-list { padding-left: 4px; }
.toc-list li { margin-bottom: 6px; }
.toc-list a { font-size: .9rem; color: var(--navy); font-weight: 500; transition: color var(--trans); }
.toc-list a:hover { color: var(--blue); }

/* Article tags */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.article-tags-label { font-size: .875rem; color: var(--muted); font-weight: 600; align-self: center; }

/* Related */
.related-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-section h3 { margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Sticky sidebar */
.article-sidebar-sticky { position: sticky; top: 88px; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 4px; font-size: .875rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li:last-child span { color: var(--navy); font-weight: 500; }
.bc-sep { color: var(--border); }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 12px; font-size: .875rem; font-weight: 600;
    background: #fff; border: 1.5px solid var(--border); color: var(--navy);
    transition: all var(--trans); text-decoration: none;
}
.page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.page-btn:hover:not(.active) { background: var(--sky); border-color: var(--blue); color: var(--blue); }
.page-btn[href*="page="] { width: auto; padding: 0 16px; }

/* ── 404 ─────────────────────────────────────────────────────── */
.not-found { text-align: center; padding: 120px 24px; }
.not-found h1 { font-size: 6rem; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.not-found h2 { margin: 16px 0 12px; }

/* ── Animations ──────────────────────────────────────────────── */
.animate { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.animate.visible { opacity: 1; transform: none; }

/* ── Utilities ───────────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.empty-state { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty-state p { margin-top: 8px; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar-sticky { position: static; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .hero { padding: 72px 0 60px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .download-inner { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(18px); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); z-index: 99; }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: block; }
    .nav-actions .btn { display: none; }
    .site-header { position: relative; }
}

@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .hero-btns { flex-direction: column; }
    .hero-stats { gap: 24px; }
}
