
/* ==========================================================
   EASY ENERGY SAVE — Premium stylesheet (v2)
   Includes: fixed stats grid, card icons, dark mode
   ========================================================== */

:root {
    --brand-900: #062b2a;
    --brand-800: #0b3b3c;
    --brand-700: #0f5049;
    --brand-600: #1a7f6e;
    --brand-500: #2f9e8c;
    --brand-400: #4fbfa8;
    --brand-300: #7dd4c1;
    --brand-200: #b6e6db;
    --brand-100: #e4f5f0;
    --brand-50:  #f2faf8;

    --accent:      #ffb454;
    --accent-dark: #f59331;

    --ink-900: #0f1a1c;
    --ink-700: #2d4a46;
    --ink-500: #5f7d78;
    --ink-300: #98b3ae;

    --bg:      #f6faf9;
    --surface: #ffffff;
    --line:    #e2efec;
    --line-strong: #cfe2de;

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(15, 26, 28, 0.04);
    --shadow-sm: 0 4px 12px rgba(15, 26, 28, 0.05);
    --shadow:    0 12px 32px rgba(15, 26, 28, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 26, 28, 0.12);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-700);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 0 16px;
}

img, svg { max-width: 100%; display: block; }
svg { flex-shrink: 0; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    color: var(--brand-800);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); margin-bottom: 0.6rem; }
h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    margin: 2.75rem 0 1rem;
    position: relative;
    padding-left: 20px;
}
h2::before {
    content: "";
    position: absolute;
    left: 0; top: 0.35em; bottom: 0.35em;
    width: 6px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--brand-500), var(--brand-400));
}
h3 { font-size: 1.2rem; margin: 1.75rem 0 0.6rem; color: var(--brand-700); }

p { margin-bottom: 1rem; }
a { color: var(--brand-600); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--brand-800); text-decoration: underline; }

ul, ol { margin: 0.5rem 0 1.25rem 1.35rem; }
li { margin-bottom: 0.35rem; }

strong { color: var(--brand-800); }

/* ---------- Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--brand-800);
    text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--brand-700); }

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 6px 14px rgba(47, 158, 140, 0.35);
    flex-shrink: 0;
    overflow: hidden;
}
.logo-mark svg,
.logo-mark img { width: 100%; height: 100%; display: block; border-radius: inherit; }

.logo span { color: var(--brand-500); }

nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

nav a {
    position: relative;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--ink-700);
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
nav a:hover {
    color: var(--brand-800);
    background: var(--brand-100);
    text-decoration: none;
}
nav a.active {
    color: var(--brand-800);
    background: var(--brand-100);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--brand-800);
    font-size: 1.35rem;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}
.menu-toggle:hover { background: var(--brand-50); }

@media (max-width: 820px) {
    .menu-toggle { display: grid; place-items: center; }
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px 0 6px;
        border-top: 1px solid var(--line);
        margin-top: 10px;
    }
    nav.open { display: flex; }
    nav a { padding: 10px 14px; border-radius: 10px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    margin: 32px 0 40px;
    background:
        radial-gradient(1200px 400px at 90% -20%, rgba(79, 191, 168, 0.35), transparent 60%),
        radial-gradient(800px 300px at 0% 110%, rgba(255, 180, 84, 0.18), transparent 55%),
        linear-gradient(135deg, #eaf7f3 0%, #ffffff 100%);
    border: 1px solid var(--brand-100);
    box-shadow: var(--shadow-sm);
}
.hero::after {
    content: "";
    position: absolute;
    right: -80px; bottom: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(47, 158, 140, 0.18), transparent 70%);
    pointer-events: none;
}
.hero h1 {
    font-size: clamp(2rem, 4.6vw, 3rem);
    max-width: 720px;
    margin-bottom: 16px;
    background: linear-gradient(120deg, var(--brand-900), var(--brand-600));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    font-size: 1.15rem;
    color: var(--ink-700);
    max-width: 620px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--brand-200);
    color: var(--brand-700);
    font-size: 0.82rem; font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 1;
}
.hero-badge::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(47, 158, 140, 0.18);
}

@media (max-width: 640px) {
    .hero { padding: 40px 24px; border-radius: var(--radius); margin: 20px 0 32px; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff;
    font-weight: 600;
    font-size: 0.97rem;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(47, 158, 140, 0.28);
    transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(47, 158, 140, 0.36);
    color: #fff;
    text-decoration: none;
}
.btn:active { transform: translateY(0); }

.btn-outline {
    background: #ffffff;
    color: var(--brand-700);
    border: 1.5px solid var(--brand-300);
    box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
    background: var(--brand-50);
    color: var(--brand-800);
    border-color: var(--brand-500);
    box-shadow: var(--shadow-sm);
}

/* ---------- Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin: 28px 0 40px;
}

.card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 26px 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--brand-200);
}
.card:hover::before { transform: scaleX(1); }

.card h3 { margin-top: 0; font-size: 1.08rem; color: var(--brand-800); }
.card p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 0; }
.card a { font-weight: 600; }

/* Icon block for cards */
.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
    color: var(--brand-600);
    margin-bottom: 16px;
    border: 1px solid var(--brand-200);
    transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.card:hover .card-icon {
    transform: scale(1.06) rotate(-3deg);
    background: linear-gradient(135deg, var(--brand-200), var(--brand-100));
}

