/*
Theme Name: PimpsVPN
Theme URI: https://pimps.app
Author: PimpsVPN
Description: Modern dark landing theme for PimpsVPN Telegram Mini App
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
License: GPL-2.0-or-later
Text Domain: pimpsvpn
*/

/* ═══════════════════════════════════════════════════════
   SITE ICONS (mask-image, PNG)
   Файлы: assets/img/icons/*.png
   Все иконки — белые PNG, цвет задаётся через background.
═══════════════════════════════════════════════════════ */
.si {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: currentColor;
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    flex-shrink: 0;
}

/* Список иконок → нужно добавить в assets/img/icons/ */
.si-telegram  { mask-image: url(assets/img/icons/telegram.png);  -webkit-mask-image: url(assets/img/icons/telegram.png); }
.si-shield    { mask-image: url(assets/img/icons/shield.png);    -webkit-mask-image: url(assets/img/icons/shield.png); }
.si-lock      { mask-image: url(assets/img/icons/lock.png);      -webkit-mask-image: url(assets/img/icons/lock.png); }
.si-usdt      { mask-image: url(assets/img/icons/usdt.png);      -webkit-mask-image: url(assets/img/icons/usdt.png); }
.si-gift      { mask-image: url(assets/img/icons/gift.png);      -webkit-mask-image: url(assets/img/icons/gift.png); }
.si-chat      { mask-image: url(assets/img/icons/chat.png);      -webkit-mask-image: url(assets/img/icons/chat.png); }
.si-qr        { mask-image: url(assets/img/icons/qr.png);        -webkit-mask-image: url(assets/img/icons/qr.png); }
.si-antenna   { mask-image: url(assets/img/icons/antenna.png);   -webkit-mask-image: url(assets/img/icons/antenna.png); }
.si-arrow-r   { mask-image: url(assets/img/icons/arrow-right.png); -webkit-mask-image: url(assets/img/icons/arrow-right.png); }

/* Размеры */
.si-sm { width: 16px; height: 16px; }
.si-md { width: 20px; height: 20px; }
.si-lg { width: 32px; height: 32px; }
.si-xl { width: 48px; height: 48px; }

