﻿/* ========================================
   ENAX Hero Section - Flexbox Approach
   Modern responsive design with animations
   ======================================== */

/* Main Hero Section */
.hero-section-flexbox {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0a1628 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.background-blur-1 {
    position: absolute;
    top: 25%;
    left: 33%;
    width: 500px;
    height: 500px;
    background: #3b82f6;
    border-radius: 50%;
    filter: blur(120px);
    animation: pulse 4s ease-in-out infinite;
}

.background-blur-2 {
    position: absolute;
    bottom: 25%;
    right: 33%;
    width: 400px;
    height: 400px;
    background: #06b6d4;
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse 4s ease-in-out infinite 1s;
}

@@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Content Container - Flexbox */
.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 3rem 1.5rem;
}

/* Logo Circle */
.logo-circle-wrapper {
    margin-bottom: 2rem;
}

.logo-circle {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

    .logo-circle:hover {
        transform: scale(1.1);
    }

.logo-dot {
    width: 0.75rem;
    height: 0.75rem;
    background-color: #60a5fa;
    border-radius: 50%;
}

/* Brand Name */
.brand-name {
    font-size: 1.875rem;
    letter-spacing: 0.4em;
    margin-bottom: 3rem;
    color: #d1d5db;
}

/* Main Content - Flex Container */
.hero-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 200;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

.hero-divider {
    height: 0.25rem;
    width: 6rem;
    background: linear-gradient(to right, transparent, #60a5fa, transparent);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #60a5fa;
    font-weight: 300;
    margin: 0;
}

/* Badge */
.badge-wrapper {
    margin-top: 2rem;
}

.badge-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

    .badge-card:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

.badge-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Microsoft Logo */
.microsoft-logo-wrapper {
    flex-shrink: 0;
}

.microsoft-logo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.375rem;
    width: 3.5rem;
    height: 3.5rem;
    transition: transform 0.3s ease;
}

.badge-card:hover .microsoft-logo {
    transform: scale(1.1);
}

/* Badge Divider */
.badge-divider {
    width: 1px;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
}

/* Badge Text */
.badge-text {
    text-align: left;
}

.badge-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.badge-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.badge-subtitle {
    font-size: 1.125rem;
    color: #60a5fa;
    font-weight: 300;
}

/* Description */
.hero-description {
    max-width: 48rem;
    margin-top: 3rem;
}

    .hero-description p {
        font-size: 1rem;
        color: #d1d5db;
        line-height: 1.75;
        text-align: center;
    }

/* ========================================
   Responsive Design
   ======================================== */

@@media (max-width: 768px) {
    .hero-container {
        min-height: 500px;
        padding: 2.5rem 1rem;
    }

    .brand-name {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-main-content {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .badge-card {
        padding: 1.5rem 2rem;
    }

    .badge-content {
        flex-direction: column;
        text-align: center;
    }

    .badge-divider {
        display: none;
    }

    .badge-text {
        text-align: center;
    }

    .background-blur-1,
    .background-blur-2 {
        width: 300px;
        height: 300px;
    }
}

@@media (max-width: 640px) {
    .logo-circle {
        width: 3rem;
        height: 3rem;
    }

    .logo-dot {
        width: 0.625rem;
        height: 0.625rem;
    }

    .microsoft-logo {
        width: 3rem;
        height: 3rem;
    }

    .badge-title {
        font-size: 1.25rem;
    }

    .badge-subtitle {
        font-size: 1rem;
    }

    .hero-description p {
        font-size: 0.875rem;
    }
}

@@media (min-width: 768px) and (max-width: 1024px) {
    .hero-container {
        padding: 4rem 2rem;
    }
}

@@media (min-width: 1025px) {
    .hero-container {
        padding: 5rem 2rem;
    }
}
