:root {
    --bg-dark: #0f1115;
    --bg-darker: #08090b;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    
    /* Brand Colors */
    --neon-cyan: #00f3ff;
    --warm-orange: #ffab40;
    --steel-blue: #4a6fa5;
    
    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Effect */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 243, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 171, 64, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(15, 17, 21, 0.7);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.glass-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.github-link:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10% 60px 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-btn {
    background: white;
    color: var(--bg-dark);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
}

.primary-btn:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.status-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--warn-orange);
}

.hero-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    pointer-events: none;
}

.floating-visual {
    width: 100%;
    max-width: 600px;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Architecture Section */
.architecture-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    padding: 40px;
    border-radius: 20px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* Top Glow Line on Hover */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    opacity: 0;
    transition: 0.3s;
}

.glass-panel:hover::before {
    opacity: 1;
}

.layer-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.glass-panel h3 {
    margin-bottom: 12px;
    color: white;
}

.glass-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
}

.feature-item h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.feature-item p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        position: relative;
        right: auto;
        width: 100%;
        margin-top: 40px;
    }
    
    .cta-group {
        justify-content: center;
    }
}
