/* =========================================
   CSS VARIABLES & RESET
   ========================================= */
:root {
    --bg-dark: #050505;
    --bg-panel: #0f1115;
    --bg-card: #161b22;
    --primary: #00ff9d; /* Neon Green */
    --primary-dim: rgba(0, 255, 157, 0.1);
    --secondary: #00d2ff; /* Cyan */
    --accent: #7000ff; /* Purple */
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --border: #30363d;
    --font-ui: 'Inter', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-code);
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}
.btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--primary);
    transform: translateY(-2px);
}
.btn-secondary {
    border-color: var(--secondary);
    color: var(--secondary);
}
.btn-secondary:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--secondary);
}
.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-header {
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* =========================================
   NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    font-family: var(--font-code);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span { color: var(--primary); }
nav ul { display: flex; gap: 25px; }
nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
}
nav a:hover, nav a.active { color: var(--text-main); }
nav a.active::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 -2px 10px var(--primary);
}
.mobile-menu-btn {
    display: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   GENERAL LAYOUT & CARDS
   ========================================= */
main { padding-top: 70px; min-height: 100vh; }
main.content-wrap { padding: 100px 0; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; margin-top: 40px; }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.05);
}
.card i { font-size: 2rem; color: var(--primary); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================
   ANIMATIONS & HERO
   ========================================= */
.hero-title { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.typing-cursor::after { content: '|'; animation: blink 1s infinite; color: var(--primary); }
@keyframes blink { 50% { opacity: 0; } }

.terminal-mockup {
    background: #0d1117;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    font-family: var(--font-code);
    text-align: left;
    margin: 50px 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.terminal-header { display: flex; gap: 8px; margin-bottom: 15px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.cmd-line { color: var(--text-muted); margin-bottom: 5px; }
.cmd-val { color: var(--primary); }

/* Steps */
.steps-container { display: flex; justify-content: space-between; margin-top: 80px; position: relative; }
.steps-container::before {
    content: ''; position: absolute; top: 40px; left: 0; width: 100%; height: 2px; background: var(--border); z-index: 0;
}
.step-item { position: relative; z-index: 1; background: var(--bg-dark); padding: 0 20px; text-align: center; width: 25%; }
.step-number {
    width: 80px; height: 80px; background: var(--bg-card); border: 2px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; color: var(--primary);
    margin: 0 auto 20px; transition: var(--transition);
}
.step-item:hover .step-number { border-color: var(--primary); box-shadow: 0 0 20px var(--primary-dim); }

/* Team Cards */
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-align: center; transition: var(--transition); }
.team-card:hover { border-color: var(--secondary); transform: translateY(-5px); }
.team-img-wrapper { width: 100%; height: 250px; overflow: hidden; background: #000; position: relative; }
.team-img-wrapper img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; opacity: 0.9; }
.team-card:hover .team-img-wrapper img { transform: scale(1.1); opacity: 1; }
.team-info { padding: 25px; }
.team-role { color: var(--secondary); font-family: var(--font-code); font-size: 0.85rem; margin-bottom: 10px; display: block; }
.team-bio { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.team-socials a { color: var(--text-muted); margin: 0 8px; font-size: 1.1rem; transition: 0.3s; }
.team-socials a:hover { color: var(--primary); transform: scale(1.2); display: inline-block; }

/* Code Blocks */
.code-block { background: #0d1117; padding: 20px; border-radius: 8px; font-family: var(--font-code); overflow-x: auto; border: 1px solid var(--border); margin: 20px 0; }

/* Forms */
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 15px; margin-bottom: 20px; background: var(--bg-panel); border: 1px solid var(--border);
    color: var(--text-main); border-radius: 4px; font-family: var(--font-ui);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 50px 0 20px; margin-top: 80px; text-align: center; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    nav ul { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--bg-panel); padding: 20px; border-bottom: 1px solid var(--border); }
    nav ul.show { display: flex; }
    .mobile-menu-btn { display: block; }
    .grid-3, .grid-2, .steps-container { grid-template-columns: 1fr; flex-direction: column; gap: 40px; }
    .steps-container::before { width: 2px; height: 100%; left: 40px; top: 0; }
    .step-item { width: 100%; display: flex; align-items: center; text-align: left; padding: 0; gap: 20px; }
    .step-number { margin: 0; flex-shrink: 0; }
}