*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #a9c351;
    --primary-dark: #92ad3e;
    --primary-darker: #7a912f;
    --navy: #2d3a1a;
    --meteorite: #c5d87e;
    --lavender: #e2edba;
    --lavender-light: #f0f5dd;
    --primary-charts: #bdd46b;
    --success: #00b090;
    --success-dark: #008361;
    --success-light: #def4f0;
    --warning: #ffcd35;
    --warning-dark: #fea419;
    --danger: #fc5185;
    --danger-dark: #d63163;
    --azure: #357df9;
    --text-dark: #1d1e20;
    --text-gray-dark: #36344d;
    --text-muted: #727586;
    --border: #dadce0;
    --bg-light: #f7f9f2;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(169, 195, 81, 0.15);
    --shadow-lg: 0 12px 48px rgba(169, 195, 81, 0.20);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ========== NAV ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(169, 195, 81, 0.12);
    transition: box-shadow 0.3s;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

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

.logo-img {
    height: 70px;
    width: auto;
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ========== HERO ========== */
.hero {
    padding: 140px 24px 80px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(169, 195, 81, 0.10) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(169, 195, 81, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(169, 195, 81, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(169, 195, 81, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--text-dark);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--lavender-light);
    border: 1px solid var(--lavender);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-darker);
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-darker);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ========== CALCULATOR CARD ========== */
.calc-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    position: relative;
    border: 1px solid rgba(169, 195, 81, 0.15);
}

.calc-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.calc-card-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.calc-card-header p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Progress steps */
.steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.step-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--bg-light);
    color: var(--text-muted);
    background: var(--white);
    transition: all 0.3s;
}

.step-indicator.active .step-dot {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.step-indicator.completed .step-dot {
    border-color: var(--success);
    background: var(--success);
    color: var(--white);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.step-indicator.active .step-label {
    color: var(--primary);
}

.step-indicator.completed .step-label {
    color: var(--success);
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--bg-light);
    margin: 0 8px;
    transition: background 0.3s;
}

.step-line.filled {
    background: var(--success);
}

/* Form */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group label .optional {
    color: var(--text-muted);
    font-weight: 400;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(169, 195, 81, 0.15);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input.error,
.form-group select.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(252, 81, 133, 0.1);
}

.error-msg {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.error-msg.visible {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Radio cards */
.radio-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.radio-card {
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.radio-card label:hover {
    border-color: var(--primary);
}

.radio-card input:checked + label {
    border-color: var(--primary);
    background: var(--lavender-light);
}

.radio-card-icon {
    font-size: 32px;
    line-height: 1;
}

.radio-card-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Range slider */
.range-group {
    margin-bottom: 20px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.range-header label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.range-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-darker);
}

.range-value span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) var(--fill, 50%), #dadce0 var(--fill, 50%), #dadce0 100%);
    outline: none;
    border: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    box-shadow: 0 2px 8px rgba(169, 195, 81, 0.3);
    cursor: pointer;
    transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary);
    box-shadow: 0 2px 8px rgba(169, 195, 81, 0.3);
    cursor: pointer;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

.range-eur {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-darker);
    margin-top: 8px;
    background: var(--lavender-light);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(169, 195, 81, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary-darker);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--lavender-light);
}

.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-group .btn {
    flex: 1;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ========== RESULTS ========== */
.results-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.results-section.active {
    display: block;
}

.results-header {
    text-align: center;
    margin-bottom: 24px;
}

.results-header .check-icon {
    width: 56px;
    height: 56px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.results-header .check-icon svg {
    width: 28px;
    height: 28px;
    color: var(--success);
}

.results-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.results-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.result-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.result-card {
    background: var(--lavender-light);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.result-card-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-darker);
}

.result-card-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.result-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    color: var(--white);
    margin-bottom: 24px;
}

.result-highlight-label {
    font-size: 13px;
    opacity: 0.9;
}

.result-highlight-value {
    font-size: 32px;
    font-weight: 800;
    margin-top: 4px;
}

.result-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ========== BENEFITS ========== */
.benefits {
    padding: 80px 24px;
    background: var(--white);
}

.benefits-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--lavender-light);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 26px;
    height: 26px;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========== GALLERY ========== */
.gallery {
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.gallery .section-header {
    padding: 0 24px;
}

.gallery-track-wrapper {
    position: relative;
}

.gallery-track-wrapper::before,
.gallery-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.gallery-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.gallery-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.gallery-track {
    display: flex;
    gap: 16px;
    animation: scrollGallery 120s linear infinite;
    width: max-content;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-item {
    flex-shrink: 0;
    width: 450px;
    height: 330px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 480px) {
    .gallery-item {
        width: 360px;
        height: 270px;
    }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 80px 24px;
    background: var(--white);
}

.testimonials-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--warning);
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray-dark);
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--bg-light);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-source {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.testimonial-source svg {
    width: 14px;
    height: 14px;
}

.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.google-rating-icon svg {
    width: 32px;
    height: 32px;
}

.google-rating-score {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
}

.google-rating-stars {
    display: flex;
    gap: 2px;
}

.google-rating-stars svg {
    width: 20px;
    height: 20px;
    fill: var(--warning);
}

.google-rating-text {
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ========== TRUST ========== */
.trust {
    padding: 64px 24px;
    background: var(--white);
}

.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--lavender-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.trust-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.trust-text span {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12px;
}

/* ========== FOOTER ========== */
footer {
    padding: 40px 24px;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 13px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

footer a:hover {
    color: var(--white);
}

/* ========== SUCCESS OVERLAY ========== */
.success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(45, 58, 26, 0.5);
    backdrop-filter: blur(8px);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.success-overlay.active {
    display: flex;
}

.success-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.success-modal .check-circle {
    width: 72px;
    height: 72px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-modal .check-circle svg {
    width: 36px;
    height: 36px;
    color: var(--success);
}

.success-modal h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.success-modal p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding: 120px 24px 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        margin: 0 auto 32px;
    }

    .hero-stats {
        justify-content: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .calc-card {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-inner {
        flex-direction: column;
        gap: 24px;
    }

    .step-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 24px;
    }

    .hero-stat-value {
        font-size: 22px;
    }

    .radio-cards {
        grid-template-columns: 1fr;
    }

    .result-cards {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
    }
}

/* Loader spinner */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
