/* ================================================
   PRICING PAGE STYLES - DARK THEME (COMPACT)
   ================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
    padding: 30px 15px;
    position: relative;
}

/* Animated background dots */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.pricing-section {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
}

/* Header Section */
.pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(129, 140, 248, 0.3);
}

.section-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 400;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Plan Cards - SMALLER & COMPACT */
.plan-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.3), rgba(192, 132, 252, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(129, 140, 248, 0.3);
    border-color: rgba(129, 140, 248, 0.3);
}

.plan-card:hover::before {
    opacity: 1;
}

/* Recommended Badge */
.plan-card.recommended {
    background: linear-gradient(135deg, #1e293b 0%, #312e81 100%);
    border: 2px solid #818cf8;
    transform: scale(1.03);
}

.plan-card.recommended:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 45px rgba(129, 140, 248, 0.5);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 15px;
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(129, 140, 248, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(129, 140, 248, 0.6);
    }
    50% {
        box-shadow: 0 4px 25px rgba(129, 140, 248, 0.8);
    }
}

/* Plan Card Content - COMPACT */
.plan-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.plan-description {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 15px;
    min-height: 35px;
    line-height: 1.4;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.plan-price span {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    background: none;
    -webkit-text-fill-color: #64748b;
}

.plan-trial {
    color: #34d399;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.plan-trial::before {
    content: '✓';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: rgba(52, 211, 153, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 0.7rem;
}

/* Plan Features - COMPACT */
.plan-features {
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.plan-features li {
    padding: 8px 0;
    color: #cbd5e1;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li::before {
    content: '✓';
    color: #34d399;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.plan-features li strong {
    color: #f1f5f9;
    font-weight: 600;
}

/* Buttons - COMPACT */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    color: white;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(129, 140, 248, 0.5);
}

.btn-secondary {
    background: rgba(30, 41, 59, 0.8);
    color: #818cf8;
    border: 2px solid rgba(129, 140, 248, 0.3);
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-secondary:hover {
    background: rgba(129, 140, 248, 0.1);
    border-color: #818cf8;
    color: #c084fc;
}

/* Footer */
.pricing-footer {
    text-align: center;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .pricing-header h1 {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .plan-card.recommended {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .pricing-header h1 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .plan-card {
        padding: 20px 18px;
    }

    .plan-price {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 1.6rem;
    }

    .plan-card h3 {
        font-size: 1.3rem;
    }

    .plan-card {
        padding: 18px 15px;
    }
}