/* Hero Section Redesign - Premium SaaS Style with Brand Colors */

/* Import Spacing System */
@import url('./spacing-system.css');

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Import Animations */
@import url('./animations.css');

/* Hero Section - Premium SaaS with Gradient Background */
.hero-section {
    background: linear-gradient(135deg, #F8FAFF 0%, #FFFFFF 50%, #F0FDF4 100%);
    padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Centered Content Container - Responsive */
.hero-content-centered {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: heroFadeIn 1s ease-out;
    padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
    .hero-content-centered {
        max-width: 1000px;
        padding: 0;
    }
}


/* Hero Badge - Premium Pill Style */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(11, 37, 120, 0.08);
    border: 1px solid rgba(11, 37, 120, 0.16);
    border-radius: 50px;
    padding: var(--space-xs) var(--space-sm);
    margin-bottom: var(--hero-element-gap);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(11, 37, 120, 0.12);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1rem;
    line-height: 1;
}

.badge-text {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0B2578;
    letter-spacing: 0.025em;
}

/* Hero Headline - Large Bold Typography */
.hero-headline {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(2.5rem, 7vw, 80px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
    margin-bottom: var(--hero-element-gap);
    display: inline-block;
    visibility: visible;
    opacity: 1;
    position: relative;
    z-index: 10;
}

.hero-headline .heading-primary {
    color: #0B2578;
    display: inline-block;
    visibility: visible;
    opacity: 1;
}

.hero-headline .heading-accent {
    color: #1A9464;
    display: inline-block;
    visibility: visible;
    opacity: 1;
}

/* Hero Subheading - Professional Copy */
.hero-subheading {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(1.125rem, 3vw, 22px);
    line-height: 1.5;
    color: #6B7280;
    margin-bottom: var(--hero-element-gap);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

@media (min-width: 768px) {
    .hero-subheading {
        max-width: 700px;
    }
}

/* Hero Stats - 3-Column Layout */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--hero-element-gap);
    margin-bottom: var(--hero-element-gap);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 0.5rem 0;
}

.stat-number {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: #0B2578;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.stat-label {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* Mobile Stats - Stack Vertically */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
        max-width: 300px;
    }
    
    .stat-item {
        padding: 1.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
}

/* CTA Button Group - Responsive */
.hero-cta-group {
    display: flex;
    gap: var(--hero-element-gap);
    justify-content: center;
    margin-bottom: var(--hero-element-gap);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }
    
    .hero-cta-group .btn-cta-primary,
    .hero-cta-group .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Primary CTA Button - Premium Style */
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2.5vw, 18px) clamp(2rem, 4vw, 36px);
    background: #0B2578;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(1rem, 2.5vw, 18px);
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    gap: 0.75rem;
    min-height: 52px; /* Touch target minimum */
    box-shadow: 0 4px 12px rgba(11, 37, 120, 0.2);
    line-height: 1;
}

.btn-cta-primary i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover {
    background: #1A9464;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(26, 148, 100, 0.3);
}

.btn-cta-primary:hover i {
    transform: translateX(2px);
}

.btn-cta-primary:active {
    transform: translateY(-1px);
}

/* Secondary CTA Button - Premium Outline */
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 2.5vw, 18px) clamp(2rem, 4vw, 36px);
    background: transparent;
    color: #0B2578;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(1rem, 2.5vw, 18px);
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid #0B2578;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    gap: 0.75rem;
    min-height: 52px; /* Touch target minimum */
    line-height: 1;
}

.btn-cta-secondary i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-cta-secondary:hover {
    color: #1A9464;
    border-color: #1A9464;
    background: rgba(26, 148, 100, 0.04);
    transform: translateY(-3px);
}

.btn-cta-secondary:hover i {
    transform: translateX(2px);
}

.btn-cta-secondary:active {
    transform: translateY(-1px);
}

/* Trust Indicators - Premium Style */
.hero-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    opacity: 0.8;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: #6B7280;
    font-weight: 500;
    line-height: 1;
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: #1A9464;
    flex-shrink: 0;
}

/* Mobile Trust Indicators */
@media (max-width: 768px) {
    .hero-trust {
        gap: clamp(1.5rem, 4vw, 2rem);
        flex-direction: column;
        text-align: center;
    }
    
    .trust-item {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }
}

/* Responsive Design - Enhanced */
@media (max-width: 768px) {
    .hero-section {
        padding: var(--section-padding-lg) 0;
        min-height: 70vh;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 6vw, 48px);
        margin-bottom: var(--space-md);
    }
    
    .hero-subheading {
        font-size: clamp(1rem, 2.5vw, 18px);
        margin-bottom: var(--space-md);
    }
    
    .hero-stats {
        margin-bottom: var(--space-lg);
    }
    
    .hero-cta-group {
        margin-bottom: var(--space-lg);
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: var(--button-padding-y) var(--button-padding-x);
        font-size: clamp(0.875rem, 2.5vw, 16px);
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: var(--section-padding-md) 0;
        min-height: 65vh;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 5vw, 36px);
    }
    
    .hero-subheading {
        font-size: clamp(0.875rem, 2.5vw, 16px);
    }
    
    .stat-number {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: var(--button-padding-y) var(--button-padding-x);
        font-size: clamp(0.75rem, 2.5vw, 15px);
        min-height: 44px;
    }
}

/* Large Desktop Optimization */
@media (min-width: 1440px) {
    .hero-content-centered {
        max-width: 1200px;
    }
    
    .hero-stats {
        max-width: 700px;
    }
}

@media (min-width: 1920px) {
    .hero-content-centered {
        max-width: 1400px;
    }
    
    .hero-stats {
        max-width: 800px;
    }
}
