/* Hero Styles CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0a0a0a 100%);
    overflow: hidden;
}

.animated-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Circuit Board Pattern */
.circuit-board {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: circuitFlow 3s linear infinite;
}

.circuit-line-1 {
    top: 20%;
    left: 0;
    width: 100%;
    height: 2px;
    animation-delay: 0s;
}

.circuit-line-2 {
    top: 60%;
    left: 0;
    width: 100%;
    height: 2px;
    animation-delay: 1s;
}

.circuit-line-3 {
    top: 0;
    left: 30%;
    width: 2px;
    height: 100%;
    animation-delay: 2s;
}

.circuit-line-4 {
    top: 0;
    left: 70%;
    width: 2px;
    height: 100%;
    animation-delay: 0.5s;
}

.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 20px #00d4ff;
    animation: pulse 2s infinite;
}

.circuit-node-1 { top: 20%; left: 30%; }
.circuit-node-2 { top: 60%; left: 70%; }
.circuit-node-3 { top: 40%; left: 50%; }

@keyframes circuitFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Holographic Grid */
.holographic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: gridGlow 4s ease-in-out infinite;
}

.grid-horizontal-1 {
    top: 25%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 0s;
}

.grid-horizontal-2 {
    top: 75%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 2s;
}

.grid-vertical-1 {
    top: 0;
    left: 25%;
    width: 1px;
    height: 100%;
    animation-delay: 1s;
}

.grid-vertical-2 {
    top: 0;
    left: 75%;
    width: 1px;
    height: 100%;
    animation-delay: 3s;
}

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

/* Data Particles */
.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    color: #00d4ff;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 0 10px #00d4ff;
    animation: floatParticle 8s linear infinite;
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 30%; left: 80%; animation-delay: 2s; }
.particle-3 { top: 70%; left: 20%; animation-delay: 4s; }
.particle-4 { top: 50%; left: 90%; animation-delay: 6s; }
.particle-5 { top: 80%; left: 60%; animation-delay: 1s; }
.particle-6 { top: 20%; left: 50%; animation-delay: 3s; }

@keyframes floatParticle {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border: 2px solid #00ff88;
    animation: rotateShape 10s linear infinite;
}

.shape-hexagon {
    top: 15%;
    right: 10%;
    width: 60px;
    height: 60px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    box-shadow: 0 0 20px #00ff88;
}

.shape-diamond {
    top: 60%;
    left: 5%;
    width: 40px;
    height: 40px;
    transform: rotate(45deg);
    box-shadow: 0 0 15px #00d4ff;
    border-color: #00d4ff;
}

.shape-triangle {
    bottom: 20%;
    right: 20%;
    width: 50px;
    height: 50px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    box-shadow: 0 0 18px #ff6b35;
    border-color: #ff6b35;
}

@keyframes rotateShape {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scanning Lines */
.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff88, transparent);
    animation: scanMove 4s linear infinite;
}

.scan-line-1 {
    animation-delay: 0s;
}

.scan-line-2 {
    animation-delay: 2s;
}

@keyframes scanMove {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Canvas Overlays */
.neural-network-overlay,
.matrix-rain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.matrix-rain-overlay {
    z-index: 1;
    opacity: 0.3;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.typing-animation-container {
    animation: fadeInUp 1s ease-out;
    padding: 6rem;
}

/* Typography */
.hero-main-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.typing-text {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 50%, #ff6b35 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    font-weight: 800;
    position: relative;
}

.cursor {
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: #00d4ff;
    animation: blink 1s infinite;
    font-weight: 300;
}

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



.highlight-text {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 50%, #ff6b35 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.hero-secondary-title {
    font-size: 1.9rem;
    margin: 1.5rem 0;
    font-weight: 600;
    margin: 2rem 0;
    color: #e0e0e0;
    text-shadow: 0 0 15px rgba(224, 224, 224, 0.3);
}

.typing-text-secondary {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.hero-description {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(176, 176, 176, 0.3);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cta-button-animated {
    position: relative;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    color: #0a0a0a;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
    z-index: 1;
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.cta-button-animated:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.cta-button-animated:hover .button-hover-effect {
    left: 100%;
}

.btn-secondary {
    position: relative;
    color: #00d4ff;
    text-decoration: none;
    padding: 1.2rem 2rem;
    border: 2px solid #00d4ff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    overflow: hidden;
}

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

.btn-secondary:hover {
    color: #0a0a0a;
    background: #00d4ff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.btn-secondary:hover .btn-secondary-glow {
    left: 100%;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1rem;
    min-width: 140px;
    border-radius: 10px;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.4s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.6rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #00d4ff;
    font-size: 0.9rem;
    z-index: 10;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #00d4ff;
    border-radius: 12px;
    position: relative;
    margin-bottom: 0.5rem;
    animation: mouseGlow 2s infinite;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #00d4ff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelMove 2s infinite;
}

@keyframes mouseGlow {
    0%, 100% { box-shadow: 0 0 10px #00d4ff; }
    50% { box-shadow: 0 0 20px #00d4ff; }
}

@keyframes wheelMove {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* HUD Elements */
.hud-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.hud-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #00d4ff;
    opacity: 0.6;
}

.hud-top-left {
    top: 2rem;
    left: 2rem;
    border-right: none;
    border-bottom: none;
    animation: hudPulse 3s infinite;
}

.hud-top-right {
    top: 2rem;
    right: 2rem;
    border-left: none;
    border-bottom: none;
    animation: hudPulse 3s infinite 0.5s;
}

.hud-bottom-left {
    bottom: 2rem;
    left: 2rem;
    border-right: none;
    border-top: none;
    animation: hudPulse 3s infinite 1s;
}

.hud-bottom-right {
    bottom: 2rem;
    right: 2rem;
    border-left: none;
    border-top: none;
    animation: hudPulse 3s infinite 1.5s;
}

@keyframes hudPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; box-shadow: 0 0 15px #00d4ff; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-secondary-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button-animated {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .hero-secondary-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}