/* ==========================================================================
   Base & Variables
   ========================================================================== */
   :root {
    --bg-color: #ffffff;
    --text-color: #111827;
    --accent-primary: #42b883; /* Vue Green */
    --accent-secondary: #35495e; /* Vue Dark */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

html.dark {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --accent-primary: #10b981;
    --accent-secondary: #8b5cf6; /* Neon Purple */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

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

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

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* Buttons */
button, .btn-primary, .btn-outline {
    font-family: inherit;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white !important;
    border: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    text-decoration: none;
    -webkit-text-fill-color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

/* Navbar */
.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
}

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

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

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    opacity: 0.15;
    filter: blur(80px);
    z-index: -1;
}

html.dark .hero-bg {
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 1.5rem 0;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    background: rgba(66, 184, 131, 0.1);
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(66, 184, 131, 0.2);
}

/* Terminal */
.terminal {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 600px;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.terminal-header {
    background: #2d2d2d;
    padding: 0.5rem 1rem;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-body {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    color: #a6accd;
}

.terminal-body code {
    color: #82aaff;
}

.terminal-body .comment {
    color: #676e95;
    font-style: italic;
    display: block;
    margin-top: 0.5rem;
}

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

.bg-darker {
    background-color: rgba(0,0,0,0.02);
}

html.dark .bg-darker {
    background-color: rgba(255,255,255,0.02);
}

/* Code Block */
.code-block {
    padding: 2rem;
    overflow-x: auto;
    margin-top: 2rem;
}

.code-block pre {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Sponsors SEO Grid */
.sponsor-subtitle {
    margin-bottom: 3rem;
    opacity: 0.8;
}

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

.sponsor-card {
    padding: 2rem;
    text-align: left;
    transition: transform 0.3s;
}

.sponsor-card:hover {
    transform: translateY(-5px);
}

.sponsor-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.sponsor-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.sponsor-card a {
    font-weight: 600;
    display: inline-block;
}

/* Prose (SEO Article) */
.prose {
    padding: 3rem;
    margin-top: 2rem;
}

.prose p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.prose p:last-child {
    margin-bottom: 0;
}

footer {
    text-align: center;
    padding: 3rem;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links a { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .prose { padding: 1.5rem; }
}
