/* ============================================================
   DINU BERINDE — PORTFOLIO
   Elegant · Minimalist · Futuristic — electric-blue dark theme
   ============================================================ */

/* =====================
   DESIGN TOKENS
   ===================== */
:root {
  /* Electric blue system */
  --electric:        #2f6bff;
  --electric-bright: #5b8dff;
  --cyan:            #19e3ff;
  --accent-grad:     linear-gradient(135deg, #2f6bff 0%, #19e3ff 100%);
  --accent-grad-soft:linear-gradient(135deg, rgba(47,107,255,0.18), rgba(25,227,255,0.18));

  /* Surfaces */
  --bg:              #05070f;
  --bg-2:            #080c18;
  --surface:         rgba(255, 255, 255, 0.035);
  --surface-2:       rgba(255, 255, 255, 0.05);
  --border:          rgba(255, 255, 255, 0.08);
  --border-bright:   rgba(91, 141, 255, 0.45);

  /* Text */
  --heading:         #eef3ff;
  --body-text:       #8b97b4;
  --body-strong:     #d6e0f5;
  --muted:           #5c6783;

  /* Effects */
  --glow:            0 0 40px rgba(47, 107, 255, 0.35);
  --glow-cyan:       0 0 60px rgba(25, 227, 255, 0.25);
  --radius-card:     18px;
  --radius-lg:       24px;

  /* Spacing rhythm — one scale, used everywhere for consistent vertical flow.
     Overridden per breakpoint in responsive.css. */
  --section-y:       110px;  /* section top & bottom padding            */
  --block-gap:       72px;   /* gap between major blocks within a section */
  --block-gap-sm:    40px;   /* gap between closely-related blocks        */

  --font-display:    'Space Grotesk', 'Open Sans', sans-serif;
  --font-body:       'Inter', 'Open Sans', sans-serif;
  --font-mono:       'JetBrains Mono', 'SFMono-Regular', monospace;
}

/* =====================
   RESET & BASE
   ===================== */
* { box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--body-text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* Ambient fixed background — deep space with electric aurora */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(47, 107, 255, 0.20), transparent 60%),
    radial-gradient(800px 600px at 95% 12%, rgba(25, 227, 255, 0.12), transparent 55%),
    radial-gradient(700px 700px at 50% 110%, rgba(47, 107, 255, 0.14), transparent 60%),
    var(--bg);
}

/* Subtle technical grid overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 85%);
}

a {
  transition: color 0.25s ease;
}

a:focus,
a:hover {
  outline: 0 none;
  text-decoration: none;
}

::selection {
  background: rgba(47, 107, 255, 0.35);
  color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h4 { font-size: 30px; }

p { margin-top: 0; margin-bottom: 1rem; }

/* =====================
   LAYOUT — minimal grid & utilities
   (self-contained replacement for the Bootstrap classes used)
   ===================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.row > [class^="col"],
.row > [class*=" col"] {
  padding-left: 12px;
  padding-right: 12px;
}

.col-12,
.col-sm-12 {
  flex: 0 0 auto;
  width: 100%;
}

/* col-md-6: full width below md, half at/above md */
.col-md-6 {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
}

/* Row gutters & flex gaps */
.gy-2 { row-gap: 0.5rem; }
.gap-4 { gap: 1.5rem; }

/* Flexbox utilities */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.align-items-stretch { align-items: stretch; }

/* Sizing */
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Text alignment */
.text-center { text-align: center; }
.text-end,
.text-right { text-align: right; }

/* Spacing (Bootstrap scale: 4 = 1.5rem) */
.mt-4 { margin-top: 1.5rem; }

/* =====================
   BUTTONS
   ===================== */
.c-btn {
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  letter-spacing: .12em;
  min-width: 145px;
  line-height: 52px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  text-transform: uppercase;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  padding: 0;
  width: 260px;
  margin: 0 12px;
  display: inline-block;
  position: relative;
}

.c-btn-fill {
  color: #fff;
  background: var(--accent-grad);
  border: none;
  box-shadow: 0 6px 28px rgba(47, 107, 255, 0.45);
}