/* ═══════════════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════════════ */
:root {
    --green:        #9BF019;
    --green-dim:    rgba(155,240,25,.12);
    --green-mid:    rgba(155,240,25,.25);
    --bg:           #0a0a0a;
    --bg-card:      #111111;
    --bg-card2:     #181818;
    --border:       rgba(255,255,255,.07);
    --text:         #ffffff;
    --text-muted:   rgba(255,255,255,.45);
    --text-faint:   rgba(255,255,255,.2);
    --radius-sm:    12px;
    --radius-md:    20px;
    --radius-lg:    32px;
    --radius-xl:    48px;
    --font:         'Inter', 'Nunito', system-ui, -apple-system, sans-serif;
    --max-w:        1160px;
    --transition:   0.18s ease;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { 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.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════ */
.display-1 { font-size: clamp(42px, 7vw, 88px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.display-2 { font-size: clamp(32px, 5vw, 64px); font-weight: 800; line-height: 1.1;  letter-spacing: -0.03em; }
.display-3 { font-size: clamp(24px, 3.5vw, 44px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.heading-1 { font-size: clamp(18px, 2.5vw, 28px); font-weight: 700; line-height: 1.3; }
.body-lg   { font-size: clamp(15px, 1.4vw, 18px); font-weight: 400; line-height: 1.7; }
.body-md   { font-size: 15px; font-weight: 400; line-height: 1.65; }
.label     { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.text-green  { color: var(--green); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }

/* ═══════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ═══════════════════════════════════════════════════════
   COMPONENTS
═══════════════════════════════════════════════════════ */

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: var(--green-dim);
    color: var(--green);
    border: 1px solid rgba(155,240,25,.2);
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; }
    50% { opacity: .3; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 0 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--green);
    color: #000;
}
.btn-primary:hover { background: #aefc2e; transform: translateY(-1px); }
.btn-primary:active { transform: scale(.97); }

.btn-ghost {
    background: rgba(255,255,255,.06);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

.btn-lg { height: 60px; padding: 0 36px; font-size: 17px; border-radius: 18px; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; border-radius: var(--radius-sm); }

/* Card */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.card-p { padding: 32px; }

/* Tag */
.tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    background: var(--green-dim);
    color: var(--green);
}

/* Divider */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10,10,10,.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav-inner {
    width: 100%;
    max-width: var(--max-w);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.nav-logo-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--green);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a {
    height: 38px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
    }
    .nav-burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: var(--transition);
    }
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
    min-height: 100svh;
    padding-top: 70px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(155,240,25,.12) 0%, transparent 65%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}
.hero-eyebrow { margin-bottom: 20px; }
.hero-title { margin-bottom: 20px; }
.hero-title em { color: var(--green); font-style: normal; }
.hero-sub {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.hero-stat-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -.02em;
}
.hero-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-phone-wrap {
    position: relative;
    width: 280px;
}
.hero-phone {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-phone-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(155,240,25,.25) 0%, transparent 70%);
    pointer-events: none;
}
.hero-card-float {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.hero-card-float .icon-wrap {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-card-float .icon-wrap .si {
    width: 16px; height: 16px;
    background: var(--green);
}
.hero-card-float.top-left  { top: 10%;  left: -40px; animation: float-a 4s ease-in-out infinite; }
.hero-card-float.mid-right { top: 45%; right: -50px; animation: float-b 5s ease-in-out infinite; }
.hero-card-float.bot-left  { bottom: 10%; left: -30px; animation: float-a 6s ease-in-out infinite 1s; }

@keyframes float-a {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@keyframes float-b {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 20px; }
    .hero-card-float.top-left  { left: 0; }
    .hero-card-float.mid-right { right: 0; }
    .hero-card-float.bot-left  { left: 0; }
    .hero-phone-wrap { width: 220px; }
}

/* ═══════════════════════════════════════════════════════
   TRUSTED / LOGOS
═══════════════════════════════════════════════════════ */
.trusted {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trusted-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-faint);
    text-align: center;
    margin-bottom: 20px;
}
.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: .35;
}
.trusted-logo { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }

/* ═══════════════════════════════════════════════════════
   FEATURES BENTO
═══════════════════════════════════════════════════════ */
.features-head {
    text-align: center;
    margin-bottom: 56px;
}
.features-head .section-label { margin-bottom: 12px; }
.features-head h2 { margin-bottom: 16px; }
.features-head p { color: var(--text-muted); max-width: 520px; margin: 0 auto; font-size: 17px; }

.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}
.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.bento-item:hover {
    border-color: rgba(155,240,25,.25);
    transform: translateY(-2px);
}
.bento-item.span-8 { grid-column: span 8; }
.bento-item.span-4 { grid-column: span 4; }
.bento-item.span-6 { grid-column: span 6; }
.bento-item.span-5 { grid-column: span 5; }
.bento-item.span-7 { grid-column: span 7; }

.bento-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--green-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.bento-icon .si {
    width: 22px; height: 22px;
    background: var(--green);
}
.bento-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.bento-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.bento-accent { background: linear-gradient(135deg, #0f1f00 0%, #0a0a0a 100%); }
.bento-accent .bento-title,
.bento-accent .bento-desc { color: var(--text-muted); }

/* Big feature card with visual */
.bento-item.hero-card {
    background: linear-gradient(145deg, #0d1a00 0%, #0a0a0a 100%);
    border-color: rgba(155,240,25,.15);
}
.bento-item.hero-card .bento-title { font-size: 26px; color: white; }

.bento-glow-bg {
    position: absolute;
    bottom: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(155,240,25,.12) 0%, transparent 65%);
    pointer-events: none;
}

/* speed-display, server-flags, lock-visual removed */

@media (max-width: 900px) {
    .bento-item.span-8,
    .bento-item.span-4,
    .bento-item.span-6,
    .bento-item.span-5,
    .bento-item.span-7 { grid-column: span 12; }
    .bento { grid-template-columns: 1fr; }
    .speed-num { font-size: 48px; }
}

/* ═══════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: border-color var(--transition);
}
.step-card:hover { border-color: rgba(155,240,25,.2); }
.step-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--green);
    background: var(--green-dim);
    border-radius: 100px;
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.step-connector {
    position: absolute;
    top: 42px; right: -10px;
    width: 20px; height: 2px;
    background: var(--border);
}
.step-connector::after {
    content: '';
    position: absolute;
    right: 0; top: -4px;
    border: 5px solid transparent;
    border-left-color: var(--border);
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .step-connector { display: none; }
}

/* pricing removed */

/* stats-band removed */

/* testimonials removed */

/* ═══════════════════════════════════════════════════════
   CTA
═══════════════════════════════════════════════════════ */
.cta-section {
    padding: 96px 0;
}
.cta-box {
    background: linear-gradient(135deg, #0d1a00 0%, #0a0a0a 50%, #0d1a00 100%);
    border: 1px solid rgba(155,240,25,.2);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(155,240,25,.1) 0%, transparent 65%);
    pointer-events: none;
}
.cta-title { margin-bottom: 16px; position: relative; }
.cta-sub { color: var(--text-muted); font-size: 17px; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

@media (max-width: 600px) {
    .cta-box { padding: 48px 24px; }
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 12px;
    max-width: 260px;
}
.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-faint);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-social-link {
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-muted);
    transition: var(--transition);
}
.footer-social-link:hover { background: var(--green-dim); color: var(--green); border-color: rgba(155,240,25,.3); }

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer-top { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   NEWS / BLOG
═══════════════════════════════════════════════════════ */
.news-hero {
    padding-top: calc(70px + 60px);
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover { border-color: rgba(155,240,25,.25); transform: translateY(-3px); }
.news-card-thumb {
    aspect-ratio: 16/9;
    background: var(--bg-card2);
    overflow: hidden;
    flex-shrink: 0;
}
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card-thumb img { transform: scale(1.04); }
.news-card-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--bg-card2), var(--bg));
}
.news-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
}
.news-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    transition: color var(--transition);
}
.news-card:hover .news-card-title { color: var(--green); }
.news-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}
.news-read-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════════════ */
.single-hero {
    padding-top: calc(70px + 60px);
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.single-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.single-meta a:hover { color: var(--green); }
.single-title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 16px;
}
.single-excerpt {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 680px;
}
.single-thumb {
    margin: 40px 0 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 520px;
}
.single-thumb img { width: 100%; object-fit: cover; }

