/* =========================================================
 CSS CUSTOM PROPERTIES — DARK / LIGHT THEMES
========================================================= */
:root {
--font-display: 'Outfit', sans-serif;
--font-body: 'Inter', sans-serif;

/* Dark theme (default) */
--bg-base: #0d1117;
--bg-surface: #161b22;
--bg-surface-2: #1c2333;
--bg-surface-3: #21262d;
--border: #30363d;
--border-subtle: #21262d;

--text-primary: #e6edf3;
--text-secondary: #8b949e;
--text-muted: #6e7681;
--text-inverse: #0d1117;

--accent: #7c3aed;
--accent-bright: #8b5cf6;
--accent-glow: rgba(124, 58, 237, 0.25);
--accent-subtle: rgba(124, 58, 237, 0.12);

--green: #3fb950;
--green-subtle: rgba(63, 185, 80, 0.12);
--cyan: #56d364;
--orange: #f0883e;
--red: #f85149;
--yellow: #e3b341;

--code-bg: #010409;
--code-border: #30363d;
--code-text: #79c0ff;

--shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
--shadow-md: 0 4px 16px rgba(0,0,0,0.5);
--shadow-lg: 0 8px 32px rgba(0,0,0,0.6);
--shadow-glow: 0 0 32px rgba(124,58,237,0.2);

--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--radius-xl: 24px;
--radius-pill: 9999px;

--nav-height: 64px;
--transition: 0.2s ease;
}

[data-theme="light"] {
--bg-base: #f6f8fa;
--bg-surface: #ffffff;
--bg-surface-2: #f0f3f6;
--bg-surface-3: #e8ecf0;
--border: #d0d7de;
--border-subtle: #e8ecf0;

--text-primary: #1f2328;
--text-secondary: #636c76;
--text-muted: #9198a1;
--text-inverse: #ffffff;

--accent: #7c3aed;
--accent-bright: #6d28d9;
--accent-glow: rgba(124, 58, 237, 0.15);
--accent-subtle: rgba(124, 58, 237, 0.08);

--code-bg: #f6f8fa;
--code-border: #d0d7de;
--code-text: #0550ae;

--shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
--shadow-md: 0 4px 16px rgba(0,0,0,0.12);
--shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
--shadow-glow: 0 0 32px rgba(124,58,237,0.12);
}

/* =========================================================
 RESET & BASE
========================================================= */
*, *::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-base);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
overflow-x: hidden;
transition: background var(--transition), color var(--transition);
}

a { color: var(--accent-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font-body); }

::selection { background: var(--accent-glow); color: var(--text-primary); }

/* =========================================================
 COOKIE BANNER
========================================================= */
#cookie-banner {
position: fixed;
bottom: 0; left: 0; right: 0;
z-index: 9999;
background: var(--bg-surface-2);
border-top: 1px solid var(--border);
padding: 14px 24px;
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
box-shadow: var(--shadow-lg);
transform: translateY(0);
transition: transform 0.4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { font-size: 0.85rem; color: var(--text-secondary); flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--accent-bright); font-weight: 500; }
.cookie-btn {
background: var(--accent);
color: #fff;
border: none;
padding: 8px 20px;
border-radius: var(--radius-pill);
font-size: 0.85rem;
font-weight: 600;
white-space: nowrap;
transition: background var(--transition), transform var(--transition);
}
.cookie-btn:hover { background: var(--accent-bright); transform: scale(1.03); }

/* =========================================================
 NAVIGATION
========================================================= */
.nav {
position: sticky;
top: 0;
z-index: 1000;
height: var(--nav-height);
background: rgba(13,17,23,0.92);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border-subtle);
transition: background var(--transition), border-color var(--transition);
}
[data-theme="light"] .nav { background: rgba(255,255,255,0.92); }

.nav-inner {
max-width: 1280px;
margin: 0 auto;
padding: 0 20px;
height: 100%;
display: flex;
align-items: center;
gap: 16px;
}

