:root {
    --bg-color: #0d0d12;
    --card-bg: rgba(23, 23, 33, 0.7);
    --accent: #00f5ff;
    --accent-glow: rgba(0, 245, 255, 0.3);
    --indigo: #6366f1;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.background-radial {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, rgba(13, 13, 18, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1 { font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: 3rem; font-weight: 700; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--indigo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text { color: var(--accent); }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-slow);
}
.nav-links a:hover { color: var(--accent); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
}

.hero-content { max-width: 900px; }

.subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-inline: auto;
}

.cta-group { display: flex; gap: 1rem; justify-content: center; }

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-slow);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Grid & Cards */
.section { padding: 100px 10%; }

.section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-slow);
}

.glass:hover {
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-10px);
}

.highlighted { border-color: var(--accent); box-shadow: 0 0 20px rgba(0, 245, 255, 0.1); }

.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tag-list li {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Feature Row */
.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.feature-text { flex: 1; }
.feature-image { flex: 1; min-height: 300px; display: flex; align-items: center; justify-content: center; }

.code-snippet {
    background: #000;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    border-left: 4px solid var(--accent);
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: var(--transition-slow); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Footer */
footer {
    padding: 80px 10%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content p { color: var(--text-secondary); margin: 1.5rem 0; }
.social-links { display: flex; justify-content: center; gap: 2rem; }
.social-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; }

@media (max-width: 968px) {
    h1 { font-size: 3rem; }
    .grid-2, .grid-3, .feature-row { grid-template-columns: 1fr; flex-direction: column; }
    .nav-links { display: none; }
}
