/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.quote-generator-page {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 100%);
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
    padding: 20px 0;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #15803d;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-section h1 {
    font-size: 56px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
    background: linear-gradient(135deg, #0f172a 0%, #166534 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #166534;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-feature-item {
    background: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 15px;
    color: #1e293b;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-feature-item .check {
    color: #15803d;
    font-weight: 800;
    font-size: 18px;
}

.hero-actions {
    margin-top: 10px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #166534, #15803d);
    color: white;
    padding: 16px 42px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(22, 101, 52, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(22, 101, 52, 0.45);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: left;
    margin-bottom: 40px;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: #15803d;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.section-header.centered h2 {
    text-align: center;
}

/* ===== SECTION 1: WHAT IS ===== */
.section-what-is {
    background: white;
    border-radius: 32px;
    padding: 50px 50px 40px;
    margin-bottom: 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.what-is-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.what-is-text p {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
}

.what-is-text p:last-of-type {
    margin-bottom: 28px;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border-left: 4px solid #15803d;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #f0fdf4;
    transform: translateX(6px);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* What Is Visual */
.what-is-visual {
    position: sticky;
    top: 20px;
}

.visual-box {
    background: linear-gradient(145deg, #0f172a, #1a2e3a);
    color: white;
    padding: 36px 28px 30px;
    border-radius: 24px;
    text-align: center;
}

.visual-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.visual-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.visual-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    text-align: left;
}

.visual-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.visual-box ul li:last-child {
    border-bottom: none;
}

.visual-box ul li span {
    color: #4ade80;
    font-weight: 700;
}

.btn-visual {
    display: inline-block;
    background: white;
    color: #166534;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    width: 100%;
}

.btn-visual:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ===== SECTION 2: WHY USE ===== */
.section-why-use {
    background: white;
    border-radius: 32px;
    padding: 50px 50px 40px;
    margin-bottom: 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.why-use-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-use-text {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 40px;
}

.why-use-text p {
    color: #475569;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 16px;
}

.why-use-text p:last-child {
    margin-bottom: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.benefit-card {
    background: #f8fafc;
    padding: 28px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.12);
    background: white;
    border-color: #15803d;
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 14px;
    display: block;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.highlight-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    padding: 20px 28px;
    border-radius: 16px;
    margin-bottom: 36px;
}

.highlight-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.highlight-text p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #14532d;
    font-weight: 600;
}

.why-cta {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid #15803d;
    color: #15803d;
    padding: 14px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #15803d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 101, 52, 0.25);
}

/* ===== SECTION 3: FEATURES ===== */
.section-features {
    background: white;
    border-radius: 32px;
    padding: 50px 50px 40px;
    margin-bottom: 80px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.feature-card-large {
    background: #f8fafc;
    padding: 30px 24px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s;
}

.feature-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.1);
    border-color: #15803d;
    background: white;
}

.feature-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.feature-card-large h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.feature-card-large p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.features-cta {
    text-align: center;
}

/* ===== SECTION 4: FINAL CTA ===== */
.section-final-cta {
    margin-top: 20px;
}

.final-cta-card {
    background: linear-gradient(145deg, #0f172a, #1a3a2a);
    border-radius: 32px;
    padding: 60px 48px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.08), transparent 70%);
    border-radius: 50%;
}

.final-cta-icon {
    font-size: 56px;
    margin-bottom: 16px;
    position: relative;
}

.final-cta-card h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.final-cta-card p {
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    line-height: 1.7;
    position: relative;
}

.btn-large {
    display: inline-block;
    background: white;
    color: #166534;
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .what-is-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .what-is-visual {
        position: static;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section h1 {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .quote-generator-page {
        padding: 40px 0;
    }

    .hero-section {
        margin-bottom: 50px;
        padding: 0;
    }

    .hero-section h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-feature-item {
        width: 100%;
        justify-content: center;
    }

    .btn-primary {
        font-size: 16px;
        padding: 14px 28px;
        width: 100%;
    }

    .section-what-is,
    .section-why-use,
    .section-features {
        padding: 30px 20px;
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }

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

    .benefit-card {
        padding: 20px 16px;
    }

    .benefit-icon {
        font-size: 32px;
    }

    .benefit-card h3 {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .highlight-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .highlight-text p {
        font-size: 15px;
    }

    .final-cta-card {
        padding: 40px 24px;
    }

    .final-cta-card h2 {
        font-size: 26px;
    }

    .final-cta-card p {
        font-size: 16px;
    }

    .btn-large {
        font-size: 15px;
        padding: 14px 24px;
        width: 100%;
    }

    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .visual-box {
        padding: 28px 20px;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .feature-card {
        padding: 14px 16px;
    }
}