/* Marketing Audit - Modern Dutch Design */

/* Sticky Footer Layout */
html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navigation Enhancements */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 0;
}

.navbar-toggler {
    padding: 0.5rem;
    border-radius: 8px;
}

.navbar-toggler:hover {
    background-color: rgba(0,123,255,0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.nav-link {
    font-weight: 500;
    border-radius: 8px;
    margin: 0.25rem 0;
}

.nav-link:hover {
    background-color: rgba(0,123,255,0.1);
    color: #007bff !important;
}

.nav-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding-top: 1rem;
        background-color: #fff;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        font-size: 1.1rem;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .nav-link:hover {
        background-color: rgba(0,123,255,0.1);
        border-radius: 8px;
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .nav-link {
        margin: 0 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .navbar-nav {
        gap: 1rem;
    }
}

/* Hero Section Button Enhancements */
.hero-section .btn {
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    min-width: 280px;
    text-align: center;
}

.hero-section .btn:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-section .btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-section .btn-light {
    background-color: #ffffff;
    color: #007bff;
    border-color: #ffffff;
}

.hero-section .btn-light:hover {
    background-color: #f8f9fa;
    color: #0056b3;
    border-color: #f8f9fa;
}

.hero-section .btn-outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.hero-section .btn-outline-light:hover {
    background-color: #ffffff;
    color: #007bff;
    border-color: #ffffff;
}

/* Responsive Button Layout */
@media (max-width: 575.98px) {
    .hero-section .btn {
        min-width: 100%;
        margin-bottom: 0.75rem;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .hero-section .d-flex.gap-3 {
        gap: 1rem !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-section .btn {
        min-width: 240px;
        padding: 0.875rem 1.75rem;
    }
}

@media (min-width: 992px) {
    .hero-section .btn {
        min-width: 280px;
        padding: 0.875rem 2rem;
    }
    
    .hero-section .d-flex.gap-3 {
        gap: 1.5rem !important;
    }
}

/* Core styling for Marketing Versneller application */

/* Float animation removed for static design */

@media (max-width: 991.98px) {
    .hero-ai-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .ai-visual-container {
        margin-top: 2rem;
        padding: 1rem;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
}

/* Gradient backgrounds with enhanced contrast */
.bg-gradient-primary {
    background: linear-gradient(135deg, #6428B4 0%, #00B0F0 100%);
    color: #ffffff !important;
}

/* Ensure all text on gradient backgrounds is white/light */
.bg-gradient-primary h1,
.bg-gradient-primary h2,
.bg-gradient-primary h3,
.bg-gradient-primary h4,
.bg-gradient-primary h5,
.bg-gradient-primary h6,
.bg-gradient-primary p,
.bg-gradient-primary span,
.bg-gradient-primary .lead,
.bg-gradient-primary small {
    color: #ffffff !important;
}

/* Semi-transparent white for subtle text */
.bg-gradient-primary .opacity-75 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Icons on gradient backgrounds */
.bg-gradient-primary .text-primary {
    color: #ffffff !important;
}

/* White background elements on gradients */
.bg-gradient-primary .bg-white {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Footer styling to match gradient sections */
footer.bg-dark {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%) !important;
    color: #ffffff !important;
}

footer.bg-dark p,
footer.bg-dark small,
footer.bg-dark a {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer.bg-dark a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Mobile responsiveness for gradient sections */
@media (max-width: 768px) {
    .bg-gradient-primary {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .bg-gradient-primary h1 {
        font-size: 2.5rem;
    }
    
    .bg-gradient-primary .lead {
        font-size: 1.1rem;
    }
    
    .bg-gradient-primary .btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Ensure proper contrast on all screen sizes */
@media (prefers-contrast: high) {
    .bg-gradient-primary {
        background: linear-gradient(135deg, #5a1a8b 0%, #007acc 100%);
    }
    
    .bg-gradient-primary h1,
    .bg-gradient-primary h2,
    .bg-gradient-primary h3,
    .bg-gradient-primary h4,
    .bg-gradient-primary h5,
    .bg-gradient-primary h6,
    .bg-gradient-primary p,
    .bg-gradient-primary span,
    .bg-gradient-primary .lead,
    .bg-gradient-primary small {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
}

/* Pulse animation removed for static design */

/* Hero Visual Enhancements */
.hero-visual-container {
    position: relative;
    padding: 20px;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
}

/* All animations and hover effects removed for static design */



/* Enhanced Background Effects */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive adjustments for maximized visuals */
@media (max-width: 768px) {
    .hero-illustration {
        max-width: 90%;
        min-height: 300px;
    }
    
    .hero-visual-container {
        padding: 15px;
        margin-top: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-illustration {
        max-width: 85%;
    }
}

@media (min-width: 1025px) {
    .hero-illustration {
        max-width: 600px;
        min-height: 450px;
    }
    
    .hero-visual-container {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero-illustration {
        width: 250px;
        height: 250px;
    }
}

/* Color Palette */
:root {
    --purple: #1c1c4f;
    --pink: #ff99cc;
    --dark-pink: #cc3366;
    --white: #edf2f7;
    --yellow: #ffb523;
    --green: #01bf63;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
}

/* Typography */
* {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 700;
    color: var(--purple);
}

/* Navigation */
.navbar {
    background-color: white !important;
    box-shadow: 0 2px 20px rgba(28, 28, 79, 0.1);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--purple) !important;
}

.navbar-nav .nav-link {
    color: var(--gray-700) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--pink) !important;
}

/* Buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-pink) 100%);
    box-shadow: 0 4px 15px rgba(28, 28, 79, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-pink) 0%, var(--purple) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 28, 79, 0.4);
}

.btn-success {
    background: var(--green);
    color: white;
}

.btn-success:hover {
    background: #00a854;
    transform: translateY(-2px);
}

.btn-warning {
    background: var(--yellow);
    color: var(--purple);
}

.btn-warning:hover {
    background: #e6a320;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--purple);
    border: 2px solid var(--purple);
}

.btn-outline-primary:hover {
    background: var(--purple);
    color: white;
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--purple);
    font-weight: 600;
}

.btn-light:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(28, 28, 79, 0.08);
    transition: all 0.3s ease;
    background: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(28, 28, 79, 0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--gray-200);
    border-radius: 20px 20px 0 0 !important;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--purple);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-pink) 50%, var(--pink) 100%);
    color: white;
    padding: 6rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: white;
    font-weight: 800;
    margin-bottom: 2rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Feature Icons */
.feature-icon-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 3rem;
    display: inline-block;
    backdrop-filter: blur(10px);
}

/* Progress Bar */
.progress {
    height: 12px;
    border-radius: 20px;
    background-color: var(--gray-200);
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--purple) 0%, var(--dark-pink) 50%, var(--pink) 100%);
    border-radius: 20px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Forms */
.form-control, .form-select {
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control:focus, .form-select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 0.2rem rgba(28, 28, 79, 0.15);
    background-color: white;
}

.form-label {
    font-weight: 600;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

.form-check-input {
    border: 2px solid var(--gray-400);
    border-radius: 6px;
    margin-top: 0.125rem;
}

.form-check-input:checked {
    background-color: var(--purple);
    border-color: var(--purple);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(28, 28, 79, 0.15);
}

.form-check-label {
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
}

/* Icon Circle for Homepage Cards */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.icon-circle i {
    width: 24px;
    height: 24px;
}

/* Step Indicators */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Perfect circular icons for Versnelling page - small card icons */
.bg-primary.rounded-circle.p-2,
.bg-success.rounded-circle.p-2,
.bg-warning.rounded-circle.p-2,
.bg-info.rounded-circle.p-2,
.bg-secondary.rounded-circle.p-2,
.bg-dark.rounded-circle.p-2 {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

/* Perfect circular icons for Versnelling page - large feature icons */
.bg-primary.rounded-circle.p-3,
.bg-success.rounded-circle.p-3,
.bg-warning.rounded-circle.p-3 {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

/* Ensure feather icons are centered within circles */
.bg-primary.rounded-circle [data-feather],
.bg-success.rounded-circle [data-feather],
.bg-warning.rounded-circle [data-feather],
.bg-info.rounded-circle [data-feather],
.bg-secondary.rounded-circle [data-feather],
.bg-dark.rounded-circle [data-feather] {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}

/* Equal height cards for "Wat kun je verwachten?" section */
.card.h-100 {
    display: flex;
    flex-direction: column;
}

.card.h-100 .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Consistent alignment for "Voor wie is dit bedoeld?" section */
.card.h-100.text-center .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card.h-100.text-center .card-body h5 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card.h-100.text-center .card-body p.text-muted {
    margin-top: 0;
    flex: 1;
    display: flex;
    align-items: flex-start;
    text-align: center;
}

/* Framework section step circles - smaller and perfectly round */
.card .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    position: relative;
}

.card .step-number i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px !important;
    height: 24px !important;
}

.step-number.bg-primary {
    background: var(--purple) !important;
}

.step-number.bg-success {
    background: var(--green) !important;
}

.step-number.bg-warning {
    background: var(--yellow) !important;
    color: var(--purple) !important;
}

.step-number.bg-info {
    background: var(--pink) !important;
}

/* Use Case Cards */
.usecase-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
}

.usecase-card .card-body {
    display: flex;
    flex-direction: column;
}

.usecase-card h5 {
    min-height: 3.2em;
}

.usecase-card p {
    flex: 1;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(28, 28, 79, 0.12) !important;
}

@media (hover: none) {
    .usecase-card:hover {
        transform: none;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    }
}

/* Werkwijze cards - consistent internal alignment */
#framework .card .card-body {
    display: flex;
    flex-direction: column;
}

#framework .card .list-unstyled {
    flex: 1;
}

@media (max-width: 991.98px) {
    .usecase-card h5 {
        min-height: auto;
    }
}

/* Badges */
.badge {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.bg-success {
    background-color: var(--green) !important;
}

.bg-warning {
    background-color: var(--yellow) !important;
    color: var(--purple) !important;
}

.bg-danger {
    background-color: var(--dark-pink) !important;
}

.bg-primary {
    background-color: var(--purple) !important;
}

.bg-info {
    background-color: var(--pink) !important;
    color: var(--purple) !important;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(1, 191, 99, 0.1);
    color: var(--green);
    border-left: 4px solid var(--green);
}

.alert-warning {
    background-color: rgba(255, 181, 35, 0.1);
    color: #d17309;
    border-left: 4px solid var(--yellow);
}

.alert-danger {
    background-color: rgba(204, 51, 102, 0.1);
    color: var(--dark-pink);
    border-left: 4px solid var(--dark-pink);
}

.alert-primary {
    background-color: rgba(28, 28, 79, 0.1);
    color: var(--purple);
    border-left: 4px solid var(--purple);
}

/* Charts */
.chart-container {
    position: relative;
    height: 300px;
    padding: 1rem;
}

/* Text Colors */
.text-primary {
    color: var(--purple) !important;
}

.text-success {
    color: var(--green) !important;
}

.text-warning {
    color: var(--yellow) !important;
}

.text-danger {
    color: var(--dark-pink) !important;
}

.text-info {
    color: var(--pink) !important;
}

/* Footer */
.footer {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    padding: 3rem 0;
    margin-top: 5rem;
}

/* Naadloze overgang voor pagina's met gekleurde laatste sectie */
.seamless-footer-transition {
    margin-bottom: 0 !important;
}

/* Homepage footer heeft geen margin-top */
body.homepage footer {
    margin-top: 0 !important;
}

/* Extra specifieke regel voor naadloze overgang */
.seamless-footer-transition + footer {
    margin-top: 0 !important;
}

/* Score Display */
.score-display {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-pink) 100%);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.score-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
}

/* Opportunities */
.opportunity-card {
    border-left: 4px solid var(--purple);
    background: rgba(28, 28, 79, 0.02);
    transition: all 0.3s ease;
}

.opportunity-card:hover {
    border-left-color: var(--dark-pink);
    background: rgba(28, 28, 79, 0.05);
    transform: translateX(5px);
}

/* Recommendations */
.recommendation-item {
    border-left: 4px solid var(--green);
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(1, 191, 99, 0.02);
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
}

.recommendation-item:hover {
    background: rgba(1, 191, 99, 0.05);
    transform: translateX(5px);
}

/* Animation classes removed - static visual design */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.5rem;
    }
    
    .score-number {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner-border {
    color: var(--purple);
}

/* Custom Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-pink) 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--green) 0%, #00a854 100%) !important;
}

.bg-light-purple {
    background-color: rgba(28, 28, 79, 0.05) !important;
}

.border-purple {
    border-color: var(--purple) !important;
}

.shadow-purple {
    box-shadow: 0 8px 30px rgba(28, 28, 79, 0.15) !important;
}

/* Icon Styling */
[data-feather] {
    stroke-width: 2;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    outline: none;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.progress-steps small {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-steps small.active {
    background: var(--purple);
    color: white;
}

.progress-steps small.completed {
    background: var(--green);
    color: white;
}

.progress-steps small.pending {
    background: var(--gray-200);
    color: var(--gray-600);
}

/* AI Scan Form Styles */
.scan-radio-label {
    display: block;
    cursor: pointer;
}

.scan-radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.scan-radio-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    transition: all 0.25s ease;
    font-weight: 500;
    background: white;
    min-height: 64px;
    position: relative;
}

.scan-radio-card:hover {
    border-color: var(--purple);
    background: rgba(28, 28, 79, 0.03);
    transform: translateY(-1px);
}

.scan-radio-label input[type="radio"]:focus-visible + .scan-radio-card {
    outline: 3px solid rgba(28, 28, 79, 0.4);
    outline-offset: 2px;
}

.scan-radio-label input[type="radio"]:checked + .scan-radio-card {
    border-color: var(--purple);
    background: rgba(28, 28, 79, 0.08);
    box-shadow: 0 0 0 1px var(--purple);
}

.scan-radio-card .auto-advance-spinner {
    position: absolute;
    right: 1rem;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(28, 28, 79, 0.15);
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: autoAdvanceSpin 0.6s linear infinite;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.scan-radio-card .auto-advance-spinner.active {
    opacity: 1;
}

@keyframes autoAdvanceSpin {
    to { transform: rotate(360deg); }
}

.js-auto-advance #nextBtn {
    opacity: 0.5;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
}

.js-auto-advance #nextBtn:hover,
.js-auto-advance #nextBtn:focus {
    opacity: 1;
}

.progress-bar {
    transition: width 0.4s ease;
}

.scan-step {
    animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#scanAutoAdvanceAnnounce {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.rapport-card .rapport-content p {
    line-height: 1.7;
}

.rapport-card .rapport-content h5 {
    margin-top: 1.5rem;
}

.prompt-block {
    border: 1px solid var(--gray-300);
    border-left: 3px solid var(--purple);
}

.prompt-block code {
    color: var(--gray-800);
    font-size: 0.88rem;
}

.copy-prompt-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .scan-radio-card {
        padding: 1rem 1rem;
        padding-right: 2.5rem;
        font-size: 0.95rem;
        min-height: 64px;
    }
    .scan-radio-card:hover {
        transform: none;
    }
    .js-auto-advance #nextBtn {
        opacity: 0.4;
        font-size: 0.85rem;
        padding: 0.35rem 0.8rem;
    }
    .card:hover {
        transform: none;
    }
    .rapport-card:hover {
        transform: none;
    }
}

.bg-light-purple {
    background-color: rgba(28, 28, 79, 0.03);
}

/* Scan CTA card on homepage */
.scan-cta-card {
    background: linear-gradient(135deg, var(--purple) 0%, var(--dark-pink) 100%);
    border-radius: 20px;
    color: white;
}

.scan-cta-card h3,
.scan-cta-card p {
    color: white !important;
}

/* Scan Hero Trust Elements */
.scan-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 60px;
}

.scan-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.scan-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
}

.scan-hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.scan-hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
}

.scan-hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: white;
    line-height: 1.4;
}

