/* ===== CSS VARIABLES ===== */
:root {
--azure: #0078d4;
--azure-dark: #005a9e;
--azure-light: #50a3e0;
--azure-glow: rgba(0,120,212,0.18);
--accent: #00b4d8;
--accent2: #7b2ff7;
--success: #10b981;
--warning: #f59e0b;
--error: #ef4444;
--bg: #0a0f1e;
--bg2: #0d1526;
--bg3: #111b35;
--surface: #162040;
--surface2: #1c2a4e;
--border: rgba(0,120,212,0.25);
--border2: rgba(255,255,255,0.08);
--text: #e8f0fe;
--text2: #8fa8d4;
--text3: #5a78a8;
--font-body: 'Inter', sans-serif;
--font-head: 'Outfit', sans-serif;
--radius: 12px;
--radius-lg: 20px;
--shadow: 0 4px 32px rgba(0,0,0,0.4);
--shadow-azure: 0 0 32px rgba(0,120,212,0.25);
--trans: 0.22s ease;
}

/* ===== 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);
min-height: 100vh;
overflow-x: hidden;
line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--azure-light); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: var(--font-body); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--azure); border-radius: 4px; }

/* ===== BACKGROUND GRID ===== */
body::before {
content: '';
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(0,120,212,0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(0,120,212,0.04) 1px, transparent 1px);
background-size: 48px 48px;
pointer-events: none;
z-index: 0;
}

/* ===== CONTAINER ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ===== COOKIE BANNER ===== */
#cookie-banner {
position: fixed;
bottom: 0; left: 0; right: 0;
background: linear-gradient(135deg, #0d1b3e, #0a0f1e);
border-top: 1px solid var(--border);
padding: 16px 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
z-index: 9999;
flex-wrap: wrap;
box-shadow: 0 -4px 24px rgba(0,0,0,0.5);
}
#cookie-banner p { font-size: 0.85rem; color: var(--text2); flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--azure-light); }
#cookie-dismiss {
background: var(--azure);
color: #fff;
padding: 8px 22px;
border-radius: 8px;
font-size: 0.85rem;
font-weight: 600;
white-space: nowrap;
transition: background var(--trans);
}
#cookie-dismiss:hover { background: var(--azure-dark); }

