:root {
    --bg-color: #0b0f19;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --brand-primary: #3b82f6;
    --brand-secondary: #8b5cf6;
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* font-display:swap is handled via &display=swap in the Google Fonts URL in each HTML <head> */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

/* Background Effects */
.blob {
    position: absolute;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--brand-secondary) 0%, transparent 70%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--brand-primary) 0%, transparent 70%);
    top: 40%;
    right: -200px;
    animation-delay: -5s;
}

.grid-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

/* Glassmorphism Utilities */
.glass-header {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

/* Typography Enhancements */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header & Nav */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    box-shadow: 0 10px 20px -10px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(139, 92, 246, 0.7);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-primary);
}

/* Sections */
.section {
    padding: 6rem 0;
}

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

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.visual-card {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(145deg, rgba(30,41,59,0.7), rgba(15,23,42,0.9));
    animation: drift 6s infinite alternate ease-in-out;
}

@keyframes drift {
    0% { transform: rotateY(0deg) rotateX(2deg); }
    100% { transform: rotateY(-10deg) rotateX(-2deg) translateY(-10px); }
}

.hero-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

.code-snippet {
    background: #0f172a;
    padding: 1rem;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    font-family: monospace;
    color: #60a5fa;
}

/* Features */
.section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-heading p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.feature-card p {
    color: var(--text-secondary);
}

.feature-icon {
    font-size: 2.5rem;
    line-height: 1;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(139,92,246,0.2));
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

/* Roadmap */
.roadmap-card {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, rgba(15,23,42,0.6), rgba(30,41,59,0.6));
    border-left: 4px solid var(--brand-secondary);
}

.roadmap-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.roadmap-text {
    font-size: 1.25rem;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-text strong {
    color: #c084fc;
}

/* Docs */
.doc-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.edit-btn {
    margin-top: 2rem;
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0;
    margin-top: 4rem;
    background: rgba(11, 15, 25, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 30px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-credits {
    text-align: right;
    color: var(--text-secondary);
}

.special-thanks {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.highlight-credit {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 4rem;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-credits {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}
