/* ============================================
   PORTFOLIO: CHIMA UKACHUKWU
   AI Security Analyst & Red Teamer
   Dark Theme — Cybersecurity Aesthetic
   Zero External Icon Dependencies
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #0f1419;
    --bg-tertiary: #151b23;
    --bg-card: #161c24;
    --border-color: #1e293b;
    --border-hover: #2d3a4a;
    
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #646e7a;
    
    --accent-primary: #00d4aa;
    --accent-secondary: #00a3ff;
    --accent-danger: #f85149;
    --accent-warning: #d2991d;
    --accent-purple: #a371f7;
    
    --gradient-primary: linear-gradient(135deg, #00d4aa 0%, #00a3ff 100%);
    --gradient-danger: linear-gradient(135deg, #f85149 0%, #ff7b72 100%);
    --gradient-purple: linear-gradient(135deg, #a371f7 0%, #7c3aed 100%);
    --gradient-dark: linear-gradient(135deg, #0f1419 0%, #151b23 100%);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(0, 212, 170, 0.15);
    --shadow-glow-blue: 0 0 20px rgba(0, 163, 255, 0.15);
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-max: 1200px;
    --nav-height: 70px;
}

/* ---------- CSS RESET ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ---------- SELECTION ---------- */
::selection {
    background: rgba(0, 212, 170, 0.3);
    color: var(--text-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--border-hover);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.nav-logo .accent {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle .bar {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: var(--transition-base);
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 70%);
}

.hero-container {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    margin-bottom: 16px;
}

.hero-greeting {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hero-name {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-role {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 32px;
}

.typing-text {
    color: var(--accent-primary);
}

.cursor {
    color: var(--accent-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Hero CTAs */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-family: var(--font-sans);
}

.btn svg {
    flex-shrink: 0;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0e14;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 170, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 212, 170, 0.08);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-card svg {
    flex-shrink: 0;
}

.btn-card:hover {
    background: rgba(0, 212, 170, 0.15);
    border-color: rgba(0, 212, 170, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-suffix {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: float 3s infinite;
}

.scroll-indicator svg {
    flex-shrink: 0;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
section {
    padding: 100px 24px;
}

.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-right: 8px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 48px;
    max-width: 560px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
    align-items: start;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.75;
}

.about-intro {
    font-size: 1.05rem !important;
    color: var(--text-primary) !important;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 500;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-card);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.highlight-item:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.highlight-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-primary);
}

.highlight-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.highlight-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* About Image */
.about-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-image-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    aspect-ratio: 3/4;
    background: var(--bg-tertiary);
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-quick-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.expertise {
    background: var(--bg-primary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}

.expertise-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

.expertise-card.defensive::before {
    background: var(--gradient-primary);
}

.expertise-card.offensive::before {
    background: var(--gradient-danger);
}

.expertise-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.card-icon svg {
    flex-shrink: 0;
}

.expertise-card.defensive .card-icon {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-primary);
}

.expertise-card.offensive .card-icon {
    background: rgba(248, 81, 73, 0.1);
    color: var(--accent-danger);
}

.expertise-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 24px;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.expertise-list li {
    display: flex;
    gap: 12px;
}

.expertise-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.expertise-card.defensive .expertise-list li svg {
    color: var(--accent-primary);
}

.expertise-card.offensive .expertise-list li svg {
    color: var(--accent-danger);
}

.expertise-list strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.expertise-list span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.expertise-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Bridge */
.expertise-bridge {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.bridge-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.bridge-content {
    max-width: 500px;
    padding: 20px;
}

.bridge-content svg {
    color: var(--accent-purple);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.bridge-content h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.bridge-content p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition-base);
}

.portfolio-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.portfolio-card.featured {
    border-color: rgba(0, 212, 170, 0.15);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 170, 0.03) 100%);
}

.portfolio-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.portfolio-card-header svg {
    flex-shrink: 0;
    color: var(--text-secondary);
}

.portfolio-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portfolio-card > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.portfolio-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.portfolio-card ul li {
    font-size: 0.83rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio-card ul li svg {
    flex-shrink: 0;
    color: var(--accent-primary);
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certifications {
    background: var(--bg-primary);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.cert-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition-base);
    position: relative;
}

.cert-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.cert-card.elite {
    border-color: rgba(0, 212, 170, 0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 170, 0.04) 100%);
}

.cert-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 3px;
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent-primary);
}