.single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    padding: 56px 0 80px;
    align-items: start;
}
.single-content {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
}
.single-content h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; letter-spacing: -.02em; }
.single-content h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.single-content p { margin-bottom: 20px; }
.single-content ul, .single-content ol { padding-left: 24px; margin-bottom: 20px; }
.single-content li { margin-bottom: 8px; }
.single-content ul li { list-style: disc; }
.single-content ol li { list-style: decimal; }
.single-content blockquote {
    border-left: 3px solid var(--green);
    padding: 16px 24px;
    margin: 28px 0;
    background: var(--bg-card);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 18px;
    font-style: italic;
    color: rgba(255,255,255,.7);
}
.single-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.single-content img { border-radius: var(--radius-md); margin: 24px 0; }
.single-content code {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: .9em;
    font-family: 'Courier New', monospace;
    color: var(--green);
}
.single-content pre {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    overflow-x: auto;
    margin: 24px 0;
}
.single-content pre code { background: none; border: none; padding: 0; }
.single-content hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

/* Sidebar */
.single-sidebar { position: sticky; top: 90px; }
.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.sidebar-widget-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.sidebar-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-title { font-size: 13px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; transition: color var(--transition); }
.sidebar-post-title:hover { color: var(--green); }
.sidebar-post-date { font-size: 11px; color: var(--text-muted); }
.sidebar-tg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--green);
    color: black;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}
.sidebar-tg-btn:hover { background: #aefc2e; }

@media (max-width: 900px) {
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; }
}

/* Post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 48px 0;
    border-top: 1px solid var(--border);
}
.post-nav-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: border-color var(--transition);
}
.post-nav-item:hover { border-color: rgba(155,240,25,.25); }
.post-nav-dir { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.post-nav-title { font-size: 15px; font-weight: 700; color: var(--text); transition: color var(--transition); }
.post-nav-item:hover .post-nav-title { color: var(--green); }
.post-nav-item.next { text-align: right; }

@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   PAGE
═══════════════════════════════════════════════════════ */
.page-hero {
    padding-top: calc(70px + 60px);
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.page-title-wrap .page-title { margin-bottom: 12px; }
.page-title-wrap .page-sub { font-size: 18px; color: var(--text-muted); max-width: 600px; }

.page-content-wrap {
    padding: 56px 0 80px;
    max-width: 760px;
}
.page-content {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.85);
}
.page-content h2 { font-size: 28px; font-weight: 700; margin: 40px 0 14px; letter-spacing: -.02em; }
.page-content h3 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; }
.page-content p  { margin-bottom: 20px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 20px; }
.page-content li { margin-bottom: 8px; }
.page-content ul li { list-style: disc; }
.page-content ol li { list-style: decimal; }
.page-content blockquote {
    border-left: 3px solid var(--green);
    padding: 14px 20px;
    margin: 24px 0;
    background: var(--bg-card);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-muted);
}
.page-content a { color: var(--green); }
.page-content code { background: var(--bg-card); border: 1px solid var(--border); border-radius: 5px; padding: 2px 8px; font-size: .9em; color: var(--green); font-family: monospace; }

