/* 
============
DESIGN SYSTEM - De WebPartner
Optie A: Zakelijk Vertrouwen
============
*/

:root {
    /* Kleurenpalet */
    --primary-blue: #0A192F; /* Diep donkerblauw (Zakelijk & Vertrouwen) */
    --primary-blue-light: #112240; /* Iets lichtere variant voor kaarten/hover */
    --accent-orange: #FF6B00; /* Knallend oranje voor Call-To-Actions (Valt extreem op) */
    --accent-orange-hover: #E56000;
    
    --text-light: #F8FAFC; /* Wit voor teksten op donkere achtergronden */
    --text-muted: #CBD5E1; /* Grijzig voor subtitels op donkere achtergrond */
    --text-dark: #0F172A; /* Zeer donkergrijs voor teksten op lichte achtergronden */
    --text-dark-muted: #475569;
    
    --bg-light: #F1F5F9; /* Zeer lichte grijze achtergrond voor secties */
    --bg-white: #FFFFFF;

    /* Typografie */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Afmetingen & Structuur */
    --container-width: 1200px;
    --border-radius: 8px;
    --border-radius-large: 16px;
    
    /* Animaties */
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============
   TYPOGRAPHY
   ============ */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* ============
   COMPONENTS & BUTTONS
   ============ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius-medium);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.25);
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: #E65A00;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============
   HEADER & NAV
   ============ */
.header {
    background-color: var(--primary-blue);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-medium);
}

/* Als er gescrolld is, maken we de header iets compacter en transparant voor een premium feel */
.header.scrolled {
    padding: 12px 0;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-orange);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-list a:hover {
    color: var(--text-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-fast);
}

/* ============
   HERO SECTION
   ============ */
.hero {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Video achtergrond */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Donkere overlay zodat tekst goed leesbaar blijft */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 47, 0.88) 0%,
        rgba(10, 25, 47, 0.72) 100%
    );
}

/* Zorg dat hero content boven de video staat */
.hero .container {
    position: relative;
    z-index: 1;
}

/* SVG Onderstreping */
.underline-container {
    position: relative;
    display: inline-block;
}

.sketch-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    pointer-events: none;
}

.sketch-underline path {
    fill: none;
    stroke: var(--accent-orange);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    transition: stroke-dashoffset 1.5s ease-out 0.5s;
}

.reveal.active .sketch-underline path {
    stroke-dashoffset: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.usp-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.usp-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.usp-badges svg {
    color: var(--accent-orange);
}

/* Animatie Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============
   GENERAL SECTIONS & UTILITIES
   ============ */
.section-padding {
    padding: 100px 0;
}

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

.bg-light {
    background-color: var(--bg-light);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tekstkleur aanpassen voor secties met lichte achtergrond */
.bg-light .section-subtitle,
.services .section-subtitle,
.pricing .section-subtitle,
.contact .section-subtitle {
    color: var(--text-dark-muted);
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

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

/* ============
   SERVICES SECTION
   ============ */
.card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 24px;
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-dark-muted);
}

/* ============
   PROCESS SECTION
   ============ */
.process-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(10, 25, 47, 0.2);
}

.process-step h3 {
    margin-bottom: 16px;
}

.process-step p {
    color: var(--text-dark-muted);
}

/* ============
   ABOUT SECTION
   ============ */
.about {
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-dark-muted);
}

.about-highlight {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-orange);
    padding: 24px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin-top: 32px;
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-style: italic;
}

.about-highlight strong {
    color: var(--accent-orange);
    font-style: normal;
    display: block;
    margin-bottom: 8px;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-large);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
    border: 2px dashed #E2E8F0;
}

.about-image-placeholder .placeholder-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* ============
   PRICING SECTION
   ============ */
.pricing-card {
    background: var(--bg-white);
    max-width: 500px;
    margin: 0 auto;
    padding: 50px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 50px rgba(10, 25, 47, 0.1);
    border: 2px solid var(--primary-blue);
}

.pricing-header {
    border-bottom: 1px solid var(--bg-light);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin: 16px 0 8px;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-dark-muted);
    font-weight: 500;
}

