@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&display=swap');

:root {
    --bg-main: #1c2128;
    --bg-glass: rgba(34, 39, 46, 0.8);
    --border-subtle: rgba(68, 76, 86, 0.5);
    --text-head: #f0f6fc;
    --text-body: #adbac7;
    --text-muted: #768390;
    --accent: #CA4E33;
    --accent-glow: rgba(83, 155, 245, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 0 !important;
}

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

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

/* Header / Nav */
header.site-header {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem;
}

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

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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

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

/* Sections */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-title {
    font-size: 1.8rem;
    color: var(--text-head);
    margin-bottom: 3.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title::before,
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
    max-width: 100px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent);
    background: rgba(83, 155, 245, 0.05);
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--text-head);
    margin-bottom: 1rem;
}

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

/* Code Display */
.code-display {
    background: #0d1117;
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    position: relative;
    overflow-x: auto;
}

.code-display::before {
    content: 'Terminal Output';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 4px 12px;
}

.prompt {
    color: #57ab5a;
}

.cmd {
    color: #539bf5;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--border-subtle);
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: #6cb6ff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-body);
}

.btn-secondary:hover {
    background: var(--bg-glass);
}

footer {
    padding: 80px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.nav-links a i {
    margin-right: 4px;
    font-size: 1rem;
    vertical-align: middle;
}

.github-prominent {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--accent);
    color: var(--text-head);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.github-prominent:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px rgba(202, 78, 51, 0.4);
    transform: translateY(-2px);
}

.github-prominent i {
    font-size: 1.4rem;
}