/* ===== Trust Energy — style.css ===== */
:root {
    --color-primary: #667eea;
    --color-primary-dark: #5a67d8;
    --color-accent: #f59e0b;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-bg: #f9fafb;
    --color-white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--color-text); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Layout ─────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 720px; }

/* ─── Navbar ─────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-link {
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.9375rem;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--color-primary); }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--radius);
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    flex-direction: column;
    gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius);
}
.mobile-link:hover { background: var(--color-bg); color: var(--color-primary); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .navbar .nav-container { position: relative; }
}

/* ─── Hero ───────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
}
.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
}
.float-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 15s ease-in-out infinite;
}
.orb-1 { width: 300px; height: 300px; background: #f59e0b; top: 10%; left: 10%; animation-delay: 0s; }
.orb-2 { width: 200px; height: 200px; background: #667eea; bottom: 20%; right: 15%; animation-delay: -5s; }
.orb-3 { width: 180px; height: 180px; background: #a78bfa; top: 50%; left: 50%; animation-delay: -10s; }
@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-15px, 15px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 9999px;
    color: rgba(255,255,255,0.95);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 1rem;
}
.title-accent { color: #fef3c7; }
.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin: 0 0 2rem;
    line-height: 1.7;
}
.gateway-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.gateway-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 260px;
    text-align: left;
}
.gateway-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-thuis { background: linear-gradient(135deg, #059669, #10b981); }
.btn-ondernemer { background: linear-gradient(135deg, #667eea, #764ba2); }
.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.btn-content { flex: 1; }
.btn-label { display: block; font-size: 1rem; }
.btn-desc { display: block; font-size: 0.8125rem; font-weight: 400; opacity: 0.9; }
.btn-arrow { font-size: 1rem; opacity: 0.9; }
.hero-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* Animations */
.animate-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Sections ───────────────────────────────── */
.section { padding: 4rem 0; }
.section-light { background: var(--color-bg); }
.section-gradient { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.section-header.light .section-tag { color: rgba(255,255,255,0.9); }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin: 0; color: var(--color-text); }
.section-header.light .section-title { color: #fff; }

/* ─── How it works (steps) ───────────────────── */
.steps-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
}
.step-card {
    flex: 1 1 260px;
    max-width: 320px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.15));
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.125rem; margin: 0 0 0.5rem; color: var(--color-text); }
.step-card p { margin: 0; font-size: 0.9375rem; color: var(--color-text-muted); }
.step-connector {
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}
@media (max-width: 900px) {
    .step-connector { display: none; }
    .steps-grid { justify-content: center; }
}

/* ─── Battery CTA ────────────────────────────── */
.battery-cta { padding: 4rem 0; margin-top: 1.5rem; margin-bottom: 5rem; background: var(--color-white); }
.battery-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(245,158,11,0.3);
}
.battery-visual { flex: 0 0 200px; }
.battery-icon-wrap { position: relative; }
.battery-shell {
    width: 120px;
    height: 200px;
    border: 4px solid #1f2937;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.battery-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(180deg, #10b981, #059669);
    border-radius: 0 0 8px 8px;
}
.battery-pulse {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3));
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.battery-cap {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 12px;
    background: #1f2937;
    border-radius: 4px 4px 0 0;
}
.energy-loop { position: relative; height: 60px; margin-top: 1rem; }
.loop-icon {
    position: absolute;
    font-size: 1.5rem;
    color: var(--color-primary);
}
.icon-panel { left: 0; top: 0; }
.icon-battery { right: 0; bottom: 0; }
.loop-arc { width: 100%; height: 60px; }
.battery-content { flex: 1; min-width: 280px; }
.battery-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.5rem;
}
.battery-content h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin: 0 0 0.75rem; color: #1f2937; }
.battery-accent { color: #059669; }
.battery-content p { margin: 0 0 1rem; color: #374151; font-size: 0.9375rem; }
.battery-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #059669;
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
    transition: background 0.2s;
}
.battery-btn:hover { background: #047857; }
.battery-note { display: block; margin-top: 0.75rem; font-size: 0.8125rem; color: #6b7280; }

/* ─── Features grid ───────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: transform 0.2s;
}
.feature-card.glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.125rem; margin: 0 0 0.5rem; color: #fff; }
.feature-card p { margin: 0; font-size: 0.9375rem; opacity: 0.9; }

/* ─── Trust banner ───────────────────────────── */
.trust-banner { background: #1f2937; color: #e5e7eb; padding: 3rem 0; }
.trust-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
}
.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.trust-text h3 { margin: 0 0 0.5rem; color: #fff; font-size: 1.25rem; }
.trust-text p { margin: 0; font-size: 0.9375rem; line-height: 1.7; }

/* ─── FAQ ────────────────────────────────────── */
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--color-white);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: none;
    background: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}
.faq-question:hover { background: var(--color-bg); }
.faq-icon { transition: transform 0.3s; color: var(--color-text-muted); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p { margin: 0; padding: 0 1.25rem 1rem; color: var(--color-text-muted); font-size: 0.9375rem; line-height: 1.7; }

/* ─── Bottom CTA ────────────────────────────── */
.bottom-cta { padding: 4rem 0; }
.cta-content { text-align: center; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.5rem; color: #fff; }
.cta-subtitle { margin: 0 0 2rem; opacity: 0.9; }
.gateway-bottom { justify-content: center; }

/* ─── Footer ─────────────────────────────────── */
footer {
    background: #111827;
    color: #9ca3af;
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-logo-img { margin-bottom: 0.75rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-tagline { font-size: 0.875rem; color: #d1d5db; margin: 0 0 0.5rem; }
.footer-desc { font-size: 0.875rem; margin: 0 0 1rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: 0.9375rem; margin: 0 0 0.75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.875rem; }
.footer-col a { color: #9ca3af; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.addr-line2 { display: block; margin-top: 0.25rem; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid #374151; text-align: center; font-size: 0.8125rem; }

/* ─── Reveal on scroll ───────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