.c-btn-border {
  background: rgba(255, 255, 255, 0.02);
  color: var(--body-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.c-btn-fill:hover,
.c-btn-fill:focus {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(47, 107, 255, 0.6);
}

.c-btn-border:hover,
.c-btn-border:focus {
  color: #fff;
  border-color: var(--border-bright);
  background: rgba(47, 107, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(47, 107, 255, 0.25);
}

/* Hero call-to-action pair */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.hero-cta .c-btn {
  margin: 0;
  width: 220px;
}

/* =====================
   NAVIGATION
   ===================== */
.navbar-toggle-container {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.backdrop-blured {
  background: rgba(5, 7, 15, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav > li > a {
  padding: 6px 2px;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--body-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  position: relative;
  transition: color 0.25s ease;
}

.navbar-nav > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent-grad);
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.3s ease;
}

.navbar-nav.navbar-right { margin-right: 0; }

.navbar-nav > li + li > a { margin-left: 38px; }

.nav-item { text-decoration: none; }

.navbar-nav > li > a.nav-link.active,
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
  background-color: transparent;
  color: var(--heading);
}

/* Selected item gets an electric tint so it reads as "current" */
.navbar-nav > li > a.nav-link.active {
  color: var(--electric-bright);
}

.navbar-nav > li > a.nav-link.active::after,
.navbar-nav > li > a:hover::after,
.navbar-nav > li.active > a::after {
  width: 100%;
}

.nav > li > a:focus { background-color: transparent; }

/* =====================
   HERO
   ===================== */
.bck {
  position: relative;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  background: transparent;
  z-index: 1;
}

.bck .overlay {
  height: 100%;
  width: 100%;
  background:
    radial-gradient(1100px 700px at 50% 18%, rgba(47, 107, 255, 0.16), transparent 60%);
}

.person {
  position: relative;
  height: 100%;
  width: 100%;
  min-height: 100%;
  z-index: 2;
}

.person h4 {
  color: var(--electric-bright);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
}

.person h1 {
  font-size: 62px;
  font-weight: 700;
  margin: 14px 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--heading);
  background: linear-gradient(180deg, #ffffff 0%, #aebfe6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.person h3 {
  color: var(--body-text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
}

/* Profile photo — glowing electric ring */
.person-img-wrapper {
  position: relative;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: var(--accent-grad);
  padding: 3px;
  margin: 28px auto 26px;
  box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.08), 0 0 70px rgba(47, 107, 255, 0.4);
  flex-shrink: 0;
  animation: ring-pulse 5s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(47, 107, 255, 0.08), 0 0 70px rgba(47, 107, 255, 0.35); }
  50%      { box-shadow: 0 0 0 10px rgba(47, 107, 255, 0.05), 0 0 90px rgba(25, 227, 255, 0.45); }
}

.person-img-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  background: var(--bg-2);
}

/* Social icons */
.person .contact-item a {
  text-decoration: none;
  color: var(--body-text);
  transition: color 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
}

.person .contact-item svg {
  width: 18px;
  height: 18px;
  transition: color 0.25s;
}

.person .contact-item a:hover {
  color: #fff;
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 0 22px rgba(47, 107, 255, 0.4);
}

.person .page-scroll {
  display: flex;
  flex-direction: column;
  row-gap: 1.8em;
  margin-bottom: 16px;
  align-items: center;
  justify-content: center;
}

/* =====================
   SCROLL ANIMATIONS
   ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  .person-img-wrapper { animation: none; }
}

/* =====================
   MAIN / SECTIONS
   ===================== */
.site-main {
  position: relative;
  background: transparent;
  z-index: 1;
}

.site-section {
  position: relative;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.site-section .container { position: relative; z-index: 1; }

.site-section h2 {
  font-size: 40px;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--heading);
  font-weight: 700;
}

.site-section h3 {
  font-size: 36px;
  margin: 0;
}

.header-intro {
  padding-bottom: 8px;
  position: relative;
}

.header-intro h2 {
  display: inline-block;
  position: relative;
}

.header-intro h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin: 18px auto 44px;
  border-radius: 4px;
  background: var(--accent-grad);
  box-shadow: 0 0 16px rgba(47, 107, 255, 0.6);
}

.site-section p { margin-bottom: 35px; }

/* =====================
   ABOUT
   ===================== */
.section-about {
  background: transparent;
}

