/* ── Variables ── */
:root {
    --bg:           #060f0a;
    --bg-2:         #0c1e13;
    --bg-3:         #0f2618;
    --accent:       #00E87A;
    --accent-dim:   rgba(0, 232, 122, 0.1);
    --accent-glow:  rgba(0, 232, 122, 0.28);
    --text:         #dff0e8;
    --text-muted:   rgba(180, 220, 195, 0.45);
    --border:       rgba(255, 255, 255, 0.07);
    --border-accent:rgba(0, 232, 122, 0.2);
    --card:         rgba(255, 255, 255, 0.04);
    --card-hover:   rgba(255, 255, 255, 0.07);
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body:    'Inter', sans-serif;
    --ease:         all 0.18s ease;
    --radius:       12px;
    --radius-lg:    18px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Subtle dot grid overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(0,232,122,0.12) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Ambient green glow */
body::after {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(0,232,122,0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* All content above z-index overlays */
header, main, section, footer, .hero { position: relative; z-index: 1; }

/* ── Container ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HEADER ── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(6, 15, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), #00a855);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--bg);
    font-family: var(--font-display);
    box-shadow: 0 0 20px var(--accent-glow);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.header-nav {
    display: none;
    gap: 36px;
}

@media (min-width: 768px) {
    .header-nav { display: flex; }
}

.header-nav a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 500;
}
.header-nav a:hover { color: var(--text); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
}

.lang-select {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.lang-select option { background: var(--bg-2); color: var(--text); }

.btn-ghost-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--ease);
}
.btn-ghost-header:hover { color: var(--text); background: var(--card); }

.btn-header {
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--bg);
    background: var(--accent);
    border: none;
    cursor: pointer;
    padding: 9px 20px;
    border-radius: var(--radius);
    transition: var(--ease);
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-header:hover {
    box-shadow: 0 0 35px var(--accent-glow);
    transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    padding-top: 66px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-inner {
    padding: 80px 0 60px;
}

/* Hexagon decoration */
.hero-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-hexagon {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 460px;
    height: 460px;
}

.hero-hexagon svg {
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

.hero-glow-line {
    position: absolute;
    width: 2px;
    border-radius: 2px;
}

.hero-glow-line-1 {
    height: 280px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    right: 36%;
    top: 15%;
    transform: rotate(-35deg);
    opacity: 0.6;
}

.hero-glow-line-2 {
    height: 180px;
    background: linear-gradient(to bottom, transparent, rgba(0,232,122,0.4), transparent);
    right: 28%;
    top: 55%;
    transform: rotate(-35deg);
    opacity: 0.4;
}

.hero-content {
    max-width: 620px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 28px;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 28px;
}

.text-accent { color: var(--accent); }

.hero-desc {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 12px 12px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--ease);
    box-shadow: 0 0 30px var(--accent-glow);
    text-decoration: none;
}
.btn-cta:hover {
    box-shadow: 0 0 50px rgba(0,232,122,0.5);
    transform: translateY(-2px);
}
.btn-cta-icon {
    width: 34px;
    height: 34px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--ease);
    text-decoration: none;
}
.btn-outline:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
}

/* ── Hero Stats ── */
.hero-stats {
    border-top: 1px solid var(--border);
    padding: 36px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 32px 56px;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.stat-lbl {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ── Hero Preview ── */
.hero-preview-wrap {
    position: relative;
    margin-top: 60px;
}

.preview-window {
    background: rgba(12, 30, 19, 0.9);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.preview-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}

.win-dots {
    display: flex;
    gap: 6px;
    margin-right: 6px;
}

.wdot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.preview-bar-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.preview-table {
    padding: 0;
}

.preview-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.5fr 2fr;
    gap: 0;
}

.preview-row.header-row {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
}

.preview-row span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Section Tags ── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.9;
}
.section-tag::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: var(--accent);
    opacity: 0.7;
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 2.5rem;
}

/* ── SIMULATOR SECTION ── */
.section-dark {
    background: rgba(12, 30, 19, 0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

#about {
    scroll-margin-top: 90px;
}

/* ── Result Card ── */
.result-card {
    background: rgba(0, 232, 122, 0.04);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(10px);
}

.result-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.result-main {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--accent);
    margin-top: 8px;
    text-shadow: 0 0 40px var(--accent-glow);
}

.result-secondary {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.025em;
    margin-top: 4px;
}

/* ── Field Labels ── */
.field-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.range-label { font-size: 11px; color: var(--text-muted); }

/* ── Slider ── */
.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border: 3px solid var(--bg);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 12px var(--accent-glow), 0 0 0 2px var(--accent);
    transition: transform 0.15s;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border: 3px solid var(--bg);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 12px var(--accent-glow);
}
.slider::-moz-range-track { background: transparent; border: none; }

