* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --success-color: #16a34a;
    --error-color: #dc2626;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --orange-500: #f97316;
    --green-500: #22c55e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    color: white;
    padding: 60px 20px;
    margin-bottom: 40px;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 24px;
    opacity: 0.95;
    font-weight: 500;
}

.hero-highlight {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 16px 32px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.hero-highlight strong {
    color: #fbbf24;
    font-size: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    margin-bottom: 32px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-cta {
    margin-top: 32px;
}

.btn-hero {
    background: var(--orange-500);
    color: white;
    padding: 18px 48px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-hero:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.cta-note {
    margin-top: 12px;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
}

/* Hero and Final CTA should not have white card styling */
.hero,
.final-cta {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.comparison-card {
    border-radius: 16px;
    padding: 32px;
    position: relative;
    border: 2px solid var(--border-color);
}

.comparison-card.old-way {
    background: #fef2f2;
    border-color: #fca5a5;
}

.comparison-card.new-way {
    background: #f0fdf4;
    border-color: #86efac;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
}

.comparison-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin: 16px 0 24px;
    text-align: center;
}

.comparison-list {
    list-style: none;
    margin-bottom: 24px;
}

.comparison-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}

.comparison-list li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--text-secondary);
}

.comparison-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

.total-cost {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    padding: 16px;
    background: white;
    border-radius: 8px;
    margin-top: 16px;
}

.total-cost.success {
    color: var(--success-color);
}

.savings {
    text-align: center;
    margin-top: 12px;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Steps/Use Case Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Proof Section */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.proof-card {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
}

.proof-stat {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.proof-card p {
    font-size: 1.125rem;
    opacity: 0.95;
}

.proof-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Upload Section */
.upload-section {
    background: var(--bg-primary);
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-header {
    text-align: center;
    margin-bottom: 40px;
}

.upload-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.upload-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.card-body {
    margin-bottom: 32px;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: #eff6ff;
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: #dbeafe;
    transform: scale(1.02);
}

.upload-icon {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.upload-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

.upload-privacy-notice {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 12px;
    padding: 8px 12px;
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    margin: 20px 0;
}

.file-name {
    color: var(--success-color);
    font-weight: 500;
}

.btn-remove {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
}

.btn-remove:hover {
    color: var(--error-color);
}

.form-group {
    margin: 24px 0;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-text {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.consent-checkbox {
    margin: 20px 0;
    padding: 16px;
    background: #f0f9ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
}

.consent-checkbox label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0;
}

.consent-checkbox input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-checkbox span {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.5;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success-color);
    color: white;
    width: 100%;
}

.btn-success:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--text-secondary);
    color: white;
    width: 100%;
}

.btn-secondary:hover {
    background: #4b5563;
}

/* Progress/Result/Error Sections */
.progress-section,
.result-section,
.error-section {
    margin-top: 32px;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
}

.progress-section {
    background: #eff6ff;
}

.progress-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.progress-header p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #dbeafe;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 999px;
}

.progress-details {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.result-section {
    background: #f0fdf4;
}

.result-header {
    margin-bottom: 24px;
}

.result-icon {
    color: var(--success-color);
    margin-bottom: 16px;
}

.result-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.result-header p {
    color: var(--text-secondary);
}

.error-section {
    background: #fef2f2;
}

.error-content svg {
    color: var(--error-color);
    margin-bottom: 16px;
}

.error-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* CSV Requirements */
.csv-requirements {
    margin-top: 32px;
    padding: 24px;
    background: #fffbeb;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
}

.csv-requirements h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.csv-requirements ul {
    list-style-position: inside;
    color: var(--text-secondary);
}

.csv-requirements li {
    margin: 8px 0;
}

/* Pricing Info */
.pricing-info {
    margin-top: 32px;
    padding: 24px;
    background: #ecfdf5;
    border-radius: 12px;
    border-left: 4px solid #16a34a;
}

.pricing-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.pricing-info p {
    color: var(--text-secondary);
    margin: 8px 0;
}

.pricing-info p strong {
    color: var(--text-primary);
}

/* Upsell Pricing Table */
.upsell-pricing {
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.upsell-pricing h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
}

.pricing-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.pricing-row:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.pricing-label {
    font-weight: 500;
    color: var(--text-primary);
}

.pricing-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

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

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.modal-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.column-mapping-form {
    padding: 24px;
    max-height: 50vh;
    overflow-y: auto;
}

.mapping-group {
    margin-bottom: 16px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.mapping-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.mapping-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: white;
}

.mapping-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.faq-item {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Upsell Section */
.upsell-section {
    background: var(--bg-primary);
}

.upsell-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.upsell-content p {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.upsell-list {
    list-style-position: inside;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.upsell-list li {
    padding: 8px 0;
}

.btn-upsell {
    background: var(--primary-color);
    color: white;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-upsell:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 40px;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.comparison-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 24px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 32px 20px;
    color: white;
    opacity: 0.9;
}

.footer p {
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    section {
        padding: 32px 24px;
    }
    
    .comparison-grid,
    .benefits-grid,
    .steps-grid,
    .proof-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-hero {
        font-size: 1.125rem;
        padding: 16px 32px;
    }
    
    .infographic-image {
        max-width: 100%;
    }
}

/* Infografik Section */
.infographic-section {
    background: var(--bg-primary);
    padding: 40px 20px;
    margin-bottom: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.infographic-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.infographic-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.infographic-image:hover {
    transform: scale(1.02);
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    .hero {
        padding: 40px 12px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
}
