:root {
    --bg-dark: #050505;
    --bg-surface: #111111;
    --border-color: #222222;
    --text-primary: #f8f9fa;
    --text-muted: #8b8d91;
    --neon-green: #00ff88;
    --neon-blue: #0088ff;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Developer Grid Background */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.grid-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 80%);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--neon-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--neon-green);
}

.btn-primary.large {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

.neon-text {
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.live-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

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

.tech-stack {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Terminal Visual */
.hero-visual {
    flex: 1;
}

.terminal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.terminal-header {
    background: #1a1a1a;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mac-btns {
    display: flex;
    gap: 0.4rem;
}

.mac-btns span {
    width: 12px; height: 12px; border-radius: 50%;
}
.mac-btns span:nth-child(1) { background: #ff5f56; }
.mac-btns span:nth-child(2) { background: #ffbd2e; }
.mac-btns span:nth-child(3) { background: #27c93f; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: -40px; /* Offset buttons width for true center */
}

.terminal-body {
    padding: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    min-height: 300px;
}

.command {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.prompt {
    color: var(--neon-green);
    margin-right: 10px;
}

.typewriter {
    border-right: 2px solid var(--text-primary);
    padding-right: 4px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.logs {
    margin-top: 1rem;
}

.logs.hidden {
    display: none;
}

.success {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: slideUp 0.3s forwards ease-out;
}

.deploy {
    color: var(--neon-green);
    margin-top: 1.5rem;
    opacity: 0;
    animation: slideUp 0.3s forwards ease-out;
    animation-delay: 2.5s;
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Bento Grid Features */
.features {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    letter-spacing: -1px;
    margin-bottom: 3rem;
    text-align: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 250px;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-5px);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

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

.col-span-2 {
    grid-column: span 2;
}

.feature-img {
    font-size: 3rem;
    align-self: flex-end;
    opacity: 0.8;
}

/* CTA */
.footer-cta {
    padding: 6rem 5% 2rem;
    text-align: center;
}

.glow-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.05);
}

.glow-box::before {
    content: '';
    position: absolute;
    top: -1px; left: 50%; transform: translateX(-50%);
    width: 30%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
}

.glow-box h2 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.glow-box p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.disclaimer {
    color: #444;
    font-size: 0.85rem;
}

/* Responsiveness */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-subtitle { margin: 0 auto 2rem; }
    .terminal-title { margin-left: 0; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: minMax(200px, auto); }
    .col-span-2 { grid-column: span 1; }
}
@media (max-width: 576px) {
    .hero-title { font-size: 2.8rem; }
    .glow-box h2 { font-size: 2.2rem; }
    .bento-card { padding: 1.5rem; }
}
