/**
 * IFINSTA HERO COMPONENT
 * Standardized hero sections for guest/marketing pages
 * 
 * Usage:
 *   <section class="ifinsta-hero ifinsta-hero--marketing">
 *     <div class="ifinsta-hero__container">
 *       <div class="ifinsta-hero__content">
 *         <h1 class="ifinsta-hero__title">Title</h1>
 *         <p class="ifinsta-hero__subtitle">Subtitle</p>
 *       </div>
 *     </div>
 *   </section>
 */

/* ==========================================================================
   BASE HERO
   ========================================================================== */

.ifinsta-hero {
    position: relative;
    overflow: hidden;
}

.ifinsta-hero__container {
    max-width: var(--ifinsta-guest-max-width, 1200px);
    margin: 0 auto;
    padding: 0 2rem;
}

.ifinsta-hero__content {
    position: relative;
    z-index: var(--ifinsta-z-base, 1);
}

.ifinsta-hero__title {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ifinsta-guest-text);
    margin: 0;
}

.ifinsta-hero__subtitle {
    color: var(--ifinsta-guest-text-secondary);
    margin: 0;
}

.ifinsta-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   VARIANT: MARKETING (Large, bold, for guest pages)
   ========================================================================== */

.ifinsta-hero--marketing {
    padding: 2rem 0 2.5rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--ifinsta-guest-border);
    text-align: center;
}

.ifinsta-hero--marketing .ifinsta-hero__content {
    max-width: 720px;
    margin: 0 auto;
}

.ifinsta-hero--marketing .ifinsta-hero__title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.ifinsta-hero--marketing .ifinsta-hero__subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* Marketing hero with stats */
.ifinsta-hero__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
}

.ifinsta-hero__stat {
    text-align: center;
}

.ifinsta-hero__stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ifinsta-guest-text);
    letter-spacing: -0.02em;
}

.ifinsta-hero__stat-label {
    font-size: 0.875rem;
    color: var(--ifinsta-guest-text-muted);
    margin-top: 0.25rem;
}

/* ==========================================================================
   VARIANT: DARK (For CTA sections)
   ========================================================================== */

.ifinsta-hero--dark {
    padding: 5rem 0;
    background: #0f172a;
    text-align: center;
}

.ifinsta-hero--dark .ifinsta-hero__container {
    position: relative;
    z-index: var(--ifinsta-z-base, 1);
}

.ifinsta-hero--dark .ifinsta-hero__content {
    max-width: 600px;
    margin: 0 auto;
}

.ifinsta-hero--dark .ifinsta-hero__title {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.ifinsta-hero--dark .ifinsta-hero__subtitle {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* Glow effect for dark hero */
.ifinsta-hero--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.08);
    pointer-events: none;
}

/* ==========================================================================
   EYEBROW LABEL
   ========================================================================== */

.ifinsta-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ifinsta-guest-accent);
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.ifinsta-hero--dark .ifinsta-hero__eyebrow {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .ifinsta-hero--marketing {
        padding: 1.5rem 0 2rem;
    }
    
    .ifinsta-hero--marketing .ifinsta-hero__title {
        font-size: 2rem;
    }
    
    .ifinsta-hero--marketing .ifinsta-hero__subtitle {
        font-size: 1.0625rem;
    }
    
    .ifinsta-hero__stats {
        gap: 2rem;
    }
    
    .ifinsta-hero__stat-value {
        font-size: 1.5rem;
    }
    
    .ifinsta-hero--dark {
        padding: 4rem 0;
    }
    
    .ifinsta-hero--dark .ifinsta-hero__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .ifinsta-hero__container {
        padding: 0 1.25rem;
    }
    
    .ifinsta-hero--marketing .ifinsta-hero__title {
        font-size: 1.75rem;
    }
}
