:root {
--bg: #0d1117;
--bg2: #161b22;
--bg3: #1c2230;
--border: #30363d;
--text: #e6edf3;
--text2: #8b949e;
--text3: #6e7681;
--accent: #2ea44f;
--accent-h: #3fb950;
--accent2: #1f6feb;
--accent2-h: #388bfd;
--error: #f85149;
--warn: #d29922;
--info: #58a6ff;
--debug: #79c0ff;
--success: #56d364;
--radius: 10px;
--radius-sm: 6px;
--shadow: 0 4px 24px rgba(0,0,0,.4);
--font-body: 'Inter', sans-serif;
--font-display: 'Outfit', sans-serif;
--nav-h: 64px;
--transition: .2s ease;
}
[data-theme="light"] {
--bg: #f6f8fa;
--bg2: #ffffff;
--bg3: #eaeef2;
--border: #d0d7de;
--text: #1f2328;
--text2: #57606a;
--text3: #8c959f;
--accent: #1a7f37;
--accent-h: #116329;
--accent2: #0969da;
--accent2-h: #0550ae;
--error: #cf222e;
--warn: #9a6700;
--info: #0969da;
--debug: #0550ae;
--success: #1a7f37;
--shadow: 0 4px 24px rgba(0,0,0,.08);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
font-family: var(--font-body);
background: var(--bg);
color: var(--text);
line-height: 1.65;
overflow-x: hidden;
transition: background var(--transition), color var(--transition);
}
a { color: var(--accent2); text-decoration: none; }
a:hover { color: var(--accent2-h); text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }
ul { list-style: none; }

