/* ============================================
   Kfz-Tarifwechsel.com - Landing Page Styles
   Modern, Professional, Trustworthy
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1a56db;
    --primary-dark: #1e429f;
    --primary-light: #e1effe;
    --secondary: #10b981;
    --accent: #f59e0b;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(26, 86, 219, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: none;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    .nav-links {
        display: flex;
    }
}

/* Mobile Menu */
@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-links a {
        font-size: 1.125rem;
    }
    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -200px;
    right: -200px;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: #dbeafe;
    bottom: -100px;
    left: -100px;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--secondary);
    flex-shrink: 0;
}

/* Hero Visual - Document Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.document-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 380px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.document-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.document-dots {
    display: flex;
    gap: 6px;
}

.document-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.document-dots span:nth-child(1) { background: #ef4444; }
.document-dots span:nth-child(2) { background: #f59e0b; }
.document-dots span:nth-child(3) { background: #10b981; }

.document-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.document-body {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.document-line {
    height: 8px;
    background: var(--bg-gray);
    border-radius: 4px;
}

.document-line-1 { width: 100%; }
.document-line-2 { width: 85%; }
.document-line-3 { width: 90%; }
.document-line-4 { width: 60%; }
.document-line-5 { width: 75%; }

.document-highlight {
    height: 8px;
    width: 40%;
    background: var(--primary-light);
    border-radius: 4px;
    margin-top: 0.5rem;
}

.document-arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.document-arrow svg {
    width: 20px;
    height: 20px;
}

.document-result {
    position: absolute;
    right: -60px;
    bottom: 20px;
    background: white;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    text-align: center;
}

.result-badge {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
}

.result-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 1023px) {
    .document-arrow,
    .document-result {
        display: none;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.375rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-white);
}

.steps {
    display: grid;
    gap: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.step-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow);
    color: var(--primary);
}

.step-icon svg {
    width: 24px;
    height: 24px;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--border);
}

@media (min-width: 768px) {
    .step-connector {
        display: flex;
    }
}

.step-connector svg {
    width: 100%;
    height: 24px;
}

/* ============================================
   UPLOAD SECTION
   ============================================ */
.upload-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.upload-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    padding: 2rem 1.5rem;
}

@media (min-width: 640px) {
    .upload-card {
        padding: 2.5rem;
    }
}

.form-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.required {
    color: #ef4444;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

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

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.error-message {
    display: none;
    font-size: 0.8125rem;
    color: #ef4444;
    margin-top: 0.25rem;
}

.error-message.visible {
    display: block;
}

.error-message-file {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-light);
    margin-bottom: 0.5rem;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-area.dragover {
    transform: scale(1.01);
}

.upload-area.has-file {
    border-style: solid;
    border-color: var(--secondary);
    background: #ecfdf5;
}

.upload-area.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.upload-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow);
    color: var(--primary);
}

.upload-icon svg {
    width: 24px;
    height: 24px;
}

.upload-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.upload-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* File Preview */
.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.file-icon svg {
    width: 20px;
    height: 20px;
}

.file-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.file-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}

.file-size {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.file-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.file-remove:hover {
    background: #fef2f2;
    color: #ef4444;
}

.file-remove svg {
    width: 18px;
    height: 18px;
}

/* Upload Progress */
.upload-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-gray);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    display: block;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.5rem;
}

/* Consent Checkbox */
.form-consent {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 1px;
    transition: var(--transition);
    position: relative;
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px var(--primary-light);
}

.checkbox-text .link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text .link:hover {
    color: var(--primary-dark);
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-card {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.trust-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.trust-icon svg {
    width: 22px;
    height: 22px;
}

.trust-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.trust-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item.active {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1.125rem;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .cta-content h2 {
        font-size: 2.25rem;
    }
}

.cta-content p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 2rem;
}

.footer .logo {
    color: white;
    margin-bottom: 0.75rem;
}

.footer .logo-icon {
    color: var(--primary-light);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.4);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal[hidden] {
    display: none;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary);
}

.modal-icon svg {
    width: 32px;
    height: 32px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.modal-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-details {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.modal-details p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
}

.modal-details p:last-child {
    margin-bottom: 0;
}

.modal-details strong {
    color: var(--text-primary);
}

.modal-close {
    width: 100%;
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 639px) {
    .hero {
        padding: 100px 0 60px;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
    .upload-card {
        padding: 1.5rem 1rem;
    }
    .modal-content {
        padding: 2rem 1.5rem;
    }
}

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-scroll,
    .cta-banner,
    .modal {
        display: none !important;
    }
    .hero {
        padding: 2rem 0;
    }
}

/* EspoCRM Integration: Success / Error Messages */

.form-success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.4s ease;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #059669, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 12px;
}

.success-text {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.success-details {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 24px;
}

.form-error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeIn 0.3s ease;
}

.form-error-message .error-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.form-error-message .error-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.form-error-message .error-text {
    color: #dc2626;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 480px) {
    .form-error-message {
        flex-direction: column;
        text-align: center;
    }
}
