:root {
--bg: #0a0e1a;
--bg2: #0f1426;
--bg3: #141b30;
--surface: #1a2240;
--surface2: #1f2a4a;
--border: #2a3a60;
--accent: #00d4ff;
--accent2: #7c3aed;
--accent3: #10b981;
--accent4: #f59e0b;
--red: #ef4444;
--text: #e8eef8;
--text2: #9aaac8;
--text3: #5a6a8a;
--font-head: 'Outfit', sans-serif;
--font-body: 'Inter', sans-serif;
--radius: 12px;
--radius-lg: 20px;
--shadow: 0 8px 32px rgba(0,0,0,0.4);
--glow: 0 0 24px rgba(0,212,255,0.18);
}
*, *::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.6;
overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; loading: lazy; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Cookie Banner ── */
#cookie-banner {
position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
background: linear-gradient(135deg, #1a2240ee, #0f1426f0);
backdrop-filter: blur(12px);
border-top: 1px solid var(--border);
padding: 14px 24px;
display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
font-size: .85rem; color: var(--text2);
}
#cookie-banner p { flex: 1; min-width: 240px; }
#cookie-banner a { color: var(--accent); }
#cookie-dismiss {
background: var(--accent); color: var(--bg); border: none;
padding: 8px 20px; border-radius: 8px; cursor: pointer;
font-weight: 600; font-size: .85rem; white-space: nowrap;
transition: opacity .2s;
}
#cookie-dismiss:hover { opacity: .85; }

