:root {
    --bg: #0f1220;
    --surface: #171a2b;
    --surface-2: #1f2338;
    --border: #2a2f48;
    --text: #e8ecf7;
    --muted: #9aa3c2;
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --secondary: #6366f1;
    --accent: #38bdf8;
    --danger: #ef4444;
    --warn: #f59e0b;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* -------- Header -------- */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky; top: 0; z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { color: var(--text); text-decoration: none; font-weight: 700; font-size: 22px; }
.logo-mark {
    background: var(--primary);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    margin-right: 4px;
    font-size: 16px;
    letter-spacing: 1px;
}
nav a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 16px;
    font-weight: 500;
    transition: color 0.15s;
}
nav a:hover, nav a.active { color: var(--text); }
nav a.btn-primary { color: #fff; }

/* -------- Buttons -------- */
.btn-primary, .btn-secondary, button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s, transform 0.05s;
}
.btn-primary:hover, button:hover { background: var(--primary-dark); }
.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--surface-2); }
.btn-link { background: transparent; color: var(--muted); }
.btn-link:hover { background: transparent; color: var(--text); }
.large { padding: 12px 24px; font-size: 15px; }
.danger { color: var(--danger); text-decoration: none; font-weight: bold; }

/* -------- Alerts -------- */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 14px 0;
    border: 1px solid;
}
.alert.success { background: rgba(34,197,94,0.1); color: #6ee7b7; border-color: rgba(34,197,94,0.3); }
.alert.error   { background: rgba(239,68,68,0.1); color: #fca5a5; border-color: rgba(239,68,68,0.3); }
.alert.warn    { background: rgba(245,158,11,0.1); color: #fcd34d; border-color: rgba(245,158,11,0.3); }

/* -------- Hero / Landing -------- */
main { flex: 1; padding: 30px 0; }
.hero { text-align: center; padding: 40px 20px; }
.hero h1 { font-size: 48px; margin: 0 0 16px; background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 0 auto 24px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 40px 0;
}
.feature-card {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.feature-card h3 { margin: 0 0 8px; color: var(--primary); }
.feature-card p { margin: 0; color: var(--muted); }

/* -------- Forms -------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 6px; font-weight: 500; }
.form input, .form select, .form textarea {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--primary); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.grid-4 { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 14px; align-items: end; }
.grid-5 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 14px; align-items: end; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-5 { grid-column: span 5; }
.form-actions { display: flex; gap: 10px; align-items: end; }
.inline { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline input, .inline select {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
}
@media (max-width: 700px) {
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
    .span-2, .span-3, .span-5 { grid-column: auto; }
    .hero h1 { font-size: 34px; }
}

/* -------- Auth -------- */
.auth-card {
    background: var(--surface);
    padding: 32px;
    max-width: 420px;
    margin: 40px auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.auth-card h1 { margin-top: 0; }

/* -------- Cards / Stats -------- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 18px 0;
}
.card {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.card.stat .stat-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.card.stat .stat-value { font-size: 30px; font-weight: 700; margin: 6px 0; }
.card.stat .stat-value small { font-size: 14px; color: var(--muted); font-weight: 400; }
.card.stat .stat-value.good { color: #6ee7b7; }
.card.stat .stat-value.bad  { color: #fca5a5; }
.card.stat .stat-sub { color: var(--muted); font-size: 13px; }
.card.macro { display: flex; justify-content: space-between; align-items: center; }
.card.macro span { color: var(--muted); }
.card.macro strong { font-size: 20px; }

/* -------- Progress -------- */
.progress {
    background: var(--surface-2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}
.progress .bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}
.progress .bar.water { background: linear-gradient(90deg, #38bdf8, #3b82f6); }

/* -------- Tables -------- */
.data {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 16px 0;
    border: 1px solid var(--border);
}
.data th, .data td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.data th { background: var(--surface-2); color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.data tfoot th { background: var(--surface-2); color: var(--text); }
.data tr:last-child td { border-bottom: none; }

/* -------- Misc -------- */
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.quick-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 24px; }
h1 { margin-top: 0; }
h2 { margin-top: 30px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
details { cursor: pointer; }
details summary { padding: 4px 0; }
details[open] summary { margin-bottom: 12px; }

/* -------- Footer -------- */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    color: var(--muted);
    margin-top: 40px;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.badge.admin-badge {
    background: rgba(245,158,11,0.15);
    color: #fcd34d;
    border: 1px solid rgba(245,158,11,0.4);
    text-transform: none;
    letter-spacing: 0;
}
nav a.admin-link {
    background: rgba(245,158,11,0.12);
    color: #fcd34d;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(245,158,11,0.3);
    margin-left: 12px;
}
nav a.admin-link:hover, nav a.admin-link.active {
    background: rgba(245,158,11,0.22);
    color: #fde68a;
}
.admin-nav {
    display: flex;
    gap: 6px;
    margin: 18px 0 26px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    flex-wrap: wrap;
}
.admin-nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
}
.admin-nav a:hover { color: var(--text); background: var(--surface-2); }
.admin-nav a.active {
    background: var(--primary);
    color: #fff;
}
.sub-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}
.sub-tabs a {
    color: var(--muted);
    text-decoration: none;
    padding: 10px 18px;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    font-size: 14px;
    font-weight: 500;
}
.sub-tabs a.active {
    color: var(--text);
    border-bottom-color: var(--primary);
}
.sub-tabs a:hover { color: var(--text); }

/* Admin tables: smaller, inline-editable */
.data input[type="text"],
.data input[type="number"],
.data input[type="search"] {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 6px 8px;
    border-radius: 5px;
    font-size: 13px;
    font-family: inherit;
    width: 100%;
    min-width: 70px;
}
.data input:focus { outline: none; border-color: var(--primary); }
.data td.actions { white-space: nowrap; }
.btn-mini {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 2px;
    display: inline-block;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.btn-mini:hover { background: var(--surface); border-color: var(--primary); }
.btn-mini.danger {
    background: rgba(239,68,68,0.1);
    color: #fca5a5;
    border-color: rgba(239,68,68,0.3);
}
.btn-mini.danger:hover {
    background: rgba(239,68,68,0.2);
    border-color: var(--danger);
    color: #fee2e2;
}
.row-form { display: contents; }

/* ============================================================
   LANDING PAGE
   ============================================================ */
.landing-hero {
    position: relative;
    padding: 80px 20px 100px;
    text-align: center;
    overflow: hidden;
    min-height: 560px;
    background:
        linear-gradient(180deg,
            rgba(15,18,32,0.82) 0%,
            rgba(15,18,32,0.70) 45%,
            rgba(15,18,32,0.95) 100%),
        url('../images/motivation.jpg') center/cover no-repeat;
    border-radius: 16px;
    margin-top: -10px;
}
.hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: float 18s ease-in-out infinite;
    mix-blend-mode: screen;
}
.blob-green  { background: var(--primary);   top: -80px;  left: -60px;  width: 420px; height: 420px; }
.blob-blue   { background: var(--accent);    bottom: -80px; right: -60px; width: 380px; height: 380px; animation-delay: -6s; }
.blob-purple { background: var(--secondary); top: 40%; left: 55%;     width: 300px; height: 300px; opacity: 0.18; animation-delay: -12s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.1); }
    66%      { transform: translate(-30px, 40px) scale(0.95); }
}

.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.badge {
    display: inline-block;
    background: rgba(34,197,94,0.12);
    color: #6ee7b7;
    border: 1px solid rgba(34,197,94,0.35);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 60px;
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 22px;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.hero-sub {
    color: var(--muted);
    font-size: 19px;
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.hero-meta {
    margin-top: 22px;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating preview cards */
.hero-preview {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.float-card {
    background: rgba(23, 26, 43, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 22px;
    min-width: 200px;
    text-align: left;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    animation: floatCard 6s ease-in-out infinite;
}
.fc-1 { transform: rotate(-3deg); animation-delay: 0s; }
.fc-2 { transform: translateY(-14px); animation-delay: -2s; }
.fc-3 { transform: rotate(3deg); animation-delay: -4s; }
@keyframes floatCard {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -10px; }
}
.fc-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; }
.fc-value { font-size: 26px; font-weight: 700; margin: 4px 0; }
.fc-value small { font-size: 14px; color: var(--muted); font-weight: 400; }
.fc-sub { font-size: 13px; color: var(--muted); }
.fc-sub.good { color: #6ee7b7; }
.mini-bar { background: var(--surface-2); height: 6px; border-radius: 3px; overflow: hidden; margin-top: 6px; }
.mini-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.mini-bar span.water { background: linear-gradient(90deg, #38bdf8, #3b82f6); }
.mini-bar.big { height: 10px; border-radius: 5px; margin-top: 10px; }

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 0 auto 60px;
    max-width: 900px;
    overflow: hidden;
}
.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-txt { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* Section framework */
.section { padding: 70px 0; }
.section.alt {
    background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04), transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head h2 { font-size: 36px; margin: 10px 0 14px; border: none; padding: 0; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.eyebrow {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Feature grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "big1 big2"
        "m1   m2"
        "m3   m4";
    gap: 18px;
}
.feature-big, .feature-mini {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform 0.2s, border-color 0.2s;
}
.feature-big:hover, .feature-mini:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}
.feature-big { padding: 36px; }
.feature-big:nth-of-type(1) { grid-area: big1; }
.feature-big:nth-of-type(2) { grid-area: big2; }
.feature-mini:nth-of-type(3) { grid-area: m1; }
.feature-mini:nth-of-type(4) { grid-area: m2; }
.feature-mini:nth-of-type(5) { grid-area: m3; }
.feature-mini:nth-of-type(6) { grid-area: m4; }

.feature-big h3 { font-size: 24px; margin: 16px 0 10px; }
.feature-mini h4 { font-size: 18px; margin: 14px 0 8px; }
.feature-big p, .feature-mini p { color: var(--muted); margin: 0 0 12px; }
.icon-wrap {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-wrap svg { width: 26px; height: 26px; stroke-linecap: round; stroke-linejoin: round; }
.icon-wrap.green  { background: rgba(34,197,94,0.15);  color: #6ee7b7; }
.icon-wrap.blue   { background: rgba(56,189,248,0.15); color: #7dd3fc; }
.icon-wrap.purple { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.icon-wrap.cyan   { background: rgba(34,211,238,0.15); color: #67e8f9; }
.icon-wrap.amber  { background: rgba(245,158,11,0.15); color: #fcd34d; }
.icon-wrap.pink   { background: rgba(236,72,153,0.15); color: #f9a8d4; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}
.check-list li {
    padding: 6px 0 6px 28px;
    position: relative;
    color: var(--text);
    font-size: 14px;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}
.step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(34,197,94,0.35);
}
.step h3 { margin: 0 0 10px; font-size: 20px; }
.step p { color: var(--muted); margin: 0; }

/* Motivation split banner */
.motivation-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.motivation-image {
    background-image:
        linear-gradient(100deg, rgba(15,18,32,0.55) 0%, rgba(15,18,32,0) 40%),
        url('../images/motivation.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    position: relative;
}
.motivation-image::after {
    content: "";
    position: absolute; inset: 0;
    box-shadow: inset 0 0 120px rgba(0,0,0,0.5);
    pointer-events: none;
}
.motivation-text {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}
.motivation-text h2 {
    font-size: 34px;
    margin: 0;
    border: none;
    padding: 0;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.motivation-text p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
}
.motivation-text .btn-primary { align-self: flex-start; }
.mot-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 28px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 6px 0;
    justify-content: start;
}
.mot-stats strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.mot-stats span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
}
@media (max-width: 900px) {
    .motivation-split { grid-template-columns: 1fr; }
    .motivation-image { min-height: 280px; }
    .motivation-text { padding: 30px; }
    .motivation-text h2 { font-size: 26px; }
}

/* Why / mock dashboard */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.why-text h2 { font-size: 34px; border: none; padding: 0; margin: 10px 0 18px; letter-spacing: -0.01em; }
.why-text .lead { color: var(--muted); font-size: 17px; line-height: 1.6; }
.why-points { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.why-point {
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}
.why-point strong { display: block; margin-bottom: 4px; }
.why-point span { color: var(--muted); font-size: 14px; }

.mock-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(34,197,94,0.1);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-4deg) rotateX(3deg);
    transition: transform 0.3s;
}
.mock-card:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.mock-head {
    background: var(--surface-2);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-dot:nth-child(1) { background: #ef4444; }
.mock-dot:nth-child(2) { background: #f59e0b; }
.mock-dot:nth-child(3) { background: var(--primary); }
.mock-url { color: var(--muted); font-size: 12px; margin-left: 10px; }
.mock-body { padding: 24px; }
.mock-stat small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; }
.mock-stat strong { display: block; font-size: 32px; font-weight: 700; margin: 6px 0; }
.mock-stat strong span { font-size: 16px; color: var(--muted); font-weight: 400; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.mock-mini {
    background: var(--surface-2);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
}
.mock-mini small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }
.mock-mini strong { display: block; font-size: 18px; margin-top: 4px; }

/* Formulas */
.formula-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.formula-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: border-color 0.2s;
}
.formula-card:hover { border-color: var(--accent); }
.formula-label {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}
.formula-eq {
    font-family: "JetBrains Mono", Consolas, monospace;
    font-size: 18px;
    font-weight: 600;
    margin: 12px 0;
    padding: 10px;
    background: var(--surface-2);
    border-radius: 8px;
    color: var(--accent);
}
.formula-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* Final CTA */
.cta-final {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(ellipse at center, rgba(34,197,94,0.12), transparent 70%);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}
.cta-final h2 {
    font-size: 42px;
    border: none;
    padding: 0;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.cta-final p { color: var(--muted); font-size: 18px; max-width: 600px; margin: 0 auto 28px; }
.small { font-size: 13px; margin-top: 18px !important; }

/* Responsive */
@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "big1" "big2" "m1" "m2" "m3" "m4";
    }
    .steps, .formula-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 30px; }
    .mock-card { transform: none; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
    .hero-title { font-size: 40px; }
    .section-head h2, .why-text h2, .cta-final h2 { font-size: 28px; }
    .hero-preview { margin-top: 40px; }
    .float-card { min-width: 160px; padding: 14px 18px; }
    .fc-value { font-size: 22px; }
}
