/* ============================================================
   HytHost — Partners — eligibility tracks, benefits, featured communities, rules
   Loaded conditionally on /partners.php via includes/head.tpl.
   Extracted from partners.tpl on 2026-05-16.
   ============================================================ */

.partners-hero {
    position: relative;
    padding: 90px 0 110px;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(124,58,237,0.22), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(89,245,140,0.18), transparent 55%),
        linear-gradient(180deg, #0c1220 0%, #14182a 100%);
    overflow: hidden;
}
.partners-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><circle cx='2' cy='2' r='1' fill='white' opacity='0.25'/><circle cx='60' cy='30' r='0.8' fill='white' opacity='0.2'/><circle cx='100' cy='80' r='1.1' fill='white' opacity='0.3'/><circle cx='30' cy='90' r='0.9' fill='white' opacity='0.18'/></svg>");
    opacity: 0.6;
    pointer-events: none;
}
.partners-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.partners-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(89, 245, 140, 0.12);
    border: 1px solid rgba(89, 245, 140, 0.35);
    color: #b6f5cc;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.partners-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 18px;
    color: #fff;
    letter-spacing: -0.02em;
}
.partners-hero h1 .accent {
    background: linear-gradient(120deg, #d4baff, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.partners-hero p.lead {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.55;
}
/* Linear/Stripe-style primary CTA — solid brand color with subtle inner highlight
   instead of the dated "AI rainbow" gradient. */
.partners-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 10px;
    background: #7c3aed;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        0 8px 24px -10px rgba(124, 58, 237, 0.55),
        0 1px 2px rgba(0, 0, 0, 0.35);
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    letter-spacing: 0.01em;
}
.partners-hero-cta:hover,
.partners-hero-cta:focus,
.partners-hero-cta:active {
    text-decoration: none !important;
    color: #fff !important;
    outline: none;
}
.partners-hero-cta:hover {
    background: #8a4cf5;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18),
        0 14px 30px -10px rgba(124, 58, 237, 0.75),
        0 1px 2px rgba(0, 0, 0, 0.4);
}
.partners-hero-cta:active { transform: translateY(0); }
.partners-hero-cta-secondary:hover,
.partners-hero-cta-secondary:focus { text-decoration: none !important; }
/* Secondary link — modern pill on hover with subtle bg + animated arrow */
.partners-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-left: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    letter-spacing: 0.01em;
}
.partners-hero-cta-secondary .arrow-icon {
    display: inline-block;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.partners-hero-cta-secondary:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    text-decoration: none !important;
}
.partners-hero-cta-secondary:hover .arrow-icon {
    transform: translateY(3px);
}
.partners-hero-cta-secondary:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.1);
}

/* Stats strip */
.partners-stats {
    background: #0c1220;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 0;
}
.partners-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.partners-stat-num {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    line-height: 1.2;
    overflow-wrap: break-word;
    word-break: break-word;
}
.partners-stat-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .partners-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* Sections */
.partners-section { padding: 80px 0; }
.partners-section-title {
    text-align: center;
    margin-bottom: 12px;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}
.partners-section-sub {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    max-width: 560px;
    margin: 0 auto 56px;
    font-size: 1.05rem;
}

.partners-rules {
    list-style: none;
    padding: 0;
    margin: 0;
}
.partners-rules li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.55;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.partners-rules li:last-child { border-bottom: 0; }
.partners-rules li i {
    flex-shrink: 0;
    color: #7ed554;
    margin-top: 4px;
    font-size: 0.95rem;
}
.partners-rules li strong { color: #fff; font-weight: 600; }

.partners-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 32px 28px;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.partners-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, transparent 70%, rgba(124, 58, 237, 0.06) 100%);
    pointer-events: none;
}
.partners-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 20px 50px -20px rgba(124, 58, 237, 0.5);
}
.partners-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.partners-card-icon.purple { background: rgba(124, 58, 237, 0.18); color: #b794ff; }
.partners-card-icon.green  { background: rgba(89, 245, 140, 0.18); color: #7ed554; }
.partners-card-icon.blue   { background: rgba(96, 156, 255, 0.18); color: #609cff; }
.partners-card-icon.amber  { background: rgba(220, 180, 110, 0.18); color: #f0b860; }
.partners-card-icon.cyan   { background: rgba(78, 213, 213, 0.18); color: #4ed5d5; }
.partners-card-icon.orange { background: rgba(255, 140, 66, 0.18); color: #ff9d4d; }
.partners-card h4 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 10px;
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
}
.partners-card p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
    font-size: 0.98rem;
    position: relative;
    z-index: 1;
}

/* Benefits → vertical icons */
.partners-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(89, 245, 140, 0.18));
    border: 1px solid rgba(124, 58, 237, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #b794ff;
    margin-bottom: 16px;
}

/* Final CTA */
.partners-cta-section {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.25), transparent 70%),
        linear-gradient(180deg, #14182a, #0c1220);
    padding: 90px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.partners-cta-section h2 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    margin: 0 0 14px;
}
.partners-cta-section p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1.08rem;
}

/* Process steps */
.partners-steps { counter-reset: step; }
.partners-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.partners-step:last-child { border-bottom: 0; }
.partners-step-num {
    counter-increment: step;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.12);
    color: #b794ff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.partners-step-num::before { content: counter(step); }
.partners-step h5 { color: #fff; margin: 0 0 6px; font-weight: 700; font-size: 1.1rem; }
.partners-step p { color: rgba(255, 255, 255, 0.7); margin: 0; line-height: 1.55; }

/* Featured Partners — curated showcase cards */
.partners-featured-card {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.partners-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 20px 45px -22px rgba(124, 58, 237, 0.55);
    color: inherit !important;
}
.partners-featured-card:hover .partners-featured-link i {
    transform: translateX(4px);
}
.partners-featured-logo {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(124, 58, 237, 0.14);
    border: 1px solid rgba(124, 58, 237, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #b794ff;
    overflow: hidden;
}
.partners-featured-logo img {
    max-width: 78%;
    max-height: 78%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.partners-featured-body { flex: 1; min-width: 0; }
.partners-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
    align-items: center;
}
.partners-featured-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(89, 245, 140, 0.1);
    border: 1px solid rgba(89, 245, 140, 0.28);
    color: #b6f5cc;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.partners-featured-since {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}
.partners-featured-card h4 {
    color: #fff;
    font-weight: 700;
    margin: 4px 0 8px;
    font-size: 1.2rem;
}
.partners-featured-card p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 14px;
    line-height: 1.55;
    font-size: 0.95rem;
}
.partners-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #b794ff;
    font-weight: 600;
    font-size: 0.9rem;
}
.partners-featured-link i {
    transition: transform 0.22s ease;
    font-size: 0.78rem;
}
@media (max-width: 575px) {
    .partners-featured-card { flex-direction: column; gap: 16px; padding: 24px; }
    .partners-featured-logo { width: 64px; height: 64px; font-size: 1.6rem; }
}
