﻿html {
    scroll-behavior: smooth;
}

.tariffs-main {
    --tariffs-space: clamp(3.2rem, 6vw, 5rem);
    padding-bottom: 2rem;
}

.pricing-hero,
.platforms-section,
.pricing-cta {
    padding: var(--tariffs-space) 0;
}

.pricing-hero {
    padding-top: 9rem;
}

.pricing-hero-card,
.platform-block,
.pricing-cta-card,
.plan-card,
.services-wrap {
    border: 1px solid rgba(167, 139, 250, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
    backdrop-filter: blur(18px);
}

.pricing-hero-card,
.pricing-cta-card {
    border-radius: 1.5rem;
    padding: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
}

.pricing-hero-card {
    background:
        radial-gradient(circle at 50% 0%, rgba(184, 76, 255, 0.18), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

.pricing-title,
.pricing-section-title,
.pricing-cta-title {
    position: relative;
    display: inline-block;

    margin: 0 auto 1.25rem;

    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-align: center;
}

.pricing-section-title {
    display: block;
    width: fit-content;
}

.pricing-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.pricing-title::after,
.pricing-section-title::after,
.pricing-cta-title::after {
    content: "";
    display: block;

    width: 110px;
    height: 4px;

    margin: 1.1rem auto 0;

    border-radius: 999px;

    background: linear-gradient(90deg, transparent, rgba(184, 76, 255, 1), transparent);
    box-shadow: 0 0 25px rgba(184, 76, 255, 0.45);
}

.pricing-subtitle,
.pricing-cta-text {
    max-width: 920px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.58;
    text-align: center;
}

.pricing-hero-actions,
.pricing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.7rem;
}

.tariffs-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 3rem;
    padding: 0.75rem 1.5rem;

    border-radius: 0.85rem;
    border: 1px solid rgba(184, 76, 255, 0.45);

    background: rgba(184, 76, 255, 0.12);

    color: #ffffff;
    font-weight: 700;

    transition: var(--transition);
}

.tariffs-btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(184, 76, 255, 0.22);
}

.platforms-root {
    width: 100%;
    display: grid;
    gap: 1.25rem;
}

.platform-block {
    border-radius: 1.2rem;
    padding: clamp(1.2rem, 2.4vw, 1.8rem);
}

.platform-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    margin: 0 auto 1.25rem;
    text-align: center;
}

.platform-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(167, 139, 250, 0.2);
    padding: 0.52rem;
}

.platform-name {
    color: #ffffff;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 850;
    line-height: 1.2;
}

.platform-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.plan-card {
    position: relative;
    border-radius: 1rem;
    padding: 1.35rem 1.1rem 1.1rem;
    min-height: 100%;

    display: flex;
    flex-direction: column;

    transition: var(--transition);
}

.plan-card-featured {
    padding-top: 1.65rem;
    padding-bottom: 1.35rem;
    border-color: rgba(184, 76, 255, 0.9);
    box-shadow:
        0 0 34px rgba(184, 76, 255, 0.26),
        0 16px 42px rgba(0, 0, 0, 0.28);
    transform: translateY(-8px);
}

.plan-card-featured:hover {
    transform: translateY(-10px);
    border-color: rgba(184, 76, 255, 1);
    box-shadow:
        0 0 40px rgba(184, 76, 255, 0.34),
        0 18px 46px rgba(0, 0, 0, 0.32);
}

.plan-card:hover,
.services-wrap:hover,
.platform-block:hover,
.pricing-hero-card:hover,
.pricing-cta-card:hover {
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 0 22px rgba(167, 139, 250, 0.14);
}

.plan-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;

    margin: 0 auto 0.75rem;
    padding: 0.45rem 0.82rem;

    border-radius: 999px;

    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 850;
}

.plan-name {
    margin-bottom: 0.45rem;

    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-align: center;
}

.plan-subtitle {
    min-height: 2.6rem;

    margin-bottom: 0.95rem;

    color: rgba(255, 255, 255, 0.72);
    font-size: 0.93rem;
    line-height: 1.45;
    text-align: center;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;

    margin-bottom: 1.1rem;
}

.plan-price-from,
.plan-price-currency {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 750;
}

.plan-price-value {
    color: var(--color-primary);
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.plan-list {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;

    list-style: none;

    margin-bottom: 1rem;
}

.plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.58rem;

    color: rgba(255, 255, 255, 0.84);
    font-size: 0.94rem;
    line-height: 1.45;
}

.plan-list li::before {
    content: "✓";

    display: inline-grid;
    place-items: center;

    width: 18px;
    height: 18px;

    flex: 0 0 auto;
    margin-top: 0.12rem;

    border-radius: 50%;

    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 900;

    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}

.plan-btn {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 2.7rem;

    border-radius: 0.74rem;
    border: 1px solid rgba(184, 76, 255, 0.55);

    background: rgba(255, 255, 255, 0.035);

    color: #ffffff;
    font-weight: 800;

    transition: var(--transition);
}

.plan-btn:hover,
.plan-btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 0 24px rgba(184, 76, 255, 0.28);
}

.services-wrap {
    margin-top: 1rem;
    border-radius: 1rem;
    padding: 1rem;
}

.services-title {
    margin-bottom: 0.75rem;

    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 820;
}

.services-grid {
    display: grid;
    gap: 0.56rem;
}

.service-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 0.62rem 0.72rem;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.72rem;

    background: rgba(255, 255, 255, 0.025);
}

.service-name {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.93rem;
    font-weight: 650;
}

.service-price {
    color: #d5adff;
    font-size: 0.9rem;
    font-weight: 820;
}

.services-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.mini-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 2.15rem;
    padding: 0.5rem 0.9rem;

    border-radius: 999px;
    border: 1px solid rgba(184, 76, 255, 0.45);

    background: rgba(184, 76, 255, 0.1);

    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 760;

    transition: var(--transition);
}

.mini-cta:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 0 18px rgba(184, 76, 255, 0.25);
}

.pricing-cta-card {
    background:
        radial-gradient(circle at 50% 0%, rgba(184, 76, 255, 0.2), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
}

@media (max-width: 1200px) {
    .platform-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pricing-hero {
        padding-top: 8rem;
    }

    .platform-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-card-featured,
    .plan-card-featured:hover {
        transform: none;
    }
}

@media (max-width: 620px) {
    .platform-pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pricing-hero,
    .platforms-section,
    .pricing-cta {
        padding: clamp(2.2rem, 8vw, 3rem) 0;
    }

    .pricing-hero-card,
    .platform-block,
    .pricing-cta-card,
    .plan-card,
    .services-wrap {
        border-radius: 1rem;
    }

    .pricing-hero-actions,
    .pricing-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-hero-actions .btn,
    .pricing-cta-actions .btn,
    .tariffs-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .platform-head {
        flex-direction: column;
        text-align: center;
    }

    .service-line {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 540px) {
    .pricing-hero {
        padding-top: 7rem;
    }

    .pricing-hero-card,
    .platform-block,
    .pricing-cta-card,
    .plan-card,
    .services-wrap {
        padding: 1rem;
    }
}


