/* ===========================
   PRICING PAGE
   Brand: neon blue + gold on black
=========================== */

:root {
    --price-blue: #2e8bff;
    --price-blue-deep: #0011b8;
    --price-gold: #f5cb5d;
    --price-bg: #050505;
    --price-panel: #0a0a0f;
    --price-border: rgba(46, 139, 255, 0.22);
}

/* ----- Hero ----- */

.pricing-hero {
    position: relative;
    min-height: min(52vh, 420px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 110px clamp(16px, 5vw, 70px) 56px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 17, 184, 0.35), transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(245, 203, 93, 0.08), transparent 60%),
        var(--price-bg);
    overflow: hidden;
}

.pricing-hero__glow {
    position: absolute;
    width: min(520px, 80vw);
    height: min(520px, 80vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 139, 255, 0.18), transparent 68%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: pricePulse 5s ease-in-out infinite;
}

.pricing-hero__eyebrow {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: var(--price-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.pricing-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.6rem, 8vw, 4.8rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 0 24px rgba(46, 139, 255, 0.35);
}

.pricing-hero__lead {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 16px auto 0;
    color: #b8b8b8;
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    line-height: 1.65;
}

.pricing-hero__cta {
    position: relative;
    z-index: 1;
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--price-blue-deep), var(--price-blue));
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 0 0 rgba(46, 139, 255, 0.35);
}

.pricing-hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(46, 139, 255, 0.35);
    color: #fff;
}

@keyframes pricePulse {
    0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* ----- Section headings ----- */

.section-heading {
    text-align: center;
    margin-top: 0;
    margin-bottom: 12px;
}

.section-heading h2,
.pricing-faq .block-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.9rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin-top: 36px;
    margin-bottom: 12px;
}

.section-heading p {
    color: #a8a8a8;
    font-size: 1rem;
    margin: 0 auto;
    max-width: 32rem;
}

/* ----- Plans ----- */

.pricing-plans {
    padding: 48px clamp(16px, 5vw, 8%) 40px;
    background: var(--price-bg);
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Shared layout for every plan-card (identical structure & slot heights) */
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px 22px 24px;
    background:
        linear-gradient(165deg, rgba(0, 17, 184, 0.12) 0%, transparent 45%),
        var(--price-panel);
    border: 1px solid var(--price-border);
    border-radius: 16px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plan-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 40%, rgba(46, 139, 255, 0.08) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 139, 255, 0.55);
    box-shadow: 0 18px 40px rgba(0, 17, 184, 0.22);
}

.plan-card:hover::after {
    transform: translateX(120%);
}

.card-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 100%;
    max-width: 220px;
    min-height: 34px;
    height: 34px;
    padding: 0 12px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(46, 139, 255, 0.12);
    border: 1px solid rgba(46, 139, 255, 0.28);
    color: var(--price-blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.15;
    height: 2.4em;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
}

/* ----- Distinct price block (same size on every card) ----- */

.price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    height: 110px;
    min-height: 110px;
    margin: 0 0 20px;
    padding: 16px 12px;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(46, 139, 255, 0.14), rgba(5, 5, 5, 0.55));
    border: 1px solid rgba(46, 139, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.price-block__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9a9a9a;
    min-height: 1.2em;
}

.price-block__amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    line-height: 1;
    min-height: 3rem;
}

.price-block__currency {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--price-blue);
    margin-top: 0.35em;
}

.price-block__value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

/* Features — fixed 3-row slot */

.plan-card ul {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    text-align: left;
    flex: 1 1 auto;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.plan-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #d5d5d5;
    font-size: 0.92rem;
    line-height: 1.35;
}

.plan-card ul li:last-child {
    border-bottom: none;
}