/* ── NAVBAR ── */
nav {
position: sticky; top: 0; z-index: 1000;
background: rgba(10,14,26,.95);
backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border);
padding: 0 24px;
}
.nav-inner {
max-width: 1200px; margin: 0 auto;
display: flex; align-items: center; justify-content: space-between;
height: 62px; gap: 16px;
}
.nav-logo {
font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
color: var(--text);
display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
background: none; border: none; cursor: pointer;
color: var(--text2); padding: 8px 12px; border-radius: 8px;
font-size: .875rem; font-family: var(--font-body); font-weight: 500;
display: flex; align-items: center; gap: 4px;
transition: background .2s, color .2s; white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > button:hover {
background: var(--surface); color: var(--text);
}
.nav-links > li > a.active { color: var(--accent); }
.dropdown-arrow { font-size: .65rem; transition: transform .2s; }
.nav-links > li:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown {
position: absolute; top: 100% ; left: 50%; transform: translateX(-50%);
background: var(--bg2); border: 1px solid var(--border);
border-radius: var(--radius); padding: 8px; min-width: 260px;
box-shadow: var(--shadow);
opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
transform: translateX(-50%) translateY(-8px);
}
.nav-links > li:hover .dropdown {
opacity: 1; pointer-events: all;
transform: translateX(-50%) translateY(0);
}
.dropdown a {
display: block; padding: 7px 12px; color: var(--text2);
border-radius: 6px; font-size: .8rem; transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--surface); color: var(--accent); }
.nav-cta {
background: linear-gradient(135deg, var(--accent2), var(--accent));
color: #fff !important; padding: 8px 18px !important;
border-radius: 8px !important; font-weight: 600 !important;
}
.nav-cta:hover { opacity: .9; }
.hamburger {
display: none; background: none; border: none; cursor: pointer;
flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
display: block; width: 22px; height: 2px;
background: var(--text); border-radius: 2px; transition: .3s;
}
.mobile-menu {
display: none; position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
background: var(--bg2); z-index: 999; overflow-y: auto; padding: 16px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
display: block; padding: 11px 14px; color: var(--text2);
border-radius: 8px; font-size: .9rem; border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { background: var(--surface); color: var(--accent); }
.mobile-section-title {
font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
color: var(--text3); padding: 14px 14px 4px;
}

/* ── BREADCRUMB ── */
.breadcrumb-wrap {
background: var(--bg2); border-bottom: 1px solid var(--border); padding: 10px 24px;
position: relative;
z-index: 1;	
}
.breadcrumb {
max-width: 1200px; 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(--accent); }
.breadcrumb-sep { color: var(--text3); }

/* ── HERO ── */
.hero {
position: relative; overflow: hidden;
padding: 80px 24px 60px;
background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(124,58,237,.25) 0%, transparent 60%),
radial-gradient(ellipse 60% 50% at 90% 50%, rgba(0,212,255,.12) 0%, transparent 50%),
var(--bg);
}
.hero-grid {
position: absolute; inset: 0;
background-image: linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
background-size: 40px 40px;
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
display: inline-flex; align-items: center; gap: 6px;
background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.25);
color: var(--accent); padding: 5px 14px; border-radius: 99px;
font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
margin-bottom: 20px;
}
.hero-badge::before { content: '⬡'; font-size: .7rem; }
.hero h1 {
font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.4rem);
font-weight: 800; line-height: 1.15; margin-bottom: 18px;
max-width: 720px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-desc { color: var(--text2); max-width: 580px; margin-bottom: 32px; font-size: 1.05rem; }
.hero-stats {
display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 10px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat strong { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.hero-stat span { font-size: .75rem; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; }

/* ── SECTION UTILS ── */
section { padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
font-size: .75rem; text-transform: uppercase; letter-spacing: .12em;
color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.section-title {
font-family: var(--font-head); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
font-weight: 700; line-height: 1.25; margin-bottom: 14px;
}
.section-sub { color: var(--text2); max-width: 580px; }

/* ── GENERATOR ── */
.generator-wrap {
background: var(--bg2); padding: 72px 24px;
border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.generator-grid {
max-width: 1200px; margin: 0 auto;
display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
@media(max-width:900px) { .generator-grid { grid-template-columns: 1fr; } }

/* ── PANEL ── */
.panel {
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.panel-title {
font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
display: flex; align-items: center; gap: 8px;
}
.panel-title .dot {
width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
box-shadow: 0 0 8px var(--accent);
}

/* ── FORM ELEMENTS ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
font-size: .8rem; font-weight: 600; color: var(--text2);
text-transform: uppercase; letter-spacing: .06em;
}
.form-group input, .form-group select, .form-group textarea {
background: var(--bg); border: 1.5px solid var(--border);
color: var(--text); padding: 10px 14px; border-radius: 8px;
font-family: var(--font-body); font-size: .9rem;
transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
outline: none; border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(0,212,255,.12);
}
.form-group input.error, .form-group select.error, .form-group textarea.error {
border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
.form-group input.success, .form-group select.success, .form-group textarea.success {
border-color: var(--accent3);
}
.field-error { font-size: .75rem; color: var(--red); display: none; }
.field-error.show { display: block; }
.form-group select option { background: var(--bg2); }
.form-group textarea { resize: vertical; min-height: 80px; font-family: 'Courier New', monospace; font-size: .82rem; }

/* ── TAGS INPUT ── */
.tags-wrap {
background: var(--bg); border: 1.5px solid var(--border);
border-radius: 8px; padding: 6px 10px;
display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
cursor: text; transition: border-color .2s;
min-height: 44px;
}
.tags-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,212,255,.12); }
.tag {
background: rgba(0,212,255,.12); border: 1px solid rgba(0,212,255,.3);
color: var(--accent); padding: 3px 10px 3px 10px; border-radius: 99px;
font-size: .78rem; font-weight: 600; display: flex; align-items: center; gap: 5px;
}
.tag-remove {
background: none; border: none; color: var(--accent); cursor: pointer;
font-size: .9rem; line-height: 1; padding: 0; display: flex; align-items: center;
}
.tags-input {
background: none; border: none; color: var(--text);
outline: none; font-size: .88rem; min-width: 80px; flex: 1;
}

/* ── TASK BUILDER ── */
.task-list { display: flex; flex-direction: column; gap: 10px; }
.task-item {
background: var(--bg); border: 1px solid var(--border);
border-radius: 10px; padding: 14px; position: relative;
}
.task-item-header {
display: flex; justify-content: space-between; align-items: center;
margin-bottom: 10px;
}
.task-item-title { font-size: .85rem; font-weight: 600; color: var(--accent); }
.btn-remove-task {
background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3);
color: var(--red); border-radius: 6px; cursor: pointer;
padding: 4px 10px; font-size: .75rem; transition: background .2s;
}
.btn-remove-task:hover { background: rgba(239,68,68,.2); }
.task-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media(max-width:500px) { .task-form-row { grid-template-columns: 1fr; } }
.task-form-group { display: flex; flex-direction: column; gap: 4px; }
.task-form-group label { font-size: .75rem; color: var(--text3); }
.task-form-group input, .task-form-group select, .task-form-group textarea {
background: var(--surface); border: 1px solid var(--border);
color: var(--text); padding: 7px 10px; border-radius: 6px;
font-size: .82rem; font-family: var(--font-body); width: 100%;
transition: border-color .2s;
}
.task-form-group input:focus, .task-form-group select:focus, .task-form-group textarea:focus {
outline: none; border-color: var(--accent);
}
.task-form-group textarea { min-height: 54px; resize: vertical; font-family: monospace; font-size: .78rem; }

/* ── VAR BUILDER ── */
.var-list { display: flex; flex-direction: column; gap: 8px; }
.var-item {
display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center;
}
.var-item input {
background: var(--bg); border: 1px solid var(--border);
color: var(--text); padding: 8px 10px; border-radius: 6px;
font-size: .82rem; font-family: monospace; width: 100%;
transition: border-color .2s;
}
.var-item input:focus { outline: none; border-color: var(--accent3); }
.btn-remove-var {
background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25);
color: var(--red); cursor: pointer; border-radius: 6px;
width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
font-size: 1rem; transition: background .2s;
}
.btn-remove-var:hover { background: rgba(239,68,68,.2); }

/* ── HANDLER BUILDER ── */
.handler-list { display: flex; flex-direction: column; gap: 8px; }
.handler-item {
display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 8px; align-items: center;
}
.handler-item input, .handler-item select {
background: var(--bg); border: 1px solid var(--border);
color: var(--text); padding: 8px 10px; border-radius: 6px;
font-size: .82rem; font-family: var(--font-body); width: 100%;
transition: border-color .2s;
}
.handler-item input:focus, .handler-item select:focus { outline: none; border-color: var(--accent4); }

/* ── BTN ── */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
padding: 10px 20px; border-radius: 10px; font-family: var(--font-body);
font-weight: 600; font-size: .9rem; cursor: pointer; border: none;
transition: all .2s; white-space: nowrap;
}
.btn-primary {
background: linear-gradient(135deg, var(--accent2), var(--accent));
color: #fff; box-shadow: 0 4px 16px rgba(124,58,237,.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(124,58,237,.45); }
.btn-secondary {
background: var(--surface2); border: 1px solid var(--border); color: var(--text2);
}
.btn-secondary:hover { background: var(--surface); color: var(--text); }
.btn-accent {
background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.3); color: var(--accent);
}
.btn-accent:hover { background: rgba(0,212,255,.2); }
.btn-green {
background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3); color: var(--accent3);
}
.btn-green:hover { background: rgba(16,185,129,.22); }
.btn-sm { padding: 7px 14px; font-size: .8rem; border-radius: 8px; }
.btn-full { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── GENERATE BUTTON ── */
#generate-btn {
padding: 14px 32px; font-size: 1rem; border-radius: 12px;
background: linear-gradient(135deg, var(--accent2), #0099cc);
box-shadow: var(--glow); position: relative; overflow: hidden;
}
#generate-btn::before {
content: ''; position: absolute; inset: 0;
background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
opacity: 0; transition: opacity .2s;
}
#generate-btn:hover::before { opacity: 1; }

