:root {
    --bg: #050505;
    --text: #ffffff;
    --accent: #00ffaa;
    --gray: #888;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-box: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    /* Professional Tech Grid Background */
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 40px 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: -1px;
}

.logo span { color: var(--accent); }

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    margin-right: 30px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--text); }

.btn-primary {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 170, 0.3);
}

/* Hero Section */
.hero {
    min-height: 150vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 150px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to bottom, #fff 50%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 span { -webkit-text-fill-color: var(--accent); }

.fade-in {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Stats */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.counter { font-size: 3rem; font-weight: bold; color: var(--accent); }
.unit { color: var(--accent); font-size: 1.2rem; }
.stat-item p { color: var(--gray); font-size: 0.8rem; text-transform: uppercase; }

/* Dashboard 3D Wrapper */
.dashboard-wrapper {
    width: 90%;
    max-width: 1100px;
    margin-top: 80px;
    perspective: 1500px;
}

.dashboard-img {
    width: 100%;
    height: 600px;
    background: linear-gradient(135deg, #111 0%, #050505 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}

/* Typewriter Card */
.glass-card {
    position: absolute;
    bottom: 50px;
    left: -30px;
    width: 320px;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 16px;
}

.code-header { display: flex; gap: 8px; margin-bottom: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }

#typewriter-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    line-height: 1.5;
}

.spacer { height: 50vh; }