.plan-card ul li i {
    color: var(--price-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

/* CTA — identical on every card */

.plan-btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    height: 48px;
    margin-top: auto;
    padding: 12px 18px;
    border-radius: 10px;
    border: 2px solid var(--price-blue);
    background: rgba(0, 17, 184, 0.25);
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan-btn:hover {
    background: var(--price-blue);
    color: #fff;
    box-shadow: 0 0 22px rgba(46, 139, 255, 0.4);
    transform: translateY(-2px);
}

/* ----- Rate table ----- */

.pricing-table-section {
    padding: 36px clamp(16px, 5vw, 8%) 48px;
    background: #08080c;
}

.pricing-table-wrapper {
    max-width: 1100px;
    margin: 28px auto 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--price-panel);
}

.pricing-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    min-width: 560px;
}

.pricing-table-wrapper thead {
    background: #111118;
}

.pricing-table-wrapper th {
    color: #fff;
    padding: 18px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    width: 1%;
}

.pricing-table-wrapper th:first-child,
.pricing-table-wrapper td:first-child {
    width: 100%;
    text-align: left;
    white-space: normal;
}

.pricing-table-wrapper td:not(:first-child),
.pricing-table-wrapper th:not(:first-child) {
    text-align: right;
}

.pricing-table-wrapper td {
    padding: 16px;
    color: #ddd;
    white-space: nowrap;
    width: 1%;
}

.pricing-table-wrapper tbody tr {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

.pricing-table-wrapper tbody tr:hover {
    background: rgba(46, 139, 255, 0.08);
}

.pricing-table-wrapper td:first-child {
    font-weight: 600;
}

/* ----- FAQ ----- */

.pricing-faq {
    width: 100%;
    padding: 28px clamp(16px, 5vw, 70px) 64px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 17, 184, 0.12), transparent 70%),
        var(--price-bg);
}

.pricing-faq .block-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 14px;
}

.pricing-faq .block-title::after {
    content: "";
    display: block;
    width: 88px;
    height: 3px;
    background: linear-gradient(90deg, var(--price-blue-deep), var(--price-gold));
    margin: 14px auto 0;
    border-radius: 999px;
}

.faq-grid {
    max-width: 1080px;
    margin: 36px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.faq-item {
    padding: 22px 20px;
    background: linear-gradient(160deg, rgba(0, 17, 184, 0.12), rgba(245, 203, 93, 0.04));
    border: 1px solid var(--price-border);
    border-radius: 12px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(46, 139, 255, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 17, 184, 0.15);
}

.faq-item h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
    letter-spacing: 0.02em;
}

.faq-item p {
    margin: 0;
    color: #aaa;
    line-height: 1.6;
    font-size: 0.92rem;
}

/* ----- Responsive ----- */

@media (max-width: 1100px) {
    .plans-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        min-height: auto;
        padding: 100px 16px 40px;
    }

    .pricing-plans {
        padding: 28px 12px 24px;
    }

    .plans-container {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .plan-card {
        padding: 24px 18px 20px;
    }

    .price-block {
        height: 100px;
        min-height: 100px;
        padding: 14px 12px;
    }

    .price-block__value {
        font-size: 2.5rem;
    }

    .plan-card ul {
        min-height: 140px;
    }

    .section-heading h2,
    .pricing-faq .block-title {
        margin-top: 28px;
        margin-bottom: 10px;
    }

    .pricing-table-section {
        padding: 24px 12px 36px;
    }

    .pricing-table-wrapper th,
    .pricing-table-wrapper td {
        padding: 12px 10px;
        font-size: 0.88rem;
    }

    .pricing-faq {
        padding: 24px 16px 52px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px;
    }

}

@media (max-width: 480px) {
    .pricing-plans {
        padding: 20px 10px 16px;
    }

    .plan-card {
        padding: 22px 14px 18px;
    }

    .card-tag {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-hero__glow,
    .plan-card,
    .plan-card::after,
    .plan-btn,
    .pricing-hero__cta,
    .faq-item {
        animation: none !important;
        transition: none !important;
    }
}
