/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS
════════════════════════════════════════════════════════════ */
:root {
    --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono:    'Fira Code', 'Cascadia Code', monospace;
    --bg: #080b12;
    --surface: #0f1320;
    --surface-2: #161b2e;
    --surface-3: #1e2438;
    --border: #252a40;
    --accent: #7c6fff;
    --accent-hover: #6b5eeb;
    --accent-glow: rgba(124, 111, 255, 0.18);
    --text: #eef0f8;
    --text-muted: #8e93b0;
    --success: #50c98a;
    --danger: #f06b6b;
    --cg-color: #a78bfa;
    --cp-color: #fb923c;
    --ck-color: #34d399;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    color: var(--text);
    min-height: 100vh;
    background: radial-gradient(ellipse at 20% 0%, rgba(124, 111, 255, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 100%, rgba(52, 211, 153, 0.04) 0%, transparent 60%),
                var(--bg);
    font-size: 15px;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; border-radius: 50%; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-sm { padding: 5px 12px; font-size: 13px; }

/* ═══════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 60px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    flex-shrink: 0;
}
.logo-icon { font-size: 22px; color: var(--accent); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.18s, background 0.18s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }

.nav-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.nav-codegram .nav-dot { background: var(--cg-color); }
.nav-codepors .nav-dot { background: var(--cp-color); }
.nav-codekade .nav-dot { background: var(--ck-color); }

.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.avatar-mini {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border);
}

.hero-inner { text-align: center; }

.hero-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text);
}
.hero-title .accent { color: var(--accent); }

.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
}
.platform-card:hover { transform: translateY(-3px); }
.platform-codegram:hover { border-color: var(--cg-color); }
.platform-codepors:hover { border-color: var(--cp-color); }
.platform-codekade:hover { border-color: var(--ck-color); }

.platform-icon {
    font-size: 28px;
    line-height: 1;
}
.platform-codegram .platform-icon { color: var(--cg-color); }
.platform-codepors .platform-icon { color: var(--cp-color); }
.platform-codekade .platform-icon { color: var(--ck-color); }

.platform-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}
.platform-desc {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   WIDGETS
════════════════════════════════════════════════════════════ */
.main-content { padding: 56px 0; }

.widgets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.widget-full { grid-column: 1 / -1; }

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    flex: 1;
}

.widget-more {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.18s;
}
.widget-more:hover { color: var(--accent); }

.widget-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
}
.tag-codegram { background: rgba(108,99,255,0.15); color: var(--cg-color); }
.tag-codepors { background: rgba(245,158,11,0.15); color: var(--cp-color); }
.tag-codekade { background: rgba(16,185,129,0.15); color: var(--ck-color); }

/* ── Lang badge ── */
.lang-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: var(--lang-color, var(--text-muted));
    border: 1px solid var(--lang-color, var(--border));
}

/* ── Avatar ── */
.avatar {
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}
.avatar-sm { border-radius: 50%; }

/* ── CodeGram posts ── */
.post-list { display: flex; flex-direction: column; gap: 16px; }

.post-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.post-item:last-child { border-bottom: none; padding-bottom: 0; }

.post-body {flex: 1;/* gap: 3px; */min-width: 0;}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.post-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.post-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.post-content {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-stats {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ── CodeKade repos ── */
.repo-list { display: flex; flex-direction: column; gap: 16px; }

.repo-item {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.repo-item:last-child { border-bottom: none; padding-bottom: 0; }

.repo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.repo-name {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.18s;
}
.repo-name:hover { color: var(--ck-color); }
.repo-name strong { color: var(--text); font-weight: 600; }

.repo-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.55;
}

.repo-stats {
    display: flex;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ── codepors questions ── */
.question-list { display: flex; flex-direction: column; gap: 0; }

.question-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.question-item:last-child { border-bottom: none; }

.question-votes,
.question-answers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    flex-shrink: 0;
}

.question-answers.has-answers {
    border-color: var(--success);
    background: rgba(76, 175, 130, 0.08);
}

.vote-count,
.answer-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.question-answers.has-answers .answer-count { color: var(--success); }

.vote-label,
.answer-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 3px;
}

.question-body { flex: 1; min-width: 0; }

.question-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.45;
    transition: color 0.18s;
}
.question-title:hover { color: var(--cp-color); }

.question-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
}

.tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════════ */
.faq-section {
    padding: 64px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 40px;
}

.faq-grid {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--accent); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    user-select: none;
    gap: 12px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { color: var(--accent); }

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 0.18s;
    line-height: 1;
}
.faq-item[open] .faq-icon { color: var(--accent); }

.faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
    padding: 48px 0 0;
    background: var(--bg);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.footer-brand { max-width: 260px; }

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.18s;
}
.footer-link:hover { color: var(--text); }

.footer-bottom {
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}
.post-footer{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}
.avmage {
    width: 30px;
    height: 30px;
}
/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-platforms { grid-template-columns: 1fr; max-width: 320px; }
    .widgets-grid   { grid-template-columns: 1fr; }
    .widget-full    { grid-column: 1; }
    .footer-inner   { grid-template-columns: 1fr; }
    .footer-nav     { flex-wrap: wrap; gap: 28px; }
    .site-nav       { display: none; }
    .hero-actions   { flex-direction: column; align-items: center; }

    .question-votes,
    .question-answers { min-width: 44px; padding: 6px 8px; }
}

