/* ===== Koopsta V7 — Clean, Modern ===== */
:root {
    --bg: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-secondary: #F1F5F9;
    --bg-hover: #E2E8F0;

    --text: #0F172A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-on-accent: #FFFFFF;

    --accent: #0EA5E9;
    --accent-hover: #0284C7;
    --accent-purple: #6366F1;
    --accent-gradient: linear-gradient(135deg, #0EA5E9 0%, #6366F1 100%);

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

    --header-height: 72px;
    --container-max: 1200px;
    --section-padding: 100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--accent-hover); }

button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-on-accent);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    color: var(--text-on-accent);
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-outline {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}
.site-header.scrolled {
    background: rgba(248, 250, 252, 0.95);
    box-shadow: var(--shadow-sm);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}
.site-logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 24px;
    color: var(--text);
    letter-spacing: -0.03em;
}
.site-logo:hover { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.nav-link:hover {
    color: var(--accent);
    background: rgba(14, 165, 233, 0.08);
}
.search-toggle, .portal-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    background: transparent;
}
.search-toggle:hover, .portal-toggle:hover {
    color: var(--accent);
    background: rgba(14, 165, 233, 0.08);
}
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.hamburger {
    display: block; width: 20px; height: 2px;
    background: currentColor; border-radius: 2px;
    transition: all var(--transition-fast);
    position: relative;
}
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0;
    width: 20px; height: 2px;
    background: currentColor; border-radius: 2px;
    transition: all var(--transition-fast);
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-list {
        display: none;
        position: absolute;
        top: calc(100% + 8px); right: 16px;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 8px;
        min-width: 200px;
        flex-direction: column;
        gap: 2px;
        box-shadow: var(--shadow-lg);
    }
    .nav-list.open { display: flex; }
    .nav-link { padding: 12px 16px; width: 100%; }
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    padding: calc(var(--header-height) + 60px) 24px 80px;
    background: var(--bg);
    max-width: var(--container-max);
    margin: 0 auto;
}
.hero-content { max-width: 560px; }
.hero-label {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 20px;
    padding: 6px 14px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: var(--radius-sm);
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 56px;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 8px;
}
.hero-title--accent { color: var(--accent); }
.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: 20px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.hero-social {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.social-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.hero-orb {
    width: 200px; height: 200px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}
.hero-orb-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 80px;
    color: white;
}
.hero-tags {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        min-height: auto;
        padding: calc(var(--header-height) + 40px) 16px 60px;
    }
    .hero-content { max-width: 100%; }
    .hero-title { font-size: 40px; }
    .hero-cta { justify-content: center; }
    .hero-social { justify-content: center; }
    .hero-visual { margin: 0 auto; }
    .hero-orb { width: 160px; height: 160px; }
    .hero-orb-text { font-size: 64px; }
}

/* ===== Section Headers ===== */
.section-header {
    margin-bottom: 56px;
    text-align: center;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 36px;
    color: var(--text);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}
@media (max-width: 768px) { .section-title { font-size: 28px; } }

/* ===== Guides Grid — 4 Cards, max 4 per row ===== */
.guides-section {
    padding: var(--section-padding) 0;
    background: var(--bg);
}
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    min-width: 0;
}
.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.guide-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}
.guide-card-link:hover { color: inherit; }
.guide-card-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 22px;
    margin-bottom: 16px;
}
.guide-card-icon--blue  { background: rgba(14, 165, 233, 0.12); }
.guide-card-icon--green { background: rgba(34, 197, 94, 0.12); }
.guide-card-icon--purple{ background: rgba(99, 102, 241, 0.12); }
.guide-card-icon--orange{ background: rgba(249, 115, 22, 0.12); }
.guide-card-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}
.guide-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 16px;
}
.guide-card-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}
.guide-card:hover .guide-card-cta { color: var(--accent-hover); }
.guide-card-cta::after {
    content: '→';
    transition: transform var(--transition-fast);
}
.guide-card:hover .guide-card-cta::after { transform: translateX(4px); }

