/* ===================================
   Sci-Fi Hero Section Styles
   =================================== */

/* Hero Container */
.hero-scifi {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #1e40af 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

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

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 153, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 153, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@media (max-width: 767px) {
    .grid-overlay {
        background-size: 30px 30px;
        opacity: 0.5;
    }
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

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

/* Scan Lines */
.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(255, 153, 0, 0.02) 50%
    );
    background-size: 100% 4px;
    animation: scan 8s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* Content Positioning */
.hero-scifi .container {
    position: relative;
    z-index: 10;
}

/* Hero Content Sci-Fi */
.hero-content-scifi {
    padding: 40px 0;
}

/* Tech Subtitle */
.tech-subtitle {
    color: #FF9900;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.tech-subtitle::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF9900);
}

.tech-subtitle::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #FF9900, transparent);
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    display: none;
}

/* Fade In Text Effect - Clean Alternative */
.fade-in-text {
    position: relative;
    display: inline-block;
    animation: fadeInGlow 3s ease-in-out infinite;
}

@keyframes fadeInGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 153, 0, 0.5),
            0 0 20px rgba(255, 153, 0, 0.3);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(255, 153, 0, 0.8),
            0 0 30px rgba(255, 153, 0, 0.6),
            0 0 40px rgba(255, 153, 0, 0.4);
    }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
}

/* Tech Title */
.tech-title {
    font-size: 64px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 800;
}

.typing-text {
    display: block;
    background: linear-gradient(90deg, #ffffff, #FF9900, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
}

.highlight-text {
    display: block;
    color: #FF9900;
    text-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Tech Description */
.tech-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    border-left: 3px solid #FF9900;
    padding-left: 20px;
}

/* Sci-Fi Buttons */
.hero-btn-scifi {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-scifi {
    position: relative;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid #FF9900;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-scifi::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-scifi:hover::before {
    left: 100%;
}

.btn-scifi:hover {
    background: rgba(255, 153, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.4), inset 0 0 20px rgba(255, 153, 0, 0.1);
    transform: translateY(-2px);
}

.btn-scifi .btn-icon {
    transition: transform 0.3s ease;
}

.btn-scifi:hover .btn-icon {
    transform: translateX(5px);
}

.btn-primary-scifi {
    background: rgba(255, 153, 0, 0.2);
}

.btn-secondary-scifi {
    border-color: rgba(255, 153, 0, 0.6);
}

.btn-accent-scifi {
    border-color: rgba(255, 153, 0, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #FF9900;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
}

.stat-number::after {
    content: '+';
    font-size: 32px;
    margin-left: 5px;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}

/* Globe Container */
.globe-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
}

/* Globe Sphere */
.globe-sphere {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.globe-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateGlobe 20s linear infinite;
}

@keyframes rotateGlobe {
    0% { transform: rotateY(0deg) rotateX(15deg); }
    100% { transform: rotateY(360deg) rotateX(15deg); }
}

/* Globe Rings */
.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 153, 0, 0.3);
    transform-style: preserve-3d;
}

.ring-1 {
    width: 400px;
    height: 400px;
    margin: -200px 0 0 -200px;
    animation: pulse-ring 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.3), inset 0 0 20px rgba(255, 153, 0, 0.2);
}

.ring-2 {
    width: 320px;
    height: 320px;
    margin: -160px 0 0 -160px;
    animation: pulse-ring 3s ease-in-out 0.5s infinite;
    transform: rotateX(60deg);
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.3), inset 0 0 15px rgba(255, 153, 0, 0.2);
}

.ring-3 {
    width: 240px;
    height: 240px;
    margin: -120px 0 0 -120px;
    animation: pulse-ring 3s ease-in-out 1s infinite;
    transform: rotateY(60deg);
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.3), inset 0 0 10px rgba(255, 153, 0, 0.2);
}

@keyframes pulse-ring {
    0%, 100% {
        border-color: rgba(255, 153, 0, 0.3);
        transform: scale(1);
    }
    50% {
        border-color: rgba(255, 153, 0, 0.6);
        transform: scale(1.05);
    }
}

/* Globe Center - MAE Logo */
.globe-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: radial-gradient(circle, rgba(10, 14, 39, 0.98) 0%, rgba(10, 14, 39, 0.85) 70%, transparent 100%);
    padding: 40px;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(255, 153, 0, 0.3);
    border: 2px solid rgba(255, 153, 0, 0.2);
}