.scan-hero-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.scan-hero-trust-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.scan-hero-cta-wrapper {
    margin-top: 1rem;
}

.scan-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: white;
    color: var(--purple);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scan-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.scan-hero-cta:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scan-hero-cta svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 991.98px) {
    .scan-hero-title {
        font-size: 2.5rem;
    }
    .scan-hero-subtitle {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .scan-hero {
        min-height: auto;
        padding: 4rem 1rem 3rem;
    }
    .scan-hero-title {
        font-size: 1.85rem;
    }
    .scan-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .scan-hero-features {
        align-items: stretch;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    .scan-hero-feature {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        text-align: left;
    }
    .scan-hero-trust-icon {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.2);
    }
    .scan-hero-trust-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
    .scan-hero-cta {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
}

/* ============================================
   MOBILE RESPONSIVENESS - Comprehensive fixes
   ============================================ */

html, body {
    overflow-x: hidden;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
select,
textarea {
    font-size: 16px !important;
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto !important;
    }
    .hero-section .display-4 {
        font-size: 1.75rem;
    }
    .hero-section .display-5 {
        font-size: 1.5rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }

    #scanFormSection .d-flex.justify-content-between {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    #scanFormSection .btn {
        width: 100%;
        min-height: 48px;
    }
    #scanFormSection .ms-auto {
        margin-left: 0 !important;
        width: 100%;
    }
    #scanFormSection .ms-auto .btn {
        width: 100%;
    }

    #leadCaptureModal .modal-dialog {
        margin: 0;
        max-width: 100%;
        min-height: 100vh;
    }
    #leadCaptureModal .modal-content {
        border-radius: 0 !important;
        min-height: 100vh;
    }
    #leadCaptureModal .modal-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .form-control {
        min-height: 48px;
        font-size: 16px;
    }

    .rapport-card .d-flex.align-items-center.mb-4 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
    .rapport-card .d-flex.align-items-center.mb-4 h3 {
        font-size: 1.25rem;
    }
    .rapport-card .rapport-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .d-flex.flex-column.flex-sm-row.gap-3 .btn {
        width: 100%;
        min-height: 48px;
    }

}

@supports (padding: env(safe-area-inset-bottom)) {
    .hero-section {
        padding-bottom: calc(3rem + env(safe-area-inset-bottom));
    }
    #loadingOverlay {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }
}