/* Smart Charged - Energierapport tool
   Huisstijl: zwart-groen met cyaan glow + brighter geel uit logo */

:root {
    --sc-green: #1DB954;
    --sc-green-dark: #0E8C3C;
    --sc-green-light: #E8F8EE;
    --sc-yellow: #FFE600;          /* feller geel uit logo */
    --sc-yellow-dark: #DBC400;
    --sc-cyan: #2EE5E5;             /* glow zoals op Sigenergy foto */
    --sc-black: #1C2128;            /* iets minder hard dan pure black */
    --sc-text: #1A1A1A;
    --sc-text-muted: #6B7280;
    --sc-white: #FFFFFF;
    --sc-bg-soft: #F4F8F5;
    --sc-border: #E2E8E5;
    --shadow-md: 0 8px 32px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--sc-text);
    background: var(--sc-bg-soft);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.page { min-height: 100vh; }

/* ============= HERO ============= */
.hero {
    background: linear-gradient(180deg, #0a0d10 0%, #1c2128 100%);
    color: var(--sc-white);
    padding: 56px 24px 80px;
    position: relative;
    overflow: hidden;
}

/* Sigenergy battery + cyan glow op de achtergrond */
.battery-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    pointer-events: none;
    overflow: hidden;
}

.battery-cabinet {
    position: absolute;
    right: -10%;
    top: 20%;
    bottom: -20%;
    width: 320px;
    background: linear-gradient(90deg, #2a2f36 0%, #3a414a 30%, #d8dde2 30.5%, #f0f3f5 70%, #ced3d9 100%);
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 0 30px rgba(0,0,0,.6);
    opacity: .35;
}

/* Cyan glow effect */
.battery-glow {
    position: absolute;
    top: -30%;
    right: 15%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(46,229,229,.5) 0%, rgba(46,229,229,.18) 40%, transparent 70%);
    filter: blur(40px);
    opacity: .55;
}

/* Strakke verticale glow ribbon (zoals op de foto) */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    bottom: -10%;
    right: 22%;
    width: 8px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(46,229,229,0) 5%,
        rgba(46,229,229,.9) 50%,
        rgba(46,229,229,0) 95%);
    box-shadow: 0 0 60px 20px rgba(46,229,229,.4);
    opacity: .6;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, transparent 0%, var(--sc-bg-soft) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* === LOGO: SMART en CHARGED gelijke grootte, gecentreerd === */
.logo {
    display: inline-block;
    margin-bottom: 48px;
    line-height: 1;
    text-align: center;
}

.logo-row {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1.1;
    text-align: center;
}

.logo-smart {
    color: var(--sc-green);
}

.logo-charged {
    color: var(--sc-yellow);
}

/* === HERO TITLE === */
.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.5px;
    margin-bottom: 16px;
    max-width: 520px;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,.85);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-bullets {
    list-style: none;
    display: grid;
    gap: 12px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.95);
    font-size: 15px;
}

.check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sc-green);
    position: relative;
}

.check::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%) rotate(45deg);
    width: 5px;
    height: 10px;
    border-right: 2.5px solid white;
    border-bottom: 2.5px solid white;
}

/* ============= FORM ============= */
.form-section {
    max-width: 720px;
    margin: -32px auto 0;
    padding: 0 24px 64px;
    position: relative;
    z-index: 3;
}

.form-card,
.success-card,
.error-card {
    background: var(--sc-white);
    border-radius: 18px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--sc-black);
    margin-bottom: 8px;
}

.form-intro {
    color: var(--sc-text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.form-block {
    border: none;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--sc-border);
}

.form-block:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-block legend {
    font-size: 13px;
    font-weight: 700;
    color: var(--sc-green-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.form-row { margin-bottom: 18px; }
.form-row:last-child { margin-bottom: 0; }

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

@media (max-width: 540px) {
    .form-grid { grid-template-columns: 1fr; }
}

label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: var(--sc-text);
    margin-bottom: 6px;
}

.req { color: var(--sc-green); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--sc-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--sc-text);
    background: var(--sc-white);
    transition: border-color .15s, box-shadow .15s;
}

select { cursor: pointer; }

input:focus,
select:focus {
    outline: none;
    border-color: var(--sc-green);
    box-shadow: 0 0 0 3px rgba(29,185,84,.12);
}

.input-with-toggle { position: relative; }

.input-with-toggle .unit {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sc-text-muted);
    font-size: 14px;
    pointer-events: none;
}