.txt-about {
  line-height: 1.9;
  padding: 8px 20px;
  color: var(--body-text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  max-width: 880px;
  margin: 0 auto;
}

.section-about h4 {
  font-weight: 300;
  font-size: 17px;
}

.txt-about strong {
  color: var(--body-strong);
  font-weight: 600;
}

.about-lead {
  font-size: 19px;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

/* Two-column "What I do / How I work" */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 28px auto 0;
  text-align: left;
}

.about-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 28px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-col:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(47, 107, 255, 0.1);
}

.about-col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric-bright);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-list li {
  position: relative;
  padding: 0 0 12px 28px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--body-text);
}

.about-list li:last-child { padding-bottom: 0; }

/* Electric check marker */
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--accent-grad-soft);
  border: 1px solid var(--border-bright);
}

.about-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 7px;
  width: 5px;
  height: 8px;
  border: solid var(--cyan);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Live "available" status dot (used in the Contact lead) — glossy
   gradient core with a steady glow and a radar-ring ping. */
.status-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #7bf8ad 0%, #22d366 58%, #14b257 100%);
  box-shadow:
    0 0 0 1px rgba(43, 214, 111, 0.25),
    0 0 12px rgba(43, 214, 111, 0.85),
    0 0 5px rgba(43, 214, 111, 0.7);
}

/* Expanding ring ("ping") */
.status-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(46, 224, 122, 0.7);
  animation: status-ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes status-ping {
  0%        { transform: scale(0.8); opacity: 0.85; }
  70%, 100% { transform: scale(2.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot::after { animation: none; }
}

/* =====================
   STATS STRIP
   ===================== */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 860px;
  margin: var(--block-gap) auto 8px;
}

.stat {
  flex: 1 1 170px;
  max-width: 220px;
  padding: 26px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: 0 0 30px rgba(47, 107, 255, 0.14);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body-text);
}

/* =====================
   EXPERIENCE TIMELINE
   ===================== */
.section-about .timeline-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--heading);
  text-align: center;
  margin: var(--block-gap) 0 40px;
}

.timeline {
  position: relative;
  list-style: none;
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

/* The vertical glowing rail */
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--electric) 0%, rgba(47, 107, 255, 0.05) 100%);
}

.timeline-item {
  position: relative;
  padding: 0 0 32px 42px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* The node dot */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--electric-bright);
  box-shadow: 0 0 14px rgba(47, 107, 255, 0.6);
}

.timeline-item:first-child::before {
  background: var(--accent-grad);
  border-color: transparent;
}

.timeline-period {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric-bright);
  margin-bottom: 12px;
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.timeline-card:hover {
  transform: translateX(4px);
  border-color: var(--border-bright);
  background: var(--surface-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(47, 107, 255, 0.1);
}

.section-about .timeline-role {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
}

.timeline-company {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--electric-bright);
}

.timeline-desc {
  margin: 14px 0 16px !important;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-text);
}

.timeline-desc em {
  color: var(--body-strong);
  font-style: italic;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.timeline-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--body-text);
  background: rgba(47, 107, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 11px;
}

/* =====================
   CERTIFICATIONS
   ===================== */
.section-about .certs-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--heading);
  text-align: center;
  margin: var(--block-gap) 0 36px;
}

.certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.cert {
  flex: 1 1 360px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  text-decoration: none;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.cert:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  background: var(--surface-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(47, 107, 255, 0.12);
}

.cert-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  padding: 9px;
  border-radius: 12px;
  background: var(--accent-grad-soft);
  border: 1px solid var(--border);
  color: var(--electric-bright);
  transition: box-shadow 0.3s ease;
}

.cert:hover .cert-icon {
  box-shadow: 0 0 22px rgba(47, 107, 255, 0.4);
}

.cert-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cert-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.3;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--electric-bright);
}

/* =====================
   WORK / PROJECTS
   ===================== */
.section-work {
  background: transparent;
}

.work-intro {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
}

.work-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 16px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-bright);
  background: var(--surface-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(47, 107, 255, 0.12);
}

/* Gradient header band (no real screenshots — NDA-safe) */
.work-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 92px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(420px circle at 18% -40%, rgba(25, 227, 255, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(47, 107, 255, 0.22) 0%, rgba(25, 227, 255, 0.08) 100%);
  overflow: hidden;
}