@media (max-width: 1024px) {
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .guides-grid { grid-template-columns: 1fr; }
    .guide-card { padding: 24px; }
}

/* ===== Tools Highlight ===== */
.tools-highlight {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);

/* ===== BLOGMOJO-STYLE ICONS ===== */
.guide-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    margin-bottom: 24px;
}

.guide-card-icon--blue  { background: rgba(14, 165, 233, 0.18); }
.guide-card-icon--green { background: rgba(34, 197, 94, 0.18); }
.guide-card-icon--purple{ background: rgba(99, 102, 241, 0.18); }
.guide-card-icon--orange{ background: rgba(249, 115, 22, 0.18); }

.guide-card-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.guide-card-desc {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.guide-card-cta {
    font-size: 15px;
}

.guides-grid {
    gap: 28px;
}
}
.tools-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
}
.tools-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(14, 165, 233, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}
.tools-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    color: var(--text);
    margin-bottom: 12px;
}
.tools-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.tools-list { list-style: none; margin-bottom: 24px; }
.tools-list li {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tools-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.tools-orb {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    box-shadow: var(--shadow-glow);
}
@media (max-width: 768px) {
    .tools-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px;
    }
    .tools-list li { justify-content: center; }
    .tools-orb { width: 120px; height: 120px; font-size: 48px; }
}

/* ===== FAQ ===== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg);
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
}
.faq-question {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
}
.faq-answer {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===== Newsletter + About Combined ===== */
.newsletter-about-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}
.newsletter-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}
.newsletter-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.newsletter-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    color: var(--text);
    margin-bottom: 8px;
}
.newsletter-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.newsletter-form .form-row {
    display: flex;
    gap: 12px;
}
.newsletter-input {
    flex: 1;
    height: 48px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 16px;
    font-size: 15px;
    color: var(--text);
    outline: none;
    transition: all var(--transition-fast);
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-success, .form-error {
    display: none;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    margin-top: 12px;
}
.form-success {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    border: 1px solid rgba(14, 165, 233, 0.2);
}
.form-error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
[data-members-form].success .form-success { display: block; }
[data-members-form].error .form-error { display: block; }

.about-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.about-avatar {
    width: 56px; height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 24px;
    flex-shrink: 0;
}
.about-text { flex: 1; }
.about-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.about-lead strong { color: var(--text); }
.about-link {
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
}
.about-link:hover { color: var(--accent-hover); }

@media (max-width: 768px) {
    .newsletter-about-grid { grid-template-columns: 1fr; }
    .newsletter-box { padding: 40px; }
    .newsletter-form .form-row { flex-direction: column; }
    .about-card { flex-direction: column; text-align: center; }
}

/* ===== Footer ===== */
.site-footer {
    padding: 40px 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-copy { font-size: 14px; color: var(--text-secondary); }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 14px; color: var(--text-secondary); }
.footer-nav a:hover { color: var(--accent); }
@media (max-width: 768px) {
    .footer-container { flex-direction: column; gap: 16px; text-align: center; }
}

/* ===== Post Page ===== */
.post-page { padding-top: calc(var(--header-height) + 60px); }
.post-header { padding-bottom: 60px; }
.post-feature-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.post-feature-image img { width: 100%; height: auto; object-fit: cover; }
.post-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 48px;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 24px;
}
.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}
.post-author { font-weight: 500; color: var(--accent); }
.post-content { padding-bottom: var(--section-padding); }
.post-content .container { max-width: 720px; }
.post-content h2 { font-size: 32px; margin-top: 48px; margin-bottom: 20px; }
.post-content h3 { font-size: 24px; margin-top: 36px; margin-bottom: 16px; }
.post-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.post-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.post-content a:hover { color: var(--accent-hover); }
.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.post-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text);
}
.post-content img { border-radius: var(--radius-md); margin: 32px 0; }

