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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

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

/* Alert Bar */
.alert-bar {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    padding: 12px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    animation: pulse-bg 2s ease-in-out infinite;
}

.alert-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.alert-icon {
    font-size: 18px;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 50%, #f97316 100%);
    color: white;
    text-align: center;
    padding: 80px 24px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.urgency-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subheadline {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.savings-highlight {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 24px;
    max-width: 300px;
    margin: 0 auto 32px;
}

.savings-number {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.savings-label {
    font-size: 18px;
    font-weight: 700;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #dc2626;
    padding: 20px 48px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: #fef2f2;
}

.cta-button.pulse {
    animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4); }
}

.trust-indicators {
    margin-top: 32px;
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 15px;
    font-weight: 600;
}

/* Cost Preview */
.cost-preview {
    padding: 96px 24px;
    background: #fafafa;
}

.cost-preview h2,
.urgency-section h3,
.how-it-works h2,
.benefits h2,
.social-proof h2,
.faq h2,
.final-cta h2,
.form-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 56px;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.cost-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto 24px;
}

.cost-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    border: 3px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.cost-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.cost-card.featured {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    transform: scale(1.05);
}

.cost-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.company-size {
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 20px;
}

.old-cost {
    font-size: 16px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.strike {
    text-decoration: line-through;
    font-weight: 600;
}

.new-cost {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 700;
}

.highlight {
    color: #dc2626;
    font-size: 32px;
    font-weight: 900;
}

.savings-amount {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    margin-top: 20px;
}

.disclaimer-text {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
}

/* Urgency Section */
.urgency-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    color: white;
}

.urgency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.urgency-icon {
    font-size: 80px;
    animation: fire 1.5s ease-in-out infinite;
}

@keyframes fire {
    0%, 100% { transform: scale(1) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.urgency-text {
    max-width: 600px;
    text-align: left;
}

.urgency-text h3 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}

.urgency-text p {
    font-size: 18px;
    line-height: 1.6;
}

.urgency-text strong {
    color: #fbbf24;
    font-weight: 800;
}

.countdown-timer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.timer-label {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    background: rgba(255, 255, 255, 0.15);
    padding: 16px 24px;
    border-radius: 12px;
    min-width: 90px;
    text-align: center;
}

.timer-text {
    font-size: 12px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.timer-separator {
    font-size: 36px;
    font-weight: 900;
    opacity: 0.6;
}

/* How It Works */
.how-it-works {
    padding: 96px 24px;
    background: white;
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    background: #fafafa;
    padding: 40px 32px;
    border-radius: 20px;
    border: 3px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.step:hover {
    transform: translateY(-8px);
    border-color: #dc2626;
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    border: 4px solid white;
}

.step-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.step p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 16px;
}

.step-time {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
}

.step-arrow {
    font-size: 48px;
    color: #dc2626;
    font-weight: 900;
}

/* Benefits */
.benefits {
    padding: 96px 24px;
    background: #fafafa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    border: 3px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.benefit-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.benefit h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #dc2626;
}

.benefit p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

/* Social Proof */
.social-proof {
    padding: 96px 24px;
    background: white;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 64px;
}

.stat-box {
    text-align: center;
    padding: 32px 24px;
    background: #fafafa;
    border-radius: 16px;
    border: 3px solid #e5e7eb;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    border-color: #dc2626;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #dc2626;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 600;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial {
    background: #fafafa;
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid #dc2626;
}

.quote {
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-style: italic;
}

.author {
    font-size: 14px;
    color: #6b7280;
    font-weight: 700;
}

/* FAQ */
.faq {
    padding: 96px 24px;
    background: #fafafa;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #dc2626;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 28px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #dc2626;
}

.faq-question span {
    font-size: 28px;
    color: #dc2626;
    font-weight: 900;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #6b7280;
    padding: 0 28px;
    font-size: 16px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

/* Final CTA */
.final-cta {
    padding: 96px 24px;
    background: white;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    padding: 64px 48px;
    border-radius: 24px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.3);
}

.cta-box h2 {
    color: white;
    margin-bottom: 24px;
}

.cta-box p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-stat strong {
    font-size: 32px;
    font-weight: 900;
    display: block;
    margin-bottom: 4px;
}

.cta-stat span {
    font-size: 14px;
    opacity: 0.9;
}

/* Form Section */
.form-section {
    padding: 96px 24px;
    background: #fafafa;
}

.form-header {
    text-align: center;
    margin-bottom: 48px;
}

.form-subtitle {
    font-size: 18px;
    color: #6b7280;
    font-weight: 600;
}

#leadForm {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 48px;
    border-radius: 24px;
    border: 3px solid #e5e7eb;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.form-progress {
    margin-bottom: 32px;
}

.progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    width: 50%;
    transition: width 0.3s ease;
    border-radius: 50px;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    font-weight: 700;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

#leadForm input,
#leadForm select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s;
    font-weight: 600;
}

#leadForm input:focus,
#leadForm select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

#leadForm select {
    margin-bottom: 16px;
}

.next-button,
.back-button {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.next-button {
    width: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
}

.next-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.button-row {
    display: flex;
    gap: 16px;
}

.back-button {
    flex: 1;
    background: #f3f4f6;
    color: #6b7280;
}

.back-button:hover {
    background: #e5e7eb;
}

#leadForm button[type="submit"] {
    flex: 2;
}

.disclaimer {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 24px;
    line-height: 1.6;
}

.disclaimer a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 64px 24px 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 32px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
    color: #dc2626;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #dc2626;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    margin: 8px 0;
    opacity: 0.7;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero .subheadline {
        font-size: 18px;
    }
    
    .savings-number {
        font-size: 48px;
    }
    
    .cost-preview h2,
    .how-it-works h2,
    .benefits h2,
    .social-proof h2,
    .faq h2,
    .final-cta h2,
    .form-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 12px;
    }
    
    #leadForm {
        padding: 32px 24px;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .timer-display {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .timer-number {
        font-size: 36px;
        min-width: 70px;
        padding: 12px 16px;
    }
    
    .urgency-text {
        text-align: center;
    }
    
    .cta-box {
        padding: 48px 32px;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .cost-card.featured {
        transform: scale(1);
    }
    
    .cost-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* Accessibility */
.cta-button:focus,
#leadForm input:focus,
#leadForm select:focus,
.faq-question:focus,
.next-button:focus,
.back-button:focus {
    outline: 3px solid #fca5a5;
    outline-offset: 2px;
}

/* Loading State */
.cta-button:disabled,
.next-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    .alert-bar,
    .form-section,
    footer {
        display: none;
    }
}
