/* Modern Hero Section - Professional & Sophisticated */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #0c4a6e 50%, #1e293b 75%, #0f172a 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    animation: simpleFloat 8s ease-in-out infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 25%;
    left: 15%;
    animation-delay: 0s;
    background: rgba(16, 185, 129, 0.4);
}

.particle-2 {
    width: 5px;
    height: 5px;
    top: 70%;
    right: 20%;
    animation-delay: -4s;
    background: rgba(139, 92, 246, 0.4);
}

.hero-geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    overflow: hidden;
}

.shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    animation: gentleFloat 12s ease-in-out infinite;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 1%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 1%;
    transform: rotate(-30deg);
    animation-delay: -6s;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 0 40px;
}

/* Logo Section */
.hero-logo-section {
    margin-bottom: var(--spacing-8);
}

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-6);
}

.hero-logo {
    height: 80px;
    width: auto;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
    z-index: -1;
}

/* Title Section */
.hero-title-section {
    margin-bottom: var(--spacing-8);
}

.hero-main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-6);
    color: var(--secondary-white);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.04em;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.title-line-1, .title-line-2 {
    display: block;
}

.title-line-1 {
    margin-bottom: var(--spacing-2);
}

.title-highlight {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #8b5cf6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-tagline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Description Section */
.hero-description-section {
    margin-bottom: var(--spacing-10);
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Stats Section */
.hero-stats-section {
    margin-bottom: var(--spacing-12);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-8);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--secondary-white);
    margin-bottom: var(--spacing-1);
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* CTA Section */
.hero-cta-section {
    margin-bottom: var(--spacing-16);
}

.hero-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-6);
    flex-wrap: wrap;
}

.hero-cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-4) var(--spacing-8);
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    color: var(--secondary-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: var(--font-size-lg);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    overflow: hidden;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.3);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-cta-primary:hover .button-glow {
    left: 100%;
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4) var(--spacing-6);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: var(--font-size-lg);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.4s ease;
    text-align: center;
    min-width: 140px;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.cta-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-cta-secondary:hover .cta-icon {
    transform: translateX(4px);
}

/* Values Section */
.hero-values-section {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.values-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--secondary-white);
    margin-bottom: var(--spacing-4);
    position: relative;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
    border-radius: 2px;
}

.values-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: var(--spacing-12);
}

/* Values Grid */
.hero-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-6);
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: var(--spacing-8);
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #8b5cf6 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.2);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-6);
    color: rgba(59, 130, 246, 0.9);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    color: rgba(59, 130, 246, 1);
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.3));
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-letter {
    position: absolute;
    top: var(--spacing-6);
    right: var(--spacing-6);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--font-size-lg);
    color: var(--secondary-white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.value-card:hover .value-letter {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.value-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--secondary-white);
    margin-bottom: var(--spacing-4);
}

.value-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: var(--font-size-base);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), transparent);
    margin: 0 auto var(--spacing-4);
    border-radius: 2px;
}

.scroll-text {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: var(--spacing-3);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
}

/* Simplified Animations */
@keyframes simpleFloat {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-15px);
        opacity: 0.6;
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(45deg);
    }
    50% {
        transform: translateY(-10px) rotate(55deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.fade-up.animate {
    animation: fadeUp 0.8s ease forwards;
}

.scroll-animate.scale-in.animate {
    animation: scaleIn 0.8s ease forwards;
}

.scroll-animate.stagger-1.animate {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.scroll-animate.stagger-2.animate {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.scroll-animate.stagger-3.animate {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

.scroll-animate.stagger-4.animate {
    animation-delay: 0.8s;
    transition-delay: 0.8s;
}

.scroll-animate.stagger-5.animate {
    animation-delay: 1s;
    transition-delay: 1s;
}

.scroll-animate.stagger-6.animate {
    animation-delay: 1.2s;
    transition-delay: 1.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        gap: var(--spacing-6);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0;
        min-height: 100vh;
        align-items: flex-start;
        justify-content: center;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .hero-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }
    
    .hero-content {
        padding: 120px 15px 60px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 180px);
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .hero-logo {
        height: 60px;
    }
    
    .logo-glow {
        width: 100px;
        height: 100px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-4);
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
        transform: rotate(90deg);
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: var(--spacing-4);
    }
    
    .hero-values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-4);
    }
    
    .value-card {
        padding: var(--spacing-6);
    }
    
    .shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 140px 12px 80px !important;
        min-height: calc(100vh - 220px);
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .hero-main-title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.3;
    }
    
    .hero-logo {
        height: 50px;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        padding: var(--spacing-3) var(--spacing-6);
        font-size: var(--font-size-base);
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }
    
    .value-letter {
        top: var(--spacing-4);
        right: var(--spacing-4);
        width: 32px;
        height: 32px;
        font-size: var(--font-size-base);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .particle,
    .shape,
    .logo-glow,
    .scroll-arrow,
    .button-glow {
        animation: none;
    }
    
    .scroll-animate {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    .scroll-animate.animate {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .value-card:hover,
    .hero-cta-primary:hover,
    .hero-cta-secondary:hover {
        transform: none;
    }
    
    .value-card:active {
        transform: scale(0.98);
    }
    
    .hero-cta-primary:active,
    .hero-cta-secondary:active {
        transform: scale(0.98);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-gradient {
        background: #0f172a;
    }
    
    .value-card,
    .hero-cta-secondary {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .particle,
    .shape {
        display: none;
    }
}