/* =========================================================================
   CAPITALCLAIM - AESTHETIC STYLE SYSTEM (BLUE-CHIP CORPORATE)
   ========================================================================= */

:root {
    /* Colors - High-End Corporate Light (Vercel/Stripe vibes) */
    --clr-bg-deep: #FAFAFA;
    --clr-bg-panel: #FFFFFF;
    --clr-bg-panel-light: #F4F5F7;
    
    --clr-text-main: #0A0A0A;
    --clr-text-muted: #52525B;
    
    /* Branding Colors - Deep Indigo & Rich Accent */
    --clr-primary: #0F172A;
    --clr-primary-light: #1E293B;
    --clr-accent-1: #2563EB;
    --clr-accent-2: #3B82F6;
    --clr-accent-dark: #1D4ED8;
    
    /* Lines & Premium Shadows */
    --hairline: 1px solid rgba(0, 0, 0, 0.06);
    --hairline-strong: 1px solid rgba(0, 0, 0, 0.1);
    --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
    --shadow-elevated: 0 25px 50px -12px rgba(0, 0, 0, 0.12);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-data: 'Space Mono', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
}

/* =========================================================================
   BASE RESET & TYPOGRAPHY
   ========================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background-color: var(--clr-bg-deep);
    color: var(--clr-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
}

body {
    position: relative;
    overflow-x: clip;
    background-image: radial-gradient(var(--clr-bg-panel-light) 1px, transparent 1px);
    background-size: 32px 32px;
    background-color: var(--clr-bg-deep);
}


.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, .nav-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.copper-gradient {
    background: linear-gradient(135deg, var(--clr-primary), #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

a { color: var(--clr-text-main); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--clr-primary); }

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-sm);
    color: var(--clr-text-main);
}

.section-subtitle {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--space-lg);
    border-bottom: var(--hairline);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.navbar.scrolled { 
    box-shadow: var(--shadow-soft); 
    border-bottom-color: transparent;
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--clr-text-main);
}
.nav-brand span { color: var(--clr-primary); }

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-outline {
    border: 2px solid var(--clr-primary);
    border-radius: 4px;
    padding: 0.45rem 1.2rem;
    color: var(--clr-primary);
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.85rem;
}
.btn-outline:hover { background: var(--clr-primary); color: #fff; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text-main);
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: calc(var(--space-xl) + 4rem) var(--space-lg) var(--space-xl);
    gap: var(--space-lg);
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.08;
    margin-bottom: var(--space-md);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 85%;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--clr-accent-1), var(--clr-accent-2));
    color: #FFFFFF !important;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 10px rgba(37,99,235,0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(37,99,235,0.3);
    background: linear-gradient(135deg, var(--clr-accent-1), var(--clr-accent-2));
    color: #fff !important;
}

.btn-ghost {
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    transition: color 0.3s;
}
.btn-ghost:hover { color: var(--clr-accent-1); }

/* WBSO Calculator */
.calc-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: 12px;
    padding: var(--space-md);
    box-shadow: var(--shadow-elevated);
}
.calc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: var(--hairline);
}
.calc-header h2 { font-size: 1.1rem; color: var(--clr-primary); }
.calc-badge {
    font-family: var(--font-data);
    font-size: 0.65rem;
    color: var(--clr-accent-dark);
    font-weight: bold;
    border: 1px solid var(--clr-accent-1);
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    background: rgba(217, 119, 6, 0.08);
}
.calc-body label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}
.slider-container {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}
input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px; width: 20px;
    background: var(--clr-primary);
    cursor: pointer;
    margin-top: -8px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%; height: 4px;
    cursor: pointer;
    background: #CBD5E1;
    border-radius: 2px;
}
.slider-value {
    font-family: var(--font-data);
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 80px;
    color: var(--clr-primary);
    text-align: right;
}
.calc-footer {
    background: var(--clr-bg-deep);
    border-radius: 8px;
    padding: var(--space-md);
    border-left: 4px solid var(--clr-accent-1);
    margin-top: var(--space-md);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.calc-result-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
}
.calc-result-value {
    font-family: var(--font-data);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}
.calc-disclaimer {
    font-size: 0.7rem;
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
}

/* =========================================================================
   STATS BAR
   ========================================================================= */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--clr-primary);
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item:last-child { border: none; }

.stat-number {
    font-family: var(--font-data);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
}

/* =========================================================================
   MANDATE (EXPERTISE) SECTION
   ========================================================================= */
.mandate {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--clr-bg-panel);
    border-top: var(--hairline-strong);
    border-bottom: var(--hairline-strong);
}
.mandate-col {
    padding: var(--space-xl) var(--space-lg);
    border-right: var(--hairline);
    transition: background 0.4s ease;
    display: flex;
    flex-direction: column;
}
.mandate-col:last-child { border-right: none; }
.mandate-col:hover { background: var(--clr-bg-deep); }

