/* ─── TOKENS ──────────────────────────────────── */
:root {
  /* Colors */
  --bg-base:     #0D1117;
  --bg-surface:  #13181F;
  --bg-elevated: #171C22;
  --bg-card:     #1A1F28;
  --border:      #21262D;
  --border-soft: #30363D;
  --accent:      #4F98A3;
  --accent-glow: rgba(79, 152, 163, 0.18);
  --accent-dim:  #1C3A42;
  --purple:      #7C6FCD;
  --purple-glow: rgba(124, 111, 205, 0.18);

  --text-white:  #FFFFFF;
  --text-light:  #E6EDF3;
  --text-body:   #C9D1D9;
  --text-muted:  #8B949E;
  --text-faint:  #484F58;

  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3.5rem,   1rem    + 7vw,    6.5rem);

  /* Spacing */
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Typography */
  --font-display: 'Cabinet Grotesk', system-ui, sans-serif;
  --font-body:    'Satoshi', system-ui, sans-serif;

  /* Radius */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 600ms;
}

/* ─── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── PROGRESS BAR ──────────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  width: 0%;
  z-index: 200;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(79, 152, 163, 0.6);
  transition: width 0.1s linear;
}

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── CURSOR SPOTLIGHT ──────────────────────────────────── */
.cursor-spotlight {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 152, 163, 0.045) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  will-change: left, top;
  transition: left 0.12s ease, top 0.12s ease;
}

/* ─── CONTAINER ──────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ─── SECTION BASE ──────────────────────────────────── */
.section {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
}
.section-header {
  margin-bottom: var(--space-12);
}
.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
  padding-left: 18px;
  position: relative;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-light);
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, #4F98A3 20%, #7ECBD4 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.7em 1.4em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg-base);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
}
.btn--primary:hover {
  background: #5AAABB;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(79, 152, 163, 0.4);
}
.btn--primary:hover::after { left: 160%; }
.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-soft);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(79, 152, 163, 0.1);
}
.btn--sm {
  font-size: var(--text-xs);
  padding: 0.5em 1.1em;
}

/* ─── TAGS ──────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  background: #1B2D35;
  color: #7DD3DB;
  border: 1px solid rgba(79, 152, 163, 0.2);
  transition: all 0.2s;
  cursor: default;
}
.tag:hover {
  background: rgba(79, 152, 163, 0.18);
  border-color: rgba(79, 152, 163, 0.5);
  color: var(--accent);
  transform: translateY(-1px);
}
.tag--glow {
  background: rgba(79, 152, 163, 0.12);
  border-color: rgba(79, 152, 163, 0.4);
  color: var(--accent);
}

/* ─── NAV ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-light);
}
.nav__logo strong { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav__links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__cta {
  background: var(--accent) !important;
  color: var(--bg-base) !important;
  font-weight: 700 !important;
  padding: 0.45em 1.1em;
  border-radius: 100px;
}
.nav__cta:hover { opacity: 0.9; }
.nav__cta::after { display: none !important; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── LANG SWITCHER ──────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  line-height: 1;
}
.lang-btn:hover { color: var(--text-light); }
.lang-btn.active {
  background: var(--accent);
  color: var(--bg-base);
}

/* ─── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 80%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero__glow--1 {
  width: 820px; height: 820px;
  top: -280px; right: -160px;
  background: radial-gradient(circle, rgba(79, 152, 163, 0.22) 0%, rgba(79, 152, 163, 0.06) 55%, transparent 70%);
  animation: float-orb-1 12s ease-in-out infinite;
}
.hero__glow--2 {
  width: 520px; height: 520px;
  bottom: -120px; left: 4%;
  background: radial-gradient(circle, rgba(124, 111, 205, 0.18) 0%, transparent 70%);
  animation: float-orb-2 16s ease-in-out infinite;
}
.hero__glow--3 {
  width: 360px; height: 360px;
  top: 45%; left: 42%;
  background: radial-gradient(circle, rgba(79, 152, 163, 0.08) 0%, transparent 70%);
  animation: float-orb-2 22s ease-in-out infinite reverse;
}
@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0); }
  33%  { transform: translate(-28px, 38px); }
  66%  { transform: translate(22px, -22px); }
}
@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0); }
  50%  { transform: translate(32px, -28px); }
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  width: 100%;
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.hero__content { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent);
  background: rgba(79, 152, 163, 0.1);
  border: 1px solid rgba(79, 152, 163, 0.3);
  padding: 0.4em 0.9em;
  border-radius: 100px;
  margin-bottom: var(--space-6);
  box-shadow: 0 0 28px rgba(79, 152, 163, 0.18);
}
.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero__name {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: var(--space-5);
}
.hero__name em {
  font-style: normal;
  background: linear-gradient(135deg, #4F98A3 0%, #9B8FF0 50%, #4F98A3 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  animation: gradient-shift 6s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--space-5);
  line-height: 1.4;
}
.hero__title span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}
.hero__bio {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.hero__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.hero__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  transition: color 0.2s, gap 0.2s;
}
.hero__link:hover { color: var(--accent); gap: 10px; }

/* PHOTO */
.hero__photo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__photo-wrap {
  position: relative;
  width: 340px;
  height: 340px;
}
.hero__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  filter: grayscale(5%);
  transition: filter 0.4s;
}
.hero__photo-wrap:hover img { filter: grayscale(0%); }
.hero__photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(79, 152, 163, 0.4);
  animation: spin-ring 20s linear infinite;
}
.hero__photo-ring--2 {
  inset: -18px;
  border-style: dashed;
  border-color: rgba(79, 152, 163, 0.15);
  animation-duration: 35s;
  animation-direction: reverse;
}
@keyframes spin-ring {
  to { transform: rotate(360deg); }
}

