:root {
    --primary-bg: #0a0a0c;
    --secondary-bg: #121216;
    --accent-color: #7ad9ff;
    --accent-strong: #4bb7e5;
    --accent-soft: #9deaff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0aa;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 999px;
    margin: 0 auto;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 18px rgba(157, 234, 255, 0.2);
    display: inline-block;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    animation: arcticBreeze 2.4s ease-out 0.1s both;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent-soft) 100%);
    color: #0a0a0c;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(122, 217, 255, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(122, 217, 255, 0.35);
    background: transparent;
    color: var(--accent-soft);
}

.btn-outline:hover {
    background: rgba(122, 217, 255, 0.08);
    border-color: var(--accent-strong);
}

/* Grid Layouts */
.container {
    padding: 100px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.app-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
}

.app-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.app-card h3 {
    font-size: 1.5rem;
}

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

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.status-active {
    background: rgba(122, 217, 255, 0.1);
    color: var(--accent-soft);
}

.status-upcoming {
    background: rgba(160, 160, 170, 0.1);
    color: var(--text-secondary);
}

/* Footer */
footer {
    padding: 60px 10%;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 30px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    nav {
        padding: 0 6%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 6%;
        left: 6%;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px;
        background: rgba(10, 10, 12, 0.92);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: var(--transition);
    }

    .nav-links a {
        justify-content: center;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    
    .container {
        padding: 60px 5%;
    }
    
    footer {
        flex-direction: column;
        text-align: center;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes arcticBreeze {
    0% {
        opacity: 0;
        filter: blur(2px);
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    70% {
        opacity: 1;
        filter: blur(0.7px);
        clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1 {
        animation: none;
    }
}