/* ===== NAVIGATION ===== */
nav {
position: sticky;
top: 0;
z-index: 1000;
background: rgba(10,15,30,0.92);
backdrop-filter: blur(18px);
-webkit-backdrop-filter: blur(18px);
border-bottom: 1px solid var(--border2);
padding: 0 20px;
}
.nav-inner {
max-width: 1240px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
height: 64px;
}
.nav-logo {
display: flex;
align-items: center;
gap: 10px;
font-family: var(--font-head);
font-weight: 700;
font-size: 1.15rem;
color: var(--text);
}
.nav-logo-icon {
width: 36px; height: 36px;
background: linear-gradient(135deg, var(--azure), var(--accent2));
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 1.1rem;
}
.nav-links {
display: flex;
align-items: center;
gap: 4px;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-dropdown-btn {
padding: 8px 14px;
border-radius: 8px;
font-size: 0.875rem;
font-weight: 500;
color: var(--text2);
transition: all var(--trans);
display: flex;
align-items: center;
gap: 5px;
background: none;
}
.nav-links > li > a:hover,
.nav-dropdown-btn:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-dropdown-btn svg { transition: transform var(--trans); }
.nav-dropdown-btn.open svg { transform: rotate(180deg); }
.nav-dropdown {
position: absolute;
top: calc(100% + 8px);
left: 0;
background: var(--bg2);
border: 1px solid var(--border);
border-radius: var(--radius);
min-width: 260px;
box-shadow: var(--shadow);
padding: 8px;
opacity: 0;
pointer-events: none;
transform: translateY(-8px);
transition: all var(--trans);
z-index: 100;
}
.nav-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-dropdown a {
display: block;
padding: 8px 12px;
border-radius: 8px;
font-size: 0.82rem;
color: var(--text2);
transition: all var(--trans);
}
.nav-dropdown a:hover { background: var(--surface); color: var(--text); }
.nav-cta {
background: linear-gradient(135deg, var(--azure), var(--accent2));
color: #fff !important;
padding: 8px 18px !important;
border-radius: 8px;
font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; background: var(--azure) !important; }

/* Hamburger */
.hamburger {
display: none;
flex-direction: column;
gap: 5px;
background: none;
padding: 6px;
border-radius: 6px;
}
.hamburger span {
display: block;
width: 22px; height: 2px;
background: var(--text2);
border-radius: 2px;
transition: all 0.3s;
}
.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;
top: 64px; left: 0; right: 0;
background: var(--bg2);
border-bottom: 1px solid var(--border);
padding: 16px 20px;
z-index: 999;
max-height: calc(100vh - 64px);
overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
display: block;
padding: 10px 12px;
border-radius: 8px;
font-size: 0.875rem;
color: var(--text2);
}
.mobile-menu a:hover { background: var(--surface); color: var(--text); }
.mobile-section-title {
font-size: 0.75rem;
color: var(--text3);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 12px 12px 4px;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
padding: 12px 20px;
background: var(--bg2);
border-bottom: 1px solid var(--border2);
position: relative;
z-index: 1;	
}
.breadcrumb-inner {
max-width: 1240px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb span {
font-size: 0.8rem;
color: var(--text3);
}
.breadcrumb a:hover { color: var(--azure-light); }
.breadcrumb .sep { color: var(--text3); }
.breadcrumb .current { color: var(--azure-light); font-weight: 500; }

/* ===== HERO ===== */
.hero {
position: relative;
padding: 80px 20px 60px;
text-align: center;
overflow: hidden;
}
.hero-glow {
position: absolute;
top: -100px; left: 50%;
transform: translateX(-50%);
width: 700px; height: 400px;
background: radial-gradient(ellipse, rgba(0,120,212,0.22) 0%, transparent 70%);
pointer-events: none;
}
.hero-badge {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(0,120,212,0.15);
border: 1px solid rgba(0,120,212,0.35);
color: var(--azure-light);
padding: 6px 16px;
border-radius: 50px;
font-size: 0.8rem;
font-weight: 600;
margin-bottom: 24px;
letter-spacing: 0.04em;
}
.hero h1 {
font-family: var(--font-head);
font-size: clamp(2rem, 5vw, 3.4rem);
font-weight: 800;
line-height: 1.15;
margin-bottom: 20px;
background: linear-gradient(135deg, #fff 30%, var(--azure-light), var(--accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero p {
font-size: clamp(1rem, 2vw, 1.18rem);
color: var(--text2);
max-width: 620px;
margin: 0 auto 36px;
}
.hero-stats {
display: flex;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
margin-bottom: 0;
}
.stat-item { text-align: center; }
.stat-num {
font-family: var(--font-head);
font-size: 1.8rem;
font-weight: 800;
color: var(--azure-light);
}
.stat-label { font-size: 0.78rem; color: var(--text3); }

/* ===== GENERATOR ===== */
.generator-section {
padding: 0 20px 80px;
position: relative;
z-index: 1;
}
.generator-wrap {
max-width: 1200px;
margin: 0 auto;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-azure);
}
.gen-header {
background: linear-gradient(135deg, var(--bg3), var(--surface2));
padding: 20px 28px;
border-bottom: 1px solid var(--border);
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.gen-header h2 {
font-family: var(--font-head);
font-size: 1.15rem;
font-weight: 700;
flex: 1;
}
.gen-badge-live {
display: flex; align-items: center; gap: 6px;
background: rgba(16,185,129,0.15);
border: 1px solid rgba(16,185,129,0.3);
color: #10b981;
padding: 4px 12px;
border-radius: 50px;
font-size: 0.75rem;
font-weight: 600;
}
.gen-badge-live::before {
content: '';
width: 6px; height: 6px;
background: #10b981;
border-radius: 50%;
animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.3); }
}
.gen-body {
display: grid;
grid-template-columns: 380px 1fr;
min-height: 620px;
}

/* Config Panel */
.config-panel {
background: var(--bg3);
border-right: 1px solid var(--border);
padding: 24px;
overflow-y: auto;
}
.config-section { margin-bottom: 24px; }
.config-label {
display: flex;
align-items: center;
gap: 6px;
font-size: 0.78rem;
font-weight: 600;
color: var(--text3);
text-transform: uppercase;
letter-spacing: 0.07em;
margin-bottom: 10px;
}
.config-label svg { color: var(--azure-light); }
.form-control {
width: 100%;
background: var(--surface);
border: 1px solid var(--border2);
border-radius: var(--radius);
color: var(--text);
font-family: var(--font-body);
font-size: 0.875rem;
padding: 10px 14px;
transition: border-color var(--trans), box-shadow var(--trans);
outline: none;
-webkit-appearance: none;
}
.form-control:focus {
border-color: var(--azure);
box-shadow: 0 0 0 3px var(--azure-glow);
}
.form-control.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.form-control.valid { border-color: var(--success); }
select.form-control { cursor: pointer; }
select.form-control option { background: var(--bg2); }
.field-error {
font-size: 0.75rem;
color: var(--error);
margin-top: 4px;
display: none;
}
.field-error.show { display: block; }

