/* ==========================================================================
   ADIBNASRALLAH.MY - CYBERSECURITY PORTFOLIO DESIGN SYSTEM
   Theme: Cyber Dark + Cyber Emerald Green (#00FF66 / #10B981) + Crisp White
   Navigation & Controls: Sleek Grey Frosted Glass
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Core Colors */
  --bg-primary: #06090e;
  --bg-secondary: #0c121d;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 36, 61, 0.85);
  --bg-card-solid: #0d1524;
  
  /* Cyber Green Palette */
  --green-neon: #00ff66;
  --green-primary: #10b981;
  --green-dark: #059669;
  --green-glow: rgba(0, 255, 102, 0.25);
  --green-glow-subtle: rgba(16, 185, 129, 0.12);
  --green-border: rgba(0, 255, 102, 0.35);

  /* Grey Button & Navigation Palette */
  --grey-nav-bg: rgba(30, 41, 59, 0.8);
  --grey-nav-hover: #334155;
  --grey-nav-border: rgba(100, 116, 139, 0.4);
  --grey-pill: #1e293b;
  --grey-pill-active: #283548;
  --grey-pill-text: #94a3b8;
  --grey-pill-text-hover: #f1f5f9;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-green: #00ff66;
  --text-green-light: #34d399;

  /* Terminal Colors */
  --term-bg: #090e17;
  --term-header: #141d2e;
  --term-border: rgba(0, 255, 102, 0.2);
  --term-prompt: #00ff66;
  --term-text: #e2e8f0;
  --term-comment: #64748b;

  /* UI Tokens */
  --font-mono: 'Fira Code', 'JetBrains Mono', monospace;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-cyber: 0 0 25px rgba(0, 255, 102, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow-sm: 0 0 12px rgba(0, 255, 102, 0.3);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

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

/* Cyber Matrix Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.65;
}

/* Background Cyber Grid Overlay */
.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.07) 0%, rgba(16, 185, 129, 0.02) 50%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
  animation: floatAmbient 18s ease-in-out infinite alternate;
}

.ambient-glow-1 { top: 10%; left: -10%; }
.ambient-glow-2 { bottom: 15%; right: -10%; animation-delay: -7s; }

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-30px, 80px) scale(0.95); }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-white {
  color: var(--text-white) !important;
}

.text-green {
  color: var(--text-green) !important;
}

.text-green-glow {
  color: var(--text-green);
  text-shadow: 0 0 12px var(--green-glow);
}

.text-muted {
  color: var(--text-muted);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header & Top Navigation (Grey Pill Style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.nav-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 18, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--grey-nav-border);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.nav-bar-container:hover {
  border-color: rgba(0, 255, 102, 0.3);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 102, 0.1);
}

/* Brand Identity */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
  cursor: pointer;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 255, 102, 0.12);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  color: var(--green-neon);
  font-size: 0.85rem;
}

.brand-domain {
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.brand-domain .tld {
  color: var(--green-neon);
  font-weight: 800;
}

/* Navigation Links (Grey Pill Group) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  background: rgba(20, 29, 44, 0.6);
  padding: 0.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-btn {
  background: transparent;
  color: var(--grey-pill-text);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-btn:hover {
  background: var(--grey-pill);
  color: var(--text-white);
}

.nav-btn.active {
  background: var(--grey-pill-active);
  color: var(--text-white);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 255, 102, 0.4);
}

.nav-btn.active::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-neon);
  box-shadow: 0 0 8px var(--green-neon);
  margin-right: 2px;
}

/* Right Nav Controls */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.25);
  color: var(--green-neon);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
}

.radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-neon);
  box-shadow: 0 0 8px var(--green-neon);
  animation: radarPulse 2s infinite ease-in-out;
}

@keyframes radarPulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; box-shadow: 0 0 14px var(--green-neon); }
  100% { transform: scale(0.9); opacity: 1; }
}

