/* ===== Global base ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: #2d3748;
    background-color: #ffffff;
    line-height: 1.6;
}

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

/* ===== Brand palette ===== */
:root {
    --orange-main: #ff8a00;
    --orange-hover: #e07b00;
    --blue-bg: #0052cc;
    --blue-dark-footer: #06152d;
    --text-dark: #0c1a30;
    --text-muted: #5a6e85;
    --light-blue-section: #f0f6fc;
}

/* ===== 1. HERO ===== */
.hero {
    position: relative;
    background: linear-gradient(to right, rgba(12, 26, 48, 0.95) 45%, rgba(12, 26, 48, 0.3) 70%, rgba(12, 26, 48, 0.1) 100%),
                url('../img/hero.jpg') no-repeat center center;
    background-size: cover;
    padding: 80px 0 70px 0;
    color: #ffffff;
}

.hero-content {
    max-width: 550px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--orange-main);
}

.hero p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Shared orange button */
.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--orange-main);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 138, 0, 0.3);
    transition: background 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-orange:hover {
    background-color: var(--orange-hover);
}

.btn-orange span {
    margin-left: 15px;
    font-size: 20px;
}

/* Trust badges */
.trust-badges {
    display: flex;
    gap: 30px;
    margin-top: 45px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
}

.badge-item svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    opacity: 0.9;
}

/* ===== Section title ===== */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 3px;
}

/* ===== 2. WHY UPGRADE ===== */
.why-upgrade {
    padding: 70px 0;
    background-color: #ffffff;
}

.why-upgrade .section-title::after {
    background-color: var(--orange-main);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 10px;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: #3182ce;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== 3. BEFORE / AFTER ===== */
.difference-section {
    padding: 70px 0;
    background-color: var(--light-blue-section);
}

.difference-section .section-title::after {
    background-color: var(--blue-bg);
}

.comparison-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.img-box {
    position: relative;
    flex: 1;
    height: 340px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.label-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-before { background-color: #2d3748; }
.label-after { background-color: #0066ff; }

.arrow-divider {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 10;
    margin: 0 -25px;
    color: #0066ff;
}

.arrow-divider svg {
    width: 24px;
    height: 24px;
}

/* ===== 4. TESTIMONIALS ===== */
.testimonials {
    padding: 70px 0;
    background-color: #ffffff;
}

.testimonials .section-title::after {
    background-color: var(--blue-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: #ffb400;
    margin-bottom: 15px;
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.review-text {
    font-size: 15px;
    color: #1a202c;
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 25px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details .name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.user-details .location {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== 5. FOOTER CTA ===== */
.footer-cta {
    background-color: var(--blue-bg);
    color: white;
    padding: 40px 0;
}

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

.cta-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.cta-text p {
    font-size: 16px;
    color: #e2e8f0;
}

.cta-action-box {
    text-align: center;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 10px;
}

.cta-note svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* ===== 6. FOOTER LINKS ===== */
.footer-bottom {
    background-color: var(--blue-dark-footer);
    color: #718096;
    padding: 20px 0;
    font-size: 12px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #718096;
    text-decoration: none;
    margin-left: 20px;
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .comparison-container,
    .cta-flex,
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .trust-badges {
        justify-content: center;
    }
    .arrow-divider {
        margin: -15px 0;
        transform: rotate(90deg);
    }
    .footer-links {
        margin-top: 10px;
    }
    .footer-links a {
        margin: 0 10px;
    }
}
