:root {
    --accent-start: #c2410c;
    --accent-mid: #f97316;
    --accent-end: #fb923c;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --bg-primary: #ffffff;
    --bg-secondary: #f7f9fc;
    --gradient-primary: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-base: #e2e8f0;
    --border-focus: var(--accent-mid);
    --input-bg: #fcfdfe;
}

.w-full {
    width: 100% !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tool Header Styles - Centered & Premium */
.tool-site-header {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: block;
    width: 220px; /* Groter logo voor betere zichtbaarheid */
    color: var(--accent-start);
    overflow: visible; /* Fix voor clipping */
}

.logo-svg {
    width: 100%;
    height: auto;
    display: block;
}

.back-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(15, 23, 42, 0.05);
}

.back-link:hover {
    color: var(--accent-start);
    background: rgba(15, 23, 42, 0.1);
}

.page-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.calculator-header {
    margin-bottom: 40px;
}

.tagline {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-mid);
    margin-bottom: 12px;
    font-weight: 700;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 800;
}

.usp-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.usp-item {
    font-size: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 100px;
}

.checkmark {
    color: #10b981;
    font-weight: bold;
}

.info-banner {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 15px;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
}

.info-icon svg {
    margin-top: 2px;
    stroke: #0369a1;
}

.info-banner p {
    font-size: 1rem;
    color: #0369a1;
    line-height: 1.6;
}

/* Form Styles In Modals */
.modal-header h2 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 2.2rem;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.modal-body {
    margin-top: 20px;
}

/* Form Groups Layout */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-left: 2px;
}

/* Premium Input & Select Styles */
.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--input-bg);
    border: 1.5px solid var(--border-base);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Add custom arrow for selects */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 45px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--border-focus);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

/* Multi-column rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(194, 65, 12, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 65, 12, 0.3);
}

/* Label Badge Result */
.label-result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 900;
    min-width: 120px;
    height: 120px;
    border-radius: 50%;
    color: #fff;
    margin: 20px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.2);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.result-container {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    border: 1px solid #e2e8f0;
}

.result-container h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-primary);
}

.result-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.cta-section {
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.cta-section p {
    font-weight: 600;
    margin-bottom: 15px;
}

.btn-secondary {
    display: inline-block;
    text-decoration: none;
    background: #1e293b;
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background: #0f172a;
    transform: translateY(-2px);
}

/* Modal Overlay */
.modal-overlay {
    display: none; /* Verberg standaard */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Modal Content */
.modal-content {
    background: white;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 40px;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    display: flex;
}

/* Override for JS setting display: block */
#calculatorModal[style*="display: block"] {
    display: flex !important;
    opacity: 1 !important;
}

#calculatorModal[style*="display: block"] .modal-content {
    transform: translateY(0) !important;
}

.modal-back-link {
    margin: 0 auto 30px auto;
    width: fit-content;
}

@media (max-width: 600px) {
    .main-title {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .page-container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}