.mobile-menu-toggle {
  display: none;
  background: var(--grey-pill);
  border: 1px solid var(--grey-nav-border);
  color: var(--text-white);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   Page View Manager (SPA Section Switching)
   ========================================================================== */
.page-section {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  padding: 1.5rem 0 4rem;
}

.page-section.active-page {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInPage 0.45s ease-out forwards;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Common Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--green-neon);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.25);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ==========================================================================
   1. HOME PAGE STYLES
   ========================================================================== */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  min-height: calc(80vh - 100px);
  padding: 1rem 0 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-security {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--green-border);
  color: var(--green-neon);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.hero-main-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-main-title .white-text {
  color: var(--text-white);
}

.hero-main-title .green-text {
  color: var(--green-neon);
  text-shadow: 0 0 25px rgba(0, 255, 102, 0.4);
}

.role-typing-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--text-light);
  min-height: 2rem;
}

.role-prefix {
  color: var(--green-primary);
}

.typed-role-text {
  color: var(--green-neon);
  font-weight: 600;
  border-bottom: 2px solid var(--green-neon);
  padding-bottom: 2px;
}

.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 1.2em;
  background-color: var(--green-neon);
  margin-left: 2px;
  animation: blinkCursor 0.8s infinite;
  vertical-align: middle;
}

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

.hero-summary-box {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  border-left: 3px solid var(--green-neon);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.2rem 1.4rem;
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-cyber-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--green-neon);
  color: #060a0f;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--green-neon);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 18px rgba(0, 255, 102, 0.35);
}

.btn-cyber-primary:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 102, 0.5);
  color: #000;
}

.btn-cyber-grey {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--grey-pill);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-nav-border);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-cyber-grey:hover {
  background: var(--grey-nav-hover);
  border-color: var(--green-border);
  color: var(--green-neon);
  transform: translateY(-2px);
}

.hero-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quick-tag-chip {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
}

/* Terminal Component (iOS / Mac Style) */
.terminal-window {
  background: var(--term-bg);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 102, 0.12);
  transition: var(--transition-normal);
  position: relative;
}

.terminal-window:hover {
  border-color: rgba(0, 255, 102, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 255, 102, 0.2);
}

.terminal-topbar {
  background: var(--term-header);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background-color: #ff5f56; border: 1px solid #e0443e; }
.dot-yellow { background-color: #ffbd2e; border: 1px solid #dea123; }
.dot-green { background-color: #27c93f; border: 1px solid #1aab29; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.terminal-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green-neon);
}

.terminal-body {
  padding: 1.25rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--term-text);
  max-height: 420px;
  overflow-y: auto;
}

/* Custom Scrollbar for Terminal */
.terminal-body::-webkit-scrollbar {
  width: 5px;
}
.terminal-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 102, 0.3);
  border-radius: 4px;
}

.term-line {
  margin-bottom: 0.85rem;
}

.term-cmd {
  color: var(--green-neon);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.term-prompt {
  color: var(--green-primary);
}

.term-output {
  color: var(--text-light);
  margin-top: 0.2rem;
  padding-left: 0.8rem;
}

.term-key {
  color: #93c5fd;
}

.term-val {
  color: #f8fafc;
}

.term-val-green {
  color: var(--green-neon);
  font-weight: 600;
}

.term-list {
  list-style: none;
}

.term-list li {
  position: relative;
  padding-left: 1rem;
}

.term-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green-neon);
}

.term-interactive-input-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.term-input {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  outline: none;
  width: 100%;
}

.term-help-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
  font-style: italic;
}

/* ==========================================================================
   2. ABOUT PAGE STYLES
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-photo-col {
  position: sticky;
  top: 6rem;
}

.photo-card-cyber {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 102, 0.1);
  position: relative;
  overflow: hidden;
}

.photo-card-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green-neon), transparent);
  animation: scanline 4s linear infinite;
}

@keyframes scanline {
  0% { top: 0; opacity: 0.8; }
  50% { top: 100%; opacity: 0.8; }
  100% { top: 0; opacity: 0.8; }
}

.profile-img-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  background: #0d1522;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-smooth);
}

.photo-card-cyber:hover .profile-img {
  transform: scale(1.03);
}

.photo-hud-badge {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  right: 0.8rem;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hud-info {
  display: flex;
  flex-direction: column;
}

.hud-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
}

.hud-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green-neon);
}

/* 4 Quick Stat Cards */
.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: all var(--transition-fast);
}

.stat-card:hover {
  border-color: var(--green-border);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stat-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-neon);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}