.cert-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.cert-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cert-issuer {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    opacity: 0.7;
}

.cert-more {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   TECH STACK SECTION
   ============================================ */
.tech-stack {
    background: var(--bg-secondary);
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stack-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-base);
}

.stack-category:hover {
    border-color: var(--border-hover);
}

.stack-category h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stack-category h4 svg {
    flex-shrink: 0;
    color: var(--accent-primary);
}

.stack-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stack-items span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */
.social-proof {
    background: var(--bg-primary);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition-base);
}

.proof-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.proof-card svg {
    color: var(--accent-primary);
    margin-bottom: 14px;
    flex-shrink: 0;
}

.proof-card h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.proof-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.contact-method:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.contact-method svg {
    flex-shrink: 0;
    color: var(--accent-primary);
    width: 18px;
    height: 18px;
}

.contact-method strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.contact-method span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: var(--transition-base);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.95rem;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--accent-primary);
    margin-bottom: 16px;
    flex-shrink: 0;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.hidden {
    display: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 40px 24px 20px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .accent {
    color: var(--accent-primary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.footer-social a svg {
    flex-shrink: 0;
}

.footer-social a:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.06);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================
   CAREER TIMELINE SECTION
   ============================================ */
.timeline-section {
    background: var(--bg-primary);
    overflow: hidden;
}

.timeline-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.timeline-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    font-family: var(--font-sans);
}

.timeline-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.timeline-btn.active {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: height 0.3s ease;
    height: 0;
}

/* Timeline Items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 48px;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 60px;
    padding-left: 0;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 60px;
    padding-right: 0;
}

.timeline-item.hidden-item {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    z-index: 2;
    transition: var(--transition-base);
}

.timeline-item.left .timeline-dot {
    right: -22px;
}

.timeline-item.right .timeline-dot {
    left: -22px;
}

.timeline-dot.major {
    width: 52px;
    height: 52px;
    border-color: var(--accent-warning);
    color: var(--accent-warning);
    background: rgba(210, 153, 29, 0.08);
    box-shadow: 0 0 16px rgba(210, 153, 29, 0.2);
}

.timeline-item.left .timeline-dot.major {
    right: -26px;
}

.timeline-item.right .timeline-dot.major {
    left: -26px;
}

.timeline-dot.active {
    width: 56px;
    height: 56px;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 212, 170, 0.1);
    box-shadow: 0 0 24px rgba(0, 212, 170, 0.3);
    animation: dotGlow 2s infinite;
}

.timeline-item.left .timeline-dot.active {
    right: -28px;
}

.timeline-item.right .timeline-dot.active {
    left: -28px;
}

@keyframes dotGlow {
    0%, 100% { box-shadow: 0 0 24px rgba(0, 212, 170, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 170, 0.6); }
}

.timeline-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Timeline Content */
.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: var(--transition-base);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 6px 0 4px;
}

.timeline-content p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.timeline-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.timeline-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.timeline-stat-value {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.timeline-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.highlight-stat .timeline-stat-value {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.current-content {
    border-color: rgba(0, 212, 170, 0.3);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 212, 170, 0.04) 100%);
    box-shadow: var(--shadow-glow);
}

/* Career Stats Bar */
.career-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 56px;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.career-stat {
    text-align: center;
}

.career-stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.career-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.career-stat-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

/* ============================================
   INTERACTIVE TERMINAL SECTION
   ============================================ */
.terminal-section {
    background: var(--bg-secondary);
}