/* ── OUTPUT PANEL ── */
.output-panel {
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius-lg); display: flex; flex-direction: column;
min-height: 500px;
}
.output-header {
display: flex; align-items: center; justify-content: space-between;
padding: 16px 20px; border-bottom: 1px solid var(--border);
flex-wrap: wrap; gap: 10px;
}
.output-title {
font-family: var(--font-head); font-size: 1rem; font-weight: 700;
display: flex; align-items: center; gap: 8px;
}
.output-badge {
background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.3);
color: var(--accent3); font-size: .7rem; padding: 2px 8px; border-radius: 99px;
font-weight: 600; text-transform: uppercase;
}
.output-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.output-body {
flex: 1; padding: 0; overflow: auto;
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
#output-code {
display: block; padding: 20px; margin: 0;
font-family: 'Courier New', monospace; font-size: .82rem;
line-height: 1.7; color: #e2e8f0; white-space: pre;
min-height: 440px; background: #0d1117;
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.output-placeholder {
display: flex; flex-direction: column; align-items: center; justify-content: center;
padding: 60px 20px; color: var(--text3); gap: 12px; text-align: center;
}
.output-placeholder .icon { font-size: 3rem; }
.output-placeholder p { font-size: .9rem; max-width: 260px; }

/* ── STATUS BAR ── */
#status-bar {
padding: 10px 20px; font-size: .8rem; border-top: 1px solid var(--border);
display: flex; align-items: center; gap: 8px; color: var(--text3);
min-height: 40px;
}
#status-bar .status-dot {
width: 7px; height: 7px; border-radius: 50%; background: var(--text3);
}
#status-bar.success .status-dot { background: var(--accent3); box-shadow: 0 0 6px var(--accent3); }
#status-bar.error .status-dot { background: var(--red); }

