.pricing-hero {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 150px 48px 90px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: 48px;
    align-items: center;
}

.pricing-hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.04;
    letter-spacing: 0;
    margin: 16px 0 22px;
    overflow-wrap: break-word;
}

.pricing-hero-copy p {
    max-width: 720px;
    color: var(--text-secondary);
    font-size: 19px;
    line-height: 1.75;
}

.pricing-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pricing-hero-copy,
.pricing-hero-media,
.plan-card,
.visual-card,
.operation-panel,
.ai-panel,
.pricing-note {
    min-width: 0;
}

.currency-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(79, 209, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(6, 15, 36, 0.58);
    max-width: 680px;
}

.currency-panel label {
    color: var(--white);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.currency-panel select {
    min-width: 210px;
    border: 1px solid rgba(79, 209, 255, 0.32);
    border-radius: var(--radius-sm);
    background: rgba(2, 8, 20, 0.92);
    color: var(--white);
    padding: 11px 12px;
    font-weight: 800;
}

.currency-panel span {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
    flex: 1;
    min-width: 220px;
}

.pricing-hero-media {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    min-height: 520px;
    background: rgba(6, 15, 36, 0.68);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.pricing-hero-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    filter: brightness(0.72) saturate(1.08);
}

.hero-price-badge {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 18px;
    border: 1px solid rgba(79, 209, 255, 0.28);
    border-radius: var(--radius-md);
    background: rgba(2, 8, 20, 0.78);
    backdrop-filter: blur(14px);
}

.hero-price-badge span,
.plan-tier {
    display: block;
    color: var(--neon-highlight);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-price-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 30px;
    margin: 4px 0;
}

.hero-price-badge small {
    color: var(--text-secondary);
}

.plan-section,
.visual-features,
.pricing-comparison,
.operations-grid,
.pricing-note {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 70px 48px;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 26px;
    border: 1px solid rgba(79, 209, 255, 0.14);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(79,209,255,0.035));
    min-height: 430px;
}

.featured-plan {
    border-color: rgba(79, 209, 255, 0.58);
    box-shadow: 0 24px 80px rgba(79, 209, 255, 0.12);
    transform: translateY(-12px);
}

.popular-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--neon-highlight);
    color: var(--darker-blue);
    font-size: 11px;
    font-weight: 900;
}

.plan-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
}

.plan-price {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 900;
}

.plan-price span {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
}

.plan-card p,
.pricing-note p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.plan-card ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin-top: auto;
}

.plan-card li {
    color: var(--text-secondary);
    font-size: 14px;
}

.tick,
.cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-weight: 900;
}

.tick {
    color: #0b2a18;
    background: #64f4a6;
}

.cross {
    color: #401112;
    background: #ff7d86;
}

.plan-link {
    display: inline-flex;
    justify-content: center;
    margin-top: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(79, 209, 255, 0.24);
    border-radius: var(--radius-sm);
    color: var(--neon-highlight);
    font-weight: 800;
}

.primary-link {
    color: var(--darker-blue);
    background: linear-gradient(135deg, var(--electric-cyan), var(--neon-highlight));
}

.visual-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.visual-card,
.operation-panel,
.ai-panel,
.pricing-note {
    overflow: hidden;
    border: 1px solid rgba(79, 209, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(6, 15, 36, 0.58);
}

.visual-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.visual-card div {
    padding: 26px;
}

.visual-card h3,
.operation-panel h2,
.ai-panel h2,
.pricing-note h2 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.15;
    margin-bottom: 12px;
}

.visual-card p,
.ai-panel p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.pricing-table-wrap {
    overflow-x: auto;
}

.pricing-table th,
.pricing-table td {
    min-width: 150px;
    vertical-align: middle;
    text-align: center;
}

.pricing-table td small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.pricing-table td:first-child,
.pricing-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    min-width: 230px;
    text-align: left;
    background: rgba(6, 15, 36, 0.96);
}

.operations-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
}

.operation-panel,
.ai-panel,
.pricing-note {
    padding: 32px;
}

.mini-matrix {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.mini-matrix div,
.credit-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(79, 209, 255, 0.12);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.035);
}

.mini-matrix strong,
.credit-row strong {
    color: var(--white);
}

.mini-matrix span,
.credit-row span {
    color: var(--text-secondary);
    text-align: right;
}

.credit-row span {
    display: grid;
    gap: 4px;
}

.credit-row b {
    color: var(--white);
}

.credit-row small {
    color: var(--text-muted);
    font-size: 12px;
}

.ai-panel {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.ai-panel img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.pricing-note {
    text-align: center;
    margin-bottom: 90px;
    background:
        radial-gradient(circle at 50% 0%, rgba(79, 209, 255, 0.18), transparent 45%),
        rgba(6, 15, 36, 0.62);
}

.pricing-note p {
    max-width: 860px;
    margin: 0 auto 26px;
}

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

    .featured-plan {
        transform: none;
    }
}

@media (max-width: 920px) {
    .pricing-hero,
    .visual-features,
    .operations-grid,
    .ai-panel {
        grid-template-columns: 1fr;
    }

    .pricing-hero-media,
    .pricing-hero-media img {
        min-height: 390px;
    }
}

@media (max-width: 640px) {
    .pricing-hero,
    .plan-section,
    .visual-features,
    .pricing-comparison,
    .operations-grid,
    .pricing-note {
        padding-left: 24px;
        padding-right: 24px;
    }

    .pricing-hero {
        overflow: hidden;
    }

    .pricing-hero-copy h1 {
        font-size: clamp(34px, 9.2vw, 40px);
        letter-spacing: 0;
    }

    .pricing-hero-actions {
        flex-direction: column;
    }

    .currency-panel,
    .currency-panel select {
        width: 100%;
    }

    .pricing-hero-actions .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

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

    .mini-matrix div,
    .credit-row {
        flex-direction: column;
    }

    .mini-matrix span,
    .credit-row span {
        text-align: left;
    }
}
