/* ═══════════════════════════════════════════
   NextGen Servers — Premium Pricing Section
   ═══════════════════════════════════════════ */

#section-pricing {
    padding: 0 !important;
    overflow: hidden;
}

.ng-pricing-stage {
    position: relative;
    padding: 90px 0 100px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(var(--primary-color-rgb), 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(var(--secondary-color-rgb), 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 0% 80%, rgba(var(--primary-color-rgb), 0.06) 0%, transparent 50%),
        #0c0e1a;
}

/* Floating orbs */
.ng-pricing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: ngOrbFloat 8s ease-in-out infinite;
}

.ng-pricing-orb--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: 10%;
    background: rgba(var(--primary-color-rgb), 0.22);
}

.ng-pricing-orb--2 {
    width: 350px;
    height: 350px;
    top: 40%;
    right: -80px;
    background: rgba(var(--secondary-color-rgb), 0.18);
    animation-delay: -3s;
}

.ng-pricing-orb--3 {
    width: 280px;
    height: 280px;
    bottom: 0;
    left: 35%;
    background: rgba(56, 189, 248, 0.12);
    animation-delay: -5s;
}

@keyframes ngOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -25px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.97); }
}

/* Header */
.ng-pricing-head {
    position: relative;
    z-index: 2;
    margin-bottom: 56px;
}

.ng-pricing-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    border-radius: 50px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.35);
    background: rgba(var(--primary-color-rgb), 0.08);
    box-shadow: 0 0 30px rgba(var(--primary-color-rgb), 0.15);
}

.ng-pricing-head h2 {
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.ng-pricing-head .lead {
    color: rgba(255, 255, 255, 0.55);
    max-width: 560px;
    margin: 0 auto 28px;
}

.ng-pricing-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
}

.ng-pricing-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.ng-pricing-trust i {
    color: var(--primary-color);
    font-size: 12px;
}

/* Grid */
.ng-pricing-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .ng-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

/* ─── Plan Card ─── */
.ng-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 32px 28px 28px;
    border-radius: 24px;
    background: rgba(18, 20, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.ng-plan-card__shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.04) 50%, transparent 60%);
    transition: left 0.6s ease;
    pointer-events: none;
}

.ng-plan-card:hover .ng-plan-card__shine {
    left: 150%;
}

.ng-plan-card:hover {
    transform: translateY(-10px);
    border-color: rgba(var(--primary-color-rgb), 0.35);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(var(--primary-color-rgb), 0.12),
        0 0 40px rgba(var(--primary-color-rgb), 0.08);
}

/* Per-plan accent tints */
.ng-plan-card[data-plan="starter"] .ng-plan-card__icon {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(var(--primary-color-rgb), 0.15));
    color: #38bdf8;
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.ng-plan-card[data-plan="business"] .ng-plan-card__icon {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.25), rgba(var(--secondary-color-rgb), 0.2));
    color: #fff;
    box-shadow: 0 8px 28px rgba(var(--primary-color-rgb), 0.35);
}

.ng-plan-card[data-plan="pro"] .ng-plan-card__icon {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(var(--secondary-color-rgb), 0.15));
    color: #a78bfa;
    box-shadow: 0 8px 24px rgba(167, 139, 250, 0.2);
}

/* Featured card */
.ng-plan-card--featured {
    padding: 38px 30px 32px;
    background: linear-gradient(160deg, rgba(24, 28, 58, 0.9) 0%, rgba(14, 16, 36, 0.95) 100%);
    border: 1px solid rgba(var(--primary-color-rgb), 0.45);
    box-shadow:
        0 0 0 1px rgba(var(--primary-color-rgb), 0.15),
        0 24px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(var(--primary-color-rgb), 0.12);
    transform: scale(1.06);
    z-index: 3;
}

.ng-plan-card--featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    animation: ngBorderShift 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes ngBorderShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.ng-plan-card--featured:hover {
    transform: scale(1.06) translateY(-10px);
}

@media (max-width: 991px) {
    .ng-plan-card--featured {
        transform: none;
        order: -1;
    }
    .ng-plan-card--featured:hover {
        transform: translateY(-10px);
    }
}

.ng-plan-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.45);
    animation: ngBadgePulse 2.5s ease-in-out infinite;
}

@keyframes ngBadgePulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.45); }
    50% { box-shadow: 0 6px 30px rgba(var(--primary-color-rgb), 0.7), 0 0 20px rgba(var(--primary-color-rgb), 0.3); }
}

