/* ======================================================
   Partners Page — Distributors & Clients
   ====================================================== */

/* ── Hero header ───────────────────────────────────────── */
.partners-header {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.partners-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 120, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.partners-header .page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 6px 18px;
    margin-bottom: 32px;
}

.partners-header .page-tag span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4d8fff;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.partners-header h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.partners-header h1 .accent {
    background: linear-gradient(135deg, #4d8fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partners-header .lead-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    line-height: 1.7;
}

.partners-header .stats-row {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partners-header .stat-item .num {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.partners-header .stat-item .label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ── Section labels ─────────────────────────────────────── */
.section-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4d8fff;
    margin-bottom: 16px;
    font-weight: 500;
}

/* ── Distributors section ───────────────────────────────── */
.distributors-section {
    padding: 100px 0;
    position: relative;
}

.distributors-section .sec-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.distributors-section .sec-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 60px;
}

/* Distributor cards */
.distributor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.dist-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
    cursor: default;
}

.dist-card:hover {
    border-color: rgba(77, 143, 255, 0.4);
    background: rgba(77, 143, 255, 0.06);
    transform: translateY(-4px);
}

.dist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4d8fff, #a78bfa);
    opacity: 0;
    transition: opacity 0.3s;
}

.dist-card:hover::before {
    opacity: 1;
}

.dist-card .card-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.badge-authorized {
    background: rgba(77, 143, 255, 0.15);
    color: #4d8fff;
    border: 1px solid rgba(77, 143, 255, 0.25);
}

.badge-premium {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.25);
}

.badge-regional {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.badge-certified {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.dist-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
}

.dist-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.dist-card .region {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dist-card .region i {
    font-size: 12px;
}

.dist-card .desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin-bottom: 24px;
}

.dist-card .card-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.dist-card .contact-email {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.dist-card .contact-email a {
    color: #4d8fff;
    text-decoration: none;
    transition: color 0.2s;
}

.dist-card .contact-email a:hover {
    color: #fff;
}

.dist-card .arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
    flex-shrink: 0;
}

.dist-card:hover .arrow-btn {
    background: #4d8fff;
    border-color: #4d8fff;
}

.dist-card .arrow-btn img {
    width: 14px;
    filter: invert(1);
}

/* ── Become a distributor CTA band ──────────────────────── */
.dist-cta-band {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.dist-cta-band h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.dist-cta-band p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    max-width: 460px;
}

.dist-cta-band .cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-primary-solid {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #fff;
    color: #000e30;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.2s;
    border: 1px solid transparent;
}

.btn-primary-solid:hover {
    background: #4d8fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.25s, color 0.25s, transform 0.2s;
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Clients section ────────────────────────────────────── */
.clients-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.clients-section .sec-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.clients-section .sec-desc {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 60px;
}

/* Clients logo grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.client-logo-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s;
    position: relative;
}

.client-logo-cell:hover {
    background: rgba(255, 255, 255, 0.06);
}

.client-logo-cell img {
    max-height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: opacity 0.3s;
}

.client-logo-cell:hover img {
    opacity: 1;
}

.client-logo-cell .client-name-fallback {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.client-logo-cell:hover .client-name-fallback {
    color: rgba(255, 255, 255, 0.9);
}

/* Clients marquee strip */
.clients-marquee-wrap {
    overflow: hidden;
    margin-top: 48px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

.clients-marquee-wrap::before,
.clients-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, #000e30, transparent);
}

.clients-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, #000e30, transparent);
}

.marquee-track {
    display: flex;
    gap: 60px;
    animation: marquee-scroll 30s linear infinite;
    width: max-content;
    align-items: center;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    transition: border-color 0.3s, color 0.3s;
}

.marquee-logo-item img {
    height: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
}

/* ── Testimonial strip ──────────────────────────────────── */
.testimonials-strip {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.testimonials-strip .sec-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 48px;
}

.testim-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.testim-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px;
    transition: border-color 0.3s;
}

.testim-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.testim-card .quote-icon {
    font-size: 28px;
    color: #4d8fff;
    margin-bottom: 16px;
    opacity: 0.7;
    font-family: Georgia, serif;
    line-height: 1;
}

.testim-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.testim-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.testim-card .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(77, 143, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.testim-card .author-info .name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.testim-card .author-info .role {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

/* ── Become a partner final CTA ─────────────────────────── */
.partner-final-cta {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.partner-final-cta .inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.partner-final-cta .inner::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(77, 143, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.partner-final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.partner-final-cta p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.partner-final-cta .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .partners-header {
        padding: 120px 0 60px;
    }

    .partners-header .stats-row {
        gap: 32px;
        flex-wrap: wrap;
    }

    .distributor-grid {
        grid-template-columns: 1fr;
    }

    .dist-cta-band {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }

    .dist-cta-band .cta-actions {
        justify-content: center;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-final-cta .inner {
        padding: 56px 28px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }
}