/* ── COPY TOAST ── */
#copy-toast {
position: fixed; bottom: 80px; right: 24px; z-index: 9000;
background: var(--accent3); color: #fff; padding: 10px 20px;
border-radius: 10px; font-size: .85rem; font-weight: 600;
transform: translateY(20px); opacity: 0;
transition: all .3s; pointer-events: none;
}
#copy-toast.show { transform: translateY(0); opacity: 1; }

/* ── FEATURES ── */
.features-grid {
display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
margin-top: 40px;
}
.feature-card {
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: 24px;
transition: border-color .3s, transform .3s, box-shadow .3s;
}
.feature-card:hover {
border-color: var(--accent); transform: translateY(-3px);
box-shadow: 0 12px 32px rgba(0,0,0,.3), var(--glow);
}
.feature-icon {
width: 44px; height: 44px; border-radius: 10px; font-size: 1.3rem;
display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text2); font-size: .875rem; line-height: 1.6; }

/* ── HOW IT WORKS ── */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 40px; }
.step {
background: var(--surface); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: 24px; position: relative;
}
.step-num {
width: 36px; height: 36px; border-radius: 50%;
background: linear-gradient(135deg, var(--accent2), var(--accent));
display: flex; align-items: center; justify-content: center;
font-family: var(--font-head); font-weight: 800; font-size: .9rem;
margin-bottom: 16px; box-shadow: var(--glow);
}
.step h3 { font-family: var(--font-head); font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text2); font-size: .85rem; }

