/* 
   Miral Parmar — Premium Developer Portfolio Stylesheet
   Designed with modern, dark-glassmorphism aesthetics, fluid typography, and interactive glows.
*/

:root {
  --bg-dark: #030014;
  --bg-card: rgba(18, 16, 35, 0.5);
  --bg-card-hover: rgba(26, 23, 50, 0.7);
  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.16);

  /* Vibrant tailored gradient palette */
  --accent-primary: #7c3aed;
  /* Violet */
  --accent-secondary: #00d4aa;
  /* Emerald Teal */
  --accent-pink: #f43f5e;
  /* Rose */
  --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, #3b82f6 50%, var(--accent-secondary) 100%);
  --accent-glow: rgba(124, 58, 237, 0.3);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ─── Global Reset & Body ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Selection */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: var(--text-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ─── Ambient Glow Blobs (Background) ─── */
.glow-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.18;
  mix-blend-mode: screen;
}

.blob-1 {
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-primary) 0%, rgba(124, 58, 237, 0) 70%);
  animation: float-blob 25s infinite alternate ease-in-out;
}

.blob-2 {
  bottom: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-secondary) 0%, rgba(0, 212, 170, 0) 70%);
  animation: float-blob 30s infinite alternate-reverse ease-in-out;
}

.blob-3 {
  top: 40%;
  right: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-pink) 0%, rgba(244, 63, 94, 0) 70%);
  animation: float-blob 20s infinite alternate ease-in-out;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -60px) scale(1.1);
  }

  100% {
    transform: translate(-30px, 40px) scale(0.95);
  }
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ─── Floating Navigation Island ─── */
header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 1100px;
  z-index: 100;
  transition: var(--transition-smooth);
}

header.scrolled {
  top: 0.75rem;
  width: calc(100% - 3rem);
  max-width: 1020px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(10, 8, 28, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

header.scrolled .navbar {
  /* padding: 0.7rem 2rem; */
  background: rgba(8, 6, 20, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-item a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.25rem 0;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-fast);
  border-radius: var(--radius-pill);
}

.nav-item a:hover {
  color: var(--text-primary);
}

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

.nav-item.active a {
  color: var(--text-primary);
}

.nav-item a.nav-btn {
  padding: 0.5rem 1.4rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-pill);
  color: var(--text-primary) !important;
  font-weight: 600;
  transition: var(--transition-fast);
  display: inline-block;
}

.nav-item a.nav-btn::after {
  display: none;
}

.nav-item a.nav-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ─── Typography & Shared Elements ─── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section {
  position: relative;
  z-index: 10;
  padding: 8rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
  width: 100%;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header {
  margin-bottom: 4rem;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--radius-pill);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.15;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin-top: 0.8rem;
  font-weight: 400;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-primary>* {
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(124, 58, 237, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

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

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

/* ─── Cards Base (Glassmorphic) ─── */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Interactive Cursor Glow */
.card-glow-wrapper {
  position: relative;
}

.card-glow-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card-glow-wrapper:hover::before {
  opacity: 1;
}

/* ─── HERO SECTION ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 2rem 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(0, 212, 170, 0.06);
  border: 1px solid rgba(0, 212, 170, 0.15);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-secondary);
  margin-bottom: 1.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-secondary);
  box-shadow: 0 0 10px var(--accent-secondary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 212, 170, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 212, 170, 0);
  }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.hero-title span {
  font-weight: 800;
}

.hero-title-stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.15);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 500;
}

.typewriter-text::after {
  content: '|';
  margin-left: 2px;
  animation: blink 0.8s infinite;
  color: var(--accent-secondary);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.hero-tag {
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.hero-tag:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* Interactive Tech Dashboard Visual (Hero Right) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.dashboard-card {
  width: 100%;
  max-width: 360px;
  background: rgba(10, 8, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  font-family: 'Courier New', Courier, monospace;
  position: relative;
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-dots {
  display: flex;
  gap: 0.4rem;
}

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

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: #27c93f;
}

.header-title {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.dashboard-code {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.code-keyword {
  color: #f43f5e;
}

.code-class {
  color: #3b82f6;
}

.code-string {
  color: #00d4aa;
}

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

.code-indent {
  padding-left: 1.2rem;
}

.floating-badge {
  position: absolute;
  padding: 0.5rem 1rem;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(124, 58, 237, 0.4);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: translateZ(30px);
}

.badge-ai {
  top: -15px;
  right: -15px;
  border-color: rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.2);
  color: var(--accent-secondary);
}

.badge-web {
  bottom: -15px;
  left: -15px;
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.2);
  color: var(--accent-pink);
}

/* ─── ABOUT SECTION ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

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

.about-buttons {
  margin-top: 2rem;
}

.about-stats-experience {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.timeline-item:nth-child(2) .timeline-dot {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 8px var(--accent-secondary);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(124, 58, 237, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.timeline-item:nth-child(2) .timeline-date {
  color: var(--accent-secondary);
  background: rgba(0, 212, 170, 0.08);
}

.timeline-company {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ─── SKILLS SECTION ─── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  padding: 2.2rem;
}

.skill-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.skill-card:nth-child(2) .skill-card-icon {
  background: rgba(0, 212, 170, 0.08);
  border-color: rgba(0, 212, 170, 0.2);
  color: var(--accent-secondary);
}

.skill-card:nth-child(3) .skill-card-icon {
  background: rgba(244, 63, 94, 0.08);
  border-color: rgba(244, 63, 94, 0.2);
  color: var(--accent-pink);
}

.skill-card:nth-child(4) .skill-card-icon {
  background: #1d4ed81a;
  border-color: #1d4ed833;
  color: #3b82f6;
}

.skill-card:nth-child(5) .skill-card-icon {
  background: #f59e0b1a;
  border-color: #f59e0b33;
  color: #f59e0b;
}

.skill-card:nth-child(6) .skill-card-icon {
  background: #10b9811a;
  border-color: #10b98133;
  color: #10b981;
}

.skill-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

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

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.project-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-primary);
}

.project-card:nth-child(2n) .project-icon-box {
  color: var(--accent-secondary);
  background: rgba(0, 212, 170, 0.08);
  border-color: rgba(0, 212, 170, 0.2);
}

.project-featured {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  padding: 0.25rem 0.65rem;
  color: var(--accent-pink);
  border-radius: var(--radius-pill);
}

.project-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

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

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

.project-tech-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

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

.project-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.project-link-item:hover {
  color: var(--accent-primary);
}

.project-link-item svg {
  width: 16px;
  height: 16px;
}

.projects-more-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ─── GITHUB STATS SECTION ─── */
#github {
  background: rgba(10, 8, 28, 0.3);
}

.github-stats-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.github-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 3rem 0;
  width: 100%;
}

.github-stats-card {
  flex: 1 1 300px;
  max-width: 450px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.github-stats-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.github-stats-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* ─── TESTIMONIALS SECTION ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}

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

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.testimonial-quote-icon {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.1;
  color: var(--accent-primary);
  opacity: 0.08;
  position: absolute;
  top: -10px;
  left: -15px;
  user-select: none;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.2rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── BLOG SECTION ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}

.blog-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
}

.blog-readtime {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: var(--transition-fast);
}

.blog-card:hover .blog-title {
  color: var(--accent-primary);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

.blog-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ─── RESUME SECTION ─── */
.resume-container {
  max-width: 760px;
  margin: 0 auto;
}

.resume-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 2rem;
}

.resume-icon-box {
  width: 56px;
  height: 56px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.resume-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.resume-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.resume-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}

.resume-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── CONTACT SECTION ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.contact-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
  transition: var(--transition-smooth);
}

