* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #ddd;
}

header {
    background: #2c5282;
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.description {
    font-size: 1em;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.navigation {
    padding: 20px 30px;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-link {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    color: #6c757d;
    white-space: nowrap;
    font-size: 0.9em;
}

.nav-link:hover {
    border-color: #2c5282;
    color: #2c5282;
}

.nav-link.active {
    background: #2c5282;
    color: white;
    border-color: #2c5282;
}

@media (max-width: 768px) {
    .navigation {
        padding: 15px;
        gap: 10px;
    }
    
    .nav-link {
        padding: 10px 16px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .navigation {
        padding: 10px;
        gap: 8px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.8em;
    }
}

.examples {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.examples h3 {
    margin-bottom: 20px;
    color: #495057;
    font-size: 1.2em;
}

.example-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.example-buttons button {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    text-align: left;
}

.example-buttons button:hover {
    border-color: #2c5282;
    background: #f8f9fa;
}

.main-form {
    padding: 40px 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 1.1em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5282;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #2c5282;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #2a4f7e;
}

.result-section {
    padding: 40px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.result-section h3 {
    margin-bottom: 10px;
    color: #2c5282;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-description {
    margin-bottom: 20px;
    color: #6c757d;
    font-size: 0.9em;
    font-style: italic;
}

.result-box {
    padding: 25px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
    border-left: 4px solid #2c5282;
}

.result-positive {
    background: #d4edda;
}

.result-positive .result-box {
    border-color: #28a745;
    border-left-color: #28a745;
    background: #f8fff9;
}

.result-positive h3 {
    color: #155724;
}

.result-negative {
    background: #f8d7da;
}

.result-negative .result-box {
    border-color: #dc3545;
    border-left-color: #dc3545;
    background: #fff8f8;
}

.result-negative h3 {
    color: #721c24;
}

.result-neutral {
    background: #fff3cd;
}

.result-neutral .result-box {
    border-color: #ffc107;
    border-left-color: #ffc107;
    background: #fffef8;
}

.result-neutral h3 {
    color: #856404;
}

.result-display {
    min-height: 200px;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.7;
    background: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.result-display h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2c5282;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5282;
    display: block;
}

.result-display h2:first-child {
    margin-top: 0;
}

.result-display h3 {
    font-size: 17px;
    font-weight: 600;
    color: #495057;
    margin: 25px 0 12px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #ddd;
    display: block;
}

.result-display p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: #333;
}

.result-display ul {
    margin: 15px 0 20px 0;
    padding-left: 0;
}

.result-display li {
    margin-bottom: 12px;
    line-height: 1.6;
    list-style: none;
    position: relative;
    padding-left: 25px;
    color: #333;
}

.result-display li:before {
    content: "•";
    color: #2c5282;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
    line-height: 1.2;
}

.result-display strong {
    font-weight: 700;
    color: #2c5282;
    background: #f8f9fa;
    padding: 2px 4px;
    border-radius: 2px;
}

.result-display > *:first-child {
    margin-top: 0;
}

.result-display > *:last-child {
    margin-bottom: 0;
}

.result-display > p:first-of-type {
    font-size: 16px;
    font-weight: 500;
    color: #495057;
    background: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #2c5282;
    border-radius: 0 4px 4px 0;
    margin-bottom: 25px;
}

.result-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .result-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .copy-btn-rich,
    .copy-btn-plain {
        width: 100%;
        min-width: auto;
    }
}

.copy-btn-rich {
    background: #2c5282;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
}

.copy-btn-rich:hover {
    background: #2a4f7e;
}

.copy-btn-plain {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
}

.copy-btn-plain:hover {
    background: #5a6268;
}

.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 20px;
    color: #333;
    font-size: 0.9em;
    line-height: 1.6;
    margin-top: 20px;
}

.disclaimer strong {
    color: #856404;
    font-weight: 700;
}

.footer-disclaimer {
    background: #343a40;
    color: #ddd;
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-disclaimer h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-disclaimer p {
    margin-bottom: 10px;
}

.footer-disclaimer ul {
    margin: 10px 0 15px 20px;
    padding: 0;
}

.footer-disclaimer li {
    margin-bottom: 5px;
}

.footer-disclaimer strong {
    color: #fff;
}

.tldr {
    background: #495057;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    border-left: 4px solid #2c5282;
}

@media (max-width: 1024px) {
    .container {
        margin: 10px;
        border-radius: 6px;
    }
    
    .example-buttons {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        padding: 5px;
    }
    
    header {
        padding: 25px 15px;
    }
    
    header h1 {
        font-size: 1.8em;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .description {
        font-size: 0.9em;
    }
    
    .examples,
    .main-form,
    .result-section {
        padding: 20px 15px;
    }
    
    .example-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .example-buttons button {
        text-align: center;
        padding: 12px;
        font-size: 0.85em;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 1em;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0;
    }
    
    .container {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }
    
    header {
        padding: 20px 15px;
    }
    
    header h1 {
        font-size: 1.6em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .description {
        font-size: 0.85em;
    }
    
    .examples,
    .main-form,
    .result-section {
        padding: 15px;
    }
    
    .example-buttons button {
        padding: 10px;
        font-size: 0.8em;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 16px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 1em;
    }
    
    .disclaimer {
        font-size: 0.8em;
        padding: 12px;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.4em;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    .description {
        font-size: 0.8em;
    }
    
    .examples,
    .main-form,
    .result-section {
        padding: 10px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .example-buttons button,
    .submit-btn,
    .copy-btn-rich,
    .copy-btn-plain {
        min-height: 44px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 44px;
    }
}

/* --- NIEUWE STIJLEN VOOR CONVERSIE OPTIMALISATIE --- */

/* Email Toggle in Form */
.email-toggle-wrapper {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f8fbff;
    border-radius: 8px;
    border: 1px solid #e1e8f0;
    transition: all 0.3s ease;
}

.email-toggle-wrapper:hover {
    border-color: #bcd3eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.email-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: #2c5282;
    font-size: 1.05em;
    user-select: none;
}

.email-toggle-label span {
    display: inline-block;
    padding-top: 2px;
}

.email-toggle-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #2c5282;
    cursor: pointer;
    flex-shrink: 0;
}

.email-input-container {
    margin-top: 15px;
    display: none; /* Hidden by default */
    padding-top: 15px;
    border-top: 1px dashed #ced4da;
}

.email-input-container input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #dde2e6;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.email-input-container input[type="email"]:focus {
    border-color: #2c5282;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.email-input-container input[type="email"]::placeholder {
    color: #adb5bd;
}

.email-input-container.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Risk Meter */
.risk-meter-container {
    margin: 0 0 25px 0;
    padding: 15px;
    background: #fff8f8;
    border: 1px solid #ffcccc;
    border-left: 4px solid #ff4757;
    border-radius: 4px;
}

.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.risk-label {
    font-weight: 700;
    color: #333;
}

.risk-badge {
    background: #ff4757;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
}

.risk-bar-bg {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.risk-bar-fill {
    height: 100%;
    width: 85%; /* High risk default */
    background: linear-gradient(90deg, #ff9f43, #ff4757);
    border-radius: 4px;
}

.risk-text {
    font-size: 0.9em;
    color: #c0392b;
    font-weight: 500;
}

/* Content Blurring */
.blur-container {
    position: relative;
    overflow: hidden;
}

.blur-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%; /* Cover bottom 70% */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 20%, rgba(255,255,255,1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Move content to top */
    align-items: center;
    z-index: 10;
    backdrop-filter: blur(2px);
    padding: 60px 20px 20px 20px; /* More top padding */
    text-align: center;
}

.blur-content {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.cta-unlock-btn {
    background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 350px;
}

.cta-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.5);
}

.cta-ghost-btn {
    background: transparent;
    border: 1px dashed #999;
    color: #666;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85em;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-ghost-btn:hover {
    background: #f8f9fa;
    border-color: #333;
    color: #333;
}

/* Unlocked state */
.blur-container.unlocked .blur-overlay {
    display: none;
}

.blur-container.unlocked .blur-content {
    filter: none;
    user-select: auto;
    pointer-events: auto;
}

/* Optin formulier styling */
.optin-form {
    max-width: 400px;
    margin: 0 auto;
}

.optin-form-fields {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.optin-form input[type="text"],
.optin-form input[type="email"] {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.optin-form input[type="text"]:focus,
.optin-form input[type="email"]:focus {
    outline: none;
    border-color: #2c5282;
}

.optin-form input[name="contact_fields[voornaam]"] {
    flex: 1;
}

.optin-form input[name="email"] {
    flex: 2;
}

.optin-form .gdpr-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    margin-bottom: 15px;
    gap: 8px;
    color: #333;
    line-height: 1.4;
    text-align: center;
}

.optin-form .gdpr-label input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.optin-form .submit-button {
    background: #2c5282;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    min-height: 44px;
}

.optin-form .submit-button:hover {
    background: #2a4f7e;
}

.optin-form .submit-button.full-width {
    width: 100%;
    padding: 15px 30px;
}

/* Mobile responsive voor optin formulieren */
@media (max-width: 768px) {
    .optin-form {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .optin-form-fields {
        flex-direction: column;
        gap: 12px;
    }
    
    .optin-form input[type="text"],
    .optin-form input[type="email"] {
        width: 100%;
        font-size: 16px;
        padding: 14px;
    }
    
    .optin-form .gdpr-label {
        font-size: 0.85em;
        margin-bottom: 20px;
        gap: 10px;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .optin-form .submit-button {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .optin-form {
        padding: 0 5px;
    }
    
    .optin-form input[type="text"],
    .optin-form input[type="email"] {
        padding: 16px;
        font-size: 16px;
    }
    
    .optin-form .gdpr-label {
        font-size: 0.8em;
        text-align: left;
        gap: 8px;
    }
    
    .optin-form .submit-button {
        padding: 16px;
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    .optin-form-fields {
        gap: 15px;
    }
    
    .optin-form input[type="text"],
    .optin-form input[type="email"] {
        padding: 18px;
    }
    
    .optin-form .gdpr-label {
        font-size: 0.75em;
    }
}
