/* ==========================================================================
   FIQIH SANTOSO — CYBER TECH PORTFOLIO
   Component Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVBAR
   -------------------------------------------------------------------------- */
.cyber-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: rgba(5, 7, 13, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.cyber-navbar.scrolled {
  background: rgba(5, 7, 13, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-cyber);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(0, 243, 255, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.12);
  border: 1px solid rgba(0, 243, 255, 0.4);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--glow-cyan-sm);
}

.brand-text {
  background: linear-gradient(135deg, #ffffff, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all var(--transition-fast);
}

.nav-brand:hover .brand-text {
  text-shadow: var(--glow-cyan-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
  letter-spacing: 0.04em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green));
  box-shadow: var(--glow-cyan-sm);
  transition: width var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

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

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* System Online Status Pill */
.system-status-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-green);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.15);
}

.system-ping {
  color: var(--text-muted);
  font-size: 0.7rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 0.5rem;
}

/* Audio Control Button */
.btn-icon-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.25);
  color: var(--neon-cyan);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon-control:hover {
  background: rgba(0, 243, 255, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan-sm);
  color: #ffffff;
}

/* Mobile Hamburger Button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--neon-cyan);
  border-radius: 2px;
  transition: all var(--transition-smooth);
  box-shadow: var(--glow-cyan-sm);
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green), var(--neon-purple));
  box-shadow: 0 0 10px var(--neon-cyan);
  z-index: 1002;
  width: 0%;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-prompt-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--neon-green);
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.12);
}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hero-name {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #ffffff 20%, var(--neon-cyan) 80%, var(--neon-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0, 243, 255, 0.3));
}

.hero-role-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.08);
  border-left: 3px solid var(--neon-cyan);
  padding: 0.4rem 0.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
}

.hero-typing-box {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--neon-green);
  margin-bottom: 1.5rem;
  min-height: 2.2rem;
  text-shadow: var(--glow-green-sm);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 2.75rem;
}

/* Hero Telemetry Quick Stats */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  max-width: 580px;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.stat-value.text-cyan { color: var(--neon-cyan); }
.stat-value.text-green { color: var(--neon-green); }
.stat-value.text-purple { color: var(--neon-purple); }

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

/* --------------------------------------------------------------------------
   3. HERO PROFILE HOLOGRAM FRAME
   -------------------------------------------------------------------------- */
.hero-avatar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hologram-container {
  position: relative;
  width: 360px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

/* Rotating Concentric HUD Rings */
.hud-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hud-ring-outer {
  width: 440px;
  height: 440px;
  border: 1px dashed rgba(0, 243, 255, 0.3);
}

.hud-ring-mid {
  width: 410px;
  height: 410px;
  border: 1px solid rgba(0, 255, 102, 0.2);
  border-left-color: transparent;
  border-right-color: transparent;
}

.hud-ring-inner {
  width: 380px;
  height: 380px;
  border: 1px dotted rgba(176, 38, 255, 0.35);
}

/* Main Profile Image Frame */
.profile-card-frame {
  position: relative;
  width: 310px;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.35), inset 0 0 30px rgba(0, 243, 255, 0.2);
  z-index: 2;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: contrast(1.08) brightness(1.02) saturate(1.05);
  transition: all var(--transition-smooth);
}

.hologram-container:hover .profile-image {
  filter: contrast(1.12) brightness(1.08) saturate(1.1);
  transform: scale(1.03);
}

/* HUD Target Reticles on corners */
.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  z-index: 6;
}

.hud-corner-tl { top: 8px; left: 8px; border-top: 2px solid var(--neon-cyan); border-left: 2px solid var(--neon-cyan); }
.hud-corner-tr { top: 8px; right: 8px; border-top: 2px solid var(--neon-cyan); border-right: 2px solid var(--neon-cyan); }
.hud-corner-bl { bottom: 8px; left: 8px; border-bottom: 2px solid var(--neon-cyan); border-left: 2px solid var(--neon-cyan); }
.hud-corner-br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--neon-cyan); border-right: 2px solid var(--neon-cyan); }

/* Floating Telemetry Chips on Avatar */
.floating-telemetry-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.tag-top-left {
  top: -15px;
  left: -25px;
  background: rgba(10, 17, 34, 0.85);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan-sm);
}

.tag-bottom-right {
  bottom: -15px;
  right: -25px;
  background: rgba(10, 17, 34, 0.85);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  box-shadow: var(--glow-green-sm);
}

.tag-side-node {
  bottom: 80px;
  left: -40px;
  background: rgba(10, 17, 34, 0.85);
  border: 1px solid var(--neon-purple);
  color: var(--neon-purple);
  box-shadow: var(--glow-purple-sm);
}

