:root {
    --bg-dark: #020105;
    --primary: #6b21a8;
    --primary-light: #a855f7;
    --accent: #c084fc;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-purple: rgba(107, 33, 168, 0.3);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Effects */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0a0514 0%, #020105 100%);
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: move-glow 20s infinite alternate ease-in-out;
}

.bg-glow:nth-child(2) {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    animation: move-glow-alt 15s infinite alternate-reverse ease-in-out;
}

@keyframes move-glow {
    0% { transform: translate(-10%, -10%); }
    100% { transform: translate(50%, 40%); }
}

@keyframes move-glow-alt {
    0% { transform: translate(70%, 10%); }
    100% { transform: translate(-20%, 60%); }
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
}

.nav-logo img {
    height: 32px;
    border-radius: 6px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 10px var(--accent);
}

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

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 16px;
    line-height: 1;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-tagline {
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 24px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px var(--glow-purple);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--primary-light);
    box-shadow: 0 0 50px var(--primary-light);
}

/* Ecosystem Section */
.ecosystem {
    padding: 120px 8%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 32px;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--glow-purple), transparent);
    transform: translateX(-100%);
    transition: 0.8s;
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.app-card:hover::before {
    transform: translateX(100%);
}

.app-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.app-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.app-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent);
    border: 1px solid rgba(192, 132, 252, 0.2);
}

.status-soon {
    display: none; /* Hide status for coming soon apps as requested */
}

/* Footer */
footer {
    padding: 100px 8% 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 24px;
    display: block;
    text-decoration: none;
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: 0.3s;
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    nav {
        padding: 20px 5%;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .ecosystem {
        padding: 80px 5%;
    }
}
