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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 768px;
    margin: 0 auto;
}

/* Hero Section */
.calculator-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../../assets/cost-calculator-hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 1024px;
    padding: 48px 0;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content .highlight {
    color: #93c5fd;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.hero-btn.primary {
    background: #3b82f6;
    color: white;
}

.hero-btn.primary:hover {
    background: #2563eb;
}

.hero-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn.secondary:hover {
    background: white;
    color: #1e40af;
}

/* Quote Form Section */
.quote-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.quote-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.quote-content > p {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 50px;
}

/* Form-related styles are now in common/form.css */

/* Cost Breakdown Section */
.cost-breakdown {
    padding: 80px 0;
    background: white;
}

.cost-factors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.cost-factor-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cost-factor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.factor-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.factor-icon {
    width: 56px;
    height: 56px;
    background: #dbeafe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.factor-icon i {
    font-size: 1.75rem;
    color: #2563eb;
}

.factor-info {
    flex: 1;
}

.factor-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.factor-info p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

.factor-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.factor-list li {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid #e5e7eb;
}

.factor-list li:first-child {
    border-top: none;
    padding-top: 0;
}

.factor-list li i {
    color: #10b981;
    font-size: 1.25rem;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.factor-list li span {
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Savings Tips */
.savings-tips {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 16px;
    padding: 48px;
    color: white;
}

.savings-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: center;
}

.savings-left h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.savings-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.savings-left ul li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 1.125rem;
}

.savings-left ul li i {
    color: #93c5fd;
    font-size: 1.5rem;
    margin-right: 16px;
}

.savings-right {
    text-align: right;
}

.savings-btn {
    background: white;
    color: #2563eb;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.savings-btn:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cost-factors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .savings-content {
        grid-template-columns: 1fr;
    }

    .savings-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }

    .calculator-hero {
        min-height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