.work-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
  pointer-events: none;
}

.work-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 15, 0.45);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.work-card:hover .work-icon {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(47, 107, 255, 0.45);
}

.work-icon svg {
  width: 25px;
  height: 25px;
  stroke: var(--electric-bright);
  fill: none;
}

.work-badge {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body-text);
  background: rgba(5, 7, 15, 0.5);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.work-badge.oss {
  color: #04111f;
  background: var(--accent-grad);
  border-color: transparent;
  font-weight: 600;
}

.work-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}

.work-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
}

.work-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body-text);
}

.work-desc strong { color: var(--body-strong); font-weight: 600; }

.work-impact {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--body-strong);
}

.work-impact-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-right: 9px;
  padding: 2px 8px;
  border: 1px solid var(--border-bright);
  border-radius: 50px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.work-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--body-text);
  background: rgba(47, 107, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 11px;
}

/* Footer pinned to the bottom for even card alignment */
.work-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 4px;
}

.work-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--electric-bright);
  transition: color 0.25s ease;
}

.work-links a svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
}

.work-links a:hover { color: #fff; }

.work-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =====================
   SERVICES
   ===================== */
.section-services {
  background:
    linear-gradient(180deg, rgba(8, 12, 24, 0) 0%, rgba(8, 12, 24, 0.6) 50%, rgba(8, 12, 24, 0) 100%);
}

.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  margin-top: 16px;
  padding: 34px 30px 32px;
  width: 100%;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Top glow accent line — grows from the left */
.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-grad);
  box-shadow: 0 0 14px var(--cyan);
  transition: width 0.4s ease;
}

/* Editorial index number, top-right */
.service-num {
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.35s ease;
}

.service:hover .service-num { color: var(--electric-bright); }

/* Radial glow that follows hover */
.service::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 107, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service:hover {
  transform: translateY(-8px);
  border-color: var(--border-bright);
  background: var(--surface-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(47, 107, 255, 0.12);
}

.service:hover::before { width: 100%; }
.service:hover::after { opacity: 1; }

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: var(--accent-grad-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 22px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
}

.service:hover .service-icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 0 26px rgba(47, 107, 255, 0.4);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--electric-bright);
  fill: none;
}

.service h4 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

.service p {
  color: var(--body-text);
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

.service strong { color: var(--body-strong); font-weight: 600; }

/* =====================
   CONTACT
   ===================== */
.section-contact {
  background: linear-gradient(180deg, rgba(8, 12, 24, 0) 0%, rgba(3, 5, 11, 0.65) 100%);
  padding-bottom: 110px;
}

.section-contact .header-intro h2 { color: var(--heading); }

.section-contact strong {
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
}

/* Lead statement with live availability dot */
.contact-lead {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  max-width: 660px;
  margin: 0 auto var(--block-gap-sm);
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--body-text);
  text-align: left;
}

/* Contact-method cards */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  text-decoration: none;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  background: var(--surface-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(47, 107, 255, 0.12);
}

.contact-method-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-grad-soft);
  border: 1px solid var(--border);
  color: var(--electric-bright);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-method:hover .contact-method-icon {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(47, 107, 255, 0.4);
}

.contact-method-icon svg { width: 21px; height: 21px; }

.contact-method-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-method-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric-bright);
}

.contact-method-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Primary CTA */
.section-contact .btn-contact-me {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 240px;
  margin: var(--block-gap-sm) auto 0;
  padding: 0 34px;
  line-height: 54px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.section-contact .btn-contact-me svg { margin-left: 10px; }

/* =====================
   FOOTER
   ===================== */
.site-footer {
  position: relative;
  z-index: 1;
  bottom: 0;
  padding: 26px 16px;
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.copyright {
  margin-bottom: 0;
  line-height: 40px;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.icon {
  line-height: 40px;
  padding: 9px 12px;
  color: var(--body-text);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.icon:hover {
  color: #fff;
  border-color: var(--border-bright);
  background: rgba(47, 107, 255, 0.14);
  box-shadow: 0 0 20px rgba(47, 107, 255, 0.35);
}

.site-footer a {
  transition: color 0.25s ease, background-color 0.25s ease;
}
