:root {
    --green: #16a34a;
    --green-soft: #dcfce7;
    --orange: #f59e0b;
    --orange-soft: #fef3c7;
    --blue: #3b82f6;
    --blue-soft: #dbeafe;
    --ink: #14241b;
    --muted: #5b6b62;
    --line: #e6ece8;

    /* állapotfüggő, JS állítja át a body class-szal */
    --accent: var(--green);
    --accent-soft: var(--green-soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.5;
    transition: background .4s ease;
}

/* ─── Állapot-témák ─── */
.state-green  { --accent: var(--green);  --accent-soft: var(--green-soft); }
.state-orange { --accent: var(--orange); --accent-soft: var(--orange-soft); }
.state-blue   { --accent: var(--blue);   --accent-soft: var(--blue-soft); }

/* ─── Nav ─── */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(8px);
    z-index: 10;
}
.brand { font-weight: 800; font-size: 22px; letter-spacing: -.5px; display: flex; align-items: center; gap: 8px; }
.brand-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); transition: background .4s; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.login-link {
    position: relative;
    padding: 8px 16px;
    border: 1.5px solid var(--accent);
    border-radius: 999px;
    color: var(--accent) !important;
    font-weight: 600 !important;
    transition: border-color .4s, color .4s;
}
.nav-badge {
    position: absolute;
    top: -8px;
    min-width: 18px; height: 18px;
    line-height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.nav-badge.orange { background: var(--orange); right: -6px; }
.nav-badge.blue   { background: var(--blue);  right: 18px; }

/* ─── Hero ─── */
.hero {
    background: linear-gradient(160deg, var(--accent-soft), #fff 70%);
    transition: background .4s ease;
    padding: 64px 24px 80px;
}
.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center;
}
.pill {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    transition: background .4s;
}
.hero h1 { font-size: 48px; line-height: 1.08; margin: 18px 0 16px; letter-spacing: -1.5px; }
.hero-text p { font-size: 18px; color: var(--muted); max-width: 480px; }
.hero-cta { display: flex; gap: 12px; margin: 26px 0 18px; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}
.btn-primary { background: var(--accent); color: #fff; transition: background .4s; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.trust { color: var(--accent); font-weight: 600; }
.trust span { color: var(--muted); font-weight: 400; margin-left: 6px; }

/* Üveg vizuál */
.hero-visual { display: flex; justify-content: center; }
.bottle { width: 150px; text-align: center; }
.bottle-cap {
    height: 26px;
    background: var(--accent);
    border-radius: 10px 10px 4px 4px;
    width: 90px;
    margin: 0 auto;
    transition: background .4s;
}
.bottle-body {
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 16px;
    margin-top: 6px;
    padding: 50px 10px;
    font-size: 30px;
    font-weight: 800;
    color: var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transition: border-color .4s, color .4s;
}
.bottle-body small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: 2px; text-transform: uppercase; }

/* ─── Szekciók ─── */
section h2 { text-align: center; font-size: 32px; letter-spacing: -.5px; margin: 0 0 36px; }
.benefits, .how, .reviews { max-width: 1080px; margin: 0 auto; padding: 70px 24px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
}
.card .ico { font-size: 36px; }
.card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

.how { background: var(--accent-soft); max-width: none; transition: background .4s; }
.how > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { text-align: center; }
.step span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    transition: background .4s;
}
.step h3 { margin: 14px 0 6px; }
.step p { color: var(--muted); margin: 0; }

.review {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
}
.review p { font-size: 16px; margin: 0 0 12px; }
.review span { color: var(--muted); font-weight: 600; }

.footer {
    border-top: 1px solid var(--line);
    padding: 30px 24px;
    text-align: center;
    color: var(--muted);
}
.footer .brand { justify-content: center; margin-bottom: 8px; }
.footer p { font-size: 13px; margin: 0; }

@media (max-width: 760px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .hero-visual { order: -1; }
    .nav-links { gap: 12px; }
    .nav-links a:not(.login-link) { display: none; }
}
