/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-cyan: #00ffff;
    --primary-purple: #8a2be2;
    --electric-blue: #0066ff;
    --neon-green: #39ff14;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-gold: #ffd700;
    
    /* Fonts */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Space Grotesk', sans-serif;
    
    /* Animations */
    --animation-fast: 0.2s;
    --animation-normal: 0.4s;
    --animation-slow: 0.6s;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}

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

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-cyan), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--neon-green), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--accent-gold), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--primary-purple), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--electric-blue), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s infinite;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--primary-cyan);
    animation: float 3s ease-in-out infinite;
}

.floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -1s;
}

.floating-particles::after {
    top: 60%;
    right: 15%;
    background: var(--primary-cyan);
    box-shadow: 0 0 5px var(--primary-cyan);
    animation-delay: -2s;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: none;
}

/* Container and Layout */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 2rem 0;
    text-align: center;
}

.logo-container {
    display: inline-block;
    position: relative;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(45deg, var(--primary-cyan), var(--text-primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    position: relative;
}

.highlight {
    color: var(--accent-gold);
    text-shadow: 
        0 0 5px var(--accent-gold),
        0 0 10px var(--accent-gold);
}

.logo-underline {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    animation: underline-expand 2s ease-out 1s forwards;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

/* Hero Section */
.hero-section {
    width: 100%;
    max-width: 1200px;
}

.coming-soon-container {
    margin-bottom: 3rem;
    position: relative;
}

.coming-soon-text {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.word {
    opacity: 0;
    transform: translateY(30px);
    animation: word-reveal 0.6s ease-out forwards;
    background: linear-gradient(45deg, var(--primary-cyan), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.word:nth-child(1) {
    animation-delay: 0.5s;
}

.word:nth-child(2) {
    animation-delay: 0.8s;
    background: linear-gradient(45deg, var(--neon-green), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-line {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0.7;
}

/* Simplified Robot Section */
.robot-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
}

.robot {
    position: relative;
    opacity: 0.8;
}

.robot-head {
    width: 60px;
    height: 45px;
    background: var(--card-bg);
    border: 1px solid var(--primary-cyan);
    border-radius: 15px 15px 8px 8px;
    position: relative;
    margin: 0 auto 8px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.robot-eye {
    width: 8px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    box-shadow: 0 0 5px var(--primary-cyan);
}

.left-eye {
    left: 14px;
}

.right-eye {
    right: 14px;
}

.robot-antenna {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 2px;
}

.robot-antenna::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-cyan);
}

.robot-body {
    width: 75px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--primary-cyan);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.robot-chest {
    width: 20px;
    height: 15px;
    background: var(--primary-cyan);
    border-radius: 3px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.robot-arm {
    width: 15px;
    height: 45px;
    background: var(--card-bg);
    border: 1px solid var(--primary-cyan);
    border-radius: 8px;
    position: absolute;
    top: 8px;
}

.left-arm {
    left: -18px;
}

.right-arm {
    right: -18px;
}

/* Description */
.description-container {
    margin: 3rem 0;
}

.description-text {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--text-primary), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fade-in-up 1s ease-out 1.5s both;
}



.tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    animation: fade-in-up 1s ease-out 2s both;
}

/* Features Preview */
.features-preview {
    margin-top: 4rem;
    width: 100%;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    opacity: 1;
    transition: all var(--animation-fast) ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.1);
}



.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    margin-top: auto;
}



.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-robot {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    position: relative;
}

.loading-spinner {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 255, 255, 0.1);
    border-top: 3px solid var(--primary-cyan);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.loading-text {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--primary-cyan);
    animation: loading-pulse 1s ease-in-out infinite;
}

/* Animations */
@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.2; }
}

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





@keyframes underline-expand {
    0% { width: 0; }
    100% { width: 200px; }
}

@keyframes word-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}













@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes card-reveal {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes loading-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .coming-soon-text {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .robot-container {
        height: 150px;
    }
    
    .robot {
        transform: scale(0.9);
    }
    
    .glow-line {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1.5rem;
    }
    
    .robot {
        transform: scale(0.8);
    }
    

}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-cyan: #ffffff;
        --primary-purple: #ffffff;
        --text-secondary: #cccccc;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
