/* Clean UI Overrides - Ensuring Professional Look */

/* 1. Fix Footer Alignment */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.footer-brand {
    max-width: 300px;
}

/* 2. Fix Giant Globe Issues (Prevent overflow) */
body, html {
    overflow-x: hidden;
    width: 100%;
}

.hero, .cta, section {
    position: relative;
    overflow: hidden; /* Contains any pseudo-element blobs */
}

/* 3. Pricing Cards Clarity */
.pricing-card {
    background: rgba(20, 20, 25, 0.95) !important; /* Solid-ish background */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-highlight {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95)) !important;
    border: 1px solid var(--accent-primary);
}

.pricing-price .amount {
    color: white !important;
    -webkit-text-fill-color: white !important; /* Ensure visibility */
    display: inline-block;
}

/* 4. Navbar Clarity */
.nav {
    background: rgba(5, 5, 5, 0.85); /* Slightly darker/more opaque */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Fix Pricing Background - Remove Giant Globe */
#pricing, .pricing-section {
    background: transparent !important;
    border-radius: 0 !important;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: visible !important;
}

/* Pricing Toggle Container Alignment & Fix "Save 70%" */
.pricing-toggle {
    display: none !important; /* Hiding Lifetime toggle completely per user preference */
}

/* Improve FAQ Spacing */
.faq-item {
    margin-bottom: var(--space-md) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Improve CTA Legibility */
.cta-section-new h2 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.cta-section-new p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    color: white !important; /* Force pure white */
    opacity: 1 !important;
}

/* Remove "White Dot" (Floating Accessibility/Theme Toggle if fixed) */
#theme-toggle-floating, .floating-toggle {
    display: none !important;
}

/* Fix bottom-left white dot if it's the theme toggle */
.theme-toggle {
    position: static !important; /* Ensure it stays in navbar */
    transform: none !important;
}

/* =========================================
   PREMIUM WAITING EXPERIENCE (AI GENERATION)
   ========================================= */

.generating-state {
    text-align: center;
    padding: 60px 40px;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 40px auto;
    animation: fadeInUp 0.6s ease-out;
}

.spinner-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(from 0deg, transparent 0%, #8b5cf6 50%, transparent 100%);
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.spinner-large::before {
    content: '';
    position: absolute;
    inset: 3px; 
    background: #0f0f15; /* Match card dark bg */
    border-radius: 50%;
}

/* Inner pulsing core */
.spinner-large::after {
    content: '';
    position: absolute;
    inset: 20px;
    background: radial-gradient(circle, rgba(139,92,246,0.8) 0%, rgba(139,92,246,0) 70%);
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite;
}

.generating-state h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.generating-state p {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 320px;
    margin: 0 auto;
}

.progress-steps .step {
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    color: #64748b;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-steps .step.active {
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
    transform: translateX(10px) scale(1.02);
}

/* Add checkmark for completed steps if we wanted to implement that later */
.progress-steps .step.completed::after {
    content: '✓';
    margin-left: auto;
    color: #22c55e;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
