:root {
    --primary: #ef4444; /* Indonesian Vibrant Red */
    --primary-dark: #b91c1c;
    --bg-dark: #0f172a; /* Deep Slate */
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8; /* Soft Cyan */
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

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

/* Background Gradients */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
}

.blob-1 { top: -200px; right: -200px; }
.blob-2 { bottom: -200px; left: -200px; background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%); }

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

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

h1 span {
    display: block;
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1.2s ease-out;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 1.4s ease-out;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-dark);
}

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

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

/* Features Section */
.features { padding: 8rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(239, 68, 68, 0.3);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

/* Code Section */
.code-section {
    padding: 8rem 0;
    background: rgba(15, 23, 42, 0.5);
}

.code-window {
    background: #011627; /* Night Owl Dark Color */
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

pre {
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    overflow-x: auto;
    color: #d6deeb;
}

.keyword { color: #c792ea; }
.string { color: #ecc48d; }
.comment { color: #637777; font-style: italic; }
.function { color: #82aaff; }

/* Eco Section */
.ecosystem {
    padding: 8rem 0;
    text-align: center;
}

.eco-card {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(56, 189, 248, 0.05) 100%);
    padding: 4rem;
    border-radius: 2rem;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.eco-card h2 { font-size: 3rem; margin-bottom: 1.5rem; }
.eco-card p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; }

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.creator {
    margin-top: 2rem;
    font-size: 1rem;
}

.creator a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .cta-group { flex-direction: column; }
}
