@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* =========================================
   ROOT VARIABLES & WRAPPER
   ========================================= */
.wml-pricing-tables {
    --wml-pt-gap: 30px;
    --wml-pt-accent: #a1c4fd;
    --wml-pt-card-bg: transparent;
    --wml-pt-card-text: #ffffff;
    --wml-pt-btn-bg: transparent;
    --wml-pt-btn-text: inherit;
    font-family: 'Outfit', sans-serif;
    width: 100%;
}

/* ── Section Title ─────────────────────── */
.wml-pt-section-title {
    text-align: center;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-size: 2.2rem;
    background: linear-gradient(90deg, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Grid ──────────────────────────────── */
.wml-pt-grid {
    display: grid;
    gap: var(--wml-pt-gap, 30px);
    width: 100%;
}
.wml-pt-cols-1 { grid-template-columns: repeat(1, 1fr); }
.wml-pt-cols-2 { grid-template-columns: repeat(2, 1fr); }
.wml-pt-cols-3 { grid-template-columns: repeat(3, 1fr); }
.wml-pt-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .wml-pt-cols-3,
    .wml-pt-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .wml-pt-cols-2,
    .wml-pt-cols-3,
    .wml-pt-cols-4 { grid-template-columns: 1fr; }
}

/* ── Shared Card Base ──────────────────── */
.wml-pt-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 440px;
}

