/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --bg-color: #1a1a1a;
    --bg-secondary: #252525;
    --bg-accent: #2d2d2d;
    --text-main: #f0f0f0;
    --text-muted: #b0b0b0;
    --accent-color: #00ff41;

    /* Terminal Green */
    --accent-hover: #00cc33;
    --alert-color: #ff6b6b;
    --font-heading: 'Courier Prime', 'Fira Code', monospace;
    --font-body: 'Inter', 'Roboto', sans-serif;
    --spacing-unit: 1rem;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    color: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
}

code-block {
    color: rebeccapurple !important;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    background-color: #000000;
    background-image: linear-gradient(90deg, #536976, #292E49);
}

.section-padding {
    padding: 80px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    color: var(--accent-color);
}

h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* --- COMPONENTS: BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 65, 0.1);
}

/* --- SECTION: HERO --- */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-color) 100%);
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- SECTION: ORIGIN STORY --- */
.origin-story {
    background-color: var(--bg-secondary);
}

.terminal-window {
    background-color: #000;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 20px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.terminal-line {
    display: block;
    margin-bottom: 5px;
}

.terminal-line::before {
    content: "> ";
    color: var(--text-muted);
}

/* --- SECTION: TIMELINE --- */
.timeline-item {
    background-color: var(--bg-accent);
    padding: 30px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 20px;
}

.timeline-year {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

/* --- SECTION: DIAGNOSIS --- */
.diagnosis-section {
    background-color: #1e2225;

    /* Slight blue tint */
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.highlight-box {
    background-color: rgba(255, 107, 107, 0.1);
    border: 1px solid var(--alert-color);
    padding: 20px;
    border-radius: 4px;
    margin-top: 30px;
}

.highlight-box h3 {
    color: var(--alert-color);
    margin-bottom: 10px;
}

/* --- SECTION: ABOUT GRID --- */
.feature-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.icon-placeholder {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

/* --- SECTION: PROFESSIONAL --- */
.professional-section {
    background-color: var(--bg-secondary);
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    text-decoration: underline;
}

/* --- FOOTER --- */
footer {
    background-color: #000;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.footer-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}