.contact-channel-card:hover {
  border-color: var(--accent-primary);
  background: rgba(124, 58, 237, 0.04);
  transform: translateX(5px);
}

.contact-channel-card:nth-child(2):hover {
  border-color: var(--accent-secondary);
  background: rgba(0, 212, 170, 0.04);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.contact-channel-card:hover .channel-icon {
  color: var(--accent-primary);
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.1);
}

.contact-channel-card:nth-child(2):hover .channel-icon {
  color: var(--accent-secondary);
  border-color: rgba(0, 212, 170, 0.3);
  background: rgba(0, 212, 170, 0.1);
}

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

.channel-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

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

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  background: rgba(124, 58, 237, 0.02);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Form success/error messages */
.form-message {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-message.success {
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.2);
  color: var(--accent-secondary);
  display: block;
}

.form-message.error {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: var(--accent-pink);
  display: block;
}

/* ─── FOOTER SECTION ─── */
footer {
  padding: 4rem 2rem;
  background: rgba(3, 0, 20, 0.85);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

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

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── RESUME PREVIEW MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 0, 20, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-container {
  width: 90%;
  max-width: 900px;
  height: 85vh;
  background: rgba(10, 8, 28, 0.95);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.modal-body {
  flex-grow: 1;
  position: relative;
  background: #1e1e24;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── ANIMATION HELPER CLASSES ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ─── RESPONSIVE MEDIA QUERIES ─── */
@media (max-width: 968px) {
  header {
    width: calc(100% - 2rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-visual {
    margin-top: 1rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-buttons {
    display: flex;
    justify-content: center;
  }

  .about-stats-experience {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 0, 15, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    z-index: 99;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .nav-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active .nav-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu.active .nav-item:nth-child(2) {
    transition-delay: 0.18s;
  }

  .nav-menu.active .nav-item:nth-child(3) {
    transition-delay: 0.26s;
  }

  .nav-menu.active .nav-item:nth-child(4) {
    transition-delay: 0.34s;
  }

  .nav-menu.active .nav-item:nth-child(5) {
    transition-delay: 0.42s;
  }

  .nav-item a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
  }

  .nav-btn {
    padding: 0.65rem 2rem;
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: block;
    position: relative;
    z-index: 101;
  }

  .navbar {
    padding: 0.8rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modal-container {
    height: 80vh;
  }
}

/* ─── Scroll Progress Bar ─── */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  box-shadow: 0 0 10px var(--accent-primary);
  transition: width 0.1s ease-out;
}

/* ─── Background Canvas ─── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ─── Alternate Themes Override ─── */
.theme-matrix {
  --accent-primary: #00d4aa;
  --accent-secondary: #22c55e;
  --accent-pink: #a3e635;
  --accent-gradient: linear-gradient(135deg, #00d4aa 0%, #10b981 50%, #84cc16 100%);
  --accent-glow: rgba(0, 212, 170, 0.3);
}

.theme-sunset {
  --accent-primary: #ff4e50;
  --accent-secondary: #f9d423;
  --accent-pink: #f43f5e;
  --accent-gradient: linear-gradient(135deg, #ff4e50 0%, #f97316 50%, #f9d423 100%);
  --accent-glow: rgba(255, 78, 80, 0.3);
}

.theme-ocean {
  --accent-primary: #00c6ff;
  --accent-secondary: #0072ff;
  --accent-pink: #a78bfa;
  --accent-gradient: linear-gradient(135deg, #00c6ff 0%, #3b82f6 50%, #0072ff 100%);
  --accent-glow: rgba(0, 198, 255, 0.3);
}

/* ─── Theme Swapper Widget ─── */
.theme-swapper {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 8, 28, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.4rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.theme-swapper:hover {
  border-color: var(--border-hover);
  transform: scale(1.05);
}

.theme-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.theme-btn.active {
  border-color: var(--text-primary);
  transform: scale(1.15);
}

.theme-btn-cyberpunk {
  background: linear-gradient(135deg, #7c3aed, #00d4aa);
}

.theme-btn-matrix {
  background: linear-gradient(135deg, #00d4aa, #84cc16);
}

.theme-btn-sunset {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
}

.theme-btn-ocean {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.theme-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: rgba(8, 6, 20, 0.95);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.68rem;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.theme-btn:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Hero Terminal Console Redesign ─── */
.dashboard-card.terminal-style {
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  background: rgba(3, 0, 10, 0.85);
  border-color: var(--accent-primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  height: 330px;
}

.terminal-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow-y: auto;
  padding-right: 0.25rem;
  font-size: 0.76rem;
  text-align: left;
}

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

.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
}

.terminal-log {
  word-wrap: break-word;
  white-space: pre-wrap;
  line-height: 1.4;
}

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

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

.terminal-log.welcome {
  color: var(--accent-secondary);
  font-weight: 600;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-secondary);
  font-weight: bold;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-prompt {
  white-space: nowrap;
}

.terminal-input-field {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.76rem;
  padding: 0;
}

/* ─── Ultra-Responsive & Small Device Fixes ─── */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .form-row {
    gap: 1rem;
  }

  .section {
    padding: 5rem 1rem;
  }

  .navbar {
    padding: 0.6rem 1.25rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .theme-swapper {
    bottom: 1rem;
    right: 1rem;
    padding: 0.3rem;
  }

  .theme-btn {
    width: 20px;
    height: 20px;
  }
}

/* Fixes for Foldable Screens down to 280px */
@media (max-width: 320px) {
  .logo {
    font-size: 1.05rem;
  }

  .mobile-toggle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ─── AI Pipeline Dashboard Styles ─── */
.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

.dash-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.72rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dash-tab.active {
  background: rgba(124, 58, 237, 0.15);
  color: var(--text-primary);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.code-editor {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  line-height: 1.4;
  color: #c9d1d9;
  text-align: left;
  overflow-x: auto;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.code-kw { color: #ff7b72; font-weight: bold; }
.code-fn { color: #d2a8ff; }
.code-str { color: #a5d6ff; }

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  text-align: left;
  margin-bottom: 0.75rem;
}

.status-item {
  background: rgba(255, 255, 255, 0.02);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.status-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.status-value {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
}

.status-value.val-green {
  color: #00d4aa;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Engine Core Pulse Animation */
.visual-core-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  position: relative;
  margin-top: 0.5rem;
}

.visual-core-ring {
  width: 44px;
  height: 44px;
  border: 2px dashed rgba(124, 58, 237, 0.4);
  border-radius: 50%;
  animation: rotateCore 12s linear infinite;
  position: absolute;
}

.visual-core-pulse {
  width: 20px;
  height: 20px;
  background: var(--accent-gradient);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-primary);
  animation: pulseCore 2s ease-in-out infinite;
}

@keyframes rotateCore {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseCore {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 25px var(--accent-primary); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.dashboard-footer {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-run-agent {
  width: 100%;
  padding: 0.5rem;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.76rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
  font-family: inherit;
}

.btn-run-agent:hover {
  filter: brightness(1.25);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
}

.btn-run-agent:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dashboard-console-output {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  font-size: 0.64rem;
  min-height: 48px;
  margin-top: 0.5rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 72px;
  overflow-y: auto;
}

.console-line {
  font-family: 'Fira Code', 'Courier New', monospace;
  color: var(--text-secondary);
}

.console-line.line-system { color: var(--text-muted); }
.console-line.line-success { color: #00d4aa; }
.console-line.line-info { color: var(--accent-secondary); }