/* Why Different Page Specific Styles */

.why-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #FFF 0%, #FCE4EC 100%);
    text-align: center;
}

.why-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Problem Section */
.problem-section {
    padding: 6rem 0;
    background: var(--background);
}

.problem-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.intro-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E53935, #C62828);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon i {
    font-size: 1.8rem;
    color: white;
}

.problem-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.problem-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Typical Stack Section */
.typical-stack {
    padding: 6rem 0;
    background: var(--background-light);
}

.typical-stack h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stack-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.stack-logo {
    width: 70px;
    height: 70px;
    background: var(--background-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stack-logo i {
    font-size: 2rem;
    color: var(--text-light);
}

.stack-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.stack-purpose {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.stack-cost {
    background: var(--background-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cost-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.cost-detail {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.stack-issue {
    color: #E53935;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stack-issue i {
    font-size: 1rem;
}

.total-cost-box {
    background: linear-gradient(135deg, #E53935, #C62828);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.total-cost-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.total-amount {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.total-note {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hidden-costs {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.hidden-costs h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hidden-costs ul {
    list-style: none;
}

.hidden-costs ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.hidden-costs i {
    font-size: 1.2rem;
}

/* Solution Section */
.solution-section {
    padding: 6rem 0;
    background: var(--background);
}

.solution-header {
    text-align: center;
    margin-bottom: 4rem;
}

.solution-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.solution-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.before-after {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.before-box,
.after-box {
    padding: 2.5rem;
    border-radius: 12px;
    border: 3px solid;
}

.before-box {
    background: #FFEBEE;
    border-color: #E53935;
}

.after-box {
    background: #E8F5E9;
    border-color: var(--success);
}

.before-box h3,
.after-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.before-box h3 {
    color: #E53935;
}

.after-box h3 {
    color: var(--success);
}

.before-box ul,
.after-box ul {
    list-style: none;
}

.before-box ul li,
.after-box ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.before-box ul li:last-child,
.after-box ul li:last-child {
    border-bottom: none;
}

.included-features {
    margin-top: 4rem;
}

.included-features h3 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature-replace {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.feature-replace:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow);
}

.replaces {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-replace h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-replace p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Savings Section */
.savings-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.savings-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.savings-calculator {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow);
    max-width: 1000px;
    margin: 3rem auto 0;
}

.calculator-inputs h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.cost-inputs {
    display: grid;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cost-input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.cost-input-row label {
    font-weight: 500;
    color: var(--text-dark);
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 2px solid var(--border-color);
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
}

.currency {
    font-weight: 700;
    color: var(--text-light);
}

.input-wrapper input {
    border: none;
    outline: none;
    width: 100px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.savings-results {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.result-box {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    min-width: 200px;
}

.result-box.current {
    background: #FFEBEE;
    border: 2px solid #E53935;
}

.result-box.emembership {
    background: #E3F2FD;
    border: 2px solid var(--primary-color);
}

.result-box.savings {
    background: #E8F5E9;
    border: 2px solid var(--success);
}

.result-box h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.result-box.current .result-amount {
    color: #E53935;
}

.result-box.emembership .result-amount {
    color: var(--primary-color);
}

.result-box.savings .result-amount {
    color: var(--success);
}

.result-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.result-arrow {
    font-size: 2rem;
    color: var(--primary-color);
}

.savings-benefits {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
}

.savings-benefits h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.savings-benefits h4 i {
    color: var(--primary-color);
}

.savings-benefits ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.savings-benefits ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.savings-benefits i {
    color: var(--success);
}

/* Responsive Design */
@media (max-width: 992px) {
    .why-hero h1 {
        font-size: 2.8rem;
    }

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

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

    .stack-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .before-after {
        grid-template-columns: 1fr;
    }

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

    .savings-results {
        flex-direction: column;
    }

    .result-arrow {
        transform: rotate(90deg);
    }

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

@media (max-width: 768px) {
    .why-hero {
        padding: 4rem 0 3rem;
    }

    .why-hero h1 {
        font-size: 2.2rem;
    }

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

    .problem-section,
    .typical-stack,
    .solution-section,
    .savings-section {
        padding: 4rem 0;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .total-amount {
        font-size: 2.5rem;
    }

    .savings-calculator {
        padding: 2rem 1.5rem;
    }

    .cost-input-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .result-amount {
        font-size: 2rem;
    }
}
