/* ===========================================================
   KnightProxyTR — Knight Online Proxy
   Theme: dark/light, emerald green accent
   =========================================================== */

:root {
  --accent: #22c55e;
  --accent-2: #16a34a;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-glow: rgba(34, 197, 94, 0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --trans: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- DARK (default) ---------- */
html[data-theme="dark"] {
  --bg: #070b08;
  --bg-2: #0a100b;
  --surface: #0d140e;
  --card: #101a12;
  --card-2: #14201605;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #e8f1ea;
  --text-strong: #ffffff;
  --muted: #8ba095;
  --hero-glow: radial-gradient(60% 80% at 75% 20%, rgba(34, 197, 94, 0.18), transparent 70%);
  --topbar: #060906;
}

/* ---------- LIGHT ---------- */
html[data-theme="light"] {
  --bg: #eef3ef;
  --bg-2: #f6f9f6;
  --surface: #ffffff;
  --card: #ffffff;
  --card-2: #f3f8f4;
  --border: rgba(13, 30, 18, 0.10);
  --border-strong: rgba(13, 30, 18, 0.18);
  --text: #16241a;
  --text-strong: #08160c;
  --muted: #5a6c60;
  --hero-glow: radial-gradient(60% 80% at 75% 20%, rgba(34, 197, 94, 0.16), transparent 70%);
  --topbar: #0c160e;
  --shadow: 0 18px 45px rgba(20, 50, 30, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background var(--trans), color var(--trans);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14.5px; cursor: pointer;
  border: 1px solid transparent; transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04210f; box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--accent-glow); }
.btn-ghost {
  background: var(--accent-soft); color: var(--accent);
  border-color: rgba(34, 197, 94, 0.25);
}
.btn-ghost:hover { background: rgba(34, 197, 94, 0.2); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ---------- Top announcement bar ---------- */
.topbar {
  background: var(--topbar); color: #cfe9d8;
  font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; height: 38px; }
.topbar .tb-left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar a:hover { color: var(--accent); }
.topbar .tb-promo b { color: var(--accent); }
@media (max-width: 760px) { .topbar .tb-left .tb-hide { display: none; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -0.5px; color: var(--text-strong); }
.logo .knight { color: var(--accent); }
.logo svg { width: 34px; height: 34px; }

.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu > li { position: relative; list-style: none; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 14px; border-radius: 9px; font-weight: 500; font-size: 14.5px;
  color: var(--text); transition: var(--trans);
}
.nav-link:hover { background: var(--accent-soft); color: var(--accent); }
.nav-link .chev { width: 14px; height: 14px; transition: transform var(--trans); }
.has-mega:hover .chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px; width: 540px; opacity: 0; visibility: hidden; transition: var(--trans);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.has-mega:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-item { display: flex; gap: 12px; padding: 11px; border-radius: var(--radius-sm); transition: var(--trans); }
.mega-item:hover { background: var(--card-2); }
.mega-item .ico {
  width: 40px; height: 40px; flex: none; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.mega-item .ico svg { width: 20px; height: 20px; }
.mega-item h4 { font-size: 14px; color: var(--text-strong); margin-bottom: 2px; }
.mega-item p { font-size: 12px; color: var(--muted); line-height: 1.4; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Theme toggle */
.theme-toggle {
  width: 44px; height: 26px; border-radius: 20px; cursor: pointer;
  background: var(--card-2); border: 1px solid var(--border-strong);
  position: relative; flex: none; transition: var(--trans);
}
.theme-toggle .knob {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; transition: var(--trans);
}
.theme-toggle .knob svg { width: 12px; height: 12px; color: #04210f; }
html[data-theme="light"] .theme-toggle .knob { transform: translateX(18px); }

.nav-actions .btn-text { font-size: 14px; font-weight: 600; padding: 8px 10px; color: var(--text); border-radius: 8px; }
.nav-actions .btn-text:hover { color: var(--accent); }

/* Mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--trans); }
.mobile-only { display: none; }

@media (max-width: 980px) {
  .nav-menu, .nav-actions .desktop-only { display: none; }
  .hamburger { display: flex; }
  .mobile-only { display: inline-flex; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(330px, 86vw); z-index: 200;
  background: var(--surface); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.3s ease; padding: 24px;
  overflow-y: auto; box-shadow: var(--shadow);
}
.drawer.open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 150; opacity: 0; visibility: hidden; transition: var(--trans); }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer .close { font-size: 26px; cursor: pointer; line-height: 1; color: var(--muted); float: right; }
.drawer h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 22px 0 8px; }
.drawer a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.drawer .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 70px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 30px;
  background: var(--accent-soft); border: 1px solid rgba(34,197,94,0.25); color: var(--accent);
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -1.5px; color: var(--text-strong); margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent), #4ade80); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat .num { font-size: 28px; font-weight: 800; color: var(--text-strong); }
.hero-stats .stat .num span { color: var(--accent); }
.hero-stats .stat .lbl { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(160deg, var(--card), var(--surface));
  border: 1px solid var(--border); border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow); position: relative;
}
.hero-card .hc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-card .hc-top .badge-live { margin-left: auto; font-size: 11px; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 20px; font-weight: 600; }
.hero-card .hc-shield { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.hero-card .hc-shield svg { width: 26px; height: 26px; }
.hero-card .hc-title { font-weight: 700; color: var(--text-strong); }
.hero-card .hc-sub { font-size: 12.5px; color: var(--muted); }
.hc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); font-size: 14px; }
.hc-row .k { color: var(--muted); display:flex; gap:8px; align-items:center; }
.hc-row .v { color: var(--text-strong); font-weight: 600; }
.hc-row .v.ok { color: var(--accent); }
.ping-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.ping-bars i { width: 5px; background: var(--accent); border-radius: 2px; display: block; opacity: .85; }

/* ---------- Section heading ---------- */
.sec { padding: 80px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.sec-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
}
.sec-head h2 { font-size: 38px; letter-spacing: -1px; color: var(--text-strong); margin-bottom: 14px; line-height: 1.15; }
.sec-head p { color: var(--muted); font-size: 16px; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: var(--trans);
}
.feature:hover { border-color: rgba(34,197,94,0.35); transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico { width: 50px; height: 50px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; color: var(--text-strong); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- Pricing / packages ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pkg {
  background: linear-gradient(170deg, var(--card), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column; transition: var(--trans); position: relative; overflow: hidden;
}
.pkg:hover { border-color: rgba(34,197,94,0.4); transform: translateY(-5px); box-shadow: var(--shadow); }
.pkg.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.pkg .ribbon {
  position: absolute; top: 14px; right: -34px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04210f;
  font-size: 11px; font-weight: 700; padding: 4px 40px;
}
.pkg .pkg-name { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.pkg .pkg-count { font-size: 19px; font-weight: 700; color: var(--text-strong); margin: 8px 0 0; line-height: 1.3; }
.pkg .pkg-price { display: flex; align-items: baseline; gap: 3px; margin: 18px 0 2px; padding-top: 18px; border-top: 1px solid var(--border); }
.pkg .pkg-price .amount { font-size: 38px; font-weight: 800; color: var(--text-strong); letter-spacing: -1.5px; }
.pkg .pkg-price .cur { font-size: 20px; font-weight: 700; color: var(--text-strong); }
.pkg .pkg-period { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.pkg .pkg-unit { font-size: 12.5px; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.pkg ul { list-style: none; margin-bottom: 22px; flex-grow: 1; }
.pkg ul li { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; font-size: 13.8px; color: var(--text); }
.pkg ul li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, rgba(34,197,94,0.14), rgba(34,197,94,0.04));
  border: 1px solid rgba(34,197,94,0.25); border-radius: 22px;
  padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner .ico-big { width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); flex: none; }
.cta-banner .ico-big svg { width: 34px; height: 34px; }
.cta-banner h3 { font-size: 26px; color: var(--text-strong); margin-bottom: 6px; }
.cta-banner p { color: var(--muted); }
.cta-banner .cta-actions { display: flex; gap: 12px; margin-left: auto; flex-wrap: wrap; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: var(--trans); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(34,197,94,0.35); box-shadow: var(--shadow); }
.blog-card .thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.blog-card .thumb svg { width: 100%; height: 100%; }
.blog-card .body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .meta { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.blog-card .meta .cat { color: var(--accent); font-weight: 600; }
.blog-card h3 { font-size: 17px; color: var(--text-strong); line-height: 1.35; margin-bottom: 10px; }
.blog-card p { font-size: 14px; color: var(--muted); flex-grow: 1; margin-bottom: 14px; }
.blog-card .read { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 8px 16px; border-radius: 9px; border: 1px solid rgba(34,197,94,0.3); background: var(--accent-soft); transition: var(--trans); }
.blog-card .read svg { width: 15px; height: 15px; flex: none; transition: transform var(--trans); }
.blog-card:hover .read { background: rgba(34,197,94,0.18); }
.blog-card:hover .read svg { transform: translateX(3px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; margin-bottom: 18px; }
.footer-brand .badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-brand .badge {
  display: inline-flex; gap: 7px; align-items: center; font-size: 12px; color: var(--text);
  background: var(--card); border: 1px solid var(--border); padding: 6px 11px; border-radius: 8px;
}
.footer-brand .badge svg { width: 15px; height: 15px; color: var(--accent); }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-strong); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; transition: var(--trans); }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 9px; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); transition: var(--trans); }
.footer-bottom .socials a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom .socials svg { width: 17px; height: 17px; }

/* ---------- Info content sections (alternating) ---------- */
.info-wrap { padding: 30px 0 10px; }
.info-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.info-row + .info-row { border-top: 1px solid var(--border); }
.info-row.reverse .info-visual { order: 2; }
.info-art {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); aspect-ratio: 16/10; position: relative;
}
.info-art svg { width: 100%; height: 100%; display: block; }
.info-art .art-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: 12px; font-weight: 600; color: #fff; letter-spacing: .5px;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15);
}
.info-text .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
}
.info-text h2 { font-size: 31px; letter-spacing: -0.8px; color: var(--text-strong); line-height: 1.2; margin-bottom: 16px; }
.info-text h3 { font-size: 18px; color: var(--text-strong); margin: 22px 0 10px; }
.info-text p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; line-height: 1.75; }
.info-text ul { list-style: none; margin: 16px 0 0; }
.info-text ul li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; color: var(--text); }
.info-text ul li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }

@media (max-width: 900px) {
  .info-row { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .info-row.reverse .info-visual { order: 0; }
  .info-text h2 { font-size: 26px; }
}

/* ---------- Keyword tag cloud (SEO) ---------- */
.keyword-cloud { background: var(--bg-2); border-top: 1px solid var(--border); padding: 44px 0; }
.keyword-cloud h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 18px; text-align: center; }
.kw-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.kw-tags a {
  font-size: 12.5px; color: var(--muted); background: var(--card);
  border: 1px solid var(--border); padding: 6px 13px; border-radius: 20px; transition: var(--trans);
}
.kw-tags a:hover { color: var(--accent); border-color: rgba(34,197,94,0.35); background: var(--accent-soft); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 120;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 12px 18px 12px 14px; border-radius: 50px;
  font-weight: 600; font-size: 14.5px; box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: var(--trans);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .wa-txt small { display: block; font-size: 11px; opacity: 0.9; font-weight: 400; }
@media (max-width: 540px) { .wa-float .wa-txt { display: none; } .wa-float { padding: 14px; } }

/* ---------- Page header (blog/inner) ---------- */
.page-hero { padding: 60px 0 40px; background: var(--bg-2); border-bottom: 1px solid var(--border); position: relative; }
.page-hero::before { content:""; position:absolute; inset:0; background: var(--hero-glow); opacity:.5; }
.page-hero .container { position: relative; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: 40px; letter-spacing: -1px; color: var(--text-strong); margin-bottom: 12px; line-height: 1.15; }
.page-hero p { color: var(--muted); font-size: 16px; max-width: 640px; }

/* ---------- Blog filter ---------- */
.blog-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.blog-filter button {
  padding: 8px 16px; border-radius: 30px; font-size: 13.5px; font-weight: 500; cursor: pointer;
  background: var(--card); border: 1px solid var(--border); color: var(--text); transition: var(--trans);
}
.blog-filter button:hover, .blog-filter button.active { background: var(--accent); border-color: var(--accent); color: #04210f; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.article { max-width: 100%; }
.article .hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; border: 1px solid var(--border); }
.article .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.article .tag { font-size: 12px; background: var(--accent-soft); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.article-body { font-size: 16px; line-height: 1.8; color: var(--text); }
.article-body h2 { font-size: 27px; color: var(--text-strong); margin: 38px 0 14px; letter-spacing: -0.5px; }
.article-body h3 { font-size: 21px; color: var(--text-strong); margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; color: var(--muted); }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--muted); }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body blockquote {
  border-left: 3px solid var(--accent); background: var(--card); padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 0 0 22px; color: var(--text); font-style: italic;
}
.article-body .infobox {
  background: var(--accent-soft); border: 1px solid rgba(34,197,94,0.25); border-radius: var(--radius-sm);
  padding: 18px 20px; margin: 0 0 22px; color: var(--text);
}
.article-body .infobox strong { color: var(--accent); }

.sidebar { position: sticky; top: 90px; }
.sidebar .widget { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.sidebar .widget h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-strong); margin-bottom: 16px; }
.sidebar .recent a { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar .recent a:last-child { border-bottom: none; }
.sidebar .recent .num { color: var(--accent); font-weight: 700; font-size: 13px; flex: none; }
.sidebar .recent .t { font-size: 13.5px; color: var(--text); line-height: 1.4; transition: var(--trans); }
.sidebar .recent a:hover .t { color: var(--accent); }
.sidebar .cta-widget { background: linear-gradient(160deg, var(--accent-soft), transparent); }
.sidebar .cta-widget p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 9px;
  background: var(--card); border: 1px solid var(--border); color: var(--text); font-size: 14px; font-weight: 500; transition: var(--trans);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #04210f; }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ---------- Misc ---------- */
.trust-row { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; opacity: .85; margin-top: 8px; }
.trust-row .t-item { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.trust-row .t-item svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .sec-head h2 { font-size: 30px; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  .cta-banner { padding: 28px; }
  .sec { padding: 56px 0; }
}
