/* Terminal & High-Tech Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0a0f1d;
    --card-bg: #111827;
    --accent-glow: #10b981; /* Matrix/HPC Green */
    --accent-secondary: #06b6d4; /* Cyber Blue */
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --code-font: 'Courier New', Courier, monospace;
    --sans-font: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--sans-font);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Top Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    background: rgba(10, 15, 29, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.logo {
    font-family: var(--code-font);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-glow);
}

.logo span {
    color: var(--text-main);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--code-font);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-glow);
}

/* Hero / Console Section */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background: radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 45%);
}

.console-badge {
    font-family: var(--code-font);
    color: var(--accent-secondary);
    background: rgba(6, 182, 212, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    width: fit-content;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

header h1 span {
    color: var(--accent-glow);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

/* Core Metrics Dashboard */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin-bottom: 3rem;
}

.metric-card {
    background: rgba(17, 24, 39, 0.6);
    border-left: 3px solid var(--accent-glow);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
}

.metric-card div:first-child {
    font-family: var(--code-font);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-main);
}

.metric-card div:last-child {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn-terminal {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--accent-glow);
    border: 1px solid var(--accent-glow);
    font-family: var(--code-font);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
    width: fit-content;
}

.btn-terminal:hover {
    background: var(--accent-glow);
    color: var(--bg-color);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Sections General Layout */
.container {
    padding: 6rem 10%;
}

h2 {
    font-family: var(--code-font);
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-main);
}

h2::before {
    content: "$ ";
    color: var(--accent-glow);
}

/* Architecture & Engineering Projects */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.infra-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
}

.infra-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.infra-icon {
    font-family: var(--code-font);
    font-size: 0.85rem;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    display: block;
}

.infra-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.infra-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Tech Stack / Tooling Badges */
.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: #1f2937;
    color: var(--text-main);
    font-family: var(--code-font);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Command Line Interactive Mockup for Contact */
.terminal-window {
    background: #0d1527;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.terminal-header {
    background: #1e293b;
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    font-family: var(--code-font);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--code-font);
    font-size: 0.95rem;
    color: #34d399;
}

.terminal-line {
    margin-bottom: 0.75rem;
}

.terminal-input {
    color: var(--text-main);
}

.terminal-output {
    color: var(--text-muted);
    padding-left: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-family: var(--code-font);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 4rem;
}

/* Responsiveness */
@media (max-width: 768px) {
    header h1 { font-size: 2.3rem; }
    .nav-links { display: none; }
    .container { padding: 4rem 6%; }
}