/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid #333;
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-size: 24px;
    font-weight: 600;
    color: #00d4ff;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Modern Animated Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.world-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a0a0a 100%);
}

/* Animated Gradient Background */
.world-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 153, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    animation: gradientShift 12s ease-in-out infinite;
}

/* Floating Particles */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.connection-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 212, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 212, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 212, 255, 0.9), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 212, 255, 0.7), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(0, 212, 255, 0.8), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 25s ease-in-out infinite;
}

/* Animated Grid */
.connection-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(0, 212, 255, 0.05) 50%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(0, 212, 255, 0.05) 50%, transparent 51%);
    background-size: 60px 60px;
    animation: gridMove 20s ease-in-out infinite;
}

/* Energy Nodes */
.nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    animation: energyPulse 6s ease-in-out infinite;
}

.node::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: rippleEffect 4s ease-out infinite;
}

.node::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    animation: rippleEffect 4s ease-out infinite 1s;
}

.node:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.node:nth-child(2) { top: 35%; left: 85%; animation-delay: 0.5s; }
.node:nth-child(3) { top: 70%; left: 25%; animation-delay: 1s; }
.node:nth-child(4) { top: 80%; left: 75%; animation-delay: 1.5s; }
.node:nth-child(5) { top: 45%; left: 45%; animation-delay: 2s; }
.node:nth-child(6) { top: 25%; left: 65%; animation-delay: 2.5s; }
.node:nth-child(7) { top: 60%; left: 80%; animation-delay: 3s; }
.node:nth-child(8) { top: 15%; left: 35%; animation-delay: 3.5s; }

/* Modern Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.8) 100%);
}

/* Smooth Animation Keyframes */
@keyframes gradientShift {
    0% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% { 
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(0px);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-15px);
        opacity: 1;
    }
    100% { 
        transform: translateY(0px);
        opacity: 0.6;
    }
}

@keyframes gridMove {
    0% { 
        transform: translate(0, 0);
        opacity: 0.2;
    }
    100% { 
        transform: translate(60px, 60px);
        opacity: 0.4;
    }
}

@keyframes energyPulse {
    0% { 
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.7);
    }
    100% { 
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    }
}

@keyframes rippleEffect {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.8);
        opacity: 0.3;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #00d4ff;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 4rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 0.8s ease-out 0.8s forwards;
}

.highlight {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

/* CTA Section */
.cta-section {
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.8s forwards;
}

.email-signup {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.1);
}

.email-input::placeholder {
    color: #888888;
}

.notify-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.notify-btn i {
    transition: transform 0.3s ease;
}

.notify-btn:hover i {
    transform: translateX(5px);
}

.signup-text {
    font-size: 0.9rem;
    color: #888888;
}



/* Features Section */
.features {
    padding: 6rem 4rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 2.4s forwards;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 2rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeIn 1s ease-out 2.7s forwards;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left p {
    color: #888888;
    margin-bottom: 0.5rem;
}

.footer-email {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #ffffff;
}



/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .input-group {
        flex-direction: column;
    }

    .features {
        padding: 4rem 2rem;
    }

    .footer {
        padding: 2rem;
    }

    .footer-content {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
} 