/* Radio/Checkbox groups */
.option-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.option-item {
position: relative;
}
.option-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.option-item label {
display: flex;
align-items: center;
gap: 7px;
padding: 9px 12px;
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 8px;
font-size: 0.8rem;
cursor: pointer;
transition: all var(--trans);
color: var(--text2);
}
.option-item input:checked + label {
border-color: var(--azure);
background: rgba(0,120,212,0.12);
color: var(--text);
}
.option-item label:hover { border-color: rgba(0,120,212,0.4); }

.toggle-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 0;
border-bottom: 1px solid var(--border2);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-label { font-size: 0.85rem; color: var(--text2); }
.toggle {
position: relative;
width: 40px; height: 22px;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
position: absolute;
inset: 0;
background: var(--surface2);
border-radius: 50px;
cursor: pointer;
transition: background 0.3s;
}
.toggle-slider::before {
content: '';
position: absolute;
width: 16px; height: 16px;
background: #fff;
border-radius: 50%;
top: 3px; left: 3px;
transition: transform 0.3s;
}
.toggle input:checked + .toggle-slider { background: var(--azure); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }

/* Generate Button */
.gen-btn {
width: 100%;
padding: 13px;
background: linear-gradient(135deg, var(--azure), var(--accent2));
color: #fff;
border-radius: var(--radius);
font-size: 0.95rem;
font-weight: 700;
font-family: var(--font-head);
letter-spacing: 0.02em;
transition: opacity var(--trans), transform var(--trans), box-shadow var(--trans);
margin-top: 4px;
box-shadow: 0 4px 20px rgba(0,120,212,0.35);
display: flex; align-items: center; justify-content: center; gap: 8px;
}
.gen-btn:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(0,120,212,0.45); }
.gen-btn:active { transform: translateY(0); }
.gen-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Output Panel */
.output-panel {
display: flex;
flex-direction: column;
background: var(--bg);
}
.output-toolbar {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 16px;
background: var(--bg2);
border-bottom: 1px solid var(--border2);
flex-wrap: wrap;
}
.output-toolbar .lang-badge {
background: rgba(0,120,212,0.15);
color: var(--azure-light);
border: 1px solid rgba(0,120,212,0.3);
padding: 3px 10px;
border-radius: 6px;
font-size: 0.75rem;
font-weight: 600;
}
.output-toolbar-actions { display: flex; gap: 6px; margin-left: auto; }
.toolbar-btn {
display: flex; align-items: center; gap: 5px;
padding: 6px 12px;
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 7px;
font-size: 0.78rem;
font-weight: 600;
color: var(--text2);
transition: all var(--trans);
}
.toolbar-btn:hover { background: var(--surface2); color: var(--text); border-color: var(--border); }
.toolbar-btn.success { color: var(--success); border-color: rgba(16,185,129,0.3); }
.toolbar-btn.clear { color: var(--error); }
.toolbar-btn.clear:hover { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); }
.code-output {
flex: 1;
overflow: auto;
padding: 20px;
font-family: 'Courier New', 'Consolas', monospace;
font-size: 0.825rem;
line-height: 1.7;
color: var(--text);
white-space: pre;
min-height: 520px;
position: relative;
}
.code-placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
min-height: 520px;
gap: 16px;
color: var(--text3);
text-align: center;
}
.code-placeholder svg { color: var(--azure); opacity: 0.4; }
.code-placeholder p { font-size: 0.875rem; }