.mae-logo-text {
    font-size: 56px;
    font-weight: 900;
    color: #FF9900;
    letter-spacing: 12px;
    font-family: 'Courier New', Courier, monospace;
    text-shadow: 
        0 0 10px rgba(255, 153, 0, 0.8),
        0 0 20px rgba(255, 153, 0, 0.6),
        0 0 30px rgba(255, 153, 0, 0.4);
    animation: logoGlow 2s ease-in-out infinite;
    position: relative;
    -webkit-text-stroke: 1px rgba(255, 153, 0, 0.5);
}

.mae-logo-text::before {
    content: '';
    display: none;
}

.mae-subtitle {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 8px;
    font-weight: 600;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 153, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 153, 0, 0.8));
    }
}

/* Orbiting Particles */
.orbit-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #FF9900;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.8);
    top: 50%;
    left: 50%;
}

.particle-1 {
    animation: orbit 4s linear infinite;
}

.particle-2 {
    animation: orbit 4s linear 1s infinite;
}

.particle-3 {
    animation: orbit 4s linear 2s infinite;
}

.particle-4 {
    animation: orbit 4s linear 3s infinite;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
    }
}

/* Holographic Effect */
.hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 153, 0, 0.1) 50%,
        transparent 70%
    );
    background-size: 200% 200%;
    animation: hologramScan 3s linear infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes hologramScan {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Data Points */
.data-point {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-point .pulse {
    width: 12px;
    height: 12px;
    background: #FF9900;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.8);
}

.data-point .pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 153, 0, 0.4);
    border-radius: 50%;
    animation: pulseExpand 2s ease-out infinite;
}

@keyframes pulseExpand {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

.data-point .label {
    font-size: 12px;
    color: #FF9900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(10, 14, 39, 0.8);
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.point-1 {
    top: 15%;
    left: 10%;
    animation: float 3s ease-in-out infinite;
}

.point-2 {
    top: 50%;
    right: 5%;
    animation: float 3s ease-in-out 1s infinite;
}

.point-3 {
    bottom: 20%;
    left: 15%;
    animation: float 3s ease-in-out 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-scifi {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .tech-title {
        font-size: 42px;
    }
    
    .tech-subtitle {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .tech-subtitle::before,
    .tech-subtitle::after {
        display: none;
    }
    
    .tech-description {
        font-size: 16px;
    }
    
    .globe-container {
        height: 400px;
        margin-top: 40px;
    }
    
    .globe-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .ring-1 {
        width: 300px;
        height: 300px;
        margin: -150px 0 0 -150px;
    }
    
    .ring-2 {
        width: 240px;
        height: 240px;
        margin: -120px 0 0 -120px;
    }
    
    .ring-3 {
        width: 180px;
        height: 180px;
        margin: -90px 0 0 -90px;
    }
    
    .globe-center {
        width: 160px;
        height: 160px;
        padding: 30px;
    }
    
    .mae-logo-text {
        font-size: 42px;
        letter-spacing: 10px;
    }
    
    .hero-btn-scifi {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-scifi {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 13px;
    }
    
    .hero-stats {
        gap: 30px;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .orbit-particle {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 767px) {
    .hero-scifi {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-content-scifi {
        padding: 20px 0;
    }
    
    .tech-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .tech-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .tech-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding-left: 15px;
    }
    
    .hero-btn-scifi {
        margin-bottom: 40px;
    }
    
    .btn-scifi {
        padding: 12px 24px;
        font-size: 12px;
    }
    
    .hero-stats {
        gap: 20px;
        justify-content: space-between;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    /* Hide globe on mobile */
    .globe-container {
        display: none;
    }
    
    .data-point {
        font-size: 10px;
    }
    
    .data-point .label {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .data-point .pulse {
        width: 10px;
        height: 10px;
    }
    
    .orbit-particle {
        width: 5px;
        height: 5px;
    }
    
    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(120px) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateX(120px) rotate(-360deg);
        }
    }
}

@media (max-width: 575px) {
    .hero-scifi {
        padding: 70px 0 30px;
    }
    
    .tech-subtitle {
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .tech-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .tech-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    /* Globe already hidden in previous breakpoint */
    .globe-container {
        display: none;
    }
}
