/* ==============================================
   Aiwake GEO Check — Huisstijl
   Kleuren: oranje #E66C2C, donkergrijs #343A40, lichtgrijs #ADB5BD
   Fonts: Cormorant Garamond (headings), Inter (body)
   ============================================== */

:root {
    --oranje: #E66C2C;
    --oranje-hover: #d45a1a;
    --donkergrijs: #343A40;
    --lichtgrijs: #ADB5BD;
    --wit: #FFFFFF;
    --zwart: #000000;
    --bg-licht: #FAFAFA;
    --bg-sectie: #F5F5F5;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #d63031;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

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

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

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    background: var(--wit);
}

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

.logo img {
    height: 36px;
}

.nav-link {
    font-size: 14px;
    color: var(--lichtgrijs);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--oranje);
}

/* Hero */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--donkergrijs);
    margin-bottom: 20px;
}

.accent {
    color: var(--oranje);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--lichtgrijs);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Scan Form */
.scan-form {
    max-width: 560px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.input-group input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: var(--oranje);
}

.input-group button {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    background: var(--oranje);
    color: var(--wit);
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.input-group button:hover {
    background: var(--oranje-hover);
}

.input-group button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.form-hint {
    font-size: 13px;
    color: var(--lichtgrijs);
    margin-top: 12px;
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--oranje);
}

.stat-label {
    font-size: 13px;
    color: var(--lichtgrijs);
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--bg-sectie);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
    color: var(--donkergrijs);
}

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

.feature-card {
    background: var(--wit);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--donkergrijs);
}

.feature-card p {
    font-size: 14px;
    color: var(--lichtgrijs);
    line-height: 1.5;
}

/* Results */
.results {
    padding: 80px 0;
    text-align: center;
}

.results h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

/* Score Ring */
.score-section {
    margin-bottom: 48px;
}

.score-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 16px;
}

.score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 8;
}

.score-fill {
    fill: none;
    stroke: var(--oranje);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1.5s ease, stroke 0.5s;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--donkergrijs);
}

.score-max {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 40%);
    font-size: 14px;
    color: var(--lichtgrijs);
}

.score-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.score-url {
    font-size: 14px;
    color: var(--lichtgrijs);
}

/* Findings */
.findings {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: left;
}

.finding {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.finding-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--wit);
}

.finding-icon.good { background: var(--success); }
.finding-icon.warn { background: var(--warning); color: var(--donkergrijs); }
.finding-icon.bad { background: var(--danger); }

.finding-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.finding-text p {
    font-size: 13px;
    color: var(--lichtgrijs);
}

/* CTA */
.cta-section {
    background: var(--bg-sectie);
    padding: 48px 32px;
    border-radius: var(--radius);
    margin-bottom: 48px;
}

.cta-section h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.cta-section p {
    color: var(--lichtgrijs);
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--oranje);
    color: var(--wit);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius);
    transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
    background: var(--oranje-hover);
    transform: translateY(-1px);
}

.cta-sub {
    font-size: 13px;
    color: var(--lichtgrijs);
    margin-top: 12px;
}

/* Email */
.email-section {
    max-width: 480px;
    margin: 0 auto;
}

.email-section h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.email-form .input-group {
    box-shadow: var(--shadow);
}

.email-feedback {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

.email-feedback.success { color: var(--success); }
.email-feedback.error { color: var(--danger); }

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--donkergrijs);
    color: var(--lichtgrijs);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer p {
    font-size: 13px;
}

.footer a {
    color: var(--oranje);
    text-decoration: none;
}

/* Error */
.error-message {
    background: #ffeaea;
    color: var(--danger);
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-top: 12px;
    font-size: 14px;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stats-row {
        gap: 24px;
    }

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

    .input-group input {
        border-right: 2px solid #e0e0e0;
        border-bottom: none;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .input-group button {
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .hero {
        padding: 48px 0 40px;
    }
}
/* Logo contrast fix */
.header .logo img {
  filter: brightness(0);        /* Forceer zwart — op witte header */
}
.footer .logo img,
.footer img[src*='logo'],
.footer img[src*='aiwake'] {
  filter: brightness(0) invert(1);  /* Forceer wit — op donkere footer */
}