/* Syntax highlight colors */
.kw { color: #569cd6; }
.fn { color: #dcdcaa; }
.str { color: #ce9178; }
.cm { color: #6a9955; font-style: italic; }
.num { color: #b5cea8; }
.typ { color: #4ec9b0; }
.dc { color: #9cdcfe; }

/* Code line numbers */
.code-lines { counter-reset: line; }
.code-line { display: flex; }
.code-line::before {
counter-increment: line;
content: counter(line);
min-width: 36px;
color: var(--text3);
text-align: right;
margin-right: 16px;
user-select: none;
font-size: 0.775rem;
padding-top: 1px;
}

/* Validation bar */
.validation-bar {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: var(--bg2);
border-top: 1px solid var(--border2);
font-size: 0.78rem;
flex-wrap: wrap;
}
.val-item { display: flex; align-items: center; gap: 5px; }
.val-dot { width: 7px; height: 7px; border-radius: 50%; }
.val-dot.ok { background: var(--success); }
.val-dot.warn { background: var(--warning); }
.val-dot.err { background: var(--error); }
.val-dot.info { background: var(--azure); }

/* ===== ABOUT SECTION ===== */
.about-section { padding: 70px 20px; }
.about-grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: start;
}
.section-chip {
display: inline-block;
background: rgba(0,120,212,0.15);
color: var(--azure-light);
border: 1px solid rgba(0,120,212,0.3);
padding: 4px 14px;
border-radius: 50px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 16px;
}
.section-title {
font-family: var(--font-head);
font-size: clamp(1.5rem, 3vw, 2rem);
font-weight: 800;
line-height: 1.25;
margin-bottom: 20px;
color: var(--text);
}
.section-title span { color: var(--azure-light); }
.about-text p {
color: var(--text2);
font-size: 0.92rem;
margin-bottom: 14px;
line-height: 1.75;
}
.about-list {
margin-top: 20px;
display: flex;
flex-direction: column;
gap: 12px;
}
.about-list li {
display: flex;
align-items: flex-start;
gap: 10px;
color: var(--text2);
font-size: 0.875rem;
}
.about-list li .icon {
min-width: 20px;
color: var(--azure-light);
margin-top: 2px;
}
.about-code-box {
background: var(--bg3);
border: 1px solid var(--border);
border-radius: var(--radius);
overflow: hidden;
}
.about-code-header {
background: var(--surface);
padding: 10px 16px;
display: flex;
align-items: center;
gap: 8px;
font-size: 0.78rem;
color: var(--text3);
font-weight: 600;
}
.about-code-header span { margin-left: auto; color: var(--azure-light); }
.about-code-body {
padding: 16px;
font-family: 'Courier New', monospace;
font-size: 0.78rem;
line-height: 1.65;
color: var(--text2);
white-space: pre;
overflow-x: auto;
}

/* ===== FEATURES ===== */
.features-section { padding: 70px 20px; background: var(--bg2); }
.features-grid {
max-width: 1200px;
margin: 32px auto 0;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
.feature-card {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: var(--radius);
padding: 28px 24px;
transition: all var(--trans);
position: relative;
overflow: hidden;
}
.feature-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: linear-gradient(90deg, var(--azure), var(--accent2));
opacity: 0;
transition: opacity var(--trans);
}
.feature-card:hover { border-color: rgba(0,120,212,0.4); transform: translateY(-3px); box-shadow: var(--shadow-azure); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
width: 48px; height: 48px;
background: rgba(0,120,212,0.15);
border-radius: 12px;
display: flex; align-items: center; justify-content: center;
margin-bottom: 16px;
font-size: 1.4rem;
}
.feature-card h3 {
font-family: var(--font-head);
font-size: 1rem;
font-weight: 700;
margin-bottom: 10px;
}
.feature-card p { font-size: 0.85rem; color: var(--text2); line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.hiw-section { padding: 70px 20px; }
.hiw-steps {
max-width: 900px;
margin: 40px auto 0;
display: flex;
flex-direction: column;
gap: 0;
position: relative;
}
.hiw-steps::before {
content: '';
position: absolute;
left: 23px;
top: 0; bottom: 0;
width: 2px;
background: linear-gradient(to bottom, var(--azure), var(--accent2));
}
.hiw-step {
display: flex;
gap: 24px;
padding-bottom: 36px;
position: relative;
}
.hiw-step:last-child { padding-bottom: 0; }
.step-num {
min-width: 48px; height: 48px;
background: linear-gradient(135deg, var(--azure), var(--accent2));
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-family: var(--font-head);
font-weight: 800;
font-size: 1.1rem;
color: #fff;
position: relative;
z-index: 1;
box-shadow: 0 0 0 4px var(--bg);
}
.step-content { padding-top: 10px; }
.step-content h3 {
font-family: var(--font-head);
font-size: 1.05rem;
font-weight: 700;
margin-bottom: 6px;
}
.step-content p { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }

/* ===== FAQ ===== */
.faq-section { padding: 70px 20px; background: var(--bg2); }
.faq-list {
max-width: 800px;
margin: 40px auto 0;
display: flex;
flex-direction: column;
gap: 12px;
}
.faq-item {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: var(--radius);
overflow: hidden;
}
.faq-q {
width: 100%;
text-align: left;
padding: 16px 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
font-size: 0.9rem;
font-weight: 600;
color: var(--text);
background: none;
transition: background var(--trans);
}
.faq-q:hover { background: rgba(255,255,255,0.03); }
.faq-q svg { min-width: 18px; transition: transform 0.3s; color: var(--azure-light); }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease, padding 0.3s;
font-size: 0.875rem;
color: var(--text2);
line-height: 1.75;
}
.faq-a.open {
max-height: 300px;
padding: 0 20px 18px;
}

/* ===== CTA SECTION ===== */
.cta-section {
padding: 80px 20px;
text-align: center;
position: relative;
overflow: hidden;
}
.cta-section::before {
content: '';
position: absolute;
top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 800px; height: 400px;
background: radial-gradient(ellipse, rgba(0,120,212,0.15) 0%, transparent 70%);
pointer-events: none;
}
.cta-section h2 {
font-family: var(--font-head);
font-size: clamp(1.6rem, 3.5vw, 2.4rem);
font-weight: 800;
margin-bottom: 16px;
}
.cta-section p { font-size: 1rem; color: var(--text2); max-width: 560px; margin: 0 auto 36px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn-primary {
background: linear-gradient(135deg, var(--azure), var(--accent2));
color: #fff;
padding: 13px 28px;
border-radius: var(--radius);
font-weight: 700;
font-family: var(--font-head);
font-size: 0.95rem;
transition: opacity var(--trans), transform var(--trans);
display: inline-flex; align-items: center; gap: 8px;
box-shadow: 0 4px 20px rgba(0,120,212,0.35);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); color: #fff; }
.btn-secondary {
background: var(--surface);
color: var(--text);
padding: 13px 28px;
border-radius: var(--radius);
font-weight: 600;
font-family: var(--font-head);
font-size: 0.95rem;
border: 1px solid var(--border);
transition: all var(--trans);
display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--azure); background: var(--surface2); color: var(--text); transform: translateY(-2px); }

/* ===== RELATED TOOLS (before footer) ===== */
.related-section { padding: 60px 20px; background: var(--bg3); }
.related-section .section-title { text-align: center; margin-bottom: 32px; }
.related-grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 10px;
}
.related-link {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 8px;
padding: 10px 14px;
font-size: 0.8rem;
color: var(--text2);
transition: all var(--trans);
display: flex; align-items: center; gap: 7px;
}
.related-link:hover { background: var(--surface2); border-color: var(--border); color: var(--azure-light); }
.related-link::before { content: '→'; color: var(--azure); font-size: 0.7rem; }

/* ===== FOOTER ===== */
footer {
background: var(--bg2);
border-top: 1px solid var(--border2);
padding: 48px 20px 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 40px;
margin-bottom: 40px;
}
.footer-brand p {
font-size: 0.82rem;
color: var(--text3);
line-height: 1.7;
margin-top: 12px;
}
.footer-col h4 {
font-family: var(--font-head);
font-size: 0.85rem;
font-weight: 700;
color: var(--text);
margin-bottom: 14px;
text-transform: uppercase;
letter-spacing: 0.07em;
}
.footer-links {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
}
.footer-links a {
font-size: 0.78rem;
color: var(--text3);
transition: color var(--trans);
}
.footer-links a:hover { color: var(--azure-light); }
.footer-bottom {
border-top: 1px solid var(--border2);
padding-top: 20px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
font-size: 0.78rem;
color: var(--text3);
}
.footer-bottom a { color: var(--text3); }
.footer-bottom a:hover { color: var(--azure-light); }
.disclaimer {
font-size: 0.72rem;
color: var(--text3);
margin-top: 12px;
line-height: 1.6;
border-top: 1px solid var(--border2);
padding-top: 14px;
}

/* ===== TOAST ===== */
.toast {
position: fixed;
bottom: 90px;
right: 20px;
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 12px 18px;
font-size: 0.85rem;
color: var(--text);
box-shadow: var(--shadow);
display: flex; align-items: center; gap: 8px;
z-index: 9000;
transform: translateX(120%);
transition: transform 0.3s ease;
}
.toast.show { transform: translateX(0); }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ===== SECTION CENTER ===== */
.section-center { text-align: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
.gen-body { grid-template-columns: 1fr; }
.config-panel { border-right: none; border-bottom: 1px solid var(--border); }
.about-grid { grid-template-columns: 1fr; gap: 32px; }
.footer-top { grid-template-columns: 1fr 1fr; }
nav .nav-links { display: none; }
.hamburger { display: flex; }
}
@media (max-width: 600px) {
.hero { padding: 50px 20px 40px; }
.hero-stats { gap: 24px; }
.footer-top { grid-template-columns: 1fr; }
.footer-links { grid-template-columns: 1fr; }
.gen-header { padding: 16px 18px; }
.config-panel { padding: 18px; }
.option-grid { grid-template-columns: 1fr; }
.cta-buttons { flex-direction: column; }
.output-toolbar-actions { gap: 4px; }
.toolbar-btn { padding: 6px 8px; font-size: 0.72rem; }
.nav-dropdown { left: auto; right: 0; }
}