/* STAT CARDS */
.hero__stat-cards {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  flex-wrap: wrap;
  justify-content: center;
}
.stat-card {
  background: rgba(23, 28, 34, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  text-align: center;
  min-width: 80px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  border-color: rgba(79, 152, 163, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.35), 0 0 0 1px rgba(79,152,163,0.15);
}
.stat-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-card__label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
}

/* SCROLL HINT */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  animation: scroll-hint 2s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── ABOUT ──────────────────────────────────── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.about__text p {
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.75;
}
.about__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.about__highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-body);
  transition: color 0.2s;
}
.about__highlight:hover { color: var(--text-light); }
.about__tag-group {
  margin-bottom: var(--space-6);
}
.about__tag-title {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

/* ─── PROJECTS ──────────────────────────────────── */
.projects {
  background: var(--bg-surface);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 30px,
    rgba(255, 255, 255, 0.012) 30px,
    rgba(255, 255, 255, 0.012) 31px
  );
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-24);
  position: relative;
}
.project-card:last-child { margin-bottom: 0; }
.project-card--reverse .project-card__content { order: 2; }
.project-card--reverse .project-card__preview { order: 1; }

.project-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.project-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}
.project-tag--blue {
  background: rgba(79, 152, 163, 0.12);
  color: var(--accent);
  border: 1px solid rgba(79, 152, 163, 0.3);
}
.project-tag--purple {
  background: rgba(124, 111, 205, 0.12);
  color: var(--purple);
  border: 1px solid rgba(124, 111, 205, 0.3);
}
.project-tag--red {
  background: rgba(240, 73, 62, 0.1);
  color: #F0493E;
  border: 1px solid rgba(240, 73, 62, 0.3);
}
.project-status--oss {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--purple);
  background: rgba(124, 111, 205, 0.1);
  border: 1px solid rgba(124, 111, 205, 0.25);
  padding: 2px 8px;
  border-radius: 100px;
}
.project-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  color: #4ade80;
}
.status-dot {
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.4);
}
.project-card__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}
.project-card__tagline {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-4);
}
.project-card__desc {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-5);
}
.project-card__desc strong { color: var(--text-body); font-weight: 600; }
.project-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.project-card__features li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-left: var(--space-5);
  position: relative;
  transition: color 0.2s;
}
.project-card__features li:hover { color: var(--text-body); }
.project-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-6);
}
.tech-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: default;
}
.tech-badge:hover {
  background: var(--bg-card);
  border-color: rgba(79, 152, 163, 0.4);
  color: var(--text-body);
  transform: translateY(-1px);
}
.project-card__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* PROJECT BROWSER MOCKUP */
.project-card__preview {
  perspective: 1200px;
}
.project-card__browser {
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    linear-gradient(135deg, rgba(79, 152, 163, 0.45), rgba(33, 38, 45, 0.05) 50%, rgba(124, 111, 205, 0.3)) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(79, 152, 163, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s;
}
.project-card__browser:hover {
  box-shadow: 0 56px 120px rgba(0,0,0,0.55), 0 0 50px rgba(79, 152, 163, 0.1);
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    linear-gradient(135deg, rgba(79, 152, 163, 0.7), rgba(33, 38, 45, 0.1) 50%, rgba(124, 111, 205, 0.5)) border-box;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-soft);
}
.browser-dot:nth-child(1) { background: #ff5f56; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #27c93f; }
.browser-url {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  padding: 3px 12px;
  border-radius: 100px;
  margin-left: var(--space-3);
  border: 1px solid var(--border);
}
.browser-content {
  padding: var(--space-5);
}

/* Archimbus Preview */
.archimbus-header {
  justify-content: space-between !important;
  margin-bottom: var(--space-4);
}
.archimbus-model-badge {
  font-size: 9px;
  font-weight: 600;
  background: rgba(124, 111, 205, 0.12);
  color: var(--purple);
  border: 1px solid rgba(124, 111, 205, 0.3);
  padding: 2px 8px;
  border-radius: 100px;
}
.archimbus-chat {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.chat-msg {
  font-size: 10px;
  padding: var(--space-3);
  border-radius: var(--radius);
}
.chat-msg--user {
  background: rgba(79, 152, 163, 0.1);
  color: var(--text-body);
  border: 1px solid rgba(79, 152, 163, 0.2);
  align-self: flex-end;
  max-width: 85%;
}
.chat-msg--ai {
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.chat-msg__label {
  font-size: 9px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chat-arch {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}
.arch-block {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  color: var(--text-light);
}
.arch-block--gateway { background: rgba(79, 152, 163, 0.15); border-color: rgba(79, 152, 163, 0.4); }
.arch-block--lambda  { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); color: #fbbf24; }
.arch-block--rds     { background: rgba(124, 111, 205, 0.12); border-color: rgba(124, 111, 205, 0.35); color: var(--purple); }
.arch-arrow { font-size: 10px; color: var(--text-faint); }
.chat-files {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-2);
}
.chat-file {
  font-size: 9px;
  background: var(--bg-elevated);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.chat-download {
  font-size: 9px;
  font-weight: 700;
  background: var(--purple);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* SCANTHERA Preview */
.sct-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sct-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sct-top .preview-logo span { color: #F0493E; }
.sct-subnet {
  font-size: 9px;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 100px;
}
.sct-risk-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sct-risk-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  flex-shrink: 0;
}
.sct-risk-track {
  flex: 1;
  height: 5px;
  background: var(--bg-elevated);
  border-radius: 3px;
  overflow: hidden;
}
.sct-risk-fill {
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #F0A500 100%);
  border-radius: 3px;
}
.sct-risk-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: #F0A500;
  flex-shrink: 0;
  white-space: nowrap;
}
.sct-risk-cat {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #F0A500;
  margin-left: 3px;
}
.sct-devices {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sct-dev {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.sct-dev-type {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text-faint);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.sct-dev-type--router { background: rgba(79,152,163,0.15); color: var(--accent); }
.sct-dev-type--iot    { background: rgba(240,165,0,0.12);  color: #F0A500; }
.sct-dev-ip {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  color: var(--text-muted);
  flex: 1;
}
.sct-dev-ports {
  font-size: 8px;
  color: var(--text-faint);
  flex-shrink: 0;
}
.sct-cve {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  background: rgba(240, 73, 62, 0.06);
  border: 1px solid rgba(240, 73, 62, 0.22);
  border-radius: var(--radius-sm);
  color: #F0493E;
}
.sct-cve-id {
  font-family: 'Courier New', monospace;
  font-size: 9px;
  font-weight: 700;
  display: block;
  color: #F0493E;
}
.sct-cve-score {
  font-size: 8px;
  color: var(--text-muted);
  display: block;
}

/* ─── SKILLS ──────────────────────────────────── */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.skill-group {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.skill-group::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.skill-group:hover {
  border-color: rgba(79, 152, 163, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 0 0 1px rgba(79,152,163,0.08);
}
.skill-group:hover::before {
  transform: scaleX(1);
}
.skill-group__icon {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(79, 152, 163, 0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: var(--space-4);
  transition: background 0.3s, box-shadow 0.3s;
}
.skill-group:hover .skill-group__icon {
  background: rgba(79, 152, 163, 0.2);
  box-shadow: 0 0 20px rgba(79, 152, 163, 0.2);
}
.skill-group__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

/* ─── EXPERIENCE ──────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: var(--space-8);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(79, 152, 163, 0.1), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: var(--space-10);
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-8) - 5px);
  top: 4px;
  width: 11px; height: 11px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  box-shadow: 0 0 0 3px rgba(79, 152, 163, 0.25);
  animation: dot-pulse 2.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(79, 152, 163, 0.25); }
  50%  { box-shadow: 0 0 0 7px rgba(79, 152, 163, 0.07); }
}
.timeline-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.timeline-card:hover {
  border-color: rgba(79, 152, 163, 0.3);
  transform: translateX(5px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.timeline-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}
.timeline-card__role {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-light);
}
.timeline-card__company {
  font-size: var(--text-sm);
  color: var(--accent);
  margin-top: 2px;
}
.timeline-card__location {
  font-size: var(--text-xs);
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.timeline-badge {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.timeline-badge--current {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.1);
}
.timeline-card__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.timeline-card__bullets li {
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-left: var(--space-4);
  position: relative;
  transition: color 0.2s;
}
.timeline-card__bullets li:hover { color: var(--text-body); }
.timeline-card__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* ─── CONTACT ──────────────────────────────────── */
.contact { position: relative; }
.contact__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.contact__glow {
  position: absolute;
  inset: -140px;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(79, 152, 163, 0.12), rgba(124, 111, 205, 0.06) 55%, transparent 75%);
  pointer-events: none;
}
.contact__inner .section-label { display: block; text-align: center; margin-bottom: var(--space-3); }
.contact__inner .section-title { display: block; text-align: center; margin-bottom: var(--space-6); }
.contact__text {
  color: var(--text-muted);
  font-size: var(--text-base);
  max-width: 480px;
  margin: 0 auto var(--space-8);
  line-height: 1.75;
}
.contact__links {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.contact__social {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}
.contact__social a {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}
.contact__social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(79, 152, 163, 0.18);
}

/* ─── FOOTER ──────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer__copy,
.footer__built {
  font-size: var(--text-xs);
  color: var(--text-faint);
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  .hero__photo {
    order: -1;
    align-items: center;
  }
  .hero__photo-wrap { width: 260px; height: 260px; }
  .hero__bio { max-width: 100%; }
  .hero__actions { justify-content: center; }
  .hero__links { align-items: center; }
  .about__inner { grid-template-columns: 1fr; }
  .project-card,
  .project-card--reverse .project-card__content,
  .project-card--reverse .project-card__preview {
    grid-template-columns: 1fr;
    order: unset;
  }
  .project-card--reverse .project-card__preview { order: -1; }
  .skills__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .lang-switcher { gap: 1px; padding: 2px; }
  .lang-btn { font-size: 0.65rem; padding: 3px 6px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--bg-base);
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    z-index: 99;
  }
  .nav__links.open a {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-light);
  }
  .project-card { grid-template-columns: 1fr; }
  .skills__grid { grid-template-columns: 1fr; }
  .contact__links { flex-direction: column; align-items: center; }
  .footer__inner { flex-direction: column; text-align: center; }
  .cursor-spotlight { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__photo-ring { animation: none; }
  .badge-dot, .status-dot, .hero__scroll span { animation: none; }
  .hero__name em { animation: none; }
  .hero__glow--1, .hero__glow--2, .hero__glow--3 { animation: none; }
  .timeline-dot { animation: none; }
  .quotes-track { animation: none; }
  .ps__ring { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   DEVOPS SECTION
═══════════════════════════════════════════════════════════ */
.devops-section {
  position: relative;
  background: var(--bg-base);
}
.devops-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 152, 163, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 152, 163, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.devops-subtitle {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 560px;
  margin-top: var(--space-4);
  line-height: 1.7;
}

/* ─── Pipeline wrap ──────────────────────────────────── */
.pipeline-wrap {
  background: rgba(23, 28, 34, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

/* ─── Pipeline row ──────────────────────────────────── */
.pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 680px;
}

/* ─── Stage ──────────────────────────────────── */
.ps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.ps__icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-2);
}
.ps__ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.4s, animation 0.4s;
}
.ps__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  transition: all 0.4s var(--ease);
  position: relative;
  z-index: 1;
}

/* Pending */
.ps .ps__label { font-size: var(--text-xs); font-weight: 700; color: var(--text-faint); transition: color 0.3s; }
.ps .ps__sub   { font-size: 10px; color: var(--text-faint); opacity: 0.6; }
.ps .ps__badge {
  font-size: 9px; font-weight: 600;
  padding: 2px 8px; border-radius: 100px;
  background: var(--bg-elevated); color: var(--text-faint);
  border: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.05em;
  transition: all 0.35s;
}

/* Running */
.ps.running .ps__icon { background: rgba(79,152,163,0.15); border-color: var(--accent); color: var(--accent); }
.ps.running .ps__ring { border-top-color: var(--accent); border-right-color: var(--accent); animation: ring-spin 0.9s linear infinite; }
.ps.running .ps__label { color: var(--accent); }
.ps.running .ps__badge { background: rgba(79,152,163,0.15); color: var(--accent); border-color: rgba(79,152,163,0.4); }

/* Warning */
.ps.warning .ps__icon { background: rgba(251,191,36,0.1); border-color: #fbbf24; color: #fbbf24; }
.ps.warning .ps__ring { border-top-color: #fbbf24; border-right-color: transparent; animation: ring-spin 1.2s linear infinite; }
.ps.warning .ps__label { color: #fbbf24; }
.ps.warning .ps__badge { background: rgba(251,191,36,0.12); color: #fbbf24; border-color: rgba(251,191,36,0.3); }

/* Patching */
.ps.patching .ps__icon { background: rgba(249,115,22,0.1); border-color: #f97316; color: #f97316; }
.ps.patching .ps__ring { border-top-color: #f97316; border-right-color: #f97316; animation: ring-spin 0.6s linear infinite; }
.ps.patching .ps__label { color: #f97316; }
.ps.patching .ps__badge { background: rgba(249,115,22,0.12); color: #f97316; border-color: rgba(249,115,22,0.3); }

/* Passed */
.ps.passed .ps__icon { background: rgba(74,222,128,0.12); border-color: #4ade80; color: #4ade80; }
.ps.passed .ps__ring { border-color: rgba(74,222,128,0.35); border-top-color: transparent; animation: none; }
.ps.passed .ps__label { color: #4ade80; }
.ps.passed .ps__badge { background: rgba(74,222,128,0.12); color: #4ade80; border-color: rgba(74,222,128,0.3); }

@keyframes ring-spin { to { transform: rotate(360deg); } }

/* ─── Connectors ──────────────────────────────────── */
.ps-conn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 var(--space-4);
  flex-shrink: 0;
  padding-top: 30px;
}
.ps-conn span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
}
.ps-conn.active span:nth-child(1) { animation: conn-pulse 1.2s ease infinite 0s; }
.ps-conn.active span:nth-child(2) { animation: conn-pulse 1.2s ease infinite 0.2s; }
.ps-conn.active span:nth-child(3) { animation: conn-pulse 1.2s ease infinite 0.4s; }
@keyframes conn-pulse {
  0%, 100% { background: var(--border); transform: scale(0.75); }
  50% { background: #4ade80; transform: scale(1.3); box-shadow: 0 0 6px rgba(74,222,128,0.5); }
}

/* ─── Devops bottom grid ──────────────────────────────────── */
.devops-bottom {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

/* ─── Terminal ──────────────────────────────────── */
.devops-terminal {
  background: #0A0E13;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: 'JetBrains Mono', 'Courier New', Courier, monospace;
  font-size: 12px;
}
.dt-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: #111620;
  border-bottom: 1px solid var(--border);
}
.dt-dots { display: flex; gap: 5px; }
.dt-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dt-dots span:nth-child(1) { background: #ff5f56; }
.dt-dots span:nth-child(2) { background: #ffbd2e; }
.dt-dots span:nth-child(3) { background: #27c93f; }
.dt-title { font-size: 11px; color: var(--text-muted); flex: 1; text-align: center; }
.dt-status { font-size: 11px; font-weight: 600; }
.dt-status.running { color: #fbbf24; }
.dt-status.passed  { color: #4ade80; }
.dt-status.idle    { color: var(--text-faint); }
.dt-body {
  padding: var(--space-4);
  height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.dt-line { line-height: 1.55; white-space: pre-wrap; word-break: break-all; }
.dt-line--cmd     { color: #58a6ff; }
.dt-line--out     { color: #6e7681; }
.dt-line--info    { color: #79c0ff; }
.dt-line--success { color: #4ade80; }
.dt-line--warn    { color: #fbbf24; }
.dt-line--done    { color: #4ade80; font-weight: 700; margin-top: 4px; }
.dt-line--muted   { color: var(--text-faint); font-style: italic; }

/* ─── Metrics ──────────────────────────────────── */
.devops-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.dm-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.dm-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.dm-card:hover::before { transform: scaleX(1); }
.dm-card:hover { border-color: rgba(79,152,163,0.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.25); }
.dm-icon-wrap {
  width: 40px; height: 40px;
  background: var(--accent-glow);
  border: 1px solid rgba(79,152,163,0.3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin: 0 auto var(--space-3);
}
.dm-icon-wrap--green { background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.3); color: #4ade80; }
.dm-icon-wrap--purple { background: var(--purple-glow); border-color: rgba(124,111,205,0.3); color: var(--purple); }
.dm-value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.dm-value span { font-size: 0.55em; color: var(--text-muted); font-weight: 500; }
.dm-label { font-size: var(--text-xs); color: var(--text-muted); margin-bottom: var(--space-3); }
.dm-badge {
  font-size: 9px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.dm-badge--green  { background: rgba(74,222,128,0.1);  color: #4ade80;        border: 1px solid rgba(74,222,128,0.3); }
.dm-badge--purple { background: var(--purple-glow);    color: var(--purple);  border: 1px solid rgba(124,111,205,0.3); }

/* Responsive DevOps */
@media (max-width: 900px) {
  .devops-bottom { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .devops-metrics { grid-template-columns: 1fr 1fr; }
  .dt-body { height: 200px; }
}

/* ═══════════════════════════════════════════════════════════
   QUOTES SECTION
═══════════════════════════════════════════════════════════ */
.quotes-section {
  padding: var(--space-16) 0 var(--space-20);
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.quotes-header {
  margin-bottom: var(--space-10);
}
.quotes-outer {
  position: relative;
}
.quotes-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.quotes-fade--l { left: 0;  background: linear-gradient(to right, var(--bg-surface) 30%, transparent); }
.quotes-fade--r { right: 0; background: linear-gradient(to left,  var(--bg-surface) 30%, transparent); }
.quotes-marquee { overflow: hidden; padding: var(--space-2) 0; }
.quotes-track {
  display: flex;
  gap: var(--space-5);
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}
.quotes-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Quote card */
.qc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-7);
  width: 360px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.qc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.qc:hover::before { transform: scaleX(1); }
.qc:hover { border-color: rgba(79,152,163,0.3); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.qc__mark {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 64px;
  line-height: 0.75;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: var(--space-3);
  font-style: normal;
  user-select: none;
}
.qc__text {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  font-style: italic;
}
.qc__author { display: flex; flex-direction: column; gap: 2px; font-style: normal; }
.qc__name { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 700; color: var(--text-light); }
.qc__role { font-size: var(--text-xs); color: var(--accent); }