.ng-plan-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ng-plan-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 22px;
}

.ng-plan-card__period {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ng-plan-card h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.ng-plan-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

/* Price block */
.ng-plan-card__price {
    position: relative;
    padding: 24px 20px;
    margin-bottom: 24px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.ng-plan-card--featured .ng-plan-card__price {
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.12), rgba(var(--secondary-color-rgb), 0.08));
    border-color: rgba(var(--primary-color-rgb), 0.2);
}

.ng-plan-card__price-inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    line-height: 1;
}

.ng-plan-card__currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 8px;
}

.ng-plan-card__amount {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.65));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ng-plan-card--featured .ng-plan-card__amount {
    background: linear-gradient(180deg, #fff 20%, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ng-plan-card__per {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.ng-plan-card__save {
    display: inline-block;
    margin-top: 12px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0c0e1a;
    border-radius: 50px;
    background: linear-gradient(135deg, #5eead4, #38bdf8);
}

.ng-plan-card__save--hot {
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #1a1000;
}

/* Features */
.ng-plan-card__features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    flex: 1;
}

.ng-plan-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ng-plan-card__feat--highlight {
    font-weight: 600;
    color: #fff !important;
    background: rgba(var(--primary-color-rgb), 0.08);
    margin: 0 -8px;
    padding: 9px 8px !important;
    border-radius: 8px;
    border-bottom-color: transparent !important;
}

.ng-plan-card__feat--highlight i {
    color: #34d399 !important;
}

.ng-plan-card__features li:last-child {
    border-bottom: none;
}

.ng-plan-card__features li i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    font-size: 10px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

/* Buttons */
.ng-plan-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.35s ease;
}

.ng-plan-card__btn i {
    transition: transform 0.3s ease;
}

.ng-plan-card__btn:hover {
    background: rgba(var(--primary-color-rgb), 0.15);
    border-color: rgba(var(--primary-color-rgb), 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(var(--primary-color-rgb), 0.2);
}

.ng-plan-card__btn:hover i {
    transform: translateX(4px);
}

.ng-plan-card__btn--glow {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    box-shadow: 0 12px 36px rgba(var(--primary-color-rgb), 0.4);
}

.ng-plan-card__btn--glow:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 16px 48px rgba(var(--primary-color-rgb), 0.55);
    border-color: transparent;
}

/* ─── Free Trial Spotlight ─── */
.ng-trial-spotlight {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 48px auto 0;
    padding: 44px 48px;
    border-radius: 28px;
    background: rgba(14, 16, 32, 0.7);
    border: 1px solid rgba(var(--primary-color-rgb), 0.25);
    backdrop-filter: blur(24px);
    overflow: hidden;
}

.ng-trial-spotlight__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(var(--primary-color-rgb), 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ng-trial-spotlight__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

@media (max-width: 767px) {
    .ng-trial-spotlight {
        padding: 32px 24px;
    }
    .ng-trial-spotlight__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ng-trial-spotlight__chips {
        justify-content: center;
    }
}

.ng-trial-spotlight__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.3), rgba(var(--secondary-color-rgb), 0.2));
    border: 1px solid rgba(var(--primary-color-rgb), 0.4);
}

.ng-trial-spotlight h3 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.ng-trial-spotlight p {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0;
    max-width: 480px;
    line-height: 1.65;
}

.ng-trial-spotlight__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 20px;
}

.ng-trial-spotlight__chips span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.ng-trial-spotlight__chips i {
    color: var(--primary-color);
    margin-right: 5px;
}

.ng-trial-spotlight__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ng-trial-spotlight__ring {
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.15), rgba(var(--secondary-color-rgb), 0.1));
    border: 2px solid rgba(var(--primary-color-rgb), 0.35);
    box-shadow:
        0 0 40px rgba(var(--primary-color-rgb), 0.2),
        inset 0 0 30px rgba(var(--primary-color-rgb), 0.08);
    animation: ngRingPulse 3s ease-in-out infinite;
}

@keyframes ngRingPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(var(--primary-color-rgb), 0.2), inset 0 0 30px rgba(var(--primary-color-rgb), 0.08); }
    50% { box-shadow: 0 0 60px rgba(var(--primary-color-rgb), 0.35), inset 0 0 40px rgba(var(--primary-color-rgb), 0.12); }
}

.ng-trial-spotlight__zero {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary-color), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ng-trial-spotlight__ring small {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.ng-trial-spotlight .ng-plan-card__btn {
    min-width: 220px;
}