/* ---------- Ad slots ---------- */
.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin: 32px 0;
    padding: 20px 16px;
    background:
        repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(47, 158, 140, 0.03) 12px, rgba(47, 158, 140, 0.03) 24px),
        var(--brand-50);
    border: 1px dashed var(--brand-200);
    border-radius: var(--radius);
    color: var(--ink-500);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}
.ad-slot::before { content: "Ad Space"; opacity: 0.65; }

/* ---------- Article list ---------- */
.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0 40px;
}

.article-item {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px 22px 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.article-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--brand-200);
}
.article-item h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--brand-800); line-height: 1.35; }
.article-item p { font-size: 0.92rem; color: var(--ink-500); margin-bottom: 14px; flex-grow: 1; }
.article-item .read-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-600);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.article-item .read-more::after {
    content: "→";
    transition: transform 0.2s var(--ease);
}
.article-item:hover .read-more::after { transform: translateX(4px); }

/* ---------- Article page ---------- */
.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--ink-500);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-300); }

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--ink-500);
    margin: 24px 0 8px;
}
.breadcrumbs a { color: var(--brand-600); }
.breadcrumbs span.sep { color: var(--ink-300); }

article p { font-size: 1.02rem; }

/* FAQ */
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-xs);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.faq-item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--brand-800); }
.faq-item p { margin: 0; font-size: 0.97rem; color: var(--ink-700); }

/* Related */
.related {
    margin: 40px 0;
    padding: 26px 28px;
    background:
        radial-gradient(600px 200px at 100% 0%, rgba(47, 158, 140, 0.08), transparent 60%),
        var(--brand-50);
    border: 1px solid var(--brand-200);
    border-radius: var(--radius);
}
.related h3 { margin-top: 0; color: var(--brand-800); }
.related ul { margin-bottom: 0; }

/* ---------- Tool card ---------- */
.tool-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.tool-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-400), var(--accent));
}
.tool-card h3 { margin-top: 0; }
.tool-card .result {
    margin-top: 16px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--brand-50), #ffffff);
    border: 1px solid var(--brand-200);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--brand-800);
    font-size: 1.02rem;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--brand-800);
    margin-bottom: 6px;
}
input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink-900);
    background: #ffffff;
    border: 1.5px solid var(--line-strong);
    border-radius: 10px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input::placeholder, textarea::placeholder { color: var(--ink-300); }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(47, 158, 140, 0.15);
}
textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
footer {
    margin-top: 72px;
    background: linear-gradient(180deg, #ffffff, var(--brand-50));
    border-top: 1px solid var(--line);
    padding: 56px 0 28px;
    color: var(--ink-700);
    font-size: 0.92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-grid h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-800);
    margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--ink-500); }
.footer-grid a:hover { color: var(--brand-700); text-decoration: none; }

.footer-brand p { color: var(--ink-500); font-size: 0.9rem; max-width: 300px; }
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--brand-800);
    font-size: 1.1rem;
    margin-bottom: 14px;
}
.footer-logo .logo-mark { width: 32px; height: 32px; font-size: 0.95rem; border-radius: 8px; }

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    font-size: 0.83rem;
    color: var(--ink-500);
}
.footer-bottom a { color: var(--ink-500); }
.footer-bottom a:hover { color: var(--brand-700); }