/* ===== NAV ===== */
.nav {
position: sticky; top: 0; z-index: 1000;
background: var(--bg2);
border-bottom: 1px solid var(--border);
height: var(--nav-h);
display: flex; align-items: center;
padding: 0 20px;
gap: 0;
}
.nav-inner {
width: 100%; max-width: 1280px; margin: 0 auto;
display: flex; align-items: center; gap: 12px;
}
.nav-logo {
font-family: var(--font-display);
font-weight: 800; font-size: 1.15rem;
color: var(--text); white-space: nowrap;
text-decoration: none;
flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links {
display: flex; align-items: center; gap: 4px;
margin-left: 24px;
flex: 1;
}
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button.nav-drop-btn {
display: flex; align-items: center; gap: 4px;
padding: 6px 10px; border-radius: var(--radius-sm);
font-size: .875rem; font-weight: 500;
color: var(--text2); background: transparent;
transition: color var(--transition), background var(--transition);
white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > button.nav-drop-btn:hover {
color: var(--text); background: var(--bg3);
text-decoration: none;
}
.nav-drop-btn svg { transition: transform var(--transition); }
.nav-drop-btn.open svg { transform: rotate(180deg); }
.dropdown {
position: absolute; top: calc(100% + 8px); left: 0;
background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); min-width: 220px;
box-shadow: var(--shadow); padding: 6px;
opacity: 0; visibility: hidden;
transform: translateY(-6px);
transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
z-index: 200;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
display: block; padding: 7px 12px; border-radius: var(--radius-sm);
font-size: .82rem; color: var(--text2);
transition: background var(--transition), color var(--transition);
}
.dropdown a:hover { background: var(--bg3); color: var(--text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.theme-btn {
width: 36px; height: 36px; border-radius: 50%;
background: var(--bg3); border: 1px solid var(--border);
display: flex; align-items: center; justify-content: center;
color: var(--text2); transition: background var(--transition), color var(--transition);
}
.theme-btn:hover { background: var(--border); color: var(--text); }
.hamburger {
display: none; width: 36px; height: 36px;
background: var(--bg3); border: 1px solid var(--border);
border-radius: var(--radius-sm); flex-direction: column;
align-items: center; justify-content: center; gap: 5px;
flex-shrink: 0;
}
.hamburger span {
display: block; width: 18px; height: 2px;
background: var(--text2); border-radius: 2px;
transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
display: none; position: fixed; inset: var(--nav-h) 0 0 0;
background: var(--bg2); z-index: 999;
padding: 16px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu-section-title {
display: block; padding: 10px 12px;
font-size: .9rem; color: var(--text2);
border-radius: var(--radius-sm);
}
.mobile-menu a:hover { background: var(--bg3); color: var(--text); text-decoration: none; }
.mobile-menu-section-title {
font-weight: 700; font-size: .75rem; text-transform: uppercase;
letter-spacing: .08em; color: var(--text3); margin-top: 12px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-wrap { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 10px 20px; }
.breadcrumb {
max-width: 1280px; margin: 0 auto;
display: flex; align-items: center; gap: 6px;
font-size: .8rem; color: var(--text3);
flex-wrap: wrap;
}
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--accent2); text-decoration: underline; }
.breadcrumb-sep { color: var(--text3); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* ===== HERO ===== */
.hero {
padding: 72px 20px 60px;
text-align: center;
background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 60%, var(--bg) 100%);
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute; inset: 0;
background: radial-gradient(ellipse 60% 50% at 50% -10%, rgba(46,164,79,.12), transparent);
pointer-events: none;
}
.hero-badge {
display: inline-flex; align-items: center; gap: 6px;
background: rgba(46,164,79,.1); border: 1px solid rgba(46,164,79,.25);
color: var(--accent); font-size: .78rem; font-weight: 600;
letter-spacing: .05em; text-transform: uppercase;
padding: 4px 12px; border-radius: 100px; margin-bottom: 20px;
}
.hero h1 {
font-family: var(--font-display); font-weight: 800;
font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15;
color: var(--text); margin-bottom: 16px;
max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub {
font-size: clamp(.95rem, 2vw, 1.1rem); color: var(--text2);
max-width: 620px; margin: 0 auto 36px;
}
.hero-pills {
display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
margin-bottom: 40px;
}
.hero-pill {
background: var(--bg3); border: 1px solid var(--border);
padding: 5px 14px; border-radius: 100px;
font-size: .8rem; color: var(--text2);
}

/* ===== TOOL SECTION ===== */
.tool-section { padding: 0 20px 80px; }
.tool-wrap { max-width: 1100px; margin: 0 auto; }

/* Drop zone */
.drop-zone {
border: 2px dashed var(--border); border-radius: var(--radius);
background: var(--bg2); padding: 56px 20px;
text-align: center; cursor: pointer;
transition: border-color var(--transition), background var(--transition);
position: relative; overflow: hidden;
}
.drop-zone:hover, .drop-zone.drag-over {
border-color: var(--accent); background: rgba(46,164,79,.04);
}
.drop-zone input[type=file] {
position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.drop-icon {
width: 56px; height: 56px; margin: 0 auto 16px;
background: rgba(46,164,79,.1); border-radius: 14px;
display: flex; align-items: center; justify-content: center;
}
.drop-icon svg { color: var(--accent); }
.drop-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.drop-sub { font-size: .875rem; color: var(--text2); }
.drop-sub strong { color: var(--accent2); }
.drop-info { font-size: .78rem; color: var(--text3); margin-top: 12px; }

/* Toolbar */
.toolbar {
display: none; flex-wrap: wrap; gap: 8px;
align-items: center; margin-top: 20px;
background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); padding: 12px 16px;
}
.toolbar.visible { display: flex; }
.toolbar-search {
flex: 1; min-width: 200px;
display: flex; align-items: center; gap: 8px;
background: var(--bg3); border: 1px solid var(--border);
border-radius: var(--radius-sm); padding: 0 10px; height: 36px;
}
.toolbar-search svg { color: var(--text3); flex-shrink: 0; }
.toolbar-search input {
flex: 1; background: transparent; border: none;
color: var(--text); font-size: .875rem; font-family: var(--font-body);
outline: none;
}
.toolbar-search input::placeholder { color: var(--text3); }
.toolbar-right { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-btn {
padding: 6px 12px; border-radius: var(--radius-sm);
font-size: .78rem; font-weight: 600; background: var(--bg3);
border: 1px solid var(--border); color: var(--text2);
transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--text3); color: var(--text); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-btn.error.active { background: var(--error); border-color: var(--error); }
.filter-btn.warn.active { background: var(--warn); border-color: var(--warn); }
.filter-btn.info.active { background: var(--info); border-color: var(--info); }
.filter-btn.debug.active { background: var(--debug); border-color: var(--debug); }
.tool-btn {
padding: 6px 12px; border-radius: var(--radius-sm);
font-size: .78rem; font-weight: 600;
background: var(--bg3); border: 1px solid var(--border);
color: var(--text2); display: flex; align-items: center; gap: 5px;
transition: all var(--transition);
}
.tool-btn:hover { border-color: var(--accent2); color: var(--accent2); }
.tool-btn.danger:hover { border-color: var(--error); color: var(--error); }

/* File info bar */
.file-info-bar {
display: none; align-items: center; flex-wrap: wrap; gap: 12px;
margin-top: 12px; padding: 10px 14px;
background: var(--bg3); border: 1px solid var(--border);
border-radius: var(--radius-sm); font-size: .8rem; color: var(--text2);
}
.file-info-bar.visible { display: flex; }
.fib-item { display: flex; align-items: center; gap: 5px; }
.fib-item svg { color: var(--text3); flex-shrink: 0; }
.fib-badge {
padding: 2px 8px; border-radius: 100px;
font-size: .72rem; font-weight: 600;
}
.fib-badge.error { background: rgba(248,81,73,.15); color: var(--error); }
.fib-badge.warn { background: rgba(210,153,34,.15); color: var(--warn); }
.fib-badge.info { background: rgba(88,166,255,.15); color: var(--info); }

/* Stats bar */
.stats-bar {
display: none; gap: 12px; flex-wrap: wrap;
margin-top: 8px;
}
.stats-bar.visible { display: flex; }
.stat-card {
flex: 1; min-width: 100px;
background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius-sm); padding: 10px 14px;
text-align: center;
}
.stat-num {
font-family: var(--font-display); font-size: 1.3rem;
font-weight: 700; color: var(--text);
}
.stat-num.error { color: var(--error); }
.stat-num.warn { color: var(--warn); }
.stat-num.info { color: var(--info); }
.stat-num.success { color: var(--success); }
.stat-label { font-size: .72rem; color: var(--text3); margin-top: 2px; }

/* Log viewer */
.log-viewer-wrap {
margin-top: 12px; display: none;
background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); overflow: hidden;
}
.log-viewer-wrap.visible { display: block; }
.log-viewer-header {
display: flex; align-items: center; justify-content: space-between;
padding: 10px 14px; border-bottom: 1px solid var(--border);
background: var(--bg3); font-size: .8rem; color: var(--text2);
}
.log-viewer {
font-family: 'Courier New', Courier, monospace; font-size: .8rem;
line-height: 1.7; overflow: auto;
max-height: 600px; padding: 0;
}
.log-line {
display: flex; align-items: flex-start;
padding: 1px 0; border-bottom: 1px solid transparent;
}
.log-line:hover { background: rgba(255,255,255,.025); }
[data-theme="light"] .log-line:hover { background: rgba(0,0,0,.03); }
.log-line-num {
flex-shrink: 0; width: 50px; padding: 0 10px;
color: var(--text3); text-align: right;
user-select: none; border-right: 1px solid var(--border);
font-size: .72rem; line-height: 1.7;
}
.log-line-content { padding: 0 14px; flex: 1; word-break: break-all; white-space: pre-wrap; }
.log-line.lvl-error { background: rgba(248,81,73,.06); }
.log-line.lvl-warn{ background: rgba(210,153,34,.06); }
.log-line.lvl-info{ background: rgba(88,166,255,.04); }
.log-line.lvl-debug { background: transparent; }
.hl-error { color: var(--error); font-weight: 600; }
.hl-warn{ color: var(--warn); font-weight: 600; }
.hl-info{ color: var(--info); }
.hl-debug { color: var(--debug); }
.hl-timestamp { color: var(--success); }
.hl-ip { color: #e3b341; }
.hl-path { color: var(--accent2); }
.hl-num { color: #f0883e; }
.hl-match { background: rgba(255,200,0,.25); border-radius: 2px; padding: 0 2px; }
.log-empty {
padding: 40px; text-align: center;
color: var(--text3); font-family: var(--font-body); font-size: .9rem;
}
.virtual-list-placeholder { height: 1px; }

/* Match count */
.match-info {
font-size: .78rem; color: var(--text3); padding: 6px 14px;
border-bottom: 1px solid var(--border); background: var(--bg3);
display: none;
}
.match-info.visible { display: block; }
.match-info strong { color: var(--accent2); }

/* Paste area */
.paste-toggle-wrap { text-align: center; margin-top: 16px; }
.paste-toggle-btn {
background: none; border: 1px solid var(--border);
color: var(--text2); font-size: .82rem;
padding: 7px 16px; border-radius: var(--radius-sm);
transition: all var(--transition);
}
.paste-toggle-btn:hover { border-color: var(--accent2); color: var(--accent2); }
.paste-area-wrap { display: none; margin-top: 12px; }
.paste-area-wrap.visible { display: block; }
.paste-area {
width: 100%; min-height: 140px;
background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); padding: 14px;
color: var(--text); font-family: 'Courier New', monospace; font-size: .82rem;
resize: vertical; outline: none;
transition: border-color var(--transition);
}
.paste-area:focus { border-color: var(--accent2); }
.parse-btn {
margin-top: 8px; padding: 9px 22px;
background: var(--accent2); color: #fff;
border-radius: var(--radius-sm); font-size: .875rem; font-weight: 600;
transition: background var(--transition);
}
.parse-btn:hover { background: var(--accent2-h); }

/* Sample log loader row */
.sample-btns-row {
display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center;
}
.sample-label { font-size: .78rem; color: var(--text3); font-weight: 500; }
.sample-btn {
background: var(--bg3); border: 1px solid var(--border);
color: var(--accent2); font-size: .75rem; font-weight: 600;
padding: 5px 12px; border-radius: var(--radius-sm);
transition: all var(--transition);
}
.sample-btn:hover { background: var(--accent2); color: #fff; border-color: var(--accent2); }

/* HTTP Status Code Filter Bar */
.status-bar-wrap {
display: none; background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); padding: 12px 16px; margin-top: 10px;
flex-direction: column; gap: 10px;
}
.status-bar-wrap.visible { display: flex; }
.status-bar-header {
display: flex; align-items: center; justify-content: space-between;
flex-wrap: wrap; gap: 10px;
}
.status-bar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.status-bar-title {
font-size: .8rem; font-weight: 700; text-transform: uppercase;
letter-spacing: .06em; color: var(--text2); display: flex; align-items: center; gap: 6px;
}
.status-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.status-pill {
padding: 4px 10px; border-radius: 100px; font-size: .75rem; font-weight: 600;
border: 1px solid var(--border); background: var(--bg3); color: var(--text2);
cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 5px;
}
.status-pill:hover { border-color: var(--text3); color: var(--text); }
.status-pill.active { border-color: transparent; color: #fff; }
.status-pill.all.active { background: var(--accent2); }
.status-pill.s2xx { border-color: rgba(86,211,100,.3); color: var(--success); }
.status-pill.s2xx.active { background: var(--success); color: #0d1117; }
.status-pill.s3xx { border-color: rgba(88,166,255,.3); color: var(--info); }
.status-pill.s3xx.active { background: var(--info); color: #fff; }
.status-pill.s4xx { border-color: rgba(210,153,34,.3); color: var(--warn); }
.status-pill.s4xx.active { background: var(--warn); color: #0d1117; }
.status-pill.s5xx { border-color: rgba(248,81,73,.3); color: var(--error); }
.status-pill.s5xx.active { background: var(--error); color: #fff; }
.status-pill-count {
font-size: .7rem; opacity: .88; background: rgba(255,255,255,.16);
padding: 1px 6px; border-radius: 10px;
}
[data-theme="light"] .status-pill-count { background: rgba(0,0,0,.08); }

.status-select {
background: var(--bg3); border: 1px solid var(--border);
color: var(--text); font-size: .78rem; font-weight: 600;
border-radius: var(--radius-sm); padding: 5px 10px; outline: none; cursor: pointer;
}
.status-select:focus { border-color: var(--accent2); }

/* Distribution Progress Bar */
.status-dist-wrap { display: flex; flex-direction: column; gap: 4px; }
.status-dist-bar {
display: flex; height: 7px; width: 100%; border-radius: 4px;
overflow: hidden; background: var(--bg3);
}
.dist-seg { height: 100%; transition: width .3s ease; }
.dist-seg.s2xx { background: var(--success); }
.dist-seg.s3xx { background: var(--info); }
.dist-seg.s4xx { background: var(--warn); }
.dist-seg.s5xx { background: var(--error); }
.dist-legend {
display: flex; gap: 12px; font-size: .7rem; color: var(--text3); flex-wrap: wrap;
}
.dist-legend-item { display: inline-flex; align-items: center; gap: 4px; }
.dist-dot { width: 8px; height: 8px; border-radius: 50%; }
.dist-dot.s2xx { background: var(--success); }
.dist-dot.s3xx { background: var(--info); }
.dist-dot.s4xx { background: var(--warn); }
.dist-dot.s5xx { background: var(--error); }

/* View Mode Switcher */
.view-switch {
display: inline-flex; background: var(--bg3); border: 1px solid var(--border);
border-radius: var(--radius-sm); padding: 2px; gap: 2px;
}
.view-btn {
padding: 4px 10px; font-size: .75rem; font-weight: 600;
background: transparent; color: var(--text2); border-radius: 4px;
transition: all var(--transition); display: inline-flex; align-items: center; gap: 5px;
}
.view-btn.active { background: var(--accent2); color: #fff; }
.view-btn:not(.active):hover { color: var(--text); background: rgba(255,255,255,.05); }

/* IIS Table View */
.table-view-wrap {
display: none; overflow-x: auto; max-height: 600px;
}
.table-view-wrap.visible { display: block; }
.iis-table {
width: 100%; border-collapse: collapse; font-family: 'Courier New', monospace;
font-size: .78rem; text-align: left;
}
.iis-table th {
background: var(--bg3); color: var(--text2); font-weight: 600;
padding: 8px 10px; border-bottom: 2px solid var(--border);
white-space: nowrap; position: sticky; top: 0; z-index: 10;
}
.iis-table td {
padding: 6px 10px; border-bottom: 1px solid var(--border);
white-space: nowrap; vertical-align: middle;
}
.iis-table tr:hover td { background: rgba(255,255,255,.03); }
[data-theme="light"] .iis-table tr:hover td { background: rgba(0,0,0,.03); }
.iis-table td.uri-cell {
max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
font-weight: 500;
}
.iis-table td.click-filter { cursor: pointer; }
.iis-table td.click-filter:hover { text-decoration: underline; color: var(--accent2); }

/* Status Badges */
.badge-sc {
display: inline-block; padding: 2px 7px; border-radius: 4px;
font-weight: 700; font-size: .72rem; line-height: 1.2; text-align: center;
cursor: pointer;
}
.badge-sc.sc-2xx { background: rgba(86,211,100,.18); color: var(--success); }
.badge-sc.sc-3xx { background: rgba(88,166,255,.18); color: var(--info); }
.badge-sc.sc-4xx { background: rgba(210,153,34,.2); color: var(--warn); }
.badge-sc.sc-5xx { background: rgba(248,81,73,.2); color: var(--error); }

/* Tooltip badge for substatus & win32 */
.code-tip {
border-bottom: 1px dotted var(--text3); cursor: help;
}

/* Quick Insights Accordion / Panel */
.insights-toggle-wrap { margin-top: 10px; }
.insights-toggle-btn {
background: var(--bg3); border: 1px solid var(--border);
color: var(--text2); font-size: .78rem; font-weight: 600;
padding: 6px 14px; border-radius: var(--radius-sm);
display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
transition: all var(--transition);
}
.insights-toggle-btn:hover { border-color: var(--accent2); color: var(--text); }
.insights-panel {
display: none; background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); padding: 14px; margin-top: 8px;
gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.insights-panel.visible { display: grid; }
.insight-card {
background: var(--bg3); border: 1px solid var(--border);
border-radius: var(--radius-sm); padding: 10px 12px;
}
.insight-title {
font-size: .72rem; font-weight: 700; text-transform: uppercase;
letter-spacing: .06em; color: var(--text3); margin-bottom: 8px;
display: flex; align-items: center; justify-content: space-between;
}
.insight-list { list-style: none; font-size: .78rem; }
.insight-list li {
display: flex; align-items: center; justify-content: space-between;
padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,.06); cursor: pointer;
}
[data-theme="light"] .insight-list li { border-bottom: 1px dashed rgba(0,0,0,.06); }
.insight-list li:hover { color: var(--accent2); }
.insight-val { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.insight-cnt { font-weight: 700; font-family: monospace; color: var(--text2); }

/* Error toast */
.toast {
position: fixed; bottom: 80px; right: 20px;
background: var(--error); color: #fff;
padding: 12px 18px; border-radius: var(--radius-sm);
font-size: .875rem; font-weight: 500;
box-shadow: var(--shadow); z-index: 2000;
opacity: 0; transform: translateY(10px);
transition: opacity var(--transition), transform var(--transition);
max-width: 320px;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 20px; }
.section-alt { background: var(--bg2); }
.section-title {
font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 800; color: var(--text); margin-bottom: 10px;
text-align: center;
}
.section-sub {
text-align: center; color: var(--text2); font-size: .95rem;
max-width: 560px; margin: 0 auto 48px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px; max-width: 1100px; margin: 0 auto;
}
.feature-card {
background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); padding: 24px;
transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.feature-icon {
width: 44px; height: 44px; border-radius: 10px;
background: rgba(46,164,79,.12); display: flex;
align-items: center; justify-content: center;
margin-bottom: 14px; color: var(--accent);
}
.feature-title { font-weight: 700; color: var(--text); margin-bottom: 6px; font-size: .95rem; }
.feature-desc { font-size: .875rem; color: var(--text2); }

/* ===== HOW IT WORKS ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.step {
background: var(--bg); border: 1px solid var(--border);
border-radius: var(--radius); padding: 28px 24px;
position: relative;
}
.step-num {
position: absolute; top: -14px; left: 24px;
width: 28px; height: 28px; border-radius: 50%;
background: var(--accent); color: #fff;
font-weight: 800; font-size: .78rem;
display: flex; align-items: center; justify-content: center;
}
.step-title { font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: .875rem; color: var(--text2); }

/* ===== SEO CONTENT ===== */
.seo-content {
max-width: 820px; margin: 0 auto; padding: 0 20px 72px;
font-size: .95rem; color: var(--text2); line-height: 1.8;
}
.seo-content h2 {
font-family: var(--font-display); font-size: 1.35rem;
font-weight: 700; color: var(--text); margin: 32px 0 10px;
}
.seo-content p { margin-bottom: 14px; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); overflow: hidden;
}
.faq-q {
width: 100%; padding: 16px 20px; text-align: left;
font-weight: 600; font-size: .9rem; color: var(--text);
background: transparent; display: flex; justify-content: space-between; align-items: center;
gap: 12px; transition: background var(--transition);
}
.faq-q:hover { background: var(--bg3); }
.faq-q svg { flex-shrink: 0; color: var(--text3); transition: transform .25s; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a {
max-height: 0; overflow: hidden;
transition: max-height .35s ease, padding .25s;
padding: 0 20px; font-size: .875rem; color: var(--text2);
}
.faq-a.open { max-height: 300px; padding: 0 20px 16px; }

/* ===== CTA ===== */
.cta-section {
padding: 80px 20px; text-align: center;
background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
border-top: 1px solid var(--border);
}
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2rem); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.cta-section p { color: var(--text2); max-width: 520px; margin: 0 auto 32px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-primary {
display: inline-flex; align-items: center; gap: 7px;
padding: 12px 24px; background: var(--accent); color: #fff;
border-radius: var(--radius-sm); font-weight: 700; font-size: .9rem;
transition: background var(--transition), transform var(--transition);
text-decoration: none;
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); text-decoration: none; color: #fff; }
.btn-secondary {
display: inline-flex; align-items: center; gap: 7px;
padding: 12px 24px; background: var(--bg3);
border: 1px solid var(--border); color: var(--text);
border-radius: var(--radius-sm); font-weight: 700; font-size: .9rem;
transition: all var(--transition); text-decoration: none;
}
.btn-secondary:hover { border-color: var(--accent2); color: var(--accent2); transform: translateY(-1px); text-decoration: none; }

/* ===== FOOTER ===== */
.footer {
background: var(--bg2); border-top: 1px solid var(--border);
padding: 60px 20px 30px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
display: grid;
grid-template-columns: 280px repeat(auto-fill, minmax(140px, 1fr));
gap: 40px; margin-bottom: 48px;
}
.footer-brand h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.footer-brand h3 span { color: var(--accent); }
.footer-brand p { font-size: .82rem; color: var(--text3); line-height: 1.6; }
.footer-col h4 { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text3); margin-bottom: 12px; }
.footer-col a { display: block; font-size: .82rem; color: var(--text2); margin-bottom: 7px; }
.footer-col a:hover { color: var(--accent2); text-decoration: none; }
.footer-bottom {
border-top: 1px solid var(--border); padding-top: 24px;
display: flex; flex-wrap: wrap; gap: 12px;
justify-content: space-between; align-items: center;
font-size: .78rem; color: var(--text3);
}
.footer-bottom a { color: var(--text3); }
.footer-bottom a:hover { color: var(--text2); text-decoration: underline; }
.disclaimer { font-size: .72rem; color: var(--text3); max-width: 820px; margin: 16px auto 0; text-align: center; line-height: 1.6; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
position: fixed; bottom: 0; left: 0; right: 0; z-index: 3000;
background: var(--bg2); border-top: 1px solid var(--border);
padding: 14px 20px; display: flex; flex-wrap: wrap;
align-items: center; gap: 14px; justify-content: space-between;
transform: translateY(100%); transition: transform .35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: .82rem; color: var(--text2); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--accent2); }
.cookie-dismiss {
padding: 8px 18px; background: var(--accent); color: #fff;
border-radius: var(--radius-sm); font-weight: 600; font-size: .82rem;
transition: background var(--transition); white-space: nowrap;
}
.cookie-dismiss:hover { background: var(--accent-h); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
.nav-links { display: none; }
.hamburger { display: flex; }
.hero { padding: 48px 16px 40px; }
.features-grid { grid-template-columns: 1fr; }
.steps { grid-template-columns: 1fr; }
.footer-top { grid-template-columns: 1fr 1fr; }
.toolbar { flex-direction: column; align-items: stretch; }
.toolbar-search { min-width: unset; }
.stats-bar { grid-template-columns: repeat(2, 1fr); display: none; }
.stats-bar.visible { display: grid; }
}
@media (max-width: 480px) {
.footer-top { grid-template-columns: 1fr; }
.cta-btns { flex-direction: column; align-items: center; }
}

/* ===== UTILITY ===== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-error { color: var(--error); font-size: .78rem; margin-top: 4px; display: none; }
.text-error.show { display: block; }