@media (max-width: 480px) {
    .hero { padding: 48px 0 40px; }
    .hero-title { font-size: 28px; }
    .container { padding: 0 16px; }
}


.site-header {
    backdrop-filter: blur(24px) saturate(200%);
    background: rgba(8, 11, 18, 0.8);
    border-bottom: 1px solid rgba(37, 42, 64, 0.7);
    box-shadow: 0 1px 0 rgba(124, 111, 255, 0.05);
}

.header-inner {
    height: 68px;
}

.nav-link {
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: rgba(124, 111, 255, 0.08);
}

.btn {
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    box-shadow: 0 4px 20px var(--accent-glow);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(124, 111, 255, 0.3);
    background: linear-gradient(135deg, #8b7fff, var(--accent));
}

.hero {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(124, 111, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    background: rgba(124, 111, 255, 0.1);
    border: 1px solid rgba(124, 111, 255, 0.3);
    color: var(--accent);
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 62px);
    background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(124, 111, 255, 0.15));
}

.hero-title .accent {
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 540px;
    margin: 20px auto 36px;
    line-height: 1.75;
}

.platform-card {
    background: linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 111, 255, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.platform-card:hover::after {
    opacity: 1;
}

.platform-codegram:hover {
    border-color: var(--cg-color);
    box-shadow: 0 20px 60px rgba(167, 139, 250, 0.15);
}

.platform-codepors:hover {
    border-color: var(--cp-color);
    box-shadow: 0 20px 60px rgba(251, 146, 60, 0.15);
}

.platform-codekade:hover {
    border-color: var(--ck-color);
    box-shadow: 0 20px 60px rgba(52, 211, 153, 0.15);
}

.main-content {
    padding: 48px 0;
}

.widget {
    background: linear-gradient(145deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 111, 255, 0.4), transparent);
    opacity: 0;
    transition: var(--transition);
}

.widget:hover {
    border-color: rgba(124, 111, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.widget:hover::before {
    opacity: 1;
}

.widget-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.tag-codegram {
    background: rgba(167, 139, 250, 0.12);
    color: var(--cg-color);
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.tag-codepors {
    background: rgba(251, 146, 60, 0.12);
    color: var(--cp-color);
    border: 1px solid rgba(251, 146, 60, 0.25);
}

.tag-codekade {
    background: rgba(52, 211, 153, 0.12);
    color: var(--ck-color);
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.post-item,
.repo-item,
.question-item {
    transition: var(--transition);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin: 0 -14px;
}

.post-item:hover,
.repo-item:hover,
.question-item:hover {
    background: rgba(124, 111, 255, 0.05);
    transform: translateX(4px);
}

.repo-name:hover,
.repo-name strong {
    color: var(--ck-color);
}

.question-title:hover {
    color: var(--cp-color);
}

.question-votes,
.question-answers {
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.question-user{
    direction: ltr;
}
.post-user{
    direction: ltr;
}
.question-answers.has-answers {
    border-color: var(--success);
    background: rgba(80, 201, 138, 0.08);
    box-shadow: 0 0 12px rgba(80, 201, 138, 0.1);
}

.tag {
    background: rgba(124, 111, 255, 0.08);
    border: 1px solid rgba(124, 111, 255, 0.2);
    color: var(--accent);
    border-radius: 6px;
    font-size: 11px;
    padding: 3px 8px;
    transition: var(--transition);
}

.tag:hover {
    background: rgba(124, 111, 255, 0.15);
    border-color: var(--accent);
}

.faq-section {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.faq-item {
    transition: var(--transition);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item[open] {
    background: var(--surface-2);
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(124, 111, 255, 0.1);
}

.faq-question {
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.site-footer {
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 111, 255, 0.4), transparent);
}

.footer-link {
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(3px);
    display: inline-block;
}
.site-footer {
    padding: 48px 0 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.footer-brand { max-width: 260px; }

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 4px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.18s;
}

.footer-link:hover { color: var(--text); }

.footer-bottom {
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-platforms { grid-template-columns: 1fr; max-width: 320px; }
    .widgets-grid   { grid-template-columns: 1fr; }
    .widget-full    { grid-column: 1; }
    .site-nav       { display: none; }
    .hero-actions   { flex-direction: column; align-items: center; }
    .question-answers { min-width: 44px; padding: 6px 8px; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero { padding: 48px 0 40px; }
    .hero-title { font-size: 28px; }
    .container { padding: 0 16px; }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }

    .footer-col-title {
        font-size: 11px;
    }

    .footer-link {
        font-size: 13px;
    }

    .site-footer {
        padding: 36px 0 0;
    }
}

@media (max-width: 768px) {
    .site-header {
        background: rgba(8, 11, 18, 0.95);
        backdrop-filter: blur(12px);
    }

    .hero {
        padding: 72px 0 56px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero::before {
        display: none;
    }

    .widget {
        padding: 20px;
    }
}