.recurring {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 1.2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li span {
    font-size: 1.2rem;
}

.pricing-card .btn {
    width: 100%;
}

/* ============
   FAQ SECTION
   ============ */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.faq-item {
    background: var(--bg-white);
    margin-bottom: 16px;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.faq-item h4 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-dark-muted);
}

/* ============
   CONTACT SECTION
   ============ */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

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

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
    background: #F8FAFC;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--bg-white);
}

.w-100 {
    width: 100%;
}

/* ============
   FOOTER
   ============ */
.footer {
    background-color: var(--primary-blue-light);
    color: var(--text-muted);
    padding: 40px 0;
    text-align: center;
}

.footer h3 {
    color: var(--text-light);
}

.footer span {
    color: var(--accent-orange);
}

/* ============
   RESPONSIVE DESIGN (Mobiel & Tablet)
   ============ */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-blue);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .main-nav .btn {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }

    .price {
        font-size: 3rem;
    }

    .process-step {
        margin-bottom: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============
   TRUST BAR
   ============ */
.trust-bar {
    background-color: var(--bg-white);
    padding: 32px 0;
    border-bottom: 1px solid #E2E8F0;
    border-top: 1px solid #E2E8F0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.trust-icon-wrap {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.trust-item div {
    text-align: left;
}

.trust-item strong {
    display: block;
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 700;
}

.trust-item span {
    font-size: 0.82rem;
    color: var(--text-dark-muted);
}

/* ============
   VERGELIJKINGSTABEL
   ============ */
.comparison {
    background-color: var(--bg-light);
}

.comparison-table-wrap {
    overflow-x: auto;
    border-radius: var(--border-radius-large);
    box-shadow: 0 10px 40px rgba(10, 25, 47, 0.08);
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.95rem;
}

.comparison-table thead th {
    font-size: 0.9rem;
    font-weight: 700;
    background-color: var(--primary-blue);
    color: var(--text-light);
    text-align: center;
}

.comparison-table thead th:first-child {
    background-color: var(--primary-blue);
    text-align: left;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    background-color: #F8FAFC;
    width: 20%;
}

.comparison-table td:not(:first-child) {
    text-align: center;
    color: var(--text-dark-muted);
}

.comparison-table .col-us {
    background-color: rgba(255, 107, 0, 0.05);
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
    border-left: 3px solid var(--accent-orange);
    border-right: 3px solid var(--accent-orange);
}

.comparison-table thead .col-us {
    background-color: var(--accent-orange);
    color: var(--bg-white) !important;
    border-left: 3px solid var(--accent-orange);
    border-right: 3px solid var(--accent-orange);
}

.comparison-table tbody tr:last-child .col-us {
    border-bottom: 3px solid var(--accent-orange);
}

.comparison-table tbody tr:hover td {
    background-color: #F1F5F9;
}

/* ============
   ANIMATIONS
   ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============
   MARQUEE TICKER
   ============ */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-blue);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    width: fit-content;
}

.ticker-item {
    flex-shrink: 0;
    padding: 0 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ticker-item span {
    color: var(--accent-orange);
    margin-right: 15px;
}

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

/* ============
   FAQ ACCORDION
   ============ */
.faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.faq-item {
    background: transparent;
    border-radius: var(--border-radius-large);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
}

.faq-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    right: 30px;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.faq-item.active::after {
    display: none;
}

.faq-item.active {
    background: var(--bg-white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
    z-index: 2;
}

.faq-header {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    outline: none;
}

.faq-header h4 {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
    transition: color 0.3s ease;
    pointer-events: none;
}

.faq-item.active .faq-header h4 {
    color: var(--accent-orange);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border: 1.5px solid #E2E8F0;
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.faq-icon::before {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background-color: transparent;
}

.faq-item.active .faq-icon::before {
    content: '−'; /* Elegant minus sign */
    font-weight: 400;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 30px;
}

.faq-item.active .faq-content {
    max-height: 600px;
    padding-bottom: 30px;
}

.faq-content p {
    color: var(--text-dark-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 900px) {
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .ticker-item {
        font-size: 0.9rem;
        padding: 0 20px;
    }
}
