/* ==========================================================================
   AI PRICING PAGE STYLES (ai-pricing.css)
   ========================================================================== */

/* Typography & Core Variables */
:root {
    --font-heading: 'Space Grotesk', sans-serif;
    --color-neon: #FFD400;
    --color-neon-dim: rgba(255, 212, 0, 0.2);
    --bg-dark: #070709;
}

body.dark {
    background-color: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
}

/* Scroll Reveal Utility */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* MAIN WRAPPER */
.pricing-page-wrapper {
    padding-top: 150px;
    padding-bottom: 100px;
    background: radial-gradient(ellipse at top, rgba(255,212,0,0.05) 0%, var(--bg-dark) 60%);
    min-height: 100vh;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-neon-dim);
    margin-bottom: 20px;
}

.glow-text-heavy {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 0 0 30px rgba(255, 212, 0, 0.3);
}

/* SECTION 2: PRICING CARDS */
.pricing-section {
    padding: 20px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-15px);
    border-color: var(--color-neon-dim);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 212, 0, 0.1);
}

.card-glow-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 20px;
    background: radial-gradient(circle at top right, rgba(255, 212, 0, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.plan-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.plan-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: #888;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #ccc;
    font-size: 1.05rem;
}

.plan-features li i {
    color: var(--color-neon);
    font-size: 1.2rem;
}

/* Popular Card Adjustments */
.pricing-card.popular {
    transform: scale(1.05);
    background: rgba(30, 28, 20, 0.8);
    border-color: rgba(255, 212, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 212, 0, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 212, 0, 0.25);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-neon);
    color: #000;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255, 212, 0, 0.5);
}

.popular-glow {
    background: radial-gradient(circle at center, rgba(255, 212, 0, 0.1), transparent 70%);
}

.plan-price.highlight {
    color: var(--color-neon);
    text-shadow: 0 0 15px rgba(255, 212, 0, 0.4);
}

.floating-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    border: 1px dashed rgba(255, 212, 0, 0.1);
    border-radius: 50%;
    animation: rotateRing 20s linear infinite;
    pointer-events: none;
    z-index: -2;
}

@keyframes rotateRing {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
    .glow-text-heavy {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .glow-text-heavy { font-size: 2rem; }
    .pricing-page-wrapper { padding-top: 100px; padding-bottom: 60px; }
    .pricing-card { padding: 2rem; min-height: auto; }
    .plan-price { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .glow-text-heavy { font-size: 1.7rem; line-height: 1.2; }
    .pricing-page-wrapper { padding-top: 80px; padding-bottom: 40px; padding-left: 1rem; padding-right: 1rem; }
    .pricing-header { margin-bottom: 30px; }
    .eyebrow { font-size: 0.8rem; }

    .pricing-grid { gap: 1.25rem; max-width: 100%; }
    .pricing-card { padding: 1.5rem; min-height: auto; border-radius: 14px; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-5px); }

    .plan-name { font-size: 1.2rem; }
    .plan-price { font-size: 2.2rem; }
    .plan-features li { font-size: 0.95rem; gap: 10px; margin-bottom: 12px; }

    .popular-badge { font-size: 0.75rem; padding: 5px 12px; }
}
