/* Twilight DevTools Modern Dark Theme */
:root {
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --bg-card-hover: #1e293b;
    --border: #1f293d;
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.15);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-green: #10b981;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    background: rgba(10, 14, 23, 0.85);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.25rem;
}

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

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

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

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

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    margin-right: 6px;
}

.btn {
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary);
    color: #030712;
}

.btn-primary:hover {
    background-color: #7dd3fc;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* Hero */
.hero {
    padding: 90px 0 60px;
    text-align: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.badge-tag {
    background: rgba(56, 189, 248, 0.2);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 850px;
    margin: 0 auto 20px;
    line-height: 1.15;
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 35px;
}

.install-bar {
    display: inline-flex;
    align-items: center;
    background: #030712;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    gap: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.95rem;
    margin-bottom: 50px;
}

.terminal-prompt {
    color: var(--primary);
    user-select: none;
}

.copy-btn {
    background: #1e293b;
    border: 1px solid #334155;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: #fff;
    border-color: var(--primary);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Terminal Window */
.code-showcase {
    padding: 20px 0 80px;
}

.terminal-window {
    background: #030712;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
}

.terminal-header {
    background: #0f172a;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
    font-size: 0.8rem;
    color: #64748b;
    font-family: monospace;
}

.terminal-tabs {
    display: flex;
    gap: 4px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
}

.tab-btn.active {
    background: #1e293b;
    color: #38bdf8;
}

.terminal-body {
    padding: 24px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    overflow-x: auto;
}

.c-dim { color: #64748b; }
.c-cyan { color: #38bdf8; }
.c-green { color: #10b981; }
.c-bold { font-weight: 700; color: #fff; }

/* Features */
.features {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.4) 0%, transparent 100%);
}

.section-head {
    margin-bottom: 50px;
}

.section-head h2 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.25s ease;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: #334155;
    transform: translateY(-4px);
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #fff;
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 10px 0 20px;
}

.footer-copy {
    color: #475569;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-links h4 {
    margin-bottom: 16px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .stats-row { flex-wrap: wrap; gap: 24px; }
    .nav-links { display: none; }
}