/* ═══════════════════════════════════════════════════════
   404
═══════════════════════════════════════════════════════ */
.error-page {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.error-glow {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%,-50%);
    width: 700px; height: 500px;
    background: radial-gradient(ellipse, rgba(155,240,25,.1) 0%, transparent 65%);
    pointer-events: none;
}
.error-inner { position: relative; z-index: 1; padding: 40px 24px; }
.error-code {
    font-size: clamp(96px, 18vw, 200px);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.06em;
    color: var(--green);
    opacity: .15;
    margin-bottom: 0;
    user-select: none;
}
.error-title { font-size: clamp(22px, 4vw, 40px); font-weight: 800; margin: -20px 0 12px; letter-spacing: -.02em; }
.error-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 36px; max-width: 420px; margin-left: auto; margin-right: auto; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   BREADCRUMBS
═══════════════════════════════════════════════════════ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.breadcrumbs a { transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs-sep { opacity: .3; }

/* ═══════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 0;
}
.page-numbers {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}
.page-numbers:hover { border-color: rgba(155,240,25,.3); color: var(--text); }
.page-numbers.current { background: var(--green); color: black; border-color: var(--green); }
.page-numbers.dots { background: none; border-color: transparent; }

/* ═══════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════ */
.section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 12px;
}
.section-label-line {
    width: 24px; height: 2px;
    background: var(--green);
    border-radius: 2px;
}
.section-label-text { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.d-flex { display: flex; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.w-100 { width: 100%; }

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WordPress alignment classes */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; text-align: center; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* ═══════════════════════════════════════════════════════
   LOGO
═══════════════════════════════════════════════════════ */
.nav-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

/* ═══════════════════════════════════════════════════════
   BLOG PAGE
═══════════════════════════════════════════════════════ */
.blog-hero {
    padding-top: calc(70px + 56px);
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
}
.blog-hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 560px;
    line-height: 1.6;
}

.blog-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

/* Category pills */
.blog-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.blog-cat-link {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}
.blog-cat-link:hover,
.blog-cat-link.active {
    background: var(--green-dim);
    border-color: rgba(155,240,25,.25);
    color: var(--green);
}
.blog-cat-count {
    font-size: 11px;
    opacity: .5;
    font-weight: 400;
}

/* Post list */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog-post-row {
    display: grid;
    grid-template-columns: 200px 1fr 40px;
    gap: 24px;
    align-items: center;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
    cursor: pointer;
}
.blog-post-row:hover {
    background: var(--bg-card);
    border-color: var(--border);
}
.blog-post-row:hover .blog-post-title {
    color: var(--green);
}

.blog-post-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}
.blog-post-date {
    font-size: 13px;
    color: var(--text-muted);
}
.blog-post-read {
    font-size: 12px;
    color: var(--text-faint);
}

.blog-post-body {
    min-width: 0;
}
.blog-post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text);
    transition: color var(--transition);
}
.blog-post-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--green-dim);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--transition);
}
.blog-post-row:hover .blog-post-arrow { opacity: 1; }

/* Empty state */
.blog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 80px 0;
    color: var(--text-muted);
    font-size: 15px;
    text-align: center;
}
.blog-empty-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 700px) {
    .blog-post-row {
        grid-template-columns: 1fr 32px;
        grid-template-rows: auto auto;
        gap: 12px;
        padding: 20px 16px;
    }
    .blog-post-meta {
        grid-column: 1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    .blog-post-body {
        grid-column: 1;
    }
    .blog-post-arrow {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        opacity: 1;
    }
}
