/* =========================================
   1. Header & Navigation (Styles moved to base.css)
   ========================================= */

/* Mobile Menu Button (Styles moved to base.css) */


/* =========================================
   2. Hero Section
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-trust-badges {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.hero-image-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-mini-calc {
    padding: 2rem;
}

.hero-mini-calc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.hero-mini-calc-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.hero-mini-calc-title .material-symbols-outlined {
    color: var(--accent-color);
}

.hero-mini-calc-badge {
    background: var(--bg-accent-soft);
    color: var(--primary-color);
    border: 1px solid rgba(37, 99, 235, 0.25);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.hero-mini-calc-body {
    display: grid;
    gap: 0.9rem;
}

.hero-mini-calc-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-mini-calc-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-mini-calc-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.hero-mini-calc-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    font-weight: 700;
}

.hero-mini-calc-result {
    background: var(--bg-accent-soft);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.hero-mini-calc-result-label {
    color: var(--text-secondary);
    font-weight: 700;
}

.hero-mini-calc-result-value {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-mini-calc-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-mini-calc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}

/* =========================================
   3. Trust Strip
   ========================================= */
.trust-strip {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-lg);
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    text-align: center;
}

.savings-banner {
    background: transparent;
    padding: 1rem 0 0;
}

.savings-bar {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    max-width: 1100px;
    margin: 0 auto 1rem;
    padding: 0.6rem 1rem; /* compact padding ~40% reduction */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

.savings-input-group {
    display: grid;
    gap: 0.5rem;
}

.savings-inline-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.savings-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.savings-input {
    width: 100%;
    max-width: 220px;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.savings-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.savings-text {
    color: var(--text-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.savings-amount {
    color: var(--accent-color);
    font-weight: 900;
}

.savings-pill {
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.savings-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--accent-color);
}

.savings-cta {
    margin-left: 0;
    white-space: nowrap;
    padding: 0.5rem 0.9rem;
}

@media (max-width: 768px) {
    .savings-input {
        max-width: 100%;
        flex: 1 1 220px;
    }
}

.savings-banner + .offerings-section {
    padding-top: 2.5rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* =========================================
   4. Offerings Section
   ========================================= */
.offerings-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.tool-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.tool-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--bg-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.tool-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.tool-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.tool-link span {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.tool-link:hover span {
    transform: translateX(4px);
}

/* =========================================
   5. Why Section
   ========================================= */
.why-section {
    padding: 6rem 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

.check-icon {
    color: var(--success-color);
    font-size: 1.25rem;
}

/* =========================================
   6. Steps Section
   ========================================= */
.steps-section {
    padding: 6rem 0;
    background: var(--bg-accent);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* =========================================
   7. FY Section
   ========================================= */
.fy-section {
    padding: 4rem 0;
    background: white;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.fy-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.fy-badge {
    padding: 0.75rem 1.5rem;
    background: var(--bg-input);
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.fy-badge.active {
    background: var(--bg-accent-soft);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

/* =========================================
   8. Resources Section
   ========================================= */
.resources-section {
    padding: 6rem 0;
    background: var(--bg-body);
}

/* =========================================
   9. Compliance Section
   ========================================= */
.compliance-section {
    padding: 4rem 0;
    background: white;
}

.compliance-box {
    background: var(--bg-input);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-color);
}

/* =========================================
   10. CTA Block
   ========================================= */
.cta-block-section {
    padding: 5rem 0;
    background: var(--text-primary);
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.cta-block-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-buttons-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* =========================================
   11. FAQ Section
   ========================================= */
.faq-section {
    padding: 3rem 0;
    background: white;
}
.faq-section .section-header h2 {
    margin-bottom: 1rem;
}

.faq-container {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: .25rem 0;
}
.faq-item + .faq-item {
    margin-top: .5rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    margin-top: .5rem;
    margin-bottom: 1rem;
}

/* =========================================
   12. Footer (Styles moved to base.css)
   ========================================= */


/* =========================================
   Responsive Media Queries
   ========================================= */
@media (max-width: 992px) {
    .hero-grid, .why-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }
    
    .hero-image-container {
        order: 2;
        margin-top: 2rem;
        transform: none;
    }

    .hero-actions, .hero-trust-badges {
        justify-content: center;
    }
}


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

    .trust-strip {
        display: none; /* Hide on mobile to save space */
    }

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

    .feature-list {
        grid-template-columns: 1fr;
    }
}