.kg-width-wide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.kg-width-full {
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

@media (max-width: 768px) {
    .post-title { font-size: 32px; }
    .post-content h2 { font-size: 24px; }
    .post-content h3 { font-size: 20px; }
    .post-content p, .post-content li { font-size: 16px; }
}

/* ===== Page (Standard) ===== */
.page-page {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: var(--section-padding);
}
.page-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 48px;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 40px;
    text-align: center;
}
.page-content { max-width: 720px; margin: 0 auto; }
.page-content h2 { font-size: 32px; margin-top: 48px; margin-bottom: 20px; }
.page-content h3 { font-size: 24px; margin-top: 36px; margin-bottom: 16px; }
.page-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.page-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-content a:hover { color: var(--accent-hover); }
.page-content ul, .page-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
@media (max-width: 768px) { .page-title { font-size: 32px; } }

/* ===== Contact Form ===== */
.contact-form { max-width: 600px; margin: 48px auto 0; }
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    height: 52px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 16px;
    font-size: 16px;
    color: var(--text);
    outline: none;
    transition: all var(--transition-fast);
}
.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-textarea { height: auto; padding: 16px; resize: vertical; }

/* ===== Hero Small ===== */
.hero--small {
    min-height: auto;
    padding: calc(var(--header-height) + 60px) 24px 60px;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0;
}
.hero--small .hero-title { font-size: 40px; }

/* ===== 404 ===== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-padding) 24px;
}
.error-code {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 120px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
}
.error-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    color: var(--text);
    margin-bottom: 16px;
}
.error-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
@media (max-width: 768px) {
    .error-code { font-size: 80px; }
    .error-title { font-size: 24px; }
}

/* ===== Scroll Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}
.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
    border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== Selection ===== */
::selection {
    background: rgba(14, 165, 233, 0.2);
    color: var(--text);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-animate] { opacity: 1; transform: none; }
}

/* ===== Print ===== */
@media print {
    .site-header, .site-footer, .newsletter-about-section, .search-toggle, .portal-toggle { display: none !important; }
    body { background: white; color: black; }
    a { color: black; text-decoration: underline; }
}

/* ===== HERO V2 — BLOGMOJO STYLE ===== */
.hero-headline {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 56px;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 560px;
}

.stats-bar {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 28px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 48px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 40px;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== GUIDES GRID V2 — BLOGMOJO STYLE ===== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: rgba(14, 165, 233, 0.3);
}

.guide-card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 32px;
    margin-bottom: 28px;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-card-icon {
    transform: scale(1.1);
}

.guide-card-icon--blue  { background: rgba(14, 165, 233, 0.15); }
.guide-card-icon--green { background: rgba(34, 197, 94, 0.15); }
.guide-card-icon--purple{ background: rgba(99, 102, 241, 0.15); }
.guide-card-icon--orange{ background: rgba(249, 115, 22, 0.15); }

.guide-card-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.3;
}

.guide-card-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.guide-card-cta {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.guide-card:hover .guide-card-cta {
    color: var(--accent-hover);
    gap: 12px;
}

@media (max-width: 1024px) {
    .hero-headline { font-size: 42px; }
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar { gap: 24px; padding: 24px 32px; }
}

@media (max-width: 768px) {
    .hero-headline { font-size: 32px; }
    .guides-grid { grid-template-columns: 1fr; }
    .guide-card { padding: 32px; }
    .stats-bar { flex-direction: column; gap: 16px; padding: 24px; }
    .stat-divider { display: none; }
}

/* ===== POPULAR GUIDES ===== */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.popular-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.popular-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.popular-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.popular-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    margin-bottom: 16px;
}

