/* ============================================
   EVEREST FIBER NET - PREMIUM PROFESSIONAL HERO
   Enterprise ISP Design - Redesigned
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 130px 0 100px;
    max-width: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(36, 114, 191, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(111, 179, 255, 0.08) 0%, transparent 50%),
        linear-gradient(160deg, #081220 0%, #0B1F36 30%, #10345D 60%, #2472BF 100%);
    background-size: 100% 100%;
}

/* ---------- ANIMATED GRADIENT BACKGROUND ---------- */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    opacity: 0.5;
    animation: gridPulse 10s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ---------- GLOWING ORBS ---------- */
.hero-section .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.hero-section .orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(36, 114, 191, 0.15);
    top: -200px;
    right: -100px;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-section .orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(111, 179, 255, 0.08);
    bottom: -100px;
    left: -50px;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-section .orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(245, 158, 11, 0.05);
    top: 30%;
    left: 50%;
    animation: orbFloat 25s ease-in-out infinite 2s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ---------- MOUNTAIN SILHOUETTE ---------- */
.hero-section .mountain {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
}

.hero-section .mountain svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- SIGNAL RINGS ---------- */
.hero-section .signal-rings {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
}

.hero-section .signal-rings .ring {
    border: 1px solid #6FB3FF;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(111, 179, 255, 0.1);
}

.hero-section .signal-rings .ring-1 {
    width: 200px;
    height: 200px;
    animation: ringPulse 6s ease-in-out infinite;
}

.hero-section .signal-rings .ring-2 {
    width: 320px;
    height: 320px;
    animation: ringPulse 6s ease-in-out infinite 2s;
}

.hero-section .signal-rings .ring-3 {
    width: 440px;
    height: 440px;
    animation: ringPulse 6s ease-in-out infinite 4s;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.08); }
}

/* ---------- FIBER STREAKS ---------- */
.hero-section .fiber-streak {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(111, 179, 255, 0.12), transparent);
    z-index: 1;
    pointer-events: none;
    animation: streakFlow 8s ease-in-out infinite;
    border-radius: 2px;
}

.hero-section .fiber-streak-1 {
    width: 45%;
    top: 18%;
    left: 5%;
    animation-delay: 0s;
}

.hero-section .fiber-streak-2 {
    width: 35%;
    top: 45%;
    left: 15%;
    animation-delay: 3s;
}

.hero-section .fiber-streak-3 {
    width: 40%;
    top: 72%;
    left: 8%;
    animation-delay: 6s;
}

@keyframes streakFlow {
    0% { opacity: 0; transform: translateX(-15%); }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; transform: translateX(15%); }
}

/* ---------- CONTENT ---------- */
.hero-section .content {
    position: relative;
    z-index: 10;
}