/* ==========================================================
   STATS — fixed grid: 4 columns on desktop, 2 on tablet/mobile
   ========================================================== */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 32px 0 8px;
}
@media (max-width: 900px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

.stat {
    min-width: 0;
    text-align: center;
    padding: 24px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: var(--brand-200);
}
.stat .num {
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
    white-space: nowrap;
}
.stat .lbl {
    font-size: 0.78rem;
    color: var(--ink-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    line-height: 1.3;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; margin: 24px 0 32px; }
.step {
    position: relative;
    padding: 20px 22px 20px 74px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 6px 14px rgba(47, 158, 140, 0.35);
}
.step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.step p { margin: 0; font-size: 0.95rem; color: var(--ink-500); }

/* ---------- Callout ---------- */
.callout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    background: linear-gradient(135deg, #fff8ec, #ffffff);
    border: 1px solid #f5ddb4;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    margin: 24px 0;
}
.callout .icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.callout p { margin: 0; font-size: 0.97rem; }
.callout strong { color: var(--brand-800); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.small { font-size: 0.85rem; color: var(--ink-500); }

.section-lead {
    font-size: 1.05rem;
    color: var(--ink-500);
    max-width: 680px;
    margin-bottom: 8px;
}

/* Section headings with count badge */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.section-head h2 { margin: 0; }
.section-head .badge {
    font-size: 0.75rem;
    background: var(--brand-100);
    color: var(--brand-700);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Smooth focus for accessibility */
:focus-visible {
    outline: 3px solid rgba(47, 158, 140, 0.5);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ==========================================================
   DARK MODE — автоматически по системным настройкам
   ========================================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --brand-900: #d6f1e9;
        --brand-800: #c2ebe0;
        --brand-700: #a8e2d3;
        --brand-600: #7dd4c1;
        --brand-500: #4fbfa8;
        --brand-400: #2f9e8c;
        --brand-300: #1a7f6e;
        --brand-200: #0f5049;
        --brand-100: #0b3b3c;
        --brand-50:  #072524;

        --ink-900: #f2faf8;
        --ink-700: #c7dbd7;
        --ink-500: #8ba8a3;
        --ink-300: #5f7d78;

        --bg:      #0a1414;
        --surface: #102021;
        --line:    #1c3333;
        --line-strong: #24403f;

        --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
        --shadow:    0 12px 32px rgba(0, 0, 0, 0.45);
        --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
    }

    body { background: var(--bg); color: var(--ink-700); }

    header {
        background: rgba(16, 32, 33, 0.85);
        border-bottom-color: var(--line);
    }

    .hero {
        background:
            radial-gradient(1200px 400px at 90% -20%, rgba(47, 158, 140, 0.25), transparent 60%),
            radial-gradient(800px 300px at 0% 110%, rgba(255, 180, 84, 0.10), transparent 55%),
            linear-gradient(135deg, #0e2424 0%, #102021 100%);
        border-color: var(--line);
    }
    .hero h1 {
        background: linear-gradient(120deg, #d6f1e9, #4fbfa8);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
    .hero-badge {
        background: rgba(16, 32, 33, 0.7);
        color: var(--brand-500);
    }

    .btn-outline {
        background: var(--surface);
        color: var(--brand-500);
        border-color: var(--brand-300);
    }
    .btn-outline:hover {
        background: var(--brand-100);
        color: var(--brand-800);
    }

    .card, .article-item, .tool-card, .faq-item, .stat, .step {
        background: var(--surface);
        border-color: var(--line);
    }

    input, textarea, select {
        background: #0e2424;
        color: var(--ink-900);
        border-color: var(--line-strong);
    }
    input::placeholder, textarea::placeholder { color: var(--ink-300); }

    .ad-slot {
        background:
            repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(47, 158, 140, 0.06) 12px, rgba(47, 158, 140, 0.06) 24px),
            #0e2424;
        border-color: var(--brand-200);
        color: var(--ink-500);
    }

    .related {
        background:
            radial-gradient(600px 200px at 100% 0%, rgba(47, 158, 140, 0.12), transparent 60%),
            #0e2424;
        border-color: var(--brand-200);
    }

    .callout {
        background: linear-gradient(135deg, #2a1f0e, #102021);
        border-color: #5a4321;
    }

    footer {
        background: linear-gradient(180deg, #0a1414, #0e2424);
        border-top-color: var(--line);
    }

    .section-head .badge {
        background: var(--brand-100);
        color: var(--brand-500);
    }

    .card-icon {
        background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
        border-color: var(--brand-200);
        color: var(--brand-500);
    }
    .card:hover .card-icon {
        background: linear-gradient(135deg, var(--brand-200), var(--brand-100));
    }

    .logo-mark {
        box-shadow: 0 6px 14px rgba(47, 158, 140, 0.45);
    }
}