.popular-icon--blue  { background: rgba(14, 165, 233, 0.15); }
.popular-icon--green { background: rgba(34, 197, 94, 0.15); }
.popular-icon--purple{ background: rgba(99, 102, 241, 0.15); }
.popular-icon--orange{ background: rgba(249, 115, 22, 0.15); }
.popular-icon--teal  { background: rgba(20, 184, 166, 0.15); }

.popular-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.popular-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 16px;
}

.popular-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

.popular-card:hover .popular-cta {
    color: var(--accent-hover);
}

@media (max-width: 1200px) {
    .popular-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 480px) {
    .popular-grid { grid-template-columns: 1fr; }
}
/* === TOOLS PAGE === */
.tools-hero {
    padding: 100px 0 60px;
    text-align: center;
}

.tools-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.tools-hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary, #666);
    max-width: 600px;
    margin: 0 auto;
}

.tools-grid-section {
    padding: 40px 0 80px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

.tool-card {
    background: var(--card-bg, #fff);
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.tool-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.tool-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.tool-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.tool-icon-purple {
    background: #f3e8ff;
    color: #9333ea;
}

.tool-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tool-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary, #666);
    line-height: 1.6;
    margin-bottom: 24px;
}

.tool-card-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent, #111);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.tool-card-cta:hover {
    opacity: 0.85;
}

.tools-more {
    padding: 0 0 80px;
    text-align: center;
}

.tools-more-text {
    font-size: 1rem;
    color: var(--text-secondary, #666);
    max-width: 560px;
    margin: 0 auto;
}

.tools-more-text a {
    color: var(--accent, #111);
    text-decoration: underline;
    font-weight: 600;
}

.newsletter-section {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--border, #e5e5e5);
}

.newsletter-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: var(--text-secondary, #666);
    margin-bottom: 24px;
}

.newsletter-form form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    padding: 12px 16px;
    border: 1px solid var(--border, #e5e5e5);
    border-radius: 8px;
    min-width: 280px;
    font-size: 0.95rem;
}

.newsletter-form button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

/* ===== ICON FIXES ===== */
.guide-card-icon--blue::before  { content: "\\1F5A5"; font-size: 32px; }  /* Desktop */
.guide-card-icon--green::before { content: "\\1F50D"; font-size: 32px; }  /* Lupe */
.guide-card-icon--purple::before{ content: "\\1F916"; font-size: 32px; }  /* Robot */

.popular-icon--blue::before  { content: "\\1F5A5"; font-size: 24px; }
.popular-icon--green::before { content: "\\1F50D"; font-size: 24px; }
.popular-icon--purple::before{ content: "\\1F916"; font-size: 24px; }
.popular-icon--orange::before{ content: "\\26A1"; font-size: 24px; }   /* Blitz */
.popular-icon--teal::before  { content: "\\1F6E0"; font-size: 24px; }  /* Hammer */

.tools-orb::before { content: "\\1F6E0"; font-size: 48px; }
.about-avatar::before { content: "\\1F44B"; font-size: 48px; }
.guide-card-icon--blue::before  { content: "\\1F5A5"; font-size: 32px; }
.guide-card-icon--green::before { content: "\\1F50D"; font-size: 32px; }
.guide-card-icon--purple::before{ content: "\\1F916"; font-size: 32px; }
.popular-icon--blue::before  { content: "\\1F5A5"; font-size: 24px; }
.popular-icon--green::before { content: "\\1F50D"; font-size: 24px; }
.popular-icon--purple::before{ content: "\\1F916"; font-size: 24px; }
.popular-icon--orange::before{ content: "\\26A1"; font-size: 24px; }
.popular-icon--teal::before  { content: "\\1F6E0"; font-size: 24px; }
.tools-orb::before { content: "\\1F6E0"; font-size: 48px; }
.about-avatar::before { content: "\\1F44B"; font-size: 48px; }
.guide-card-icon,
.popular-icon,
.tools-orb,
.about-avatar {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
}
.guide-card-icon,
.popular-icon,
.tools-orb,
.about-avatar {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