/* --------------------------------------------------------------------------
   4. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.dossier-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dossier-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}

.dossier-avatar-mini {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--glow-cyan-sm);
  flex-shrink: 0;
}

.dossier-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.dossier-identity {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dossier-name {
  font-size: 1.35rem;
  color: #ffffff;
}

.dossier-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-green);
}

.dossier-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.dossier-specs-table {
  background: rgba(4, 8, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.spec-row:last-child {
  border-bottom: none;
}

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

.spec-value {
  color: var(--text-primary);
  font-weight: 500;
}

/* About Philosophy Cards Grid */
.about-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.highlight-card {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.highlight-title {
  font-size: 1.05rem;
  color: #ffffff;
}

.highlight-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   5. INTERACTIVE TERMINAL SECTION
   -------------------------------------------------------------------------- */
.terminal-window {
  background: var(--bg-terminal);
  border: 1px solid var(--border-cyber);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), var(--glow-cyan-sm);
  overflow: hidden;
  font-family: var(--font-mono);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.terminal-header {
  background: #0d1527;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.terminal-controls {
  display: flex;
  gap: 0.5rem;
}

.term-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.term-btn-close { background-color: #ff5f56; }
.term-btn-min { background-color: #ffbd2e; }
.term-btn-max { background-color: #27c93f; }

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.terminal-body {
  padding: 1.5rem;
  min-height: 380px;
  max-height: 520px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-terminal);
  line-height: 1.6;
}

.terminal-output {
  margin-bottom: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-prompt {
  color: var(--neon-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #ffffff;
  width: 100%;
}

.terminal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chip-btn {
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.25);
  color: var(--neon-cyan);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-btn:hover {
  background: var(--neon-cyan);
  color: #000000;
  box-shadow: var(--glow-cyan-sm);
}

/* --------------------------------------------------------------------------
   6. CYBERSECURITY & SYSTEM TELEMETRY DASHBOARD
   -------------------------------------------------------------------------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.dash-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.dash-card-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-card-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.dash-card-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Live Telemetry Graph & Port Monitor Container */
.dashboard-main-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.graph-card {
  padding: 1.75rem;
}

.graph-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.graph-canvas-container {
  width: 100%;
  height: 180px;
  position: relative;
}

#traffic-chart {
  width: 100%;
  height: 100%;
}

.ports-monitor-card {
  padding: 1.75rem;
}

.ports-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.port-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: rgba(4, 8, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.port-name {
  color: var(--text-primary);
  font-weight: 600;
}

.port-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--neon-green);
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   7. SKILLS SECTION
   -------------------------------------------------------------------------- */
.skills-filter-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: rgba(10, 17, 34, 0.6);
  border: 1px solid rgba(0, 243, 255, 0.2);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--glow-cyan-sm);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: default;
}

.skill-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.4rem;
  transition: all var(--transition-smooth);
}

.skill-card:hover .skill-icon-wrap {
  background: var(--neon-cyan);
  color: #000000;
  box-shadow: var(--glow-cyan-sm);
  transform: scale(1.05);
}

.skill-name {
  font-size: 1.05rem;
  color: #ffffff;
  margin-top: 0.25rem;
}

.skill-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.skill-progress-wrap {
  margin-top: auto;
}

.skill-progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.skill-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.skill-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-green));
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--glow-cyan-sm);
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-smooth);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-green));
  color: #000000;
  box-shadow: var(--glow-cyan-md);
  transform: scale(1.08) rotate(3deg);
}

.service-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.service-feature-item svg {
  color: var(--neon-green);
  flex-shrink: 0;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   9. PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-media-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: #0d1527;
  overflow: hidden;
  border-bottom: 1px solid var(--border-cyber);
}

.project-blueprint-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.project-card:hover .project-blueprint-svg {
  transform: scale(1.05);
}

.project-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

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

/* --------------------------------------------------------------------------
   10. PROJECT DETAIL MODAL
   -------------------------------------------------------------------------- */
.cyber-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 5, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.cyber-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cyber-modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), var(--glow-cyan-md);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 2.25rem;
  transform: translateY(30px) scale(0.96);
  transition: transform var(--transition-smooth);
}

.cyber-modal-overlay.active .cyber-modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--neon-red);
  color: #ffffff;
  border-color: var(--neon-red);
  box-shadow: 0 0 15px rgba(255, 51, 68, 0.5);
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-info-card {
  padding: 2rem;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.contact-method-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
  background: rgba(4, 8, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-method-item:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.05);
}

.contact-method-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-method-icon {
  color: var(--neon-cyan);
  font-size: 1.2rem;
}

.contact-method-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-method-value {
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 500;
}

/* Contact Form */
.contact-form-card {
  padding: 2.25rem;
}

.cyber-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-cyan);
  letter-spacing: 0.04em;
}

.form-input,
.form-textarea {
  background: rgba(4, 8, 16, 0.7);
  border: 1px solid rgba(0, 243, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3), inset 0 0 10px rgba(0, 243, 255, 0.1);
  background: rgba(0, 243, 255, 0.03);
}

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

/* Toast HUD Notification */
.cyber-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(8, 14, 28, 0.95);
  border: 1px solid var(--neon-green);
  box-shadow: var(--glow-green-md);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

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

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.cyber-footer {
  background: #03050a;
  border-top: 1px solid var(--border-cyber);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 380px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Back to Top Thruster */
.btn-back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(10, 17, 34, 0.85);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), var(--glow-cyan-sm);
}

.btn-back-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.btn-back-top:hover {
  background: var(--neon-cyan);
  color: #000000;
  box-shadow: var(--glow-cyan-md);
  transform: translateY(-4px);
}

/* Custom Cyber Cursor */
.cyber-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--neon-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 0 10px var(--neon-cyan);
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease;
}

.cyber-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--neon-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, transform 0.12s ease-out;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-role-badge, .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-row {
    margin-left: auto;
    margin-right: auto;
  }

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

  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-main-row {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 8, 16, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-cyber);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem;
    gap: 1.75rem;
    transition: right var(--transition-smooth);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .system-status-pill {
    display: none;
  }

  .hologram-container {
    width: 280px;
    height: 340px;
  }

  .profile-card-frame {
    width: 260px;
    height: 320px;
  }

  .hud-ring-outer { width: 340px; height: 340px; }
  .hud-ring-mid { width: 310px; height: 310px; }
  .hud-ring-inner { width: 280px; height: 280px; }

  .floating-telemetry-tag {
    font-size: 0.65rem;
  }

  .tag-top-left { left: -10px; top: -10px; }
  .tag-bottom-right { right: -10px; bottom: -10px; }
  .tag-side-node { display: none; }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cyber-cursor-dot, .cyber-cursor-ring {
    display: none !important;
  }
}
