* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gilroy', sans-serif;
    background: #ffffff;
    color: #121212;
    line-height: 1.5;
}

.partners-page {
    min-height: 100vh;
    background: #ffffff;
}

.partners-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 140px 64px 80px;
}

.hero-section {
    text-align: center;
    margin-bottom: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #f2f3f5;
    border-radius: 100px;
    margin-bottom: 30px;
}

.hero-badge i {
    font-size: 1rem;
    color: #121212;
}

.hero-badge span {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.0px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #121212;
}

.hero-title.highlight {
    background: linear-gradient(150deg, #121212 0%, #595959 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: #121212;
    color: #ffffff;
    border-radius: 9999px;  
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border: 2px solid #121212;
    font-family: 'Gilroy', sans-serif;
    transition: all 0.2s ease;

    /* объёмный эффект (тени + градиент) */
    position: relative;              /* для корректного отображения теней */
    box-shadow: 
        inset 0 1px 2px rgba(255, 255, 255, 0.12),    /* светлый блик сверху */
        inset 0 -1px 1px rgba(0, 0, 0, 0.6),          /* тень снизу внутри */
        0 4px 8px rgba(0, 0, 0, 0.3),                  /* внешняя тень (ближняя) */
        0 12px 24px -6px rgba(0, 0, 0, 0.4);           /* дальняя тень (глубина) */
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 60%);
}

.hero-cta:hover {
    border: 2px solid #121212;
    background: none;
    color: #121212;
    box-shadow: none;
}

/* Секция для кого */
.audience-section {
    margin-bottom: 100px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: #121212;
}

.section-title.left {
    text-align: left;
    margin-bottom: 30px;
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.audience-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 35px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.audience-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #121212;
}

.audience-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.audience-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.audience-meta {
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Тарифы */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.plan-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 35px;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.plan-card.premium {
    border: 2px solid #121212;
    background: #ffffff;
}

.plan-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #121212;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.plan-card.basic .plan-badge {
    background: #888;
}

.plan-percent {
    font-size: 4rem;
    font-weight: 800;
    color: #121212;
    margin-bottom: 10px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 28px;
    color: #333;
}

.plan-features-list {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #555;
}

.plan-features-list li i {
    font-size: 1rem;
    width: 20px;
}

.plan-features-list li .fa-check-circle {
    color: #121212;
}

.plan-features-list li .fa-minus-circle {
    color: #ccc;
}

.plan-note {
    font-size: 0.8rem;
    color: #888;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.how-example-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 100px;
    align-items: stretch;
}

.how-block {
    background: #f2f3f5;
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.steps-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-compact {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px 24px;
    transition: all 0.2s ease;
}

.step-number-compact {
    width: 48px;
    height: 48px;
    background: #121212;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-left: 2px;
}

.step-text {
    flex: 1;
}

.step-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #121212;
}

.step-text p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.example-block {
    background: #121212;
    border-radius: 32px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.example-card {
    width: 100%;
}

.example-card i {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.example-card h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    text-align: center;
}

.calc-line {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-line.highlight {
    border-bottom: none;
    font-weight: 500;
}

.calc-line.total {
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: none;
    padding-top: 16px;
}

.calc-divider {
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 12px 0;
}

.example-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
    text-align: center;
}

/* Преимущества */
.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.advantage-item {
    text-align: center;
    padding: 32px 24px;
    background: #f2f3f5;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.advantage-item i {
    font-size: 2.2rem;
    color: #121212;
    margin-bottom: 20px;
    display: block;
}

.advantage-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* CTA секция */
.cta-section {
    text-align: center;
    background: #f2f3f5;
    border-radius: 40px;
    padding: 60px 40px;
    margin-bottom: 80px;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    color: #666;
    margin-bottom: 30px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #121212;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Gilroy', sans-serif;
}

.btn-primary:hover {
    opacity: 0.8;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: #121212;
    border: 2px solid #121212;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #121212;
    color: #ffffff;
}

.partners-footer {
    width: 100%;
    height: 80px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    z-index: 10;
    padding: 60px 60px 60px 60px;
}

.footer-left-part .footer-brand {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    color: #121212;
    text-transform: uppercase;
}

.footer-right-part {
    display: flex;
    align-items: center;
    gap: 150px;
    flex-wrap: wrap;
}

.footer-email-link {
    color: #121212;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.footer-email-link:hover {
    border-bottom-color: #121212;
}

.footer-social-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-social-icons .social-link {
    display: inline-flex;
    align-items: center;
    color: #121212;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.footer-social-icons .social-link:hover {
    color: #555;
}

.social-icon {
    color: #121212;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.social-icon:hover {
    color: #555;
}

/* Модальное окно */
.partner-modal {
    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-content {
    background: #ffffff;
    border-radius: 28px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #121212;
}

.modal-body {
    padding: 28px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-size: 0.9rem;
    font-family: 'Gilroy', sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #121212;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: #121212;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Gilroy', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #333;
}

.form-hint {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    margin-top: 16px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .partners-container {
        padding: 120px 40px 60px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .advantages {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-example-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-right-part {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .partners-container {
        padding: 100px 30px 50px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .audience-cards,
    .plans-grid {
        grid-template-columns: 1fr;
    }
    .advantages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .partners-footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 30px;
    }
    .footer-right-part {
        justify-content: center;
        gap: 20px;
    }
    .how-block {
        padding: 30px 20px;
    }
    .step-compact {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .step-number-compact {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .plan-percent {
        font-size: 3rem;
    }
    .example-card {
        padding: 0;
    }
    .footer-right-part {
        flex-direction: column;
        gap: 15px;
    }
}

.modal-instruction {
    background: #f2f3f5;
    padding: 16px 20px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-align: center;
    font-size: 0.95rem;
    color: #121212;
    font-weight: 500;
}

.modal-instruction i {
    font-size: 1.2rem;
    margin-right: 8px;
    color: #121212;
}

.modal-instruction strong {
    font-size: 1.1rem;
    color: #121212;
    word-break: break-all;
}

.modal-instruction.small {
    font-size: 0.8rem;
    background: none;
    padding: 0;
    margin-bottom: 16px;
    color: #666;
}

.copy-btn {
    background: #121212;
    margin-top: 8px;
}

.copy-btn:hover {
    background: #333;
}