.nav-logo {
font-family: var(--font-display);
font-weight: 800;
font-size: 1.1rem;
color: var(--text-primary);
white-space: nowrap;
flex-shrink: 0;
display: flex;
align-items: center;
gap: 8px;
}
.nav-logo .logo-icon {
width: 32px; height: 32px;
background: var(--accent);
border-radius: var(--radius-sm);
display: flex; align-items: center; justify-content: center;
font-size: 0.9rem;
flex-shrink: 0;
}
.nav-logo span { color: var(--accent-bright); }

.nav-tools-scroll {
flex: 1;
overflow-x: auto;
display: flex;
gap: 4px;
scrollbar-width: none;
-ms-overflow-style: none;
min-width: 0;
}
.nav-tools-scroll::-webkit-scrollbar { display: none; }

.nav-tool-link {
font-size: 0.78rem;
font-weight: 500;
color: var(--text-secondary);
padding: 5px 10px;
border-radius: var(--radius-sm);
white-space: nowrap;
transition: background var(--transition), color var(--transition);
flex-shrink: 0;
}
.nav-tool-link:hover { background: var(--accent-subtle); color: var(--accent-bright); }
.nav-tool-link.active { background: var(--accent-subtle); color: var(--accent-bright); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.theme-btn {
width: 38px; height: 38px;
border-radius: var(--radius-sm);
background: var(--bg-surface-2);
border: 1px solid var(--border);
color: var(--text-secondary);
display: flex; align-items: center; justify-content: center;
font-size: 1rem;
transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.theme-btn:hover { background: var(--accent-subtle); color: var(--accent-bright); border-color: var(--accent); }

.hamburger {
display: none;
width: 38px; height: 38px;
border-radius: var(--radius-sm);
background: var(--bg-surface-2);
border: 1px solid var(--border);
color: var(--text-secondary);
align-items: center; justify-content: center;
font-size: 1.2rem;
}

.mobile-menu {
display: none;
position: fixed;
top: var(--nav-height);
left: 0; right: 0;
background: var(--bg-surface);
border-bottom: 1px solid var(--border);
padding: 16px;
z-index: 999;
flex-direction: column;
gap: 4px;
max-height: calc(100vh - var(--nav-height));
overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-tool-link {
padding: 10px 14px;
border-radius: var(--radius-sm);
font-size: 0.875rem;
width: 100%;
}

/* =========================================================
 BREADCRUMB
========================================================= */
.breadcrumb {
background: var(--bg-surface);
border-bottom: 1px solid var(--border-subtle);
padding: 10px 20px;
}
.breadcrumb-inner {
max-width: 1280px;
margin: 0 auto;
display: flex;
align-items: center;
gap: 6px;
font-size: 0.8rem;
color: var(--text-muted);
flex-wrap: wrap;
}
.breadcrumb-inner a { color: var(--text-secondary); }
.breadcrumb-inner a:hover { color: var(--accent-bright); }
.breadcrumb-sep { color: var(--text-muted); }
.breadcrumb-current { color: var(--accent-bright); font-weight: 500; }

/* =========================================================
 HERO
========================================================= */
.hero {
position: relative;
overflow: hidden;
padding: 72px 20px 80px;
text-align: center;
}

.hero-bg {
position: absolute;
inset: 0;
pointer-events: none;
z-index: 0;
}
.hero-bg::before {
content: '';
position: absolute;
top: -120px; left: 50%;
transform: translateX(-50%);
width: 900px; height: 500px;
background: radial-gradient(ellipse at center, rgba(124,58,237,0.18) 0%, transparent 70%);
}
.hero-bg::after {
content: '';
position: absolute;
inset: 0;
background: repeating-linear-gradient(
90deg,
transparent,
transparent 39px,
rgba(124,58,237,0.04) 40px
),
repeating-linear-gradient(
180deg,
transparent,
transparent 39px,
rgba(124,58,237,0.04) 40px
);
}

.hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero-badge {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--accent-subtle);
border: 1px solid rgba(124,58,237,0.35);
color: var(--accent-bright);
padding: 5px 14px;
border-radius: var(--radius-pill);
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
margin-bottom: 24px;
}

.hero-title {
font-family: var(--font-display);
font-size: clamp(2rem, 5vw, 3.4rem);
font-weight: 800;
line-height: 1.15;
letter-spacing: -0.03em;
margin-bottom: 20px;
color: var(--text-primary);
}
.hero-title .hl {
background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #38bdf8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.hero-sub {
font-size: 1.05rem;
color: var(--text-secondary);
max-width: 580px;
margin: 0 auto 36px;
line-height: 1.7;
}

.hero-stats {
display: flex;
justify-content: center;
gap: 32px;
flex-wrap: wrap;
margin-top: 40px;
}
.stat-item { text-align: center; }
.stat-num {
font-family: var(--font-display);
font-size: 1.6rem;
font-weight: 800;
color: var(--accent-bright);
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* =========================================================
 MAIN TOOL SECTION
========================================================= */
.tool-section {
max-width: 1100px;
margin: 0 auto;
padding: 0 20px 80px;
}

.tool-card {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-lg);
}

.tool-header {
background: var(--bg-surface-2);
border-bottom: 1px solid var(--border);
padding: 18px 28px;
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.tool-header-title {
font-family: var(--font-display);
font-size: 1rem;
font-weight: 700;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 8px;
}
.tool-header-title .dot {
width: 8px; height: 8px;
border-radius: 50%;
}
.dot-red { background: #f85149; }
.dot-yellow { background: #e3b341; }
.dot-green { background: #3fb950; }

.tool-body { padding: 28px; }

/* Form Grid */
.form-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 18px;
margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
font-size: 0.82rem;
font-weight: 600;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.04em;
display: flex;
align-items: center;
gap: 5px;
}
.form-label .req { color: var(--red); }

.form-input, .form-select, .form-textarea {
background: var(--bg-surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: var(--text-primary);
font-family: var(--font-body);
font-size: 0.9rem;
padding: 10px 14px;
transition: border-color var(--transition), box-shadow var(--transition);
width: 100%;
appearance: none;
}
.form-select {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%238b949e' d='M4.427 6.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 6H4.604a.25.25 0 00-.177.427z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
padding-right: 36px;
}
.form-textarea { min-height: 80px; resize: vertical; }

.form-input:focus, .form-select:focus, .form-textarea:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input.valid { border-color: var(--green); }
.form-input.invalid { border-color: var(--red); }

.field-error {
font-size: 0.75rem;
color: var(--red);
display: none;
align-items: center;
gap: 4px;
}
.field-error.show { display: flex; }

.form-hint {
font-size: 0.75rem;
color: var(--text-muted);
}

/* Tabs for resource type */
.resource-tabs {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin-bottom: 20px;
}
.res-tab {
padding: 7px 14px;
border-radius: var(--radius-pill);
border: 1px solid var(--border);
background: transparent;
color: var(--text-secondary);
font-size: 0.8rem;
font-weight: 500;
transition: all var(--transition);
}
.res-tab:hover { background: var(--accent-subtle); border-color: var(--accent); color: var(--accent-bright); }
.res-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Advanced options toggle */
.adv-toggle {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.85rem;
font-weight: 600;
color: var(--accent-bright);
cursor: pointer;
margin-bottom: 16px;
user-select: none;
}
.adv-toggle svg { transition: transform 0.25s; }
.adv-toggle.open svg { transform: rotate(90deg); }

.adv-panel {
display: none;
padding: 20px;
background: var(--bg-surface-2);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
margin-bottom: 20px;
}
.adv-panel.open { display: block; }

/* Checkbox group */
.check-grid {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.check-item {
display: flex;
align-items: center;
gap: 7px;
font-size: 0.85rem;
color: var(--text-secondary);
cursor: pointer;
}
.check-item input[type="checkbox"] {
accent-color: var(--accent);
width: 15px; height: 15px;
}

/* Submit */
.submit-row {
display: flex;
align-items: center;
gap: 14px;
flex-wrap: wrap;
margin-top: 24px;
}

.btn-primary {
display: inline-flex;
align-items: center;
gap: 8px;
background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 100%);
color: #fff;
border: none;
padding: 12px 28px;
border-radius: var(--radius-md);
font-family: var(--font-display);
font-size: 0.95rem;
font-weight: 700;
transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
box-shadow: 0 4px 14px rgba(124,58,237,0.4);
}
.btn-primary:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.5); }
.btn-primary:active:not(:disabled) { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-secondary {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--bg-surface-2);
color: var(--text-secondary);
border: 1px solid var(--border);
padding: 11px 20px;
border-radius: var(--radius-md);
font-size: 0.88rem;
font-weight: 600;
transition: all var(--transition);
}
.btn-secondary:hover { background: var(--bg-surface-3); color: var(--text-primary); border-color: var(--text-muted); }

.loading-ring {
display: none;
width: 18px; height: 18px;
border: 2px solid rgba(255,255,255,0.3);
border-top-color: #fff;
border-radius: 50%;
animation: spin 0.7s linear infinite;
}
.loading-ring.show { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
 RESULT SECTION
========================================================= */
#result-section {
margin-top: 32px;
display: none;
}
#result-section.show { display: block; }

.result-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 16px;
}
.result-title {
font-family: var(--font-display);
font-size: 0.95rem;
font-weight: 700;
color: var(--text-primary);
display: flex;
align-items: center;
gap: 8px;
}
.result-badge {
background: var(--green-subtle);
border: 1px solid rgba(63,185,80,0.3);
color: var(--green);
padding: 3px 10px;
border-radius: var(--radius-pill);
font-size: 0.72rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
}

.result-actions {
display: flex;
gap: 8px;
flex-wrap: wrap;
}

.result-tabs {
display: flex;
gap: 0;
border-bottom: 1px solid var(--border);
margin-bottom: 0;
overflow-x: auto;
scrollbar-width: none;
}
.result-tabs::-webkit-scrollbar { display: none; }
.rtab {
padding: 8px 18px;
font-size: 0.82rem;
font-weight: 600;
color: var(--text-muted);
background: transparent;
border: none;
border-bottom: 2px solid transparent;
cursor: pointer;
white-space: nowrap;
transition: color var(--transition), border-color var(--transition);
}
.rtab.active { color: var(--accent-bright); border-bottom-color: var(--accent-bright); }
.rtab:hover:not(.active) { color: var(--text-secondary); }

.code-box {
background: var(--code-bg);
border: 1px solid var(--code-border);
border-top: none;
border-radius: 0 0 var(--radius-md) var(--radius-md);
overflow: hidden;
}
.code-scroll {
overflow-x: auto;
max-height: 460px;
overflow-y: auto;
}
.code-scroll pre {
padding: 20px 24px;
margin: 0;
font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
font-size: 0.82rem;
line-height: 1.75;
color: var(--text-primary);
white-space: pre;
min-width: max-content;
}

/* Syntax highlight classes (injected via JS) */
.tk-keyword { color: #ff7b72; }
.tk-string{ color: #a5d6ff; }
.tk-number{ color: #79c0ff; }
.tk-comment { color: #8b949e; font-style: italic; }
.tk-block { color: #7ee787; }
.tk-attr{ color: #d2a8ff; }
.tk-equals{ color: #ff7b72; }
.tk-value { color: #a5d6ff; }
.tk-paren { color: #ffa657; }

/* Tab panes */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* Copy success */
.copy-ok { color: var(--green); font-size: 0.78rem; font-weight: 600; display: none; align-items: center; gap: 4px; }
.copy-ok.show { display: flex; }

/* =========================================================
 FEATURES
========================================================= */
.section { padding: 80px 20px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
text-align: center;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent-bright);
margin-bottom: 10px;
}
.section-title {
text-align: center;
font-family: var(--font-display);
font-size: clamp(1.6rem, 3.5vw, 2.4rem);
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 14px;
color: var(--text-primary);
}
.section-sub {
text-align: center;
font-size: 1rem;
color: var(--text-secondary);
max-width: 560px;
margin: 0 auto 52px;
line-height: 1.7;
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
}
.feat-card {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: 26px;
transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.feat-card:hover {
border-color: var(--accent);
box-shadow: var(--shadow-glow);
transform: translateY(-3px);
}
.feat-icon {
width: 46px; height: 46px;
background: var(--accent-subtle);
border: 1px solid rgba(124,58,237,0.25);
border-radius: var(--radius-md);
display: flex; align-items: center; justify-content: center;
font-size: 1.3rem;
margin-bottom: 16px;
}
.feat-title {
font-family: var(--font-display);
font-size: 1rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 8px;
}
.feat-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* =========================================================
 HOW IT WORKS
========================================================= */
.steps-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 24px;
position: relative;
}
.step-card {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-lg);
padding: 28px 22px;
text-align: center;
position: relative;
}
.step-num {
width: 44px; height: 44px;
background: var(--accent);
border-radius: 50%;
font-family: var(--font-display);
font-weight: 800;
font-size: 1.1rem;
color: #fff;
display: flex; align-items: center; justify-content: center;
margin: 0 auto 16px;
}
.step-title {
font-family: var(--font-display);
font-size: 0.95rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 8px;
}
.step-desc { font-size: 0.83rem; color: var(--text-secondary); line-height: 1.6; }

/* =========================================================
 SEO CONTENT
========================================================= */
.seo-section {
background: var(--bg-surface);
border-top: 1px solid var(--border-subtle);
border-bottom: 1px solid var(--border-subtle);
padding: 72px 20px;
}
.seo-inner { max-width: 820px; margin: 0 auto; }
.seo-inner h2 {
font-family: var(--font-display);
font-size: 1.65rem;
font-weight: 800;
color: var(--text-primary);
margin-bottom: 20px;
letter-spacing: -0.02em;
}
.seo-inner h3 {
font-family: var(--font-display);
font-size: 1.1rem;
font-weight: 700;
color: var(--text-primary);
margin: 28px 0 10px;
}
.seo-inner p {
font-size: 0.935rem;
color: var(--text-secondary);
line-height: 1.8;
margin-bottom: 14px;
}
.seo-inner strong { color: var(--text-primary); }
.seo-inner em { color: var(--accent-bright); font-style: normal; font-weight: 600; }
.disclaimer-box {
margin-top: 28px;
background: var(--bg-surface-2);
border: 1px solid var(--border);
border-left: 3px solid var(--yellow);
border-radius: var(--radius-md);
padding: 14px 18px;
font-size: 0.8rem;
color: var(--text-muted);
line-height: 1.65;
}

/* =========================================================
 FAQ
========================================================= */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: var(--radius-md);
overflow: hidden;
}
.faq-q {
width: 100%;
background: transparent;
border: none;
padding: 18px 22px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
text-align: left;
font-family: var(--font-body);
font-size: 0.92rem;
font-weight: 600;
color: var(--text-primary);
cursor: pointer;
transition: background var(--transition);
}
.faq-q:hover { background: var(--bg-surface-2); }
.faq-arrow {
width: 22px; height: 22px;
border-radius: 50%;
background: var(--bg-surface-2);
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
font-size: 0.7rem;
color: var(--text-muted);
transition: transform 0.25s, background var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--accent-subtle); color: var(--accent-bright); }
.faq-a {
max-height: 0;
overflow: hidden;
transition: max-height 0.35s ease, padding 0.25s;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
padding: 0 22px 18px;
font-size: 0.875rem;
color: var(--text-secondary);
line-height: 1.75;
}

/* =========================================================
 CTA
========================================================= */
.cta-section { padding: 80px 20px; text-align: center; }
.cta-box {
max-width: 700px;
margin: 0 auto;
background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(56,189,248,0.08) 100%);
border: 1px solid rgba(124,58,237,0.3);
border-radius: var(--radius-xl);
padding: 56px 36px;
position: relative;
overflow: hidden;
}
.cta-box::before {
content: '';
position: absolute;
top: -80px; right: -80px;
width: 300px; height: 300px;
background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
pointer-events: none;
}
.cta-icon { font-size: 2.5rem; margin-bottom: 16px; }
.cta-title {
font-family: var(--font-display);
font-size: 1.9rem;
font-weight: 800;
letter-spacing: -0.02em;
color: var(--text-primary);
margin-bottom: 12px;
}
.cta-sub {
font-size: 0.95rem;
color: var(--text-secondary);
margin-bottom: 32px;
line-height: 1.7;
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--accent);
color: #fff;
border: none;
padding: 13px 26px;
border-radius: var(--radius-md);
font-family: var(--font-display);
font-size: 0.92rem;
font-weight: 700;
transition: all var(--transition);
}
.btn-cta-primary:hover { background: var(--accent-bright); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-cta-secondary {
display: inline-flex;
align-items: center;
gap: 8px;
background: transparent;
color: var(--text-primary);
border: 1px solid var(--border);
padding: 12px 24px;
border-radius: var(--radius-md);
font-family: var(--font-display);
font-size: 0.92rem;
font-weight: 600;
transition: all var(--transition);
}
.btn-cta-secondary:hover { background: var(--bg-surface-2); border-color: var(--text-muted); color: var(--text-primary); }

/* =========================================================
 FOOTER
========================================================= */
.footer {
background: var(--bg-surface);
border-top: 1px solid var(--border-subtle);
padding: 56px 20px 24px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
display: grid;
grid-template-columns: 1.8fr repeat(3, 1fr);
gap: 40px;
margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
font-family: var(--font-display);
font-size: 1.1rem;
font-weight: 800;
color: var(--text-primary);
margin-bottom: 12px;
display: flex;
align-items: center;
gap: 8px;
}
.footer-logo-icon {
width: 30px; height: 30px;
background: var(--accent);
border-radius: var(--radius-sm);
display: flex; align-items: center; justify-content: center;
font-size: 0.85rem;
}
.footer-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.footer-feedback { font-size: 0.82rem; color: var(--text-muted); }
.footer-feedback a { color: var(--accent-bright); }

.footer-col h4 {
font-family: var(--font-display);
font-size: 0.82rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.07em;
color: var(--text-secondary);
margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
font-size: 0.83rem;
color: var(--text-muted);
transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent-bright); }

.footer-bottom {
border-top: 1px solid var(--border-subtle);
padding-top: 20px;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent-bright); }

/* =========================================================
 RESPONSIVE
========================================================= */
@media (max-width: 900px) {
.footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
.footer-top { grid-template-columns: 1fr; gap: 28px; }
.nav-tools-scroll { display: none; }
.hamburger { display: flex; }
.hero { padding: 52px 16px 60px; }
.tool-body { padding: 18px; }
.tool-header { padding: 14px 18px; }
.form-grid { grid-template-columns: 1fr; }
.hero-stats { gap: 20px; }
.cta-box { padding: 36px 20px; }
.section { padding: 56px 16px; }
}

/* Prevent horizontal scroll everywhere */
body, .nav, .nav-inner, .footer, .footer-inner,
.tool-section, .section-inner, .seo-inner { max-width: 100%; }

/* =========================================================
 UTILS
========================================================= */
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip: rect(0,0,0,0);
white-space: nowrap;
border: 0;
}
.divider {
height: 1px;
background: var(--border-subtle);
margin: 8px 0 20px;
}
.tag {
display: inline-flex;
align-items: center;
background: var(--bg-surface-2);
border: 1px solid var(--border);
border-radius: var(--radius-pill);
padding: 2px 10px;
font-size: 0.72rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.04em;
}

.provider-badge {
display: inline-flex;
align-items: center;
gap: 5px;
font-size: 0.75rem;
font-weight: 600;
padding: 3px 10px;
border-radius: var(--radius-pill);
border: 1px solid;
}
.pb-aws { background: rgba(255,153,0,0.12); border-color: rgba(255,153,0,0.3); color: #ff9900; }
.pb-azure { background: rgba(0,120,212,0.12); border-color: rgba(0,120,212,0.3); color: #0078d4; }
.pb-gcp { background: rgba(66,133,244,0.12); border-color: rgba(66,133,244,0.3); color: #4285f4; }
.pb-do { background: rgba(0,105,255,0.12); border-color: rgba(0,105,255,0.3); color: #0069ff; }

.provider-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
