:root {
    --bg-dark: #0b0c10;
    --grid-color: rgba(255, 255, 255, 0.04);
    --text-main: #f0f0f0;
    --text-muted: #8b8b9d;
    --accent-primary: #00d9ff;
    --accent-hover: #00f0ff;
    --card-bg: #14151b;
    --card-border: #23242f;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navigation */
.navbar {
    width: 100%;
    max-width: 1100px;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

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

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

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

/* Hero Section */
.hero-section {
    max-width: 1100px;
    width: 100%;
    padding: 80px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
}

.overline {
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Terminal */
.hero-terminal {
    flex: 1;
    background-color: #121319;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0, 0.5);
}

.terminal-header {
    background-color: #1a1b23;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

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

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

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

.terminal-title {
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.terminal-body p {
    margin: 8px 0;
}

.prompt {
    color: #a78bfa;
}

.output {
    color: var(--text-main);
}

.output.success {
    color: #34d399;
}

/* Sections & Cards */
.section {
    max-width: 1100px;
    width: 100%;
    padding: 60px 40px;
    box-sizing: border-box;
}

.section-title {
    font-size: 3rem;
    margin: 0 0 40px 0;
    letter-spacing: -1px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
    border-color: #3f4050;
    transform: translateY(-2px);
}

.highlight-card {
    border-color: rgba(0, 217, 255, 0.3);
}

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

.card h3 {
    margin: 0 0 12px 0;
    font-size: 1.3rem;
}

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

.card .muted-text {
    font-size: 0.85rem;
    opacity: 0.7;
}

.card-link {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 10px;
}

.card-link:hover {
    color: var(--accent-primary);
}

.center-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    width: 100%;
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--card-border);
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        padding: 60px 20px;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .navbar {
        padding: 20px;
    }
    .section {
        padding: 50px 20px;
    }
    .section-title {
        font-size: 2rem;
    }
    .card {
        padding: 24px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    .terminal-body {
        font-size: 0.85rem;
        padding: 16px;
    }
    .logo {
        font-size: 1rem;
    }
    .logo-avatar {
        width: 28px;
        height: 28px;
    }
}
