/* style.css */
:root {
    --bg-core: #0a0a0a;
    --bg-secondary: #161616;
    --bg-card: #202020;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-color: #4af626; /* Terminal Green */
    --accent-hover: #3bd11e;
    --border-color: #333;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
}

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

body {
    background-color: var(--bg-core);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* --- Header --- */
header {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

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

.subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 10px;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-banner {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 40px rgba(74, 246, 38, 0.05); /* Subtle green glow */
    margin-bottom: 2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* --- The Install Box (Bash Style) --- */
.install-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.terminal-cmd {
    background: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.prompt {
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background-color: var(--accent-color);
    margin-left: 5px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --- Features Grid --- */
.section {
    padding: 5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.section-title span {
    border-bottom: 3px solid var(--accent-color);
}

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

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* --- AI / Agentic Highlight --- */
.bg-secondary {
    background-color: var(--bg-secondary);
}

.ai-highlight {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.ai-text {
    flex: 1;
    min-width: 300px;
}

.ai-code {
    flex: 1;
    background: #000;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #a5d6ff;
    border: 1px solid var(--border-color);
    min-width: 300px;
}

.comment { color: #6a9955; }
.keyword { color: #c586c0; }
.string { color: #ce9178; }

/* --- Numbers Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
}

.stat-item p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    padding: 3rem 2rem;
    background: var(--bg-core);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .ai-highlight { flex-direction: column; }
}

/* --- Discord Button --- */
.hero-btns {
    margin-top: -2rem; /* Pull it closer to the terminal box */
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.btn-discord {
    background-color: #5865F2; /* Official Discord Blurple */
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-discord:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.discord-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}