.terminal-wrapper {
    max-width: 850px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background: #0d1117;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #161b22;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.close { background: #f85149; }
.dot.minimize { background: #d2991d; }
.dot.maximize { background: #3fb950; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    flex: 1;
}

.terminal-clear-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.terminal-clear-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.terminal-body {
    padding: 20px 24px;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.terminal-body::-webkit-scrollbar {
    width: 4px;
}

.terminal-body::-webkit-scrollbar-track {
    background: transparent;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 2px;
}

.terminal-welcome {
    margin-bottom: 16px;
}

.ascii-art {
    color: var(--accent-primary);
    font-size: 0.55rem;
    line-height: 1.1;
    margin-bottom: 12px;
    text-align: center;
}

.terminal-welcome p {
    margin-bottom: 4px;
    font-size: 0.82rem;
}

.terminal-hint {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 8px;
}

.cmd-highlight {
    color: var(--accent-primary);
    font-weight: 600;
    cursor: pointer;
}

.terminal-divider {
    height: 1px;
    background: var(--border-color);
    margin: 16px 0;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.terminal-prompt {
    color: var(--accent-primary);
    font-size: 0.78rem;
    white-space: nowrap;
}

.terminal-prompt-arrow {
    color: var(--accent-primary);
    font-size: 0.78rem;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    outline: none;
    caret-color: var(--accent-primary);
    min-width: 100px;
}

.terminal-output-line {
    padding: 2px 0;
    animation: fadeInTerm 0.2s ease;
}

@keyframes fadeInTerm {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.terminal-output-line .prompt {
    color: var(--accent-primary);
}

.terminal-output-line .command {
    color: var(--text-primary);
    font-weight: 500;
}

.terminal-output-line .output {
    color: var(--text-secondary);
}

.terminal-output-line .output-title {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-top: 4px;
}

.terminal-output-line .output-subtitle {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.terminal-output-line .output-highlight {
    color: var(--accent-warning);
    font-weight: 600;
}

.terminal-output-line .output-error {
    color: var(--accent-danger);
}

.terminal-output-line .output-success {
    color: #3fb950;
}

.terminal-output-line .output-divider {
    color: var(--border-color);
    margin: 4px 0;
}

.terminal-output-line .output-link {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.terminal-skill-tree {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0;
    padding-left: 12px;
    border-left: 1px solid var(--border-color);
}

.terminal-skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-skill-bar {
    width: 100px;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.terminal-skill-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-primary);
    transition: width 1s ease;
}

.terminal-table {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
    margin: 8px 0;
}

.terminal-table .key {
    color: var(--accent-primary);
    font-weight: 600;
}

.terminal-table .val {
    color: var(--text-secondary);
}

/* Terminal Responsive */
@media (max-width: 768px) {
    .terminal-body {
        padding: 16px;
        max-height: 450px;
    }

    .ascii-art {
        font-size: 0.4rem;
    }

    .terminal-prompt {
        font-size: 0.7rem;
    }

    .terminal-input {
        font-size: 0.78rem;
    }

    .terminal-skill-bar {
        width: 60px;
    }
}

/* Timeline Responsive */
@media (max-width: 768px) {
    .timeline-line,
    .timeline-progress {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 56px !important;
        padding-right: 0 !important;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-dot {
        left: -2px !important;
        right: auto !important;
        width: 36px !important;
        height: 36px !important;
    }

    .timeline-dot.major {
        left: -6px !important;
        width: 44px !important;
        height: 44px !important;
    }

    .timeline-dot.active {
        left: -8px !important;
        width: 48px !important;
        height: 48px !important;
    }

    .career-stats-bar {
        flex-wrap: wrap;
        gap: 16px;
    }

    .career-stat-divider {
        display: none;
    }

    .career-stat {
        flex: 1 1 40%;
        min-width: 100px;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-name { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .expertise-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .stack-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 24px;
        border-left: 1px solid var(--border-color);
        transition: right var(--transition-base);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero-name { font-size: 2.2rem; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.6rem; }
    
    section { padding: 72px 20px; }
    .section-title { font-size: 1.6rem; }
    
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }
    
    .cert-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    
    .footer-top {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-links { flex-wrap: wrap; justify-content: center; }
}