/* ---------- BADGE ---------- */
.hero-section .badge {
    display: inline-block;
    background: rgba(111, 179, 255, 0.12);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6FB3FF;
    border: 1px solid rgba(111, 179, 255, 0.2);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-section .badge:hover {
    background: rgba(111, 179, 255, 0.2);
    transform: translateY(-2px);
}

/* ---------- HEADING ---------- */
.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    color: #ffffff;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #6FB3FF 60%, #a8d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-section h1 .highlight {
    background: linear-gradient(135deg, #6FB3FF 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- SUBTITLE ---------- */
.hero-section .subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* ---------- CTAS ---------- */
.hero-section .btn-primary {
    background: linear-gradient(135deg, #2472BF 0%, #1a5a9e 100%);
    color: #fff;
    padding: 0.9rem 3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(36, 114, 191, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-section .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a5a9e 0%, #0d3b6e 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(36, 114, 191, 0.5);
    color: #fff;
}

.hero-section .btn-primary:hover::before {
    opacity: 1;
}

.hero-section .btn-primary span {
    position: relative;
    z-index: 1;
}

.hero-section .btn-primary .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-section .btn-primary:hover .arrow {
    transform: translateX(6px) scale(1.1);
}

.hero-section .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.9rem 2.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.hero-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ---------- TRUST METRICS ---------- */
.hero-section .metrics {
    display: flex;
    gap: 3rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-section .metrics .metric {
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-section .metrics .metric::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 0;
    font-family: 'bootstrap-icons';
    font-size: 1.2rem;
    opacity: 0.2;
    color: #6FB3FF;
    -webkit-text-fill-color: #6FB3FF;
}

.hero-section .metrics .metric:nth-child(1)::before {
    content: '\F1E5';
}
.hero-section .metrics .metric:nth-child(2)::before {
    content: '\F2EB';
}
.hero-section .metrics .metric:nth-child(3)::before {
    content: '\F2A8';
}
.hero-section .metrics .metric:nth-child(4)::before {
    content: '\F1E1';
}

.hero-section .metrics .metric .number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #6FB3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .metrics .metric .number .counter {
    display: inline-block;
}

.hero-section .metrics .metric .label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
    font-weight: 500;
}

/* ---------- RIGHT COLUMN - VISUAL ---------- */
.hero-section .visual {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.hero-section .visual .network-icon {
    opacity: 0.05;
    color: #fff;
    font-size: 20rem;
    animation: floatIcon 6s ease-in-out infinite;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-section .visual .network-icon:hover {
    transform: scale(1.05) rotate(5deg);
    opacity: 0.08;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

/* ---------- DOTS GRID ---------- */
.hero-section .visual .dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(111, 179, 255, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(111, 179, 255, 0.04) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(111, 179, 255, 0.03) 2px, transparent 2px);
    background-size: 60px 60px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .hero-section h1 { font-size: 3.5rem; }
    .hero-section .metrics { gap: 2rem; }
    .hero-section .visual { min-height: 350px; }
    .hero-section .visual .network-icon { font-size: 14rem; }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0 60px;
    }
    .hero-section h1 { font-size: 2.8rem; }
    .hero-section .subtitle { font-size: 1.05rem; max-width: 100%; }
    .hero-section .metrics { gap: 1.5rem; flex-wrap: wrap; }
    .hero-section .metrics .metric .number { font-size: 1.6rem; }
    .hero-section .signal-rings { display: none; }
    .hero-section .fiber-streak { display: none; }
    .hero-section .visual { min-height: 200px; }
    .hero-section .visual .network-icon { font-size: 10rem; }
    .hero-section .btn-primary,
    .hero-section .btn-secondary { padding: 0.7rem 1.8rem; font-size: 0.9rem; }
    .hero-section .orb-1, .hero-section .orb-2, .hero-section .orb-3 { display: none; }
}

@media (max-width: 576px) {
    .hero-section h1 { font-size: 2rem; }
    .hero-section .badge { font-size: 0.65rem; letter-spacing: 1px; padding: 0.3rem 1rem; }
    .hero-section .subtitle { font-size: 0.95rem; }
    .hero-section .metrics { gap: 1rem; }
    .hero-section .metrics .metric .number { font-size: 1.3rem; }
    .hero-section .metrics .metric .label { font-size: 0.6rem; }
    .hero-section .metrics .metric::before { font-size: 1rem; top: -1.5rem; }
    .hero-section .btn-primary,
    .hero-section .btn-secondary { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
    .hero-section .visual .network-icon { font-size: 6rem; }
}

/* ---------- PRINT STYLES ---------- */
@media print {
    .hero-section {
        background: #0B1F36 !important;
        padding: 60px 0 !important;
        min-height: auto !important;
    }
    .hero-section .orb,
    .hero-section .signal-rings,
    .hero-section .fiber-streak,
    .hero-section .mountain { display: none !important; }
    .hero-section .badge { border: 1px solid #666 !important; }
    .hero-section h1 { -webkit-text-fill-color: #fff !important; color: #fff !important; }
    .hero-section .metrics .metric .number { -webkit-text-fill-color: #fff !important; color: #fff !important; }
}

/* Mobile Hero Fixes */
@media (max-width: 768px) {
    .hero-section .metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .hero-section .metrics .metric {
        text-align: center;
        background: rgba(255,255,255,0.04);
        border-radius: 8px;
        padding: 0.5rem;
        border: 1px solid rgba(255,255,255,0.04);
    }
    
    .hero-section .metrics .metric .number {
        font-size: 1.4rem;
    }
    
    .hero-section .metrics .metric .label {
        font-size: 0.6rem;
    }
}

@media (max-width: 576px) {
    .hero-section .metrics {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}
