/* e:\Antigravity\pricing.css */
body.pricing-page {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Background animated elements */
.bg-animations {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: portalFloat 20s infinite ease-in-out alternate;
}

@keyframes portalFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 5%) scale(1.1); }
    100% { transform: translate(-5%, 2%) scale(1.05); }
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.4) 0%, rgba(0,0,0,0) 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(179, 136, 255, 0.3) 0%, rgba(0,0,0,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Header & Nav */
.pricing-header {
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 10;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.header-brand h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin: 0;
}

.header-brand .sidebar-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.pricing-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.pricing-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s;
}

.pricing-nav a:hover,
.pricing-nav a.active {
    color: var(--text-main);
}

/* Main Content */
.pricing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    z-index: 1;
}

.pricing-title {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-title p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

/* Pricing Cards Container */
.pricing-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 100%;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Individual Card */
.card {
    background: rgba(26, 26, 32, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 40px 30px;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card.advanced {
    background: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.card.advanced::before,
.card.enterprise::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(45deg, #00e5ff, #b388ff, #ff4081);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card.advanced:hover::before,
.card.enterprise:hover::before {
    opacity: 0.5;
}

.card.enterprise {
    background: rgba(40, 20, 60, 0.6);
    border: 1px solid rgba(179, 136, 255, 0.3);
    box-shadow: 0 0 30px rgba(179, 136, 255, 0.1);
}

.card.enterprise .plan-name {
    color: #b388ff;
}

.card.enterprise .card-features li::before {
    color: #b388ff;
}

.card.enterprise .btn-fill {
    background: #b388ff;
}

.card.enterprise .btn-fill:hover {
    background: #9575cd;
    box-shadow: 0 0 20px rgba(179, 136, 255, 0.4);
}

.card-header {
    margin-bottom: 30px;
}

.plan-name {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.card.advanced .plan-name {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.card.advanced .plan-name::after {
    content: 'BEST VALUE';
    position: absolute;
    top: -30px;
    right: -20px;
    background: linear-gradient(45deg, #ffc107, #ff9800);
    color: #000;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 800;
}

.plan-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
}

.plan-price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 5px;
}

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

.card-features li {
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.card-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

.card-action {
    margin-top: auto;
}

.btn-plan {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255,255,255,0.05);
}

.btn-fill {
    background: var(--accent);
    color: #000;
}

.btn-fill:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .pricing-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .pricing-nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pricing-title h2 {
        font-size: 36px;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        width: 100%;
        max-width: 360px;
    }
}
