* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #050505;
    --card: #0f0f0f;
    --text: #ededed;
    --muted: #888;
    --accent: #3b82f6;
    --border: #222;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, transparent 60%);
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.btn-github {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s;
}

.btn-github:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #333;
}

/* Main */
main {
    flex: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

/* Hero */
.hero {
    text-align: center;
    padding: 6rem 0 4rem;
}

.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--text);
    color: black;
}

.btn-primary:hover {
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #444;
}

/* Screenshot Window */
.screenshot-container {
    padding: 2rem 0 5rem;
    perspective: 1000px;
}

.terminal-window {
    background: #000;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.terminal-window:hover {
    transform: rotateX(0deg);
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.close {
    background: #ff5f56;
}

.minimize {
    background: #ffbd2e;
}

.maximize {
    background: #27c93f;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #888;
    margin-right: 52px;
    /* Balance the buttons */
}

.terminal-window img {
    display: block;
    width: 100%;
}

/* Features */
.features {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 3rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {

    nav,
    main {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}