/* ── Entrance Animation ─────────────────── */
.wml-pt-entrance {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.wml-pt-entrance.wml-pt-show {
    opacity: 1;
    transform: translateY(0);
}
/* Bricks builder: always show */
.brxe-wml-pricing-tables .wml-pt-entrance {
    opacity: 1;
    transform: translateY(0);
}

/* ── Shared Card Typography ────────────── */
.wml-pt-name {
    margin-bottom: 8px;
}
.wml-pt-desc {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 18px;
    line-height: 1.5;
    flex-shrink: 0;
}
.wml-pt-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 10px 0 18px;
    line-height: 1;
}
.wml-pt-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.6;
}
.wml-pt-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}
.wml-pt-features li {
    margin: 14px 0;
    font-size: 0.92rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.wml-pt-features li:hover {
    transform: translateX(5px);
    opacity: 1;
}
.wml-pt-features li::before {
    content: "✦";
    font-size: 0.75rem;
    color: inherit;
    flex-shrink: 0;
}

/* ── Shared Button ─────────────────────── */
.wml-pt-btn {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.82rem;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: auto;
    box-sizing: border-box;
}

/* ── Badge ─────────────────────────────── */
.wml-pt-badge {
    position: absolute;
    top: -14px;
    right: -14px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 10;
    animation: wml-pt-float 3s ease-in-out infinite;
    background: var(--wml-pt-accent, #a1c4fd);
    color: #000;
}
@keyframes wml-pt-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* =========================================
   1. GLASS MIRAGE
   ========================================= */
.wml-pt-card--glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    color: #fff;
    transition: transform 0.5s ease, border 0.5s ease;
}
.wml-pt-card--glass:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
}
.wml-pt-card--glass .wml-pt-name  { color: var(--wml-pt-accent, #a1c4fd); font-size: 1.7rem; }
.wml-pt-card--glass .wml-pt-price { color: #fff; }
.wml-pt-card--glass .wml-pt-badge { background: var(--wml-pt-accent, #a1c4fd); color: #000; }
.wml-pt-card--glass .wml-pt-features li::before { color: var(--wml-pt-accent, #a1c4fd); }
.wml-pt-btn--glass {
    background: var(--wml-pt-btn-bg, var(--wml-pt-accent, #a1c4fd));
    color: var(--wml-pt-btn-text, #000);
}
.wml-pt-btn--glass:hover {
    background: #fff;
    box-shadow: 0 0 25px rgba(161, 196, 253, 0.6);
    transform: scale(1.05);
}

/* =========================================
   2. CYBER GLOW
   ========================================= */
.wml-pt-card--cyber-wrapper {
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(90deg, #ff00cc, #3333ff, #00ffcc, #ff00cc);
    background-size: 400% 400%;
    animation: wml-pt-cyber-gradient 8s linear infinite;
    overflow: visible;
}
@keyframes wml-pt-cyber-gradient {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.wml-pt-card--cyber-wrapper .wml-pt-badge {
    background: #00ffcc;
    color: #000;
    top: -11px;
    right: -11px;
}
.wml-pt-card--cyber-inner {
    background: #0b0d10;
    border-radius: 21px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #fff;
}
.wml-pt-card--cyber-wrapper .wml-pt-name {
    color: var(--wml-pt-accent, #00ffcc);
    text-transform: uppercase;
    letter-spacing: 3px;
}
.wml-pt-card--cyber-wrapper .wml-pt-price {
    text-shadow: 0 0 15px rgba(0,255,204,0.5);
}
.wml-pt-card--cyber-wrapper .wml-pt-features li::before { color: var(--wml-pt-accent, #00ffcc); }
.wml-pt-btn--cyber {
    background: transparent;
    border: 2px solid var(--wml-pt-btn-bg, var(--wml-pt-accent, #00ffcc));
    color: var(--wml-pt-btn-text, var(--wml-pt-accent, #00ffcc));
}
.wml-pt-btn--cyber:hover {
    background: var(--wml-pt-accent, #00ffcc);
    color: #000;
    box-shadow: 0 0 20px var(--wml-pt-accent, #00ffcc);
    transform: scale(1.05);
}

/* =========================================
   3. VIP FLIP
   ========================================= */
.wml-pt-card--flip-container {
    perspective: 1000px;
    background: transparent;
    min-height: 520px;
    overflow: visible;
}
.wml-pt-flip-inner {
    width: 100%;
    height: 100%;
    min-height: 520px;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    position: relative;
}
.wml-pt-card--flip-container:hover .wml-pt-flip-inner {
    transform: rotateY(180deg);
}
.wml-pt-flip-front,
.wml-pt-flip-back {
    width: 100%;
    height: 100%;
    min-height: 520px;
    position: absolute;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}
.wml-pt-flip-front {
    background: linear-gradient(135deg, #1e2024, #0b0d10);
    border: 1px solid #2a2d33;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.wml-pt-flip-front .wml-pt-name {
    font-size: 2.2rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.wml-pt-flip-front p { color: #888; font-size: 1rem; line-height: 1.6; }
.wml-pt-flip-back {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transform: rotateY(180deg);
    color: #fff;
}
.wml-pt-flip-back .wml-pt-badge { background: #fff; color: #764ba2; }
.wml-pt-flip-back .wml-pt-price { font-size: 3rem; }
.wml-pt-flip-back .wml-pt-features li::before { color: rgba(255,255,255,0.8); }
.wml-pt-btn--flip {
    background: var(--wml-pt-btn-bg, #fff);
    color: var(--wml-pt-btn-text, #764ba2);
}
.wml-pt-btn--flip:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* =========================================
   4. OBSIDIAN & GOLD
   ========================================= */
.wml-pt-card--gold {
    background: var(--wml-pt-card-bg, #111);
    padding: 40px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #333;
    color: #fff;
    transition: all 0.5s ease;
}
.wml-pt-card--gold::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 3px;
    background: var(--wml-pt-accent, #d4af37);
    transition: width 0.6s cubic-bezier(0.86, 0, 0.07, 1);
}
.wml-pt-card--gold:hover::after { width: 100%; }
.wml-pt-card--gold:hover {
    box-shadow: inset 0 0 0 1px var(--wml-pt-accent, #d4af37),
                0 20px 40px rgba(212,175,55,0.05);
    transform: translateY(-5px);
}
.wml-pt-card--gold .wml-pt-name {
    color: var(--wml-pt-accent, #d4af37);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
}
.wml-pt-card--gold .wml-pt-price {
    font-size: 3rem;
    font-weight: 300;
    font-family: 'Times New Roman', serif;
}
.wml-pt-card--gold .wml-pt-badge { background: var(--wml-pt-accent, #d4af37); color: #111; border-radius: 0; }
.wml-pt-card--gold .wml-pt-features li::before { content: "✓"; color: var(--wml-pt-accent, #d4af37); }
.wml-pt-btn--gold {
    background: var(--wml-pt-btn-bg, transparent);
    border: 1px solid var(--wml-pt-accent, #d4af37);
    color: var(--wml-pt-btn-text, var(--wml-pt-accent, #d4af37));
    border-radius: 0;
}
.wml-pt-btn--gold:hover {
    background: var(--wml-pt-accent, #d4af37);
    color: #111;
}

/* =========================================
   5. MORPHING VOID
   ========================================= */
.wml-pt-card--morph {
    padding: 40px;
    border-radius: 24px;
    z-index: 1;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
}
.wml-pt-card--morph::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, var(--wml-pt-accent, #e94560) 0%, #16213e 40%, transparent 80%);
    z-index: -1;
    animation: wml-pt-morph 12s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}
@keyframes wml-pt-morph {
    0%   { transform: rotate(0deg) scale(1); }
    50%  { transform: rotate(180deg) scale(1.5); }
    100% { transform: rotate(360deg) scale(1); }
}
.wml-pt-card--morph .wml-pt-name { font-size: 1.7rem; }
.wml-pt-card--morph .wml-pt-price { color: var(--wml-pt-accent, #e94560); }
.wml-pt-card--morph .wml-pt-badge { background: var(--wml-pt-accent, #e94560); color: #fff; }
.wml-pt-card--morph .wml-pt-features li::before { color: var(--wml-pt-accent, #e94560); }
.wml-pt-btn--morph {
    background: var(--wml-pt-btn-bg, var(--wml-pt-accent, #e94560));
    color: var(--wml-pt-btn-text, #fff);
    border-radius: 12px;
}
.wml-pt-btn--morph:hover {
    background: #fff;
    color: var(--wml-pt-accent, #e94560);
    transform: scale(1.05);
}

/* =========================================
   6. DARK NEUMORPH
   ========================================= */
.wml-pt-card--neumorph {
    background: var(--wml-pt-card-bg, #0b0d10);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 12px 12px 24px #060709, -12px -12px 24px #101317;
    border: 1px solid rgba(255,255,255,0.02);
    color: #fff;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.wml-pt-card--neumorph:hover {
    box-shadow: inset 8px 8px 16px #060709, inset -8px -8px 16px #101317;
    transform: translateY(2px);
}
.wml-pt-card--neumorph .wml-pt-name { color: var(--wml-pt-accent, #8a9bb1); font-size: 1.7rem; }
.wml-pt-card--neumorph .wml-pt-price { color: #fff; }
.wml-pt-card--neumorph .wml-pt-price span { color: #666; }
.wml-pt-card--neumorph .wml-pt-badge {
    background: #0b0d10;
    color: var(--wml-pt-accent, #8a9bb1);
    box-shadow: 4px 4px 8px #060709, -4px -4px 8px #101317;
}
.wml-pt-card--neumorph .wml-pt-features li::before { content: "•"; color: var(--wml-pt-accent, #8a9bb1); }
.wml-pt-btn--neumorph {
    background: var(--wml-pt-btn-bg, #0b0d10);
    color: var(--wml-pt-btn-text, var(--wml-pt-accent, #8a9bb1));
    box-shadow: 6px 6px 12px #060709, -6px -6px 12px #101317;
    border-radius: 30px;
}
.wml-pt-btn--neumorph:hover {
    box-shadow: inset 4px 4px 8px #060709, inset -4px -4px 8px #101317;
    color: #fff;
}

/* =========================================
   7. NEON GLITCH
   ========================================= */
.wml-pt-card--glitch {
    background: var(--wml-pt-card-bg, #000);
    padding: 40px;
    border: 2px solid #333;
    color: #fff;
    border-radius: 4px;
}
.wml-pt-card--glitch .wml-pt-badge {
    background: var(--wml-pt-accent, #ff003c);
    color: #fff;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
}
.wml-pt-glitch-title {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    font-size: 1.8rem;
    position: relative;
}
.wml-pt-card--glitch:hover .wml-pt-glitch-title {
    animation: wml-pt-glitch 0.3s cubic-bezier(.25,.46,.45,.94) both infinite;
}
@keyframes wml-pt-glitch {
    0%   { transform: translate(0);        text-shadow: 0 0 0 #ff003c, 0 0 0 #00e5ff; }
    20%  { transform: translate(-2px, 2px); text-shadow: 2px 0 0 #ff003c, -2px 0 0 #00e5ff; }
    40%  { transform: translate(-2px,-2px); text-shadow: -2px 0 0 #ff003c, 2px 0 0 #00e5ff; }
    60%  { transform: translate(2px, 2px);  text-shadow: 2px 0 0 #ff003c, -2px 0 0 #00e5ff; }
    80%  { transform: translate(2px,-2px);  text-shadow: -2px 0 0 #ff003c, 2px 0 0 #00e5ff; }
    100% { transform: translate(0);        text-shadow: 0 0 0 #ff003c, 0 0 0 #00e5ff; }
}
.wml-pt-card--glitch .wml-pt-price { font-family: 'Space Mono', monospace; }
.wml-pt-card--glitch .wml-pt-price span { color: #666; }
.wml-pt-card--glitch .wml-pt-features { font-family: 'Space Mono', monospace; }
.wml-pt-card--glitch .wml-pt-features li::before { content: ">"; color: #00e5ff; font-weight: bold; }
.wml-pt-btn--glitch {
    background: transparent;
    color: var(--wml-pt-btn-text, #fff);
    border: 2px solid #fff;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    position: relative;
    overflow: hidden;
}
.wml-pt-btn--glitch::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--wml-pt-accent, #ff003c);
    transition: left 0.3s ease;
    z-index: -1;
}
.wml-pt-btn--glitch:hover::before { left: 0; }
.wml-pt-btn--glitch:hover { border-color: var(--wml-pt-accent, #ff003c); }

/* =========================================
   8. LIQUID CHAMBER
   ========================================= */
.wml-pt-card--liquid {
    background: var(--wml-pt-card-bg, #0f172a);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(56,189,248,0.2);
    color: #fff;
}
.wml-pt-card--liquid > * { position: relative; z-index: 1; }
.wml-pt-wave {
    position: absolute;
    top: -150px; left: -50%;
    width: 200%; height: 200px;
    background: linear-gradient(to bottom, rgba(56,189,248,0.2), transparent);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: wml-pt-liquid-wave 8s linear infinite;
    z-index: 0;
    pointer-events: none;
}
.wml-pt-wave:nth-child(2) {
    top: -160px;
    background: linear-gradient(to bottom, rgba(14,165,233,0.1), transparent);
    animation-direction: reverse;
    animation-duration: 12s;
}
@keyframes wml-pt-liquid-wave {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.wml-pt-card--liquid .wml-pt-name { color: var(--wml-pt-accent, #38bdf8); font-size: 1.7rem; }
.wml-pt-card--liquid .wml-pt-badge { background: var(--wml-pt-accent, #38bdf8); color: #0f172a; }
.wml-pt-card--liquid .wml-pt-price span { color: #64748b; }
.wml-pt-card--liquid .wml-pt-features li::before { content: "≈"; color: var(--wml-pt-accent, #38bdf8); font-weight: bold; }
.wml-pt-btn--liquid {
    background: var(--wml-pt-btn-bg, var(--wml-pt-accent, #38bdf8));
    color: var(--wml-pt-btn-text, #0f172a);
    border-radius: 16px;
}
.wml-pt-btn--liquid:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56,189,248,0.3);
}