.stat-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.3;
}

/* Bio Content Side */
.about-bio-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.bio-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.bio-greeting {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.bio-text {
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.bio-text:last-of-type {
  margin-bottom: 0;
}

/* Focus Areas Section */
.focus-areas-container {
  margin-top: 0.5rem;
}

.subsection-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-white);
}

.subsection-title i {
  color: var(--green-neon);
}

.focus-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.focus-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--green-neon);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.focus-card:hover {
  border-color: var(--green-border);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.focus-card:hover::before {
  opacity: 1;
}

.focus-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.focus-header i {
  font-size: 1.3rem;
  color: var(--green-neon);
}

.focus-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.focus-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag-mini {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
}

/* Arsenal / Skills Grid */
.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.8rem;
}

.tool-chip {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.tool-chip:hover {
  border-color: var(--green-border);
  background: rgba(0, 255, 102, 0.06);
  transform: translateY(-2px);
}

.tool-chip i {
  font-size: 1.5rem;
  color: var(--green-neon);
}

.tool-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ==========================================================================
   3. PROJECTS PAGE STYLES (Showcase & Blueprints)
   ========================================================================== */
.filter-tabs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--grey-pill);
  border: 1px solid var(--grey-nav-border);
  color: var(--grey-pill-text);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--grey-nav-hover);
  color: var(--text-white);
}

.filter-btn.active {
  background: var(--grey-pill-active);
  border-color: var(--green-neon);
  color: var(--green-neon);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: var(--green-border);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 102, 0.12);
}

.project-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.project-category-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green-neon);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.project-status-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.status-in-progress {
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-planned {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.status-completed {
  background: rgba(0, 255, 102, 0.12);
  color: var(--green-neon);
  border: 1px solid var(--green-border);
}

.project-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  color: var(--text-light);
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-blueprint-view {
  background: var(--grey-pill);
  border: 1px solid var(--grey-nav-border);
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-blueprint-view:hover {
  background: var(--grey-nav-hover);
  border-color: var(--green-border);
  color: var(--green-neon);
}

/* Suggestion / Blueprint Box */
.project-suggestion-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(6, 12, 22, 0.95));
  border: 1px dashed rgba(0, 255, 102, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.suggestion-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.suggestion-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 680px;
}

/* ==========================================================================
   4. CTF WRITEUPS PAGE STYLES
   ========================================================================== */
.search-filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-box-cyber {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

.search-box-cyber input {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--grey-nav-border);
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-white);
  outline: none;
  transition: all var(--transition-fast);
}

.search-box-cyber input:focus {
  border-color: var(--green-neon);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.2);
}

.search-box-cyber i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.writeups-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.writeup-item-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.writeup-item-card:hover {
  border-color: var(--green-border);
  background: var(--bg-card-hover);
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 102, 0.1);
}

.writeup-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.diff-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.diff-easy { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.diff-med { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.diff-hard { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.platform-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.writeup-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.writeup-item-snippet {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 800px;
}

.writeup-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--green-neon);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.25);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.writeup-item-card:hover .writeup-read-btn {
  background: var(--green-neon);
  color: #060a0f;
  font-weight: 700;
}

/* ==========================================================================
   5. ACHIEVEMENTS PAGE STYLES
   ========================================================================== */
.achievements-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.achievements-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-neon), rgba(0, 255, 102, 0.2) 80%, transparent);
}

.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 2.75rem;
}

.timeline-marker {
  position: absolute;
  left: 17px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--green-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--green-neon);
  z-index: 2;
}

.timeline-marker-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-neon);
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
}

.timeline-card:hover {
  border-color: var(--green-border);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 102, 0.1);
  transform: translateY(-2px);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-year-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green-neon);
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.achievement-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.35rem;
}

.achievement-org {
  color: #93c5fd;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.achievement-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Achievement Gallery Placeholder Box */
.achievement-photo-holder {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(0, 255, 102, 0.3);
  background: rgba(0, 255, 102, 0.03);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.achievement-photo-holder i {
  font-size: 1.4rem;
  color: var(--green-neon);
}

/* ==========================================================================
   6. RESUME (CV) PAGE STYLES
   ========================================================================== */
.resume-action-banner {
  background: linear-gradient(135deg, rgba(16, 24, 39, 0.85), rgba(8, 14, 26, 0.95));
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 255, 102, 0.1);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.resume-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.resume-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn-download-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--green-neon);
  color: #06090e;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.4);
}

