/* Professional Hero Section - Inspired by Enterprise Design */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background: #fafafa;
}

/* Tech background image */
.hero-sphere {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    object-fit: cover;
    object-position: right center;
    filter: brightness(1.2);
    display: block;
}

/* Professional diagonal split design */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, 
        #ffffff 0%,
        #ffffff 50%,
        rgba(255,255,255,0.95) 55%,
        rgba(255,255,255,0.8) 60%,
        rgba(255,255,255,0.4) 65%,
        transparent 75%);
    z-index: 1;
}

/* Remove the after overlay to make sphere more visible */
.hero-background::after {
    display: none;
}

/* Ensure content is above background */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Tablet responsive (iPad and similar) */
@media (max-width: 1024px) {
    .hero-sphere {
        width: 70%;
        right: -15%;
        opacity: 0.12;
    }
    
    .hero-background::before {
        background: linear-gradient(105deg, 
            #ffffff 0%,
            #ffffff 45%,
            rgba(255,255,255,0.95) 50%,
            rgba(255,255,255,0.8) 55%,
            rgba(255,255,255,0.4) 60%,
            transparent 70%);
    }
    
    .hero-content {
        max-width: 600px;
        padding: 0 40px;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        min-height: 100vh;
    }
    
    .hero-sphere {
        width: 100%;
        right: 0;
        left: 0;
        opacity: 1;
        top: 0;
        height: 100%;
        object-position: center center;
        object-fit: cover;
    }
    
    .hero-background::before {
        background: rgba(255,255,255,0.85);
    }
    
    .hero-content {
        padding: 0 30px;
        text-align: center;
        position: relative;
        z-index: 10;
    }
    
    .hero-badge {
        font-size: 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
    }
    
    .hero-sphere {
        opacity: 1;
        width: 100%;
        right: 0;
        left: 0;
    }
    
    .hero-background::before {
        background: rgba(255,255,255,0.88);
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-minimal,
    .btn-ghost {
        padding: 12px 24px;
        font-size: 14px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Subtle gradient mesh */
.hero-gradient-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 40%, rgba(6, 67, 140, 0.015), transparent),
        radial-gradient(ellipse 600px 800px at 80% 60%, rgba(8, 86, 179, 0.015), transparent);
}

/* Animated grid lines */
.hero-grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(6, 67, 140, 0.02), transparent);
    animation: gridFade 10s infinite;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    top: 0;
}

.grid-line.vertical:nth-child(1) { left: 25%; animation-delay: 0s; }
.grid-line.vertical:nth-child(2) { left: 50%; animation-delay: 2s; }
.grid-line.vertical:nth-child(3) { left: 75%; animation-delay: 4s; }

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    left: 0;
}

.grid-line.horizontal:nth-child(4) { top: 35%; animation-delay: 1s; }
.grid-line.horizontal:nth-child(5) { top: 65%; animation-delay: 3s; }

@keyframes gridFade {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    position: relative;
    padding-bottom: 20px;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 2.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-welcome {
    display: block;
    font-weight: 300;
    font-size: 0.85em;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.hero-brand {
    display: block;
    background: linear-gradient(135deg, #06438c 0%, #0856b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

/* Minimal CTAs */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn-minimal {
    background: linear-gradient(135deg, #06438c 0%, #0856b3 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 15px;
}

.btn-minimal:hover {
    background: linear-gradient(135deg, #043366 0%, #06438c 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(6, 67, 140, 0.25);
}

.btn-minimal i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.btn-minimal:hover i {
    transform: translateX(3px);
}

.btn-ghost {
    background: transparent;
    color: #06438c;
    border: 1px solid #06438c;
    padding: 14px 32px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 15px;
}

.btn-ghost:hover {
    background: rgba(6, 67, 140, 0.05);
    border-color: #043366;
}

/* Metrics bar */
.hero-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    max-width: 500px;
    margin: 0 auto;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: #06438c;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.metric-divider {
    width: 1px;
    height: 30px;
    background: #e5e7eb;
}

/* Remove old styles */
.hero-shapes,
.shape,
.network-grid,
.hero-gradient,
.hero-pattern,
.particles,
.particle,
.hero-trust,
.trust-item,
.hero-clients,
.clients-label,
.clients-logos,
.client-logo {
    display: none !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .btn-minimal,
    .btn-ghost {
        width: 100%;
    }
    
    .hero-metrics {
        gap: 1.5rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
}