/* ============= Landing Page Specific Styles ============= */

/* Exit Intent Popup */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.exit-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.exit-popup-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    max-width: 550px;
    width: 90%;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
    text-align: center;
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.exit-popup-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Before/After Comparison */
.before-after-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.comparison-card {
    text-align: center;
}

.comparison-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 16px;
}

.comparison-label:not(.success) {
    background: #ffebee;
    color: #c62828;
}

.comparison-label.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.comparison-arrow {
    font-size: 36px;
    color: var(--aggie-maroon);
}

/* Industry Cards */
.industry-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--aggie-maroon);
    box-shadow: 0 10px 30px rgba(80, 0, 0, 0.1);
    transform: translateY(-5px);
}

.industry-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--aggie-maroon), var(--brand-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.industry-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: var(--text-dark);
}

.industry-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

/* Workflow Steps */
.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 2px solid var(--border-light);
}

.workflow-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--aggie-maroon), var(--brand-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(80, 0, 0, 0.2);
}

.workflow-icon {
    font-size: 48px;
    color: var(--aggie-maroon);
    margin-bottom: 20px;
}

.workflow-step h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.workflow-step p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.workflow-time {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-dark);
    font-weight: 600;
}

.workflow-arrow {
    font-size: 30px;
    color: var(--brand-light);
    flex-shrink: 0;
}

/* Price Estimator */
.estimator-container {
    max-width: 800px;
    margin: 50px auto 0;
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--brand-light);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.option-btn {
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    padding: 30px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.option-btn:hover {
    border-color: var(--aggie-maroon);
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(80, 0, 0, 0.1);
}

.option-btn i {
    font-size: 36px;
    color: var(--aggie-maroon);
}

.option-btn span {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}

.option-btn small {
    color: var(--text-light);
    font-size: 13px;
}

.checkbox-grid {
    display: grid;
    gap: 15px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-option:hover {
    border-color: var(--brand-light);
    background: var(--white);
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"]:checked+span {
    color: var(--aggie-maroon);
    font-weight: 600;
}

.estimator-result {
    text-align: center;
}

.estimated-price {
    font-size: 64px;
    font-weight: bold;
    color: var(--aggie-maroon);
    margin: 20px 0;
    line-height: 1;
}

/* Why Choose Cards */
.why-choose-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    text-align: center;
    transition: all 0.3s ease;
}

.why-choose-card:hover {
    border-color: var(--aggie-maroon);
    box-shadow: 0 10px 30px rgba(80, 0, 0, 0.1);
    transform: translateY(-5px);
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--aggie-maroon), var(--brand-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.why-choose-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.why-choose-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Resource Cards */
.resource-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    text-align: center;
}

.resource-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #dc143c, #a00000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.resource-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.resource-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.simple-download-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.simple-download-form input[type="email"] {
    padding: 14px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .before-after-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        font-size: 28px;
    }

    .workflow-steps {
        flex-direction: column;
    }

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

    .estimator-container {
        padding: 30px 20px;
    }

    .option-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .option-btn {
        padding: 20px 15px;
    }

    .option-btn i {
        font-size: 28px;
    }

    .estimated-price {
        font-size: 48px;
    }

    .exit-popup-content {
        padding: 40px 25px;
    }
}
