/* Компенсация фиксированного хедера: общего правила header + * нет
   (удалено 03.09.2026 как мёртвое), верхний отступ задаётся постранично. 70px хедер + 40px воздуха. */
.partners-page {
    padding-top: 110px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.15) 0%, rgba(52, 211, 153, 0.15) 100%);
    border-radius: 20px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.partners-page h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--color-text-tertiary);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* Commission Section */
.commission-section {
    margin-bottom: 60px;
}

.partners-page h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--color-teal);
    text-align: center;
}

.commission-tiers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.tier-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    border: 2px solid rgba(52, 211, 153, 0.2);
    transition: all 0.3s;
    text-align: center;
    position: relative;
}

.tier-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-teal);
    box-shadow: 0 15px 40px rgba(52, 211, 153, 0.3);
}

.tier-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.tier-bronze .tier-badge {
    background: linear-gradient(135deg, #cd7f32 0%, #8b4513 100%);
}

.tier-silver .tier-badge {
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
}

.tier-gold .tier-badge {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 100%);
}

.tier-platinum .tier-badge {
    background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-teal) 100%);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--color-teal);
    color: #0f0c29;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
}

.tier-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.commission-rate {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-teal);
    margin: 20px 0;
}

.tier-requirements {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.tier-features {
    list-style: none;
    margin-top: 25px;
    text-align: left;
}

.tier-features li {
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(52, 211, 153, 0.2);
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: var(--color-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--color-indigo);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* How It Works */
.how-it-works {
    margin-bottom: 60px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(52, 211, 153, 0.2);
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-card h3 {
    color: var(--color-teal);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--color-text-secondary);
}

/* Marketing Materials */
.materials-section {
    margin-bottom: 60px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 25px;
    margin-top: 40px;
}

.material-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(52, 211, 153, 0.2);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.material-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-teal);
}

.material-icon {
    font-size: 2.5rem;
}

.material-info h4 {
    color: var(--color-teal);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.material-info p {
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
}

/* Registration Form */
.registration-section {
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.1) 0%, rgba(52, 211, 153, 0.1) 100%);
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.registration-section h2 {
    margin-bottom: 15px;
}

.form-description {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.partner-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

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

.checkbox-group label {
    color: var(--color-text-secondary);
    margin: 0;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-teal) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(52, 211, 153, 0.4);
}

/* Success Message */
.success-message {
    display: none;
    background: rgba(52, 211, 153, 0.15);
    border: 2px solid var(--color-teal);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    color: var(--color-teal);
    text-align: center;
}

/* FAQ */
.faq-section {
    margin-bottom: 60px;
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(88, 86, 214, 0.2) 0%, rgba(52, 211, 153, 0.2) 100%);
    border-radius: 20px;
    border: 2px solid rgba(52, 211, 153, 0.3);
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-teal) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
}

.btn-secondary:hover {
    background: rgba(52, 211, 153, 0.1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .commission-tiers {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
