:root {
    --bg-color: #0D1117; /* Deep GitHub Dark */
    --card-bg: #161B22;
    --border-color: #30363D;
    --text-main: #E6EDF3;
    --text-muted: #8B949E;
    --accent: #58A6FF;
    --accent-glow: rgba(88, 166, 255, 0.4);
    --font-ui: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.links a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 20px 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.mitra-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, #58A6FF, #A371F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Install Box (Raycast Vibe) */
.install-box {
    display: inline-flex;
    align-items: center;
    background: #010409;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    box-shadow: 0 0 30px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.install-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(163, 113, 247, 0.4);
}

.install-box code {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent);
    margin-right: 1.5rem;
}

.copy-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #21262D;
}

.hero-tags {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Terminal Window (The Proof) */
.terminal-section {
    max-width: 1000px;
    margin: 0 auto 6rem;
    padding: 0 20px;
}

.terminal-window {
    background: #010409;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.terminal-header {
    background: #161B22;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.terminal-title {
    flex-grow: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 56px; /* Offset the dots for true center */
}

.terminal-body {
    padding: 1.5rem;
    overflow-x: auto;
}

.terminal-body pre {
    margin: 0;
}

.terminal-body code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.4;
    color: #C9D1D9;
}

/* Features Grid (Auth0 Vibe) */
.features {
    max-width: 1200px;
    margin: 0 auto 8rem;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.2s;
}

.card:hover {
    border-color: var(--text-muted);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Config Section */
.config-preview {
    max-width: 1000px;
    margin: 0 auto 8rem;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.config-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.config-text p {
    color: var(--text-muted);
}

.config-code {
    background: #010409;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.config-code pre {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
}

/* Basic Syntax Highlighting for YAML */
.keyword { color: #79C0FF; }
.string { color: #A5D6FF; }
.comment { color: #8B949E; }

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 20px;
    text-align: center;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .config-preview {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .install-box {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .install-box code {
        margin-right: 0;
    }
}