.btn-download-resume:hover {
  background: #22c55e;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 255, 102, 0.6);
  color: #000;
}

.resume-sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.resume-block {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.resume-block-title {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.resume-block-title i {
  color: var(--green-neon);
}

/* Education Card with Logo */
.edu-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.edu-logo-frame {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  overflow: hidden;
}

.edu-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.edu-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.edu-inst {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #93c5fd;
  margin-bottom: 0.35rem;
}

.edu-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green-neon);
  margin-bottom: 0.8rem;
}

.edu-roles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.edu-roles-list li {
  font-size: 0.88rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.edu-roles-list li i {
  color: var(--green-neon);
  font-size: 0.8rem;
}

/* Experience Card with Photo */
.exp-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exp-photo-preview {
  width: 100%;
  height: 190px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 255, 102, 0.25);
}

.exp-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.exp-card:hover .exp-photo-img {
  transform: scale(1.04);
}

.exp-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

.exp-event-title {
  color: var(--text-green-light);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.exp-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.exp-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.exp-points-list li {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
  position: relative;
  padding-left: 1.1rem;
}

.exp-points-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green-neon);
}

/* Certifications Section */
.certifications-container {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cert-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.cert-card:hover {
  border-color: var(--green-border);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 255, 102, 0.12);
}

.cert-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.cert-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-neon);
  font-size: 1.2rem;
}

.cert-verified-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--green-neon);
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.cert-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #93c5fd;
  margin-bottom: 0.6rem;
}

.cert-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. CONTACT PAGE STYLES
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-intro-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.contact-intro-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.6rem;
}

.contact-intro-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.direct-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.channel-card:hover {
  border-color: var(--green-border);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.channel-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-neon);
  font-size: 1.25rem;
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.channel-handle {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.btn-copy-channel {
  background: var(--grey-pill);
  border: 1px solid var(--grey-nav-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-channel:hover {
  background: var(--grey-nav-hover);
  color: var(--green-neon);
  border-color: var(--green-border);
}

/* Contact Form Box */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 102, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 102, 0.1);
}

.form-header {
  margin-bottom: 1.75rem;
}

.form-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}

.form-label span {
  color: var(--green-neon);
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(8, 12, 20, 0.8);
  border: 1px solid var(--grey-nav-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-white);
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--green-neon);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2);
  background: rgba(12, 18, 30, 0.95);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.btn-send-message {
  width: 100%;
  background: var(--green-neon);
  color: #060a0f;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.35);
}

.btn-send-message:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 102, 0.5);
  color: #000;
}

/* Simulated Encryption Dispatch Status */
.payload-status-box {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--green-border);
  color: var(--green-neon);
  animation: fadeIn 0.3s ease;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(6, 9, 14, 0.9);
  padding: 2rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grey-pill);
  border: 1px solid var(--grey-nav-border);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--green-neon);
  color: #06090e;
  border-color: var(--green-neon);
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--green-neon);
}

/* ==========================================================================
   Modals & Toast Notifications
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.modal-content {
  background: var(--bg-card-solid);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 102, 0.15);
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--grey-pill);
  border: 1px solid var(--grey-nav-border);
  color: var(--text-white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--green-neon);
  color: #000;
}

/* Toast Alert */
.toast-cyber {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0d1522;
  border: 1px solid var(--green-neon);
  color: var(--text-white);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 102, 0.25);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-cyber.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-photo-col {
    position: static;
    max-width: 380px;
    margin: 0 auto;
  }

  .resume-sections-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-bar-container {
    padding: 0.5rem 0.9rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(12, 18, 29, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--grey-nav-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .status-pill {
    display: none;
  }

  .about-stat-grid {
    grid-template-columns: 1fr;
  }

  .project-suggestion-banner {
    grid-template-columns: 1fr;
  }

  .writeup-item-card {
    grid-template-columns: 1fr;
  }

  .resume-action-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-download-resume {
    width: 100%;
    justify-content: center;
  }
}
