/* ====================== PRICING & FEATURES PAGE ====================== */
.pricing-features-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-section {
    padding: 100px 20px 70px;
    text-align: center;
}

.hero-section h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
}

.hero-section .accent {
    color: #13aff0;
}

.section {
    padding: 80px 20px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.9rem, 4.2vw, 2.9rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-sub {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.65;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 20px auto;
    max-width: 1100px;
}

/* ====================== PRICING CARDS ====================== */
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    max-width: 860px;
    margin: 0 auto;
}

.plan-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 48px 36px 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.plan-card:hover {
    border-color: #13aff0;
    box-shadow: 0 15px 40px rgba(79, 142, 255, 0.12);
    transform: translateY(-4px);
}

.plan-card.featured {
    border-color: #13aff0;
    box-shadow: 0 10px 35px rgba(79, 142, 255, 0.15);
}

.plan-card.featured::before {
    content: 'Most popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #13aff0;
    color: #fff;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-header {
    margin-bottom: 8px;
}

.plan-name {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-badge {
    font-size: 0.78rem;
    color: #666;
    background: #f8f9fa;
    padding: 5px 14px;
    border-radius: 50px;
    display: inline-block;
}

.plan-price {
    position: relative;
    margin: 10px 0 15px;
}

.price-badge {
    position: absolute;
    top: -2px;
    left: 0;
    background: #13aff0;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #111;
}

.plan-price .amount.free {
    font-size: 2.4rem;
}

.plan-price .period {
    font-size: 1rem;
    color: #666;
    margin-top: 4px;
    display: block;
}

.plan-features {
    flex-grow: 1;
}

.plan-limit {
    padding: 11px 0;
    color: #444;
    font-size: 1.02rem;
    line-height: 1.45;
}

.plan-limit-icon {
    color: #13aff0;
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-limit strong {
    font-weight: 600;
}

.plan-extra {
    min-height: 170px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-size: 0.97rem;
    color: #555;
    line-height: 1.6;
}

.plan-btn {
    margin-top: auto;
    padding: 15px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: block;
}

/* ====================== FEATURES SECTION ====================== */
.features-intro {
    margin-bottom: 60px;
}

.features-col-labels {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.features-col-labels-inner {
    display: grid;
    grid-template-columns: 1fr 80px 80px;
    gap: 24px;
    padding: 0 24px;
    border-left: 1px solid #eee;
}

.col-plan-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
    text-align: center;
}

.col-plan-label:first-child {
    text-align: left;
}

.feature-group {
    margin-bottom: 10px;
}

.feature-group-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
}

.feature-group-items {
    border-left: 1px solid #eee;
    padding-left: 24px;
}

.feature-item {
    padding: 20px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.feature-name {
    max-width: 550px;
    font-weight: 500;
    font-size: 1.02rem;
}

.feature-desc {
    max-width: 550px;
    color: #666;
    font-size: 0.96rem;
    margin-top: 6px;
    line-height: 1.5;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    min-height: 44px;
}

.feature-check.check-yes,
.feature-check.check-no {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.feature-check.check-yes span,
.feature-check.check-no span,
.feature-check.check-yes select,
.feature-check.check-no select {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.feature-check select {
    width: 50px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 1rem;
    cursor: pointer;
    background: white;
}

.feature-check select:focus {
    outline: none;
    border-color: #13aff0;
}

.check-yes {
    color: #13aff0;
}

.check-no {
    color: #ccc;
}

@media (max-width: 768px) {
    .features-col-labels,
    .features-col-labels-inner {
        display: none;
    }

    .feature-item {
        grid-template-columns: 1fr 60px 60px;
        gap: 16px;
    }

    .feature-check select {
        width: 45px;
        font-size: 0.9rem;
        padding: 2px 4px;
    }
}


/* ====================== CTA SECTION ====================== */
.cta-section {
    text-align: center;
    background: #f9fafb;
    border-radius: 20px;
    padding: 80px 40px;
}

.cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 500px;
    margin: 0 auto 40px;
}

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

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .plan-card {
        padding: 40px 28px;
    }

    .feature-item {
        grid-template-columns: 1fr 60px 60px;
        gap: 16px;
    }

    .features-col-labels,
    .features-col-labels-inner {
        display: none;
    }

    .section,
    .cta-section {
        padding: 60px 20px;
    }
}

.partner-form {
    position: relative;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
}

.form-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.form-close:hover {
    background: #f0f0f0;
    color: #333;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.form-message.success {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.form-message.error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

.partner-form label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-weight: 500;
    color: #333;
}

.partner-form input,
.partner-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.partner-form input:focus,
.partner-form textarea:focus {
    outline: none;
    border-color: #13aff0;
    box-shadow: 0 0 0 3px rgba(19, 175, 240, 0.1);
}

.partner-form input.error,
.partner-form textarea.error {
    border-color: #f44336;
    background: #fff5f5;
}

.error-message {
    display: none;
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 4px;
}

.partner-form button[type="submit"] {
    margin-top: 1.5rem;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.partner-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-block;
}

.thank-you {
    position: relative;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 12px;
    text-align: center;
    color: #2e7d32;
}

.thank-you h3 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.thank-you p {
    margin: 0;
    line-height: 1.5;
}

.thank-you-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #2e7d32;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.thank-you-close:hover {
    opacity: 1;
}