/**
 * Public Pages Hero Section CSS
 * Clean, modern hero sections without heavy effects
 * NO: gradient orbs, particles, waves, aurora effects
 */

/* ============================================
   Hero Section Base
   ============================================ */
.public-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.public-hero--dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.public-hero--gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* ============================================
   Hero Container
   ============================================ */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Hero Badge - Simplified
   ============================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--public-primary, #6366f1);
    margin-bottom: 1.5rem;
}

.public-hero--dark .hero-badge,
.public-hero--gradient .hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ============================================
   Hero Title
   ============================================ */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.public-hero--dark .hero-title,
.public-hero--gradient .hero-title {
    color: white;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.public-hero--gradient .hero-title .text-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Hero Description
   ============================================ */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.public-hero--dark .hero-description,
.public-hero--gradient .hero-description {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   Hero Actions
   ============================================ */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ============================================
   Simple Background Decoration
   ============================================ */
.hero-bg-simple {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Static gradient circles - NO animation */
.hero-bg-simple::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg-simple::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

/* ============================================
   Pricing Hero Specific
   ============================================ */
.pricing-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f1f5f9 100%);
}

.pricing-hero .hero-content {
    text-align: center;
}

/* ============================================
   Billing Toggle
   ============================================ */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--public-primary, #6366f1);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: #e2e8f0;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.toggle-switch:hover {
    background: #cbd5e1;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.toggle-slider.active {
    transform: translateX(28px);
    background: var(--public-primary, #6366f1);
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-left: 0.5rem;
}

/* ============================================
   Features Hero Specific
   ============================================ */
.features-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, white 100%);
}

/* ============================================
   Contact Hero Specific
   ============================================ */
.contact-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding: 8rem 1.5rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* ============================================
   About Hero Specific
   ============================================ */
.about-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

/* ============================================
   Auth Page Hero
   ============================================ */
.auth-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f1f5f9 100%);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .public-hero,
    .pricing-hero,
    .features-hero,
    .contact-hero,
    .about-hero {
        padding-top: 6rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .billing-toggle {
        flex-direction: column;
        gap: 0.75rem;
    }
}
