/* ==========================================================================
   SKYFALL V3 - HUD PRICING CARDS
   ========================================================================== */
.hud-pricing {
    --card-accent: #71717a;
    --card-glow: rgba(113, 113, 122, 0.1);
    --card-shine: rgba(113, 113, 122, 0.08);
    --card-line: rgba(113, 113, 122, 0.1);

    position: relative;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hud-pricing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--card-glow) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.hud-pricing.is-hovered::before {
    opacity: 1;
}

/* Pricing Corners */
.hud-pricing .hud-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
}

.hud-pricing .hud-corner-tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--card-accent);
    border-left: 2px solid var(--card-accent);
}

.hud-pricing .hud-corner-tr {
    top: 0;
    right: 0;
    border-top: 2px solid var(--card-accent);
    border-right: 2px solid var(--card-accent);
}

.hud-pricing .hud-corner-bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid var(--card-accent);
    border-left: 2px solid var(--card-accent);
}

.hud-pricing .hud-corner-br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--card-accent);
    border-right: 2px solid var(--card-accent);
}

.hud-pricing.is-hovered .hud-corner {
    opacity: 1;
    width: 20px;
    height: 20px;
}

/* Pricing Shine */
.hud-pricing .hud-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--card-shine), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 3;
}

.hud-pricing.is-hovered .hud-shine {
    animation: hud-shine 0.8s ease-out;
}

/* Pricing Tech Lines */
.hud-pricing .hud-tech-line-v {
    position: absolute;
    top: 0;
    right: 10px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--card-line), transparent);
    pointer-events: none;
}

.hud-pricing .hud-tech-line-h {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--card-line), transparent);
    pointer-events: none;
}

/* Pricing Content z-index */
.hud-pricing > *:not(.hud-corner):not(.hud-shine):not(.hud-tech-line-v):not(.hud-tech-line-h) {
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   PRICING THEME VARIANTS
   ========================================================================== */

/* Solo (Gray/Zinc) */
.hud-pricing.hud-theme-solo {
    --card-accent: #71717a;
    --card-glow: rgba(113, 113, 122, 0.12);
    --card-shine: rgba(113, 113, 122, 0.08);
    --card-line: rgba(113, 113, 122, 0.1);
    border-color: rgba(113, 113, 122, 0.3);
}

/* Slight left incline for Solo card in pricing grid */
.pricing-card.hud-theme-solo {
    transform: perspective(1000px) rotateY(2deg);
}

.hud-pricing.hud-theme-solo.is-hovered {
    border-color: #71717a;
    box-shadow:
        0 0 30px rgba(113, 113, 122, 0.15),
        0 0 60px rgba(113, 113, 122, 0.08);
}

/* Business (Orange/Primary) */
.hud-pricing.hud-theme-business {
    --card-accent: #EA580C;
    --card-glow: rgba(234, 88, 12, 0.2);
    --card-shine: rgba(234, 88, 12, 0.15);
    --card-line: rgba(234, 88, 12, 0.2);
    border-color: #EA580C;
    z-index: 10;
    transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.3s ease;
}

.hud-pricing.hud-theme-business .hud-corner {
    transition: width 0.15s ease, height 0.15s ease;
}

/* Business card 3D hover effect */
.hud-pricing.hud-theme-business.is-hovered {
    border-color: #EA580C;
    transform: perspective(1000px) rotateX(2deg) scale(1.02);
    box-shadow:
        0 0 50px rgba(234, 88, 12, 0.35),
        0 0 100px rgba(234, 88, 12, 0.25),
        0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

/* Enterprise (Blue) */
.hud-pricing.hud-theme-enterprise {
    --card-accent: #3b82f6;
    --card-glow: rgba(59, 130, 246, 0.12);
    --card-shine: rgba(59, 130, 246, 0.08);
    --card-line: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Slight right incline for Enterprise card in pricing grid */
.pricing-card.hud-theme-enterprise {
    transform: perspective(1000px) rotateY(-2deg);
}

.hud-pricing.hud-theme-enterprise.is-hovered {
    border-color: #3b82f6;
    box-shadow:
        0 0 30px rgba(59, 130, 246, 0.2),
        0 0 60px rgba(59, 130, 246, 0.1);
}

/* Custom (Purple) */
.hud-pricing.hud-theme-custom {
    --card-accent: #a855f7;
    --card-glow: rgba(168, 85, 247, 0.12);
    --card-shine: rgba(168, 85, 247, 0.08);
    --card-line: rgba(168, 85, 247, 0.15);
}

.hud-pricing.hud-theme-custom:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow:
        0 0 40px rgba(168, 85, 247, 0.15),
        0 0 80px rgba(168, 85, 247, 0.08);
}
