/*
 * Styles for the partner pages: partners/index.php, resellers.php,
 * affiliates.php.
 *
 * Loaded through $extra_css in every partner page (see siteheader.php);
 * never add these rules to the site-wide /css/abacre.css.
 *
 * The pages share .page-hero and .cta-card; every other block is used by a
 * single page, so they are grouped per page below. Where two pages need the
 * same class name with different values the selector is scoped by its
 * page-specific parent (.step-card .step-number here).
 */

/* --- Shared by all partner pages --------------------------------------- */

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.page-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-card {
    background: linear-gradient(135deg, var(--accent-color), #ff6b8a);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}
.cta-card h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}
/* Primary-tinted variant (partners/index.php) */
.cta-card.cta-card-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* --- partners/index.php ------------------------------------------------ */

.partner-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(122, 122, 169, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(122, 122, 169, 0.15);
}
.partner-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: var(--white);
}
.partner-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.partner-card p {
    color: var(--text-muted);
    line-height: 1.7;
}
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}
.benefit-list li i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}
.benefit-list li span {
    color: var(--text-dark);
}

/* --- partners/resellers.php -------------------------------------------- */

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(122, 122, 169, 0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(122, 122, 169, 0.15);
}
.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}
.process-step h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.process-step p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 12px;
}
.benefit-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}
.benefit-item span {
    color: var(--text-dark);
}
.discount-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    color: var(--white);
}
.discount-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.discount-label {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}
.discount-example {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
}
.discount-example p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}
.discount-example strong {
    color: var(--white);
}

/* --- partners/affiliates.php ------------------------------------------- */

.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 5px 20px rgba(122, 122, 169, 0.1);
    transition: all 0.3s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(122, 122, 169, 0.15);
}
.step-card .step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}
.step-card h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}
.benefit-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}
.benefit-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.benefit-card h4 i {
    color: var(--accent-color);
}
.benefit-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}