.input-with-toggle input { padding-right: 48px; }

.dont-know {
    display: inline-block;
    margin-top: 6px;
    background: transparent;
    border: none;
    color: var(--sc-green-dark);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    padding: 2px 0;
    font-family: inherit;
}
.dont-know:hover { color: var(--sc-green); }

.hint {
    font-size: 12px;
    color: var(--sc-text-muted);
    margin-top: 4px;
    font-style: italic;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group.inline {
    flex-direction: row;
    flex-wrap: wrap;
}

.radio-group.inline .radio { flex: 1 1 auto; min-width: 120px; }

.radio,
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--sc-border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--sc-text);
    transition: all .15s;
    margin-bottom: 0;
}

.radio:hover,
.checkbox:hover {
    border-color: var(--sc-green);
    background: var(--sc-green-light);
}

.radio input,
.checkbox input {
    margin-top: 2px;
    accent-color: var(--sc-green);
    width: 18px;
    height: 18px;
}

.radio span,
.checkbox span { flex: 1; }

/* === BIG CTA CHECKBOX (Smart-Charged Energy + Onderhoudscontract) === */
.big-cta {
    padding: 18px 20px;
    border-width: 2px;
    background: linear-gradient(180deg, #fff 0%, #f8faf9 100%);
    align-items: center;
}

.big-cta:hover {
    border-color: var(--sc-green);
    background: var(--sc-green-light);
    box-shadow: 0 4px 16px rgba(29,185,84,.18);
}

.big-cta div { flex: 1; }

.big-cta strong {
    display: block;
    font-size: 16px;
    color: var(--sc-black);
    margin-bottom: 2px;
}

.big-cta .badge {
    display: inline-block;
    background: var(--sc-green);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.big-cta p {
    margin-top: 6px;
    font-size: 13px;
    color: var(--sc-text-muted);
    line-height: 1.4;
}

.big-cta input { margin-top: 6px; }

/* SUBMIT */
.submit-btn {
    width: 100%;
    background: var(--sc-green);
    color: var(--sc-white);
    border: none;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(29,185,84,.35);
    font-family: inherit;
}

.submit-btn:hover:not(:disabled) {
    background: var(--sc-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(29,185,84,.45);
}

.submit-btn:disabled {
    background: #c2c2c2;
    cursor: not-allowed;
    box-shadow: none;
}

.submit-btn.loading { background: var(--sc-green-dark); pointer-events: none; }

.submit-btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

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

.form-footer-text {
    margin-top: 14px;
    font-size: 12px;
    color: var(--sc-text-muted);
    text-align: center;
}

/* ============= SUCCESS CARD ============= */
.success-card { text-align: center; }
.success-icon { margin: 0 auto 20px; display: inline-block; }
.success-card h2 {
    font-size: 28px;
    color: var(--sc-black);
    margin-bottom: 12px;
    font-weight: 700;
}
.success-card p {
    color: var(--sc-text-muted);
    margin-bottom: 8px;
    font-size: 15px;
}
.success-tip {
    margin-top: 24px;
    padding: 14px;
    background: var(--sc-green-light);
    border-radius: 10px;
    color: var(--sc-text);
    font-size: 14px;
}
.success-tip a {
    color: var(--sc-green-dark);
    font-weight: 700;
    text-decoration: none;
}

/* ============= ERROR CARD ============= */
.error-card { border-left: 4px solid #ef4444; }
.error-card h3 { color: #ef4444; margin-bottom: 8px; }
.error-card a { color: var(--sc-green-dark); font-weight: 600; }

/* ============= FOOTER ============= */
.page-footer {
    background: var(--sc-black);
    color: rgba(255,255,255,.75);
    padding: 32px 24px;
    font-size: 13px;
}

.footer-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.footer-grid a {
    color: var(--sc-yellow);
    text-decoration: none;
}
.footer-grid a:hover { text-decoration: underline; }
.footer-grid strong { color: var(--sc-white); }

/* ============= MOBILE ============= */
@media (max-width: 640px) {
    .hero { padding: 32px 20px 64px; }
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 15px; }
    .form-card,
    .success-card,
    .error-card { padding: 28px 20px; }
    .form-title { font-size: 22px; }
    .logo-row { font-size: 30px; letter-spacing: 5px; }
    .battery-bg { display: none; }
    .hero::before { display: none; }
}