/* ── SEO ARTICLE ── */
.seo-section {
background: var(--bg3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.seo-article {
max-width: 860px; line-height: 1.85;
}
.seo-article h2 { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.seo-article h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin: 20px 0 8px; color: var(--accent); }
.seo-article p { color: var(--text2); margin-bottom: 14px; font-size: .95rem; }
.seo-article strong { color: var(--text); }
.seo-article ul { color: var(--text2); padding-left: 20px; margin-bottom: 14px; font-size: .95rem; }
.seo-article ul li { margin-bottom: 6px; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.faq-q {
padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: .95rem;
display: flex; justify-content: space-between; align-items: center; gap: 12px;
user-select: none;
}
.faq-q span { flex: 1; }
.faq-arrow { transition: transform .3s; font-size: .75rem; color: var(--text3); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
max-height: 0; overflow: hidden; transition: max-height .35s ease;
font-size: .9rem; color: var(--text2); line-height: 1.7;
}
.faq-a-inner { padding: 0 20px 18px; }

/* ── CTA ── */
.cta-section {
background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(124,58,237,.2) 0%, transparent 70%),
var(--bg2);
text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-section h2 {
font-family: var(--font-head); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
font-weight: 800; margin-bottom: 14px;
}
.cta-section p { color: var(--text2); max-width: 500px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btn-primary {
background: linear-gradient(135deg, var(--accent2), var(--accent));
color: #fff; padding: 14px 32px; border-radius: 12px;
font-family: var(--font-head); font-weight: 700; font-size: 1rem;
transition: transform .2s, box-shadow .2s;
box-shadow: 0 4px 20px rgba(124,58,237,.35);
}
.cta-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,.5); color: #fff; }
.cta-btn-secondary {
background: var(--surface); border: 1px solid var(--border); color: var(--text);
padding: 14px 32px; border-radius: 12px; font-family: var(--font-head);
font-weight: 700; font-size: 1rem; transition: border-color .2s;
}
.cta-btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── RELATED TOOLS ── */
.related-tools {
background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 24px;
}
.related-tools h2 {
font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
margin-bottom: 20px; color: var(--text2);
}
.tools-grid {
max-width: 1200px; margin: 0 auto;
display: flex; flex-wrap: wrap; gap: 8px;
}
.tool-link {
background: var(--surface); border: 1px solid var(--border);
color: var(--text2); padding: 7px 14px; border-radius: 8px;
font-size: .8rem; transition: all .2s;
}
.tool-link:hover { background: var(--surface2); border-color: var(--accent); color: var(--accent); }

/* ── FOOTER ── */
footer {
background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 24px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
@media(max-width:768px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media(max-width:480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text3); font-size: .85rem; margin-top: 10px; max-width: 280px; line-height: 1.7; }
.footer-col h4 {
font-family: var(--font-head); font-weight: 700; font-size: .9rem;
color: var(--text2); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: var(--text3); font-size: .82rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-links-grid {
display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin-top: 4px;
}
.footer-links-grid a { color: var(--text3); font-size: .8rem; transition: color .2s; }
.footer-links-grid a:hover { color: var(--accent); }
.footer-bottom {
border-top: 1px solid var(--border); padding-top: 20px;
display: flex; justify-content: space-between; align-items: center;
flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text3); font-size: .8rem; }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text3); font-size: .8rem; }
.footer-bottom-links a:hover { color: var(--accent); }
.disclaimer { color: var(--text3); font-size: .75rem; margin-top: 16px; line-height: 1.7; }

/* ── SYNTAX HIGHLIGHT ── */
.hl-key { color: #7dd3fc; }
.hl-val { color: #86efac; }
.hl-str { color: #fde68a; }
.hl-comment { color: #6b7280; font-style: italic; }
.hl-bool { color: #f9a8d4; }
.hl-num { color: #fdba74; }
.hl-var { color: #c4b5fd; }
.hl-mod { color: #67e8f9; }
.hl-task { color: #4ade80; }

/* ── TOGGLE SWITCH ── */
.toggle-row {
display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.toggle-label { font-size: .85rem; color: var(--text2); font-weight: 500; }
.toggle {
position: relative; width: 44px; height: 24px; flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
position: absolute; cursor: pointer; inset: 0;
background: var(--border); border-radius: 99px; transition: .3s;
}
.toggle-slider::before {
content: ''; position: absolute;
width: 18px; height: 18px; left: 3px; bottom: 3px;
background: #fff; border-radius: 50%; transition: .3s;
}
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── TABS ── */
.tab-bar { display: flex; gap: 6px; padding: 6px; background: var(--bg); border-radius: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.tab-btn {
flex: 1; min-width: 80px; background: none; border: none; cursor: pointer;
color: var(--text3); padding: 8px 12px; border-radius: 7px;
font-size: .8rem; font-weight: 600; font-family: var(--font-body);
transition: background .2s, color .2s; text-align: center;
}
.tab-btn.active { background: var(--surface2); color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── TEMPLATE CARDS ── */
.template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.template-card {
background: var(--bg); border: 1.5px solid var(--border);
border-radius: 10px; padding: 14px 12px; cursor: pointer;
transition: border-color .2s, background .2s; text-align: center;
}
.template-card:hover { border-color: var(--accent); background: rgba(0,212,255,.05); }
.template-card.selected { border-color: var(--accent); background: rgba(0,212,255,.08); }
.template-card .t-icon { font-size: 1.8rem; margin-bottom: 6px; }
.template-card .t-name { font-size: .8rem; font-weight: 600; color: var(--text2); }
.template-card .t-desc { font-size: .72rem; color: var(--text3); margin-top: 3px; }

/* ── PROGRESS INDICATOR ── */
.progress-wrap { height: 3px; background: var(--border); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 99px; width: 0%; transition: width .4s ease; background: linear-gradient(90deg, var(--accent2), var(--accent)); }

/* ── LINE COUNT BADGE ── */
.line-count-badge {
font-size: .72rem; color: var(--text3); padding: 2px 8px;
background: var(--bg); border: 1px solid var(--border);
border-radius: 99px;
}

/* ── RESPONSIVE ── */
@media(max-width:900px) {
.nav-links { display: none; }
.hamburger { display: flex; }
}
@media(max-width:600px) {
section { padding: 48px 16px; }
.hero { padding: 56px 16px 40px; }
.generator-wrap { padding: 48px 16px; }
}