/* ── Duration Buttons ── */
.duration-btn {
    padding: 8px 6px;
    border: 1px solid var(--border);
    background: var(--card);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--ease);
    text-align: center;
    border-radius: 6px;
}
.duration-btn:hover {
    border-color: var(--border-accent);
    color: var(--accent);
    background: var(--accent-dim);
}
.duration-btn-active {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--bg) !important;
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ── Inline Field Input ── */
.field-input-inline {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 500;
    outline: none;
    padding: 4px 0;
    transition: border-color 0.2s;
}
.field-input-inline:focus { border-bottom-color: var(--accent); }
.field-input-inline::placeholder { color: rgba(255,255,255,0.2); }

/* ── Form Inputs ── */
.form-input {
    width: 100%;
    padding: 13px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus { border-bottom-color: var(--accent); }
.form-input::placeholder { color: rgba(255,255,255,0.2); font-weight: 300; }

.form-select {
    width: 100%;
    padding: 13px 28px 13px 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300E87A' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat right 4px center;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.form-select:focus { border-bottom-color: var(--accent); }
.form-select option { background: var(--bg-2); color: var(--text); }

/* Remove number spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--ease);
    box-shadow: 0 0 20px var(--accent-glow);
    white-space: nowrap;
}
.btn-primary:hover {
    box-shadow: 0 0 40px rgba(0,232,122,0.5);
    transform: translateY(-1px);
}
.btn-primary:active { transform: scale(0.99); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    background: var(--card);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
}
.btn-secondary:hover {
    border-color: var(--border-accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--ease);
}
.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.2);
    background: var(--card);
}

/* ── Checkbox ── */
.checkbox {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

/* ── Step Progress ── */
.step-item { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }

.step-circle-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--card);
    transition: all 0.3s;
    font-family: var(--font-body);
}
.step-item.active .step-circle-num {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 0 16px var(--accent-glow);
}
.step-item.completed .step-circle-num {
    border-color: var(--accent);
    background: transparent;
    color: var(--accent);
    font-size: 0;
}
.step-item.completed .step-circle-num::before { content: "✓"; font-size: 13px; }

.step-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.3s;
}
.step-item.active .step-label,
.step-item.completed .step-label { color: var(--accent); }

.step-line {
    flex: 1;
    height: 1.5px;
    background: rgba(255,255,255,0.08);
    margin: 0 8px;
    margin-bottom: 28px;
    transition: background 0.3s;
}
.step-line.active { background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }

/* ── Form Steps ── */
.form-step { animation: fadeInUp 0.4s ease-out; }
.hidden { display: none !important; }

/* ── Validation error ── */
.validation-error-box {
    padding: 14px 16px;
    border: 1px solid rgba(255, 80, 80, 0.3);
    background: rgba(255, 80, 80, 0.08);
    border-radius: var(--radius);
    color: #ff8080;
    font-size: 13px;
}

/* ── Footer ── */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}

.footer-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.15s;
    margin-bottom: 12px;
}
.footer-link:hover { color: var(--accent); }

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 120;
    padding: 0 16px;
}

.cookie-banner-content {
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid var(--border-accent);
    background: rgba(6, 15, 10, 0.96);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
}

.cookie-banner-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
}

.cookie-banner-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cookie-link {
    text-decoration: none;
    border-color: var(--border-accent);
}

/* ── Legal Pages ── */
.legal-page {
    min-height: 100vh;
    padding: 88px 0 56px;
}

.legal-card {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border);
    background: rgba(12, 30, 19, 0.7);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.legal-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.legal-section {
    margin-bottom: 22px;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.legal-section p,
.legal-section li {
    font-size: 14px;
    color: rgba(223, 240, 232, 0.88);
}

.legal-section ul {
    padding-left: 18px;
}

.legal-back-link {
    display: inline-flex;
    margin-top: 6px;
    text-decoration: none;
}

.about-testimonials {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

@media (min-width: 900px) {
    .about-testimonials {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.about-testimonial-card {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 14px;
}

.about-stars {
    color: var(--accent);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.about-quote {
    font-size: 13px;
    color: rgba(223, 240, 232, 0.9);
    margin-bottom: 8px;
}

.about-author {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── Animations ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(0,232,122,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,232,122,0.4); }

/* ── Responsive ── */
@media (max-width: 640px) {
    .result-card { padding: 24px; }
    .hero-title { letter-spacing: -0.02em; }
    .hero-hexagon { display: none; }
    .cookie-banner-content { padding: 14px; }
    .legal-card { padding: 20px 16px; }
}
