/* SolarEspaña - Landing Page CSS */
/* Solar Panel Installation Landing Page for Spanish Market */

/* Solar Color Palette:
   Primary Gold: #f7b801 (Sun)
   Warm Orange: #ff8c42 (Sunset) 
   Natural Green: #52b788 (Nature)
   Sky Blue: #219ebc (Clear Sky)
   Soft Cream: #fefae0 (Soft Light)
   Dark Green: #2d6a4f (Forest)
*/

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d6a4f;
    background-color: #fefae0;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, #f7b801 0%, #ff8c42 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    color: #52b788;
    font-size: 2rem;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.phone {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.phone:hover {
    background: rgba(255,255,255,0.2);
}

.trust-badge {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.trust-badge i {
    color: #64748b;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::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="professionalGrid" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%231a365d" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23professionalGrid)"/></svg>');
    z-index: 0;
}

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

.hero h1 {
    font-size: 3.5rem;
    color: #f7b801;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.price-highlight {
    color: #52b788;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    padding: 0.2rem 0.8rem;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #5a6c7d;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #059669;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.benefit-icon {
    color: #52b788;
    font-size: 1.8rem;
    min-width: 40px;
}

.benefit-item span {
    font-weight: 500;
    color: #2c3e50;
}

.cta-section {
    margin-top: 4rem;
}

.guarantee-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(44, 90, 160, 0.1);
    color: #f7b801;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    border: 2px solid rgba(44, 90, 160, 0.2);
}

.main-cta {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin: 2rem 0;
    border: 1px solid #e9ecef;
}

.main-cta h3 {
    font-size: 2rem;
    color: #f7b801;
    margin-bottom: 1rem;
    font-weight: 700;
}

.main-cta p {
    color: #5a6c7d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: linear-gradient(135deg, #f7b801 0%, #ff8c42 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.35);
    background: linear-gradient(135deg, #ff8c42 0%, #2d6a4f 100%);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button.large {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #52b788 0%, #2d6a4f 100%);
    box-shadow: 0 6px 20px rgba(47, 125, 50, 0.25);
}

.cta-button.secondary:hover {
    box-shadow: 0 8px 25px rgba(47, 125, 50, 0.35);
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4f32 100%);
}

.final-guarantee {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Comparison Section - Mobile First */
.comparison {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.comparison h2 {
    font-size: 2.8rem;
    color: #f7b801;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== GRID DE ESTADÍSTICAS TIPO DASHBOARD ===== */
/* Mobile-First: Dashboard con estadísticas impactantes */
.stats-dashboard {
    position: relative;
    margin: 2rem 0 3rem 0;
    padding: 30px 20px;
    background: linear-gradient(135deg, #fefae0 0%, #fff7ed 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(247, 184, 1, 0.1);
}

/* === FILAS DEL DASHBOARD === */
.stats-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
}

.stats-row.main-stat {
    align-items: center;
}

.stats-row.key-stats {
    flex-direction: row;
    gap: 8px;
}

.stats-row.benefits {
    flex-direction: column;
    gap: 10px;
}

.stats-row.cta-row {
    align-items: center;
    margin-top: 25px;
}

/* === TARJETA PRINCIPAL (MEGA STAT) === */
.stat-card.mega-card {
    background: linear-gradient(135deg, #f7b801 0%, #ff8c42 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(247, 184, 1, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.mega-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(247, 184, 1, 0.3);
}

.mega-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.mega-card:hover::before {
    left: 100%;
}

.mega-card .stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.mega-card .stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mega-card .stat-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.95;
    line-height: 1.2;
}

.mega-card .stat-comparison {
    font-size: 12px;
    opacity: 0.85;
    margin-bottom: 12px;
    line-height: 1.3;
}

.mega-card .stat-trend {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,0.25);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* === TARJETAS ESTADÍSTICAS PEQUEÑAS === */
.stat-card {
    background: white;
    padding: 15px 12px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(247, 184, 1, 0.1);
    border: 1px solid rgba(247, 184, 1, 0.2);
    flex: 1;
    min-width: 0;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 184, 1, 0.2);
    border-color: #f7b801;
}

.stat-card .stat-icon.small {
    font-size: 20px;
    color: #f7b801;
    margin-bottom: 8px;
}

.stat-card .stat-number.small {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d6a4f;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 11px;
    color: #2d6a4f;
    font-weight: 600;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* === TARJETAS DE BENEFICIOS === */
.benefit-card {
    background: linear-gradient(135deg, #52b788 0%, #219ebc 100%);
    color: white;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 183, 136, 0.25);
}

.benefit-icon {
    font-size: 18px;
    opacity: 0.9;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.benefit-content {
    flex: 1;
    min-width: 0;
}

.benefit-title {
    font-size: 19px;
    opacity: 0.9;
    margin-bottom: 2px;
    line-height: 1.2;
}

.benefit-value {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

/* === CTA DEL DASHBOARD === */
.dashboard-cta {
    background: linear-gradient(135deg, #2d6a4f 0%, #1b4f32 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.2);
}

.dashboard-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.3);
}

.dashboard-cta .cta-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    flex: 1;
}

.dashboard-cta .cta-arrow {
    font-size: 16px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dashboard-cta:hover .cta-arrow {
    transform: translateX(3px);
}

/* === VERSIÓN DESKTOP DEL DASHBOARD === */
@media (min-width: 768px) {
    .stats-dashboard {
        padding: 40px;
        background: radial-gradient(circle at center, #fefae0 0%, #fff7ed 100%);
    }
    
    .stats-row.key-stats {
        flex-direction: row;
        gap: 20px;
    }
    
    .stats-row.benefits {
        flex-direction: row;
        gap: 15px;
    }
    
    .stat-card.mega-card {
        max-width: 500px;
        padding: 35px 30px;
    }
    
    .mega-card .stat-icon {
        font-size: 40px;
    }
    
    .mega-card .stat-number {
        font-size: 3.5rem;
    }
    
    .mega-card .stat-label {
        font-size: 16px;
    }
    
    .mega-card .stat-comparison {
        font-size: 13px;
    }
    
    .mega-card .stat-trend {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-card .stat-icon.small {
        font-size: 24px;
    }
    
    .stat-card .stat-number.small {
        font-size: 2rem;
    }
    
    .stat-card .stat-label {
        font-size: 13px;
    }
    
    .benefit-card {
        padding: 16px 20px;
        flex: 1;
    }
    
    .benefit-icon {
        font-size: 20px;
    }
    
    .benefit-title {
        font-size: 19px;
    }
    
    .benefit-value {
        font-size: 16px;
    }
    
    .dashboard-cta {
        max-width: 400px;
        padding: 18px 30px;
    }
    
    .dashboard-cta .cta-content {
        font-size: 16px;
    }
    
    .dashboard-cta .cta-arrow {
        font-size: 18px;
    }
}

/* Comparison Summary */
.comparison-summary {
    margin: 2.5rem 0;
    background: linear-gradient(135deg, #f7b801 0%, #ff8c42 100%);
    color: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 12px 35px rgba(44, 90, 160, 0.25);
    margin-left: 10px;
    margin-right: 10px;
}

.summary-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.summary-content h3 i {
    color: #64748b;
    font-size: 2rem;
}

.summary-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: center;
}

.cta-after-comparison {
    text-align: center;
    margin-top: 2.5rem;
    padding: 0 15px;
}

.cta-note {
    margin-top: 1rem;
    color: #5a6c7d;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.4;
}

/* Improve comparison section for mobile */
@media (max-width: 768px) {
    .comparison-mobile {
        gap: 1rem;
        margin: 1.5rem 0 2.5rem 0;
        padding: 0;
    }
    
    .comparison-card {
        padding: 1.25rem;
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }
    
    .comparison-card-header {
        gap: 0.6rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.6rem;
    }
    
    .comparison-icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        font-size: 0.9rem;
    }
    
    .comparison-card-header h3 {
        font-size: 1rem;
        font-weight: 700;
    }
    
    .clickable-comparison .comparison-card-header::after {
        font-size: 12px;
    }
    
    .option-item {
        padding: 0.7rem 0.9rem;
        border-radius: 6px;
        margin-bottom: 0.4rem;
    }
    
    .option-label {
        font-size: 0.85rem;
    }
    
    .option-value {
        font-size: 0.9rem;
        font-weight: 700;
    }
    
    .clickable-comparison::before {
        border-width: 0 16px 16px 0;
    }
    
    .clickable-comparison::after {
        bottom: 6px;
        right: 6px;
        font-size: 9px;
        padding: 1px 4px;
        border-radius: 8px;
    }
    
    .cta-after-comparison .cta-button {
        width: 100%;
        max-width: 350px;
        padding: 1.1rem 2rem;
        font-size: 1.1rem;
    }
    
    .comparison-summary {
        margin: 2rem 0;
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .summary-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .cta-note {
        font-size: 0.85rem;
        margin-top: 1.2rem;
        padding: 0 10px;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.features h2 {
    font-size: 2.8rem;
    color: #f7b801;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #52b788, #f7b801);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
}

.feature-icon {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.feature-card h3 {
    color: #f7b801;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: #5a6c7d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #5a6c7d;
    font-size: 0.95rem;
}

.feature-list i {
    color: #52b788;
    font-size: 0.8rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.testimonials h2 {
    font-size: 2.8rem;
    color: #f7b801;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #059669;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: rgba(76, 175, 80, 0.1);
    font-weight: bold;
}

.stars {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-card p {
    color: #5a6c7d;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: #f7b801;
    display: block;
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    color: #888;
    font-size: 0.9rem;
}

/* Final CTA Section */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7b801 0%, #ff8c42 100%);
    color: white;
    text-align: center;
}

.final-cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.final-cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.final-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.final-benefit {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.final-benefit i {
    color: #52b788;
    font-size: 1.2rem;
}

.final-note {
    margin-top: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.final-note strong {
    color: #52b788;
    font-weight: 600;
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #b0bec5;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    color: #52b788;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #b0bec5;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-column li:not(:has(a)) {
    color: #b0bec5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column i {
    color: #52b788;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #37474f;
    padding-top: 2rem;
    text-align: center;
    color: #b0bec5;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    margin: 2% auto;
    border-radius: 24px;
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(30, 58, 95, 0.2);
    border: 1px solid rgba(30, 58, 95, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #f7b801 0%, #ff8c42 100%);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 25px 25px 0 0;
    text-align: center;
    position: relative;
}

.close {
    color: white;
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
}

.close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.modal-header h2 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.modal-body {
    padding: 2.5rem 2rem;
}

/* Progress Bar */
.progress-container {
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
    height: 8px;
    margin: 1.5rem 0 0.5rem;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #4CAF50, #45a049);
    height: 100%;
    width: 14.28%; /* 1/7 steps */
    transition: width 0.4s ease;
    border-radius: 10px;
}

.step-info {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Form Steps */
.form-step {
    display: none;
    min-height: 300px;
}

.form-step.active {
    display: block;
    animation: fadeInSlide 0.4s ease-out;
}

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

.form-step h4 {
    font-size: 1.4rem;
    color: #f7b801;
    margin-bottom: 2rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* Radio Groups */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-button {
    display: block;
    padding: 1.2rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.radio-option input[type="radio"]:checked + .radio-button {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-color: #52b788;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.radio-button:hover {
    border-color: #52b788;
    background: #f0f8f0;
    transform: translateY(-1px);
}

.radio-text {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.radio-option input[type="radio"]:checked + .radio-button .radio-text {
    color: #f7b801;
    font-weight: 600;
}

/* Input Groups */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #f7b801;
    font-weight: 600;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #52b788;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
    transform: translateY(-1px);
}

/* Validation States */
.input-group.error input,
.input-group.error select {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.input-group.success input,
.input-group.success select {
    border-color: #52b788;
}

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

.success-message {
    color: #52b788;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.input-group.error .error-message,
.privacy-notice.error .error-message {
    display: block;
}



.input-group.error input,
.input-group.error select {
    border-color: #dc3545;
}

.input-group.success input,
.input-group.success select {
    border-color: #52b788;
}

/* Privacy Notice */
.privacy-notice {
    margin: 2rem 0 1rem;
    text-align: left;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #059669;
    border-color: #52b788;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.privacy-text {
    font-size: 0.9rem;
    color: #5a6c7d;
    line-height: 1.5;
}

.privacy-text a {
    color: #f7b801;
    text-decoration: none;
}

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

/* Navigation Buttons */
.form-navigation {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 1rem;
}

.nav-button {
    padding: 0.9rem 2.5rem;
    border: 2px solid #2c5aa0;
    border-radius: 25px;
    background: white;
    color: #f7b801;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-button:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nav-button.next,
.nav-button.submit {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border-color: #52b788;
}

.nav-button.next:hover,
.nav-button.submit:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
}

/* Success/Error Messages */
.success-message,
.error-message-global {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    display: none;
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #4CAF50;
}

.error-message-global {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
}

.success-message i,
.error-message-global i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.success-message h3,
.error-message-global h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 3rem 2rem;
    display: none;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4CAF50;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
/* Tablet breakpoint - 2 items per line */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    
    header {
        position: relative;
    }
    
    .container {
        padding: 0 15px;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header-info {
        justify-content: center;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .guarantee-badges {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .main-cta {
        padding: 2rem 1.5rem;
    }

    .main-cta h3 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Comparison mobile optimizations */
    .comparison-mobile {
        padding: 0 5px;
        gap: 1rem;
    }

    .comparison-card {
        padding: 1.2rem;
        margin-bottom: 0.8rem;
        border-radius: 12px;
    }

    .comparison-card-header {
        gap: 0.6rem;
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }

    .comparison-card-header h3 {
        font-size: 1.1rem;
    }

    .comparison-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .option-item {
        padding: 0.8rem 1rem;
        border-radius: 8px;
    }

    .option-label {
        font-size: 0.85rem;
        font-weight: 500;
    }

    .option-value {
        font-size: 0.85rem;
        font-weight: 600;
    }

    .summary-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .comparison-summary {
        padding: 1.8rem 1.2rem;
        margin: 2rem 5px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .final-benefits {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .modal-content {
        margin: 1% auto;
        width: 95%;
        max-height: 95vh;
    }

    .modal-header,
    .modal-body {
        padding: 2rem 1.5rem;
    }

    .form-navigation {
        flex-direction: column;
    }

    .nav-button {
        width: 100%;
    }

    .final-cta-content h2 {
        font-size: 2.2rem;
    }

    .final-cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem 1rem;
    }

    .feature-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .comparison h2,
    .features h2,
    .testimonials h2 {
        font-size: 2.2rem;
    }

    /* Extra small screens - comparison optimizations */
    .comparison-mobile {
        padding: 0 3px;
    }

    .comparison-card {
        padding: 1rem;
        margin-bottom: 0.6rem;
        border-radius: 10px;
    }

    .comparison-card-header {
        gap: 0.5rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.5rem;
    }

    .comparison-card-header h3 {
        font-size: 1rem;
        line-height: 1.2;
    }

    .comparison-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .option-item {
        padding: 0.7rem 0.8rem;
        border-radius: 6px;
    }

    .option-label {
        font-size: 0.8rem;
    }

    .option-value {
        font-size: 0.8rem;
    }

    .comparison-summary {
        padding: 1.5rem 1rem;
        margin: 1.5rem 3px;
        border-radius: 12px;
    }

    .summary-content h3 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .summary-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        background: rgba(255,255,255,0.1);
        padding: 0.8rem;
        border-radius: 8px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .cta-note {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .modal-content {
        border: 3px solid #000;
    }
    
    .radio-button,
    .input-group input,
    .input-group select {
        border-width: 3px;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    /* Mobile touch optimizations */
    .comparison-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    
    .option-item:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .cta-button:active {
        transform: scale(0.98);
    }
}

/* Focus Indicators */
.cta-button:focus,
.nav-button:focus,
.close:focus {
    outline: 3px solid #4CAF50;
    outline-offset: 3px;
}

.radio-option input:focus + .radio-button {
    outline: 3px solid #4CAF50;
    outline-offset: 2px;
}

/* Better mobile scrolling */
.comparison-mobile {
    scroll-behavior: smooth;
}

/* Improve text legibility on mobile */
@media (max-width: 768px) {
    .option-value {
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .option-label {
        font-size: 0.85rem;
        font-weight: 500;
    }
    
    .comparison-card-header h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .comparison {
        padding: 60px 0;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* Enhanced mobile typography */
@media (max-width: 480px) {
    .comparison h2 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .options-grid {
        gap: 0.6rem;
    }
    
    .option-item.highlighted {
        transform: none;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
    }
}

/* Additional mobile improvements */
@media (max-width: 375px) {
    .comparison-mobile {
        padding: 0 2px;
    }
    
    .comparison-card {
        margin-left: 2px;
        margin-right: 2px;
        padding: 0.8rem;
    }
    
    .comparison-summary {
        margin-left: 2px;
        margin-right: 2px;
        padding: 1.2rem 0.8rem;
    }
    
    .option-item {
        padding: 0.6rem 0.8rem;
        gap: 0.3rem;
    }
    
    .option-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .option-value {
        font-size: 0.75rem;
    }
}

/* Improve visual hierarchy */
.comparison-card:nth-child(odd) {
    border-left-color: #2c5aa0;
}

.comparison-card:nth-child(even) {
    border-left-color: #52b788;
}

/* Thank You Modal Styles */
.thank-you-content {
    text-align: center;
    padding: 0;
}

.success-header {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 2rem 1.5rem;
    margin: -1.5rem -1.5rem 2rem -1.5rem;
    border-radius: 8px 8px 0 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.success-icon i {
    font-size: 2rem;
}

.success-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.phone-attention {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
}

.phone-icon {
    background: #2196F3;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon i {
    font-size: 1.2rem;
}

.phone-content h3 {
    color: #f7b801;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.phone-content p {
    margin: 0 0 1rem 0;
    color: #333;
    line-height: 1.5;
}

.important-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.feature-item i {
    color: #52b788;
    font-size: 1.5rem;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.next-steps {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.next-steps h4 {
    color: #f7b801;
    margin: 0 0 1rem 0;
    text-align: center;
    font-size: 1.1rem;
}

.next-steps ol {
    padding-left: 1.5rem;
    margin: 0;
}

.next-steps li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.thank-you-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto 0 auto;
    transition: all 0.3s ease;
}

.thank-you-button:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Privacy Policy Modal Styles */
.privacy-content {
    text-align: left;
    line-height: 1.6;
}

.privacy-content h4 {
    color: #f7b801;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.2rem;
}

.privacy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

.privacy-content strong {
    color: #f7b801;
}

/* Mobile adjustments for new modals */
@media (max-width: 768px) {
    .thank-you-content {
        padding: 0.5rem 0;
    }
    
    .thank-you-content p {
        font-size: 1rem;
    }
    
    .next-steps {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .privacy-content {
        font-size: 0.9rem;
    }
}



/* Print Styles */
@media print {
    .modal,
    .cta-button,
    .nav-button,
    header,
    footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .features,
    .comparison,
    .testimonials {
        padding: 1rem 0;
    }
    
    .comparison-card {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}