.col-number {
    font-family: var(--font-data);
    font-size: 1.5rem;
    color: #CBD5E1;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}
.mandate-col h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.col-category {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    letter-spacing: 0.06em;
}
.mandate-col p {
    color: var(--clr-text-muted);
    font-size: 1rem;
    margin-bottom: var(--space-md);
}
.col-features {
    list-style: none;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}
.col-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}
.col-features li::before {
    content: '✓';
    color: var(--clr-accent-1);
    font-weight: bold;
    margin-right: 10px;
}

.mandate-link {
    margin-top: auto;
    color: var(--clr-primary);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.mandate-link:hover { color: var(--clr-accent-1); }

/* =========================================================================
   ENGINE (HOW WE WORK) SECTION
   ========================================================================= */
.engine {
    padding: var(--space-xl) var(--space-lg);
    background: var(--clr-bg-deep);
    position: relative;
    overflow: hidden;
    border-bottom: var(--hairline-strong);
}
.engine::before {
    content: 'ALGORITHM';
    position: absolute;
    bottom: -3vh;
    left: -2vw;
    font-family: var(--font-heading);
    font-size: 15vw;
    color: rgba(30, 58, 138, 0.03);
    white-space: nowrap;
    pointer-events: none;
    font-weight: 700;
}
.engine-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    color: var(--clr-text-main);
}
.engine-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}
.step {
    border-top: 3px solid var(--clr-primary);
    padding-top: var(--space-md);
    transition: border-color 0.4s;
}
.step:hover { border-color: var(--clr-accent-1); }
.step-num {
    font-family: var(--font-data);
    font-size: 0.75rem;
    color: var(--clr-accent-1);
    margin-bottom: var(--space-sm);
    font-weight: bold;
}
.step h4 { font-size: 1.4rem; margin-bottom: var(--space-sm); }
.step p { color: var(--clr-text-muted); font-size: 0.95rem; }

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testimonials {
    padding: var(--space-xl) var(--space-lg);
    background: var(--clr-bg-panel);
    border-bottom: var(--hairline-strong);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--clr-bg-panel);
    border: var(--hairline);
    border-radius: 12px;
    padding: var(--space-md);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--clr-text-main);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--clr-accent-1);
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}
.author-role {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}

/* =========================================================================
   FAQ SECTION
   ========================================================================= */
.faq-section {
    padding: var(--space-xl) var(--space-lg);
    background: var(--clr-bg-deep);
    border-bottom: var(--hairline-strong);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    margin-bottom: var(--space-sm);
    background: var(--clr-bg-panel);
    overflow: hidden;
    transition: box-shadow 0.3s;
}
.faq-item:hover { box-shadow: var(--shadow-card); }

.faq-item summary {
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-text-main);
}
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--clr-primary);
    font-weight: 300;
    transition: transform 0.3s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* =========================================================================
   CTA SECTION
   ========================================================================= */
.cta-section {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    background: var(--clr-primary);
    color: #fff;
}
.cta-container { max-width: 700px; margin: 0 auto; }
.cta-container h2 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    /* override gradient for white bg */
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cta-container p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}
.cta-section .btn-primary {
    background: #fff;
    color: var(--clr-primary);
}
.cta-section .btn-primary:hover {
    background: var(--clr-accent-2);
    color: var(--clr-text-main);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
    background: var(--clr-text-main);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-xl) var(--space-lg) var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-sm);
}
.footer-brand span { color: var(--clr-accent-2); }

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    margin-bottom: var(--space-sm);
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--clr-accent-2); }

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.kvk {
    font-family: var(--font-data);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--space-sm);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* =========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-text { animation: textFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-delay { opacity: 0; animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards; }
.reveal-delay-long { opacity: 0; animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards; }

@keyframes textFadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =========================================================================
   MEDIA QUERIES
   ========================================================================= */
@media (max-width: 1024px) {
    .mandate, .testimonial-grid { grid-template-columns: 1fr; }
    .mandate-col { border-right: none; border-bottom: var(--hairline); }
    .engine-steps { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; padding-top: 7rem; min-height: auto; }
    .hero-content h1 { font-size: 2.2rem; }
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-md);
        font-size: 1.3rem;
    }
    .nav-links.active { display: flex; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

/* =========================================================================
   GLOBAL FLOATING CTA
   ========================================================================= */
.global-floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent-1));
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 30px -5px rgba(37,99,235,0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.global-floating-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px -5px rgba(37,99,235,0.6);
}
.global-floating-cta i { font-size: 1.2rem; }

/* =========================================================================
   MEGA MENU / DROPDOWNS
   ========================================================================= */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropbtn {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 200;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.16,1,0.3,1);
}
.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
}
.nav-dropdown-content a {
    color: var(--clr-text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.nav-dropdown-content a i {
    margin-right: 6px;
}
.nav-dropdown-content a:hover {
    background-color: #f8fafc;
    color: var(--clr-primary);
}
@media (max-width: 992px) {
    .nav-dropdown-content { position: static; box-shadow: none; border: none; padding-left: 15px; display: none; }
    .nav-dropdown:hover .nav-dropdown-content { display: block; }
}
