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

:root {
    --color-bg: #0a0e1a;
    --color-bg-secondary: #0d1117;
    --color-electric-blue: #00d4ff;
    --color-teal: #00ffcc;
    --color-text-primary: #e8eaed;
    --color-text-secondary: #9aa0a6;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Navigation
   =================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-electric-blue);
    text-decoration: none;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--color-electric-blue);
    border-bottom-color: var(--color-electric-blue);
}

.nav-link.active {
    color: var(--color-electric-blue);
    border-bottom-color: var(--color-electric-blue);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-electric-blue);
    transition: all 0.3s ease;
}

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 80px;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.brand-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-electric-blue), var(--color-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    color: var(--color-electric-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 300;
}

.description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-bg);
    background: var(--color-electric-blue);
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6),
                0 0 60px rgba(0, 212, 255, 0.4),
                0 0 80px rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, var(--color-electric-blue), var(--color-teal));
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:active {
    transform: translateY(0);
}

/* ===================================
   About Section
   =================================== */
.about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    z-index: 1;
}

.about-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--color-electric-blue);
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-electric-blue), transparent);
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-weight: 300;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Footer
   =================================== */
.footer {
    position: relative;
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-electric-blue);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.footer-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    opacity: 0.6;
    font-family: var(--font-mono);
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 1.5rem;
        padding-top: 100px;
    }

    .about {
        padding: 3rem 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 2.5rem;
        font-size: 1rem;
    }

    .section-title::after {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem;
    }

    .about {
        padding: 2.5rem 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
        letter-spacing: 0.08em;
    }

    .footer {
        padding: 2rem 1rem;
    }
}

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