:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #22d3ee;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 8vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.75rem; }

p { margin-bottom: 1.5rem; }
.subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; }
.accent { color: var(--accent); }
.text-white { color: white; }
.text-center { text-align: center; }

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover { background: var(--glass); }

.btn-white {
    background: white;
    color: var(--bg-darker);
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Sections */
.section { padding: 8rem 0; }
.bg-dark { background-color: var(--bg-dark); }
.bg-gradient { background: linear-gradient(135deg, var(--primary-dark), var(--secondary)); }

.section-title {
    margin-bottom: 4rem;
    position: relative;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Grid & Cards */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
}

.card h3 { margin-bottom: 1.5rem; color: var(--accent); }

/* IDE Section */
.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
}

.link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.link:hover { text-decoration: underline; }

.code-window {
    background: #010409;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.window-header {
    background: #161b22;
    padding: 0.8rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.window-content {
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.keyword { color: #ff7b72; }
.class { color: #d2a8ff; }
.string { color: #a5d6ff; }
.function { color: #79c0ff; }

/* Research Section */
.paper-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.paper-card h3 { font-size: 2rem; margin-bottom: 1rem; }
.paper-card p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2rem; }

/* Team Section */
.team-grid { margin-top: 2rem; }
.team-card {
    text-align: center;
    padding: 3rem;
}

.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

/* Footer */
#footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-darker);
}

.footer-logo { font-size: 1.25rem; font-weight: 800; }
.footer-logo span { color: var(--primary); }
.footer-copy { color: var(--text-muted); font-size: 0.9rem; }
.footer-social { display: flex; gap: 2rem; }
.footer-social a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-social a:hover { color: var(--text-main); }

/* Animations */
.animate-up { opacity: 0; transform: translateY(30px); }
.animate-left { opacity: 0; transform: translateX(-30px); }
.animate-right { opacity: 0; transform: translateX(30px); }
.animate-fade { opacity: 0; }

.reveal {
    opacity: 1;
    transform: none;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text { order: 2; }
    .hero-image { order: 1; }
    .hero-cta { justify-content: center; }
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
