/* ============================================
   PARTNER PROGRAM PAGE SPECIFIC STYLES
   WiFiHapa - Partner Program & Affiliate Styles
   ============================================ */
/* Main Content */
.main-content {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Hero Section */
.partner-hero {
    background: linear-gradient(145deg, #edf4ff 0%, #ffffff 100%);
    padding: 2.5rem 2rem;
    border-radius: 48px;
    margin: 1.5rem 0 2rem;
    border: 1px solid rgba(13, 110, 253, 0.05);
    transition: var(--transition, all 0.3s ease);
}

body.dark .partner-hero {
    background: var(--hero-bg, linear-gradient(145deg, #111827 0%, #1e2538 100%));
}

@media (max-width: 768px) {
    .partner-hero {
        padding: 1.5rem;
    }

    .partner-hero h1 {
        font-size: 1.8rem;
    }
}

.partner-badge {
    background: #0d6efd;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* Partner Cards */
.partner-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
    transition: var(--transition, all 0.25s ease);
    height: 100%;
    text-align: center;
}

body.dark .partner-card {
    background: var(--card-bg, #1e2538);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg, 0 12px 30px rgba(13, 110, 253, 0.08));
}

.partner-icon {
    font-size: 2rem;
    color: #0d6efd;
    background: #e4edff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto 1rem auto;
}

body.dark .partner-icon {
    background: #2a3448;
}

.partner-icon-gold {
    background: #fff3d6;
    color: #d4a11e;
}

.partner-icon-green {
    background: #e1f5e8;
    color: #198754;
}

.partner-icon-purple {
    background: #e2d9f3;
    color: #6f42c1;
}

/* Benefit Cards */
.benefit-card {
    background: var(--card-bg, white);
    border-radius: 24px;
    padding: 1.2rem;
    border: 1px solid #e9ecef;
    height: 100%;
    transition: var(--transition, all 0.2s ease);
}

body.dark .benefit-card {
    background: var(--card-bg, #1e2538);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
}

.benefit-icon {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-bottom: 0.8rem;
}

/* Tier Cards */
.tier-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.8rem;
    border: 2px solid #e9ecef;
    transition: var(--transition, all 0.2s ease);
    height: 100%;
    position: relative;
}

body.dark .tier-card {
    background: var(--card-bg, #1e2538);
    border-color: var(--border-light, rgba(255, 255, 255, 0.1));
}

.tier-card:hover {
    border-color: #0d6efd;
    transform: translateY(-5px);
}

.tier-card.popular {
    border-color: #d4a11e;
    background: linear-gradient(145deg, var(--card-bg, white), rgba(212, 161, 30, 0.05));
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #d4a11e;
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.tier-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary, #0a2c3d);
    margin: 1rem 0;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.tier-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary, #5e6f7d);
}

.tier-features i.fa-check {
    color: #198754;
}

.tier-features i.fa-times {
    color: #dc3545;
}

/* Success Stories */
.stories-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.8rem;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
}

body.dark .stories-card {
    background: var(--card-bg, #1e2538);
}

.story-icon {
    width: 80px;
    height: 80px;
    background: var(--badge-light-bg, #f8fafd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: #0d6efd;
}

body.dark .story-icon {
    background: var(--badge-light-bg, #2a3448);
}

/* Application Form */
.application-form {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid var(--border-light, #e9ecef);
}

body.dark .application-form {
    background: var(--card-bg, #1e2538);
}

@media (max-width: 768px) {
    .application-form {
        padding: 1.2rem;
    }
}

.form-control,
.form-select {
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #e9ecef;
    background: var(--input-bg, white);
    color: var(--text-primary, #0a2c3d);
}

body.dark .form-control,
body.dark .form-select {
    background: var(--input-bg, #2d3748);
    border-color: var(--border-light, rgba(255, 255, 255, 0.05));
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
    outline: none;
}

.btn-submit {
    background: #0d6efd;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    color: white;
    width: 100%;
    transition: var(--transition, all 0.2s ease);
    cursor: pointer;
}

.btn-submit:hover {
    background: #0b5ed7;
    transform: scale(0.98);
}

/* FAQ Card */
.faq-card {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 1.8rem;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
}

body.dark .faq-card {
    background: var(--card-bg, #1e2538);
}

.faq-card h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.faq-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: var(--card-bg, white);
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.02));
}

body.dark .cta-section {
    background: var(--card-bg, #1e2538);
}

/* Section Title */
.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary, #0a2c3d);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* Success Modal */
.modal-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-success-content {
    background: var(--card-bg, white);
    max-width: 400px;
    width: 90%;
    border-radius: 28px;
    padding: 1.5rem;
    text-align: center;
    animation: slideDown 0.3s ease;
}

body.dark .modal-success-content {
    background: var(--card-bg, #1e2538);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tier-card {
        padding: 1.2rem;
    }

    .tier-price {
        font-size: 1.5rem;
    }

    .partner-card {
        padding: 1.2rem;
    }

    .partner-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .tier-features li {
        font-size: 0.75rem;
    }

    .btn-submit {
        padding: 0.7rem 1rem;
    }
}