/* Subpages Custom Styles */

.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: var(--sp-24) 0 var(--sp-12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    color: white;
    margin-bottom: var(--sp-4);
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    margin-top: var(--sp-8);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.pricing-header {
    padding: var(--sp-8);
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.pricing-type {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--sp-2);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.pricing-features {
    padding: var(--sp-8);
    list-style: none;
}

.pricing-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-3) 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

/* Text Content for Articles (Privacy, Klachten) */
.text-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--sp-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.text-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-muted);
    padding-bottom: 0.5rem;
}

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

.text-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

.text-content a {
    color: var(--accent-color);
    font-weight: 500;
}

.text-content a:hover {
    text-decoration: underline;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .price-val {
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-disclaimer {
    background: var(--accent-light);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    margin-top: var(--sp-12);
    text-align: center;
    color: var(--primary-color);
}

/* Contact Page Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-12);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-card {
    background: var(--bg-muted);
    border-radius: var(--radius-xl);
    padding: var(--sp-8);
}

.contact-info-list {
    list-style: none;
    margin-top: var(--sp-6);
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.form-group {
    margin-bottom: var(--sp-4);
}

.form-label {
    display: block;
    margin-bottom: var(--sp-2);
    font-weight: 500;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* Over Ons - Core Values */
.mb-12 { margin-bottom: var(--sp-12); }
.mb-16 { margin-bottom: var(--sp-16); }

.intro-box {
    max-width: 900px;
    margin: 0 auto;
}

.core-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
    margin-top: var(--sp-12);
}

@media (min-width: 768px) {
    .core-values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background: white;
    padding: var(--sp-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: var(--accent-light);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    color: var(--accent-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-4);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--sp-3);
    color: var(--primary-color);
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Journey Timeline */
.journey-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--sp-8) 0;
}

.journey-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px; /* Mobile timeline position */
    width: 4px;
    background-color: var(--accent-light);
    z-index: 1;
}

@media (min-width: 768px) {
    .journey-line {
        left: 50%;
        transform: translateX(-50%);
    }
}

.journey-step {
    position: relative;
    margin-bottom: var(--sp-16);
    width: 100%;
    z-index: 2;
}

.journey-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 4px; /* Align to center over line on mobile (24px - 20px) */
    top: 0;
    width: 44px;
    height: 44px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 0 0 6px var(--bg-muted);
    z-index: 3;
}

@media (min-width: 768px) {
    .step-marker {
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 0 0 8px var(--bg-muted);
    }
}

.step-content {
    background: white;
    padding: var(--sp-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-left: 70px; /* Space for marker on mobile */
    position: relative;
    transition: var(--transition);
}

.step-content:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light);
}

.step-content.final-step {
    border-top: 4px solid var(--accent-color);
}

@media (min-width: 768px) {
    .journey-step.left .step-content {
        width: calc(50% - 50px);
        margin-left: 0;
        margin-right: auto;
    }
    
    .journey-step.right .step-content {
        width: calc(50% - 50px);
        margin-left: auto;
        margin-right: 0;
    }
    
    /* Small arrow pointing to the line */
    .step-content::before {
        content: '';
        position: absolute;
        top: 14px;
        width: 0;
        height: 0;
        border-style: solid;
        z-index: -1;
    }
    
    .journey-step.left .step-content::before {
        right: -11px;
        border-width: 12px 0 12px 12px;
        border-color: transparent transparent transparent var(--border-color);
    }
    
    .journey-step.left .step-content::after {
        content: '';
        position: absolute;
        top: 14px;
        right: -10px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 0 12px 12px;
        border-color: transparent transparent transparent white;
    }
    
    .journey-step.right .step-content::before {
        left: -11px;
        border-width: 12px 12px 12px 0;
        border-color: transparent var(--border-color) transparent transparent;
    }

    .journey-step.right .step-content::after {
        content: '';
        position: absolute;
        top: 14px;
        left: -10px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 12px 12px 0;
        border-color: transparent white transparent transparent;
    }
}

.step-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--sp-3);
}

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

/* Step list features */
.step-features {
    list-style: none; /* remove default */
    padding-left: 0;
    margin-top: var(--sp-2);
}

.step-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--sp-3);
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.step-features li:last-child {
    margin-bottom: 0;
}

.step-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--primary-color);
    font-size: 1.5rem;
    line-height: 1;
}

/* Transition Arrow */
.transition-arrow-container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-top: -3rem;
    margin-bottom: 2rem;
}

.transition-arrow {
    color: var(--accent-color); /* Bright blue */
    background: white;
    border-radius: 50%;
    padding: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    animation: bounce-down 2s infinite;
}

@keyframes bounce-down {
    0%, 100% {
        transform: translateY(-15%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(15%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}


/* Tarieven Page Modern Redesign */

.page-header-light {
    background-color: var(--bg-body);
    color: var(--primary-color);
    padding: var(--sp-24) 0 var(--sp-12);
    border-bottom: 1px solid var(--border-color);
}
.page-header-light::before {
    display: none; /* remove gradient */
}
.page-header-light .page-title {
    color: var(--primary-color);
}
.page-header-light .page-subtitle {
    color: var(--text-muted);
}

/* Conversion Banner */
.conversion-banner {
    background-color: white;
    border: 2px solid var(--accent-light);
    border-radius: var(--radius-xl);
    padding: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-6);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
@media (min-width: 992px) {
    .conversion-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: var(--sp-10);
    }
}
.conversion-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background-color: var(--accent-color);
}
.conversion-content {
    display: flex;
    gap: var(--sp-6);
    align-items: flex-start;
}
.conversion-icon {
    flex-shrink: 0;
    width: 64px; height: 64px;
    background-color: var(--accent-light);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.conversion-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--sp-2);
}
.conversion-text .highlight-text {
    color: var(--accent-color);
    font-weight: 800;
}
.conversion-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Pricing Categories */
.pricing-category-box {
    background-color: transparent;
}
.pricing-category-header {
    text-align: center;
    margin-bottom: var(--sp-8);
}
.pricing-category-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: var(--sp-2);
    display: inline-block;
    position: relative;
}
.pricing-category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}
.pricing-category-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Premium Grid Elements */
.pricing-premium-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-6);
}
@media (min-width: 992px) {
    .pricing-premium-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-8);
    }
}
.pricing-premium-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: var(--sp-8);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
.pricing-premium-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light);
    transform: translateY(-4px);
}
.pricing-premium-card.highlight-card {
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow-md);
}
.pricing-premium-card.highlight-card:hover {
    box-shadow: var(--shadow-xl);
}
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}
.card-top {
    text-align: center;
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--sp-6);
}
.card-top h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: var(--sp-2);
}
.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    min-height: 44px;
}
.price-big {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-display);
    margin-top: var(--sp-4);
}
.price-big span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
}
.card-details {
    flex-grow: 1;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-3) 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.95rem;
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-row span {
    color: var(--text-muted);
}
.detail-row strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Griffierecht Info box */
.griffierecht-box {
    background-color: var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: var(--sp-8);
    margin-top: var(--sp-12);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    align-items: flex-start;
}
@media (min-width: 768px) {
    .griffierecht-box {
        flex-direction: row;
    }
}
.griffierecht-box .info-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}
.griffierecht-content h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: var(--sp-2);
}
.griffierecht-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.6;
}

