/* Fabrika Template: dark-pro */
/* Generated: 2026-04-02 */

:root {
    --bg: #0a0e17;
    --bg-card: #121829;
    --bg-card-hover: #1a2240;
    --text: #e2e8f0;
    --text-muted: #8892a8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59,130,246,0.15);
    --green: #22c55e;
    --red: #ef4444;
    --border: #1e293b;
    --heading-color: #ffffff;
    --radius: 12px;
    --max-w: 900px;
    --font: 'DM Sans', -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER — sticky with scroll effect */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #0a0e17e8;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    padding: 14px 0;
    transition: all 0.3s ease;
}
.site-header.scrolled {
    background: #0a0e17f2;
    border-bottom-color: var(--border);
    box-shadow: 0 2px 16px rgba(10,14,23,0.5);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
}
.logo img { height: 36px; display: block; }

/* Header nav */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
}
.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--text);
    background: var(--bg-card);
}

/* Header CTA */
.header-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}
.header-cta:hover { background: var(--accent-hover); }

/* Header dual buttons variant */
.header-btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    margin-right: 8px;
}
.header-btn-outline:hover { background: var(--bg-card); }

/* Mobile burger */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* LAYOUT — sidebar */
.page-layout {
    display: flex;
}
.page-sidebar {
    width: 220px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    padding: 24px 16px;
}
.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 2px;
    transition: all 0.15s;
}
.sidebar-item:hover { background: var(--bg-card); }
.sidebar-item.active {
    color: var(--accent);
    background: rgba(59,130,246,0.08);
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(135deg, var(--bg-card), var(--bg));
    border-bottom: 1px solid var(--border);
    padding: 48px 20px;
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-text { flex: 1; }
.hero-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero-text p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.hero-rating {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.hero-rating .score { font-weight: 700; color: var(--heading-color); }
.hero-rating .stars { color: #f59e0b; }

/* STATS CARDS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 24px 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
}
.stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}
.stat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}

/* FEATURE CARDS */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(59,130,246,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.feature-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 6px;
}
.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* AUTHOR BLOCK */
.author-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--text); }
.author-meta { font-size: 12px; color: var(--text-muted); }

/* BREADCRUMB */
.breadcrumb {
    padding: 20px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* MAIN CONTENT */
.site-main { padding: 40px 0 60px; }
.page-content { flex: 1; min-width: 0; }

.content h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--heading-color);
}
.content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--heading-color);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text);
}
.content p {
    margin-bottom: 16px;
    color: var(--text);
}
.content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border 0.2s;
}
.content a:hover { border-bottom-color: var(--accent); }
.content ul, .content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.content li { margin-bottom: 8px; }
.content ol li { padding-left: 4px; }

/* TABLES */
.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}
.content th {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    text-align: left;
}
.content td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.content tr:last-child td { border-bottom: none; }
.content tr:hover td { background: var(--bg-card-hover); }

/* HERO IMAGE */
.page-hero {
    margin: 0 -20px 30px;
    border-radius: var(--radius);
    overflow: hidden;
}
.page-hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

/* CTA */
.cta-block {
    margin: 40px 0;
    text-align: center;
}
.cta-button,
.content .cta-block .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 50px;
    box-shadow: 0 4px 24px var(--accent-glow);
    color: #fff !important;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

/* FAQ */
.content strong { color: var(--heading-color); }

/* SCROLL TO TOP */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--accent-glow);
    z-index: 50;
    transition: all 0.3s;
}
.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--accent-glow);
}
.scroll-top.visible { display: flex; }
.scroll-top svg { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }

/* FLOATING CTA BAR */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #0a0e17f0;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 12px 24px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: all 0.3s;
}
.floating-cta.visible { display: flex; }
.floating-cta .cta-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
}
.floating-cta .cta-button {
    padding: 10px 32px;
    font-size: 14px;
}

/* FOOTER */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
}
.site-footer .container { max-width: 1100px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
}
.footer-brand img { height: 28px; }
.footer-links h4 {
    color: var(--heading-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}
.risk-warning {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.copyright {
    color: var(--text-muted);
    font-size: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
    .content h1 { font-size: 1.6rem; }
    .content h2 { font-size: 1.2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .main-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--bg); padding: 20px; border-bottom: 1px solid var(--border); }
    .main-nav ul { flex-direction: column; }
    .menu-open .main-nav { display: block; }
    .menu-toggle { display: block; }
    .header-cta { display: none; }
    .content table { font-size: 13px; }
    .content th, .content td { padding: 8px 10px; }
    .page-sidebar { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .hero-inner { flex-direction: column; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .cta-button { padding: 14px 32px; font-size: 16px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; }
}
