/* Pricing Page Redesign */

/* Hero Section (Re-used from old inline styles) */
#pricing-hero.hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

#pricing-hero .hero-background-improved {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

#pricing-hero> :not(.hero-background-improved) {
    position: relative;
    z-index: 2;
}

#pricing-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #00ffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

#pricing-hero .subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
}

.pilot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
}

.pilot-badge strong {
    color: var(--primary-cyan);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Intro Section */
.intro-section {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.intro-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.intro-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.intro-section ul {
    list-style: none;
    margin: 1.5rem 0;
}

.intro-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-light);
}

.intro-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-weight: bold;
}

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

.pricing-card {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cyan-15);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan-50);
    box-shadow: var(--shadow-glow-md);
}

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

.pricing-card>* {
    position: relative;
    z-index: 1;
}

.pricing-card.popular {
    border-color: var(--primary-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.pricing-card.popular:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    border-color: #a78bfa;
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-purple);
    color: white;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.4);
}

.service-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 2.85rem;
}

.price-container {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.market-value-label {
    font-size: 0.85rem;
    color: var(--text-subtle);
    margin-bottom: 0.25rem;
    display: block;
}

.market-value {
    color: var(--text-subtle);
    text-decoration: line-through;
    font-size: 1.1rem;
    font-weight: 500;
}

.pilot-price-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-top: 0.5rem;
}

.pilot-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-cyan);
    font-family: var(--font-display);
    line-height: 1;
}

.savings {
    background: rgba(37, 211, 102, 0.15);
    color: var(--success);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.pricing-cta {
    margin-top: auto;
}

/* High Contrast Premium Buttons */
.cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gradient-cyan-blue);
    color: #000 !important;
    /* High contrast text */
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00eccf, #0080ff);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
    color: #000 !important;
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button-lg {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    display: inline-block;
    width: auto;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-cyan);
    font-family: var(--font-display);
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.faq-item h3 svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--primary-cyan);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    padding-left: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    #pricing-hero.hero {
        padding: 5rem 1rem 3rem;
    }

    #pricing-hero h1 {
        font-size: 2.2rem;
    }

    #pricing-hero .subtitle {
        font-size: 1.1rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .intro-section,
    .faq-section {
        padding: 2rem 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pilot-price {
        font-size: 2.5rem;
    }
}