/* ════════════════════════════════════════════
   xauracode.com — Black + Soft Green Theme
════════════════════════════════════════════ */
:root {
  --bar-h:    36px;
  --nav-h:    64px;
  --nav-total-h: calc(var(--bar-h) + var(--nav-h));
  --bg:       #000000;
  --bg-2:     #070707;
  --surface:  #0d0d0d;
  --surface-2:#141414;
  --border:   rgba(208, 255, 20, 0.14);
  --border-w: rgba(255, 255, 255, 0.07);
  --text:     #f0f0f0;
  --muted:    #606060;
  --muted-2:  #9a9a9a;
  --green:    #D0FF14;
  --green-d:  #a8cc10;
  --green-dim:rgba(208, 255, 20, 0.1);
  --green-glow:0 0 22px rgba(208, 255, 20, 0.35);
  --grad:     linear-gradient(135deg, #D0FF14 0%, #a8cc10 100%);
  --font:     'Inter', system-ui, sans-serif;
  --mono:     'JetBrains Mono', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.section { padding: 120px 0; position: relative; }
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── Background ── */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(208, 255, 20, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 500px at 85% 5%,  rgba(74,222,128,.06), transparent 60%),
    radial-gradient(600px 500px at 10% 85%, rgba(74,222,128,.04), transparent 60%);
}

/* ════════════════════════════════════════════
   LOADER
════════════════════════════════════════════ */
.loader {
  position: fixed; inset: 0;
  background: var(--bg); z-index: 9999;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px;
  transition: opacity .6s, visibility .6s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 62px; height: 62px; border-radius: 50%;
  border: 2px solid rgba(208, 255, 20, 0.12);
  border-top-color: var(--green);
  animation: spin .9s linear infinite;
}
.loader-text {
  font-family: var(--mono); font-size: 1rem; font-weight: 700;
  letter-spacing: .2em; color: var(--muted-2);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════
   CURSOR
════════════════════════════════════════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  border-radius: 50%; transform: translate(-50%, -50%);
  transition: width .18s, height .18s;
}
.cursor-dot  { width: 5px; height: 5px; background: var(--green); }
.cursor-ring { width: 30px; height: 30px; border: 1px solid rgba(74,222,128,.4); }
.cursor-ring.hover { width: 50px; height: 50px; background: rgba(74,222,128,.07); border-color: var(--green); }

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.nav-glass {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-w);
  padding: .85rem 0; transition: all .3s;
  top: var(--bar-h) !important;
}
.nav-glass.scrolled { background: rgba(0,0,0,.88); padding: .45rem 0; border-bottom-color: var(--border); }

/* Brand */
.brand-logo { display: flex; align-items: center; gap: 10px; color: var(--text) !important; }
.brand-mark {
  width: 32px; height: 32px;
  background: var(--green); color: #000;
  display: grid; place-items: center;
  border-radius: 7px; font-weight: 900; font-size: .95rem;
  box-shadow: var(--green-glow);
}
.brand-mark.sm { width: 26px; height: 26px; font-size: .8rem; border-radius: 5px; box-shadow: none; }
.brand-name { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.brand-name em { color: var(--green); font-style: normal; }

.navbar .nav-link {
  color: var(--muted-2); font-weight: 600; font-size: 1rem;
  padding: .45rem .85rem !important; border-radius: 7px;
  transition: color .2s, background .2s;
  letter-spacing: -.01em;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
  color: var(--text); background: rgba(74,222,128,.06);
}
.navbar-toggler { border: 1px solid var(--border-w); }
.navbar-toggler-icon { filter: invert(1); }

/* Buttons */
.btn-neon {
  background: var(--green); color: #000;
  font-weight: 700; font-size: .9rem;
  padding: .62rem 1.4rem; border-radius: 8px; border: none;
  box-shadow: 0 0 18px rgba(74,222,128,.3);
  transition: transform .22s, box-shadow .22s, background .22s;
}
.btn-neon:hover { background: #deff4a; transform: translateY(-2px); box-shadow: 0 0 30px rgba(74,222,128,.5); color: #000; }
.btn-outline-neon {
  background: transparent; color: var(--text);
  border: 1px solid rgba(74,222,128,.35);
  padding: .62rem 1.4rem; border-radius: 8px; font-weight: 500;
  transition: all .22s;
}
.btn-outline-neon:hover { border-color: var(--green); box-shadow: 0 0 16px rgba(74,222,128,.3); color: var(--green); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text);
  border: 1px solid var(--border-w);
  padding: .62rem 1.4rem; border-radius: 8px; font-weight: 500; transition: all .22s;
}
.btn-ghost:hover { background: rgba(74,222,128,.06); border-color: var(--border); color: var(--green); }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero { position: relative; overflow: hidden; padding-top: calc(80px + var(--bar-h)); }
.badge-pill {
  display: inline-block; padding: .3rem .9rem; border-radius: 999px;
  background: rgba(74,222,128,.07); border: 1px solid rgba(74,222,128,.25);
  color: var(--green); font-size: .8rem; font-family: var(--mono);
}
.badge-pill.green { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.35); color: #D0FF14; }
.hero-title { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub  { font-size: clamp(1rem, 1.8vw, 1.3rem); color: var(--muted-2); font-weight: 500; }
.hero-desc { color: var(--muted-2); max-width: 540px; font-size: 1.02rem; }
.hero-stats h3  { font-size: 1.9rem; font-weight: 800; }
.hero-stats small { color: var(--muted); }

.hero-card { position: relative; padding: 20px; }
.hero-card-inner {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border-w); border-radius: 20px; padding: 18px;
  backdrop-filter: blur(12px); box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
.orb { position: absolute; border-radius: 50%; filter: blur(55px); opacity: .5; z-index: -1; }
.orb-1 { width: 220px; height: 220px; background: rgba(74,222,128,.5); top: -30px; right: -30px; animation: float 7s ease-in-out infinite; }
.orb-2 { width: 180px; height: 180px; background: rgba(34,197,94,.4); bottom: -20px; left: -20px; animation: float 9s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-18px); } }

.code-window { background: #080808; border: 1px solid var(--border-w); border-radius: 12px; overflow: hidden; font-family: var(--mono); font-size: .88rem; }
.code-dots { display: flex; gap: 6px; padding: 11px 14px; background: #0f0f0f; border-bottom: 1px solid var(--border-w); }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-window pre { margin: 0; padding: 18px; color: #c8c8d8; overflow-x: auto; }
.tk-k { color: #c792ea; } .tk-v { color: #82aaff; } .tk-s { color: #c3e88d; }

/* ════════════════════════════════════════════
   SECTION COMMON
════════════════════════════════════════════ */
.section-tag {
  display: inline-block; font-family: var(--mono); font-size: .75rem;
  color: var(--green); letter-spacing: .12em; text-transform: uppercase;
  padding: .22rem .75rem; border: 1px solid rgba(74,222,128,.28);
  border-radius: 999px; background: rgba(74,222,128,.05);
}
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 800; margin-top: 12px; letter-spacing: -.03em; }
.section-text  { color: var(--muted-2); margin-top: 12px; font-size: 1rem; }

/* ════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════ */
.about-visual { position: relative; height: 360px; display: flex; align-items: center; justify-content: center; }
.avatar-ring {
  width: 230px; height: 230px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--green), var(--green-d), var(--green));
  padding: 3px; animation: spin 10s linear infinite;
}
.avatar {
  width: 100%; height: 100%; border-radius: 50%;
  background: #0a0a0a; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; font-weight: 800; font-family: var(--mono);
  background-image: radial-gradient(circle at 30% 30%, rgba(74,222,128,.15), transparent 60%);
}
.float-chip {
  position: absolute; background: rgba(255,255,255,.04);
  border: 1px solid var(--border-w); padding: .45rem 1rem;
  border-radius: 999px; font-size: .82rem; backdrop-filter: blur(10px);
}
.float-chip i { color: var(--green); margin-right: 6px; }
.chip-1 { top: 20px; left: 8%;  animation: float 5s ease-in-out infinite; }
.chip-2 { bottom: 55px; right: 4%; animation: float 6s ease-in-out infinite reverse; }
.chip-3 { top: 50%; right: 2%; animation: float 7s ease-in-out infinite; }

.mini-card {
  display: flex; gap: 12px; align-items: center;
  padding: 15px; background: var(--surface); border: 1px solid var(--border-w);
  border-radius: 12px; transition: transform .25s, border-color .25s;
}
.mini-card:hover { transform: translateY(-3px); border-color: var(--border); }
.mini-card i { font-size: 1.3rem; color: var(--green); width: 40px; height: 40px; display: grid; place-items: center; background: rgba(208,255,20,.08); border-radius: 9px; }
.mini-card h6 { margin: 0; font-size: .92rem; font-weight: 600; }
.mini-card small { color: var(--muted); }

/* ════════════════════════════════════════════
   SERVICES  — Pinned Horizontal Scroll
════════════════════════════════════════════ */

/* ── outer section: tall enough for scroll travel (height set by JS) ── */
.svc-pin-section {
  position: relative;
  /* JS sets: style.height */
}

/* ── sticky frame ── */
.svc-pin-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 48px 0 36px;
}

/* ── heading row ── */
.svc-pin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 72px;
  gap: 40px;
  flex-shrink: 0;
}
@media (max-width: 900px) { .svc-pin-head { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 20px; } }

/* BIG title */
.svc-mega-title {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 10px 0 0;
  color: var(--text);
}

/* right meta */
.svc-pin-right {
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-end; padding-bottom: 8px;
  min-width: 220px;
}
@media (max-width: 900px) { .svc-pin-right { align-items: flex-start; } }

.svc-pin-desc {
  font-size: .88rem; color: var(--muted-2);
  line-height: 1.65; text-align: right; margin: 0;
}
@media (max-width: 900px) { .svc-pin-desc { text-align: left; } }

.svc-scroll-hint {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .72rem;
  color: var(--muted); letter-spacing: .06em; text-transform: uppercase;
}
.svc-hint-arrow {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--border-w);
  display: grid; place-items: center; font-size: .7rem;
  color: var(--green);
  animation: svcHintPulse 2s ease-in-out infinite;
}
@keyframes svcHintPulse { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* progress bar */
.svc-prog-track {
  width: 160px; height: 2px;
  background: var(--border-w); border-radius: 999px; overflow: hidden;
}
.svc-prog-fill {
  height: 100%; width: 0%;
  background: var(--grad); border-radius: 999px;
  transition: width .08s linear;
}
.svc-prog-label {
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
  letter-spacing: .06em;
}
#svcProgIdx { color: var(--green); font-weight: 700; }

/* ── cards overflow (clips but doesn't break sticky) ── */
.svc-cards-overflow {
  overflow: visible;
  flex-shrink: 0;
}

/* ── horizontal track — JS moves this ── */
.svc-cards-track {
  display: flex;
  gap: 20px;
  padding: 8px 72px 8px 72px;
  will-change: transform;
  /* smooth lerp handled in JS via rAF */
}
@media (max-width: 900px) { .svc-cards-track { padding: 8px 24px; } }

/* ── individual card ── */
.svc-card {
  flex-shrink: 0;
  width: 300px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border-w);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .3s;
  cursor: default;
}
.svc-card:hover {
  border-color: rgba(208,255,20,.2);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

/* image area */
.svc-card-img {
  position: relative;
  height: 200px;
  background: var(--surface-2);
  overflow: hidden; flex-shrink: 0;
}
/* actual image — user adds <img class="svc-img"> */
.svc-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s ease;
}
.svc-card:hover .svc-img { transform: scale(1.05); }
/* hide placeholder if real img present */
.svc-img + .svc-card-ph { display: none; }

/* placeholder */
.svc-card-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0e0e0e, #141414);
  color: rgba(208,255,20,.22);
}
.svc-card-ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(208,255,20,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(208,255,20,.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* gradient overlay bottom of image */
.svc-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.75));
  pointer-events: none;
}

/* big number overlaid on image */
.svc-card-num {
  position: absolute; bottom: 12px; left: 16px;
  font-family: var(--mono); font-size: 3.5rem; font-weight: 900;
  line-height: 1; color: rgba(208,255,20,.18);
  letter-spacing: -.04em; z-index: 1;
  transition: color .3s;
}
.svc-card:hover .svc-card-num { color: rgba(208,255,20,.32); }

/* card body */
.svc-card-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.svc-card-title {
  font-size: 1.25rem; font-weight: 800;
  letter-spacing: -.025em; margin: 0;
  color: var(--text); line-height: 1.2;
}
.svc-card-desc {
  font-size: .86rem; color: var(--muted-2);
  line-height: 1.65; margin: 0; flex: 1;
}
.svc-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700;
  font-family: var(--mono); color: var(--green);
  letter-spacing: .05em; cursor: pointer;
  margin-top: 4px; transition: gap .25s;
}
.svc-card:hover .svc-card-link { gap: 10px; }

/* ── mobile fallback: normal horizontal swipe ── */
@media (max-width: 767px) {
  .svc-pin-section { height: auto !important; }
  .svc-pin-inner {
    position: relative !important;
    height: auto; padding: 80px 0 60px;
  }
  .svc-cards-overflow { overflow-x: auto; overflow-y: visible; scrollbar-width: none; }
  .svc-cards-overflow::-webkit-scrollbar { display: none; }
  .svc-cards-track { transform: none !important; padding: 8px 24px; gap: 16px; }
  .svc-card { width: 76vw; max-width: 320px; }
  .svc-prog-track, .svc-prog-label, .svc-scroll-hint { display: none; }
}

/* legacy */
.service-card, .svc-top, .svc-num, .svc-icon,
.svc-arrow, .svc-head, .svc-viewport, .svc-slider,
.svc-slide, .svc-img-wrap, .svc-img-ph, .svc-num-badge,
.svc-body, .svc-link, .svc-dots, .svc-dot,
.svc-controls, .svc-counter, .svc-nav-btn { display: none; }

/* ════════════════════════════════════════════
   TOOLKIT  — Classic Trending Redesign
════════════════════════════════════════════ */

/* 2×2 category grid */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) { .toolkit-grid { grid-template-columns: 1fr; } }

/* card */
.toolkit-card {
  background: var(--surface);
  border: 1px solid var(--border-w);
  border-radius: 18px;
  padding: 26px 24px 22px;
  transition: border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.toolkit-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208,255,20,.25), transparent);
  opacity: 0; transition: opacity .35s;
}
.toolkit-card:hover { border-color: rgba(208,255,20,.14); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.toolkit-card:hover::before { opacity: 1; }

/* card header */
.toolkit-card-header {
  display: flex; align-items: center; gap: 13px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-w);
}
.toolkit-cat-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--green-dim);
  border: 1px solid rgba(208,255,20,.18);
  display: grid; place-items: center;
  color: var(--green); font-size: .9rem;
  flex-shrink: 0;
}
.toolkit-cat-title { font-size: .95rem; font-weight: 700; margin: 0 0 2px; color: var(--text); }
.toolkit-cat-sub   { font-size: .72rem; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }

/* pills container */
.toolkit-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* pill base */
.tk-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  font-size: .78rem; font-weight: 500;
  border: 1px solid transparent;
  cursor: default; transition: transform .2s, box-shadow .2s;
  position: relative;
}
.tk-pill::before {
  content: ""; position: absolute;
  left: 8px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  display: none; /* shown by level class */
}
.tk-pill i { font-size: .78rem; }
.tk-pill:hover { transform: translateY(-2px); }

/* level variants */
.tk-pill.expert {
  background: rgba(208,255,20,.09);
  border-color: rgba(208,255,20,.22);
  color: #d8f560;
}
.tk-pill.expert:hover { box-shadow: 0 4px 14px rgba(208,255,20,.18); }

.tk-pill.adv {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
  color: var(--text);
}
.tk-pill.adv:hover { box-shadow: 0 4px 12px rgba(0,0,0,.3); border-color: rgba(255,255,255,.2); }

.tk-pill.mid {
  background: transparent;
  border-color: var(--border-w);
  color: var(--muted-2);
}
.tk-pill.mid:hover { border-color: rgba(255,255,255,.15); color: var(--muted-2); }

/* legend */
.toolkit-legend {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 22px;
  font-size: .78rem; color: var(--muted);
}
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot   { width: 8px; height: 8px; border-radius: 50%; }
.expert-dot   { background: rgba(208,255,20,.8); box-shadow: 0 0 6px rgba(208,255,20,.5); }
.adv-dot      { background: rgba(255,255,255,.4); }
.mid-dot      { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); }
.legend-sep   { color: var(--border-w); font-size: 1rem; }

/* ── scrolling ticker ── */
.toolkit-ticker {
  margin-top: 36px;
  overflow: hidden;
  border-top: 1px solid var(--border-w);
  border-bottom: 1px solid var(--border-w);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.ticker-track {
  display: flex; align-items: center; gap: 36px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span {
  display: flex; align-items: center; gap: 7px;
  font-size: .82rem; font-family: var(--mono);
  color: var(--muted); white-space: nowrap;
  transition: color .2s;
}
.ticker-track span i { color: var(--green); font-size: .82rem; }
.ticker-track span:hover { color: var(--text); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* legacy hidden */
.skill-row { display: none; }
.bar       { display: none; }
.tech-grid { display: none; }

/* ════════════════════════════════════════════
   PORTFOLIO SECTION — REDESIGNED
════════════════════════════════════════════ */
.portfolio-section { }

/* Header */
.port-header { margin-bottom: 10px; }
.port-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .74rem; color: var(--muted-2);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 7px var(--green);
  animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.port-title-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.port-desc {
  color: var(--muted-2); font-size: .96rem; line-height: 1.7;
  max-width: 300px; padding-top: 40px;
}
@media (max-width: 767px) { .port-desc { padding-top: 0; max-width: 100%; } }

/* Filter bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  background: transparent; border: 1px solid var(--border-w); color: var(--muted-2);
  padding: .46rem 1.05rem; border-radius: 8px; font-size: .84rem; font-weight: 500;
  cursor: pointer; transition: all .2s;
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font);
}
.filter-btn:hover { color: var(--text); border-color: var(--border); background: rgba(74,222,128,.04); }
.filter-btn.active {
  background: var(--green); color: #000; border-color: var(--green); font-weight: 700;
  box-shadow: 0 0 14px rgba(74,222,128,.3);
}
.fcnt {
  font-family: var(--mono); font-size: .7rem;
  background: rgba(255,255,255,.1); padding: 1px 6px; border-radius: 4px;
}
.filter-btn.active .fcnt { background: rgba(0,0,0,.18); }

/* Grid */
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 991px) { .port-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .port-grid { grid-template-columns: 1fr; } }

.port-item.hide { display: none !important; }

/* Card */
.port-card {
  background: var(--surface);
  border: 1px solid var(--border-w);
  border-radius: 14px; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.port-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 18px 45px rgba(0,0,0,.45), 0 0 0 1px rgba(74,222,128,.1);
}

/* Thumbnail */
.proj-thumb {
  position: relative; height: 210px; overflow: hidden;
}
.proj-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.65) 100%);
  z-index: 1;
}

.proj-num {
  position: absolute; top: 13px; left: 14px;
  font-family: var(--mono); font-size: .68rem;
  color: rgba(74,222,128,.55); letter-spacing: .1em; z-index: 3;
}
.proj-badge {
  position: absolute; top: 11px; right: 12px;
  font-family: var(--mono); font-size: .65rem; font-weight: 700;
  color: #000; background: var(--green);
  padding: 3px 8px; border-radius: 4px; z-index: 3;
  letter-spacing: .06em; text-transform: uppercase;
}

/* Hover overlay */
.proj-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.6); opacity: 0; transition: opacity .3s; z-index: 5;
}
.port-card:hover .proj-overlay { opacity: 1; }
.overlay-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green); color: #000;
  font-weight: 700; font-size: .82rem;
  padding: .5rem 1.1rem; border-radius: 7px;
  transition: transform .2s;
}
.overlay-btn:hover { transform: scale(1.04); color: #000; }

/* Info */
.proj-info  { padding: 16px 18px 18px; }
.proj-cat   { font-family: var(--mono); font-size: .7rem; color: var(--green); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.proj-name  { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.proj-meta-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ptag {
  font-size: .7rem; font-weight: 500; padding: 2px 9px; border-radius: 5px;
  background: rgba(74,222,128,.07); border: 1px solid rgba(74,222,128,.16); color: var(--muted-2);
}
.proj-yr { font-family: var(--mono); font-size: .7rem; color: var(--muted); margin-left: auto; }

/* ── Thumbnail art ── */
.p1 { background: #040a04; background-image: radial-gradient(ellipse at 30% 70%, rgba(74,222,128,.25) 0%, transparent 55%); }
.p2 { background: #040808; background-image: radial-gradient(ellipse at 75% 25%, rgba(74,222,128,.22) 0%, transparent 55%); }
.p3 { background: #030a05; background-image: radial-gradient(ellipse at 50% 55%, rgba(74,222,128,.28) 0%, transparent 50%); }
.p4 { background: #060a04; background-image: radial-gradient(ellipse at 20% 60%, rgba(74,222,128,.24) 0%, transparent 55%); }
.p5 { background: #040806; background-image: radial-gradient(ellipse at 65% 65%, rgba(74,222,128,.26) 0%, transparent 50%); }
.p6 { background: #080806; background-image: radial-gradient(ellipse at 50% 40%, rgba(74,222,128,.2) 0%, transparent 55%); }
.p7 { background: #030808; background-image: radial-gradient(ellipse at 35% 35%, rgba(74,222,128,.24) 0%, transparent 55%); }
.p8 { background: #050608; background-image: radial-gradient(ellipse at 70% 70%, rgba(74,222,128,.22) 0%, transparent 55%); }
.p9 { background: #060608; background-image: radial-gradient(ellipse at 55% 45%, rgba(74,222,128,.24) 0%, transparent 52%); }

.thumb-art {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 18px; overflow: hidden;
}

/* p1 bars */
.ta-bar {
  position: absolute; bottom: 28px; width: 8px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(74,222,128,.65), rgba(74,222,128,.12));
}

/* p2 rows */
.ta-row {
  position: absolute; height: 3px; left: 14%;
  border-radius: 2px; background: rgba(74,222,128,.38);
}
.ta-circle {
  position: absolute; bottom: 22%; right: 16%;
  width: 34px; height: 34px; border: 2px solid rgba(74,222,128,.45); border-radius: 50%;
}

/* p3 chat bubbles */
.ta-bubble {
  position: absolute; left: 10%;
  padding: 5px 11px; border-radius: 9px;
  font-size: .68rem; font-weight: 500;
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.22);
  color: var(--green); white-space: nowrap; max-width: 82%;
}
.ta-bubble.b-right {
  left: auto; right: 8%;
  background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: var(--muted-2);
}

/* p4 rank */
.ta-rank {
  font-size: 5rem; font-weight: 900; letter-spacing: -.06em; line-height: 1;
  color: rgba(74,222,128,.16); position: absolute; right: 10%; top: 50%; transform: translateY(-50%);
}
.ta-sparkline {
  position: absolute; bottom: 26px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74,222,128,.55), rgba(74,222,128,.3), rgba(74,222,128,.65), transparent);
  border-radius: 2px;
}

/* p5 nodes */
.ta-node {
  position: absolute; width: 11px; height: 11px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px rgba(74,222,128,.7);
}
.n1 { top: 30%; left: 24%; }
.n2 { top: 56%; left: 54%; }
.n3 { top: 30%; left: 72%; }
.ta-line { position: absolute; height: 1px; background: rgba(74,222,128,.32); transform-origin: left center; }
.l1 { top: calc(30% + 5px); left: calc(24% + 6px); width: 200px; transform: rotate(15deg); }
.l2 { top: calc(30% + 5px); left: calc(54% + 6px); width: 120px; transform: rotate(-2deg); }

/* p6 agency */
.ta-logo-text { font-size: 2rem; font-weight: 900; letter-spacing: .2em; color: rgba(74,222,128,.22); text-transform: uppercase; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -65%); }
.ta-divider-line { position: absolute; top: 50%; left: 50%; transform: translate(-50%, 4px); width: 55%; height: 1px; background: rgba(74,222,128,.28); }
.ta-subtext { position: absolute; top: 50%; left: 50%; transform: translate(-50%, 16px); font-size: .65rem; letter-spacing: .22em; color: rgba(74,222,128,.4); text-transform: uppercase; font-family: var(--mono); white-space: nowrap; }

/* p7 wave */
.ta-wave-svg { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); }

/* p8 window */
.ta-win-dots { display: flex; gap: 5px; position: absolute; top: 20%; left: 12%; }
.ta-win-dots span { width: 7px; height: 7px; border-radius: 50%; }
.ta-win-dots span:nth-child(1) { background: rgba(255,95,87,.7); }
.ta-win-dots span:nth-child(2) { background: rgba(255,189,46,.7); }
.ta-win-dots span:nth-child(3) { background: rgba(40,200,64,.7); }
.ta-win-line { height: 3px; border-radius: 2px; background: rgba(74,222,128,.25); position: absolute; left: 12%; }
.ta-win-btn { position: absolute; bottom: 20%; right: 12%; font-family: var(--mono); font-size: .68rem; color: var(--green); border: 1px solid rgba(74,222,128,.32); padding: 3px 9px; border-radius: 5px; }

/* p9 pipeline */
.ta-pipeline { display: flex; align-items: center; gap: 7px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.pip-stage { padding: 4px 11px; border-radius: 6px; font-size: .68rem; font-weight: 600; font-family: var(--mono); background: rgba(74,222,128,.06); border: 1px solid rgba(74,222,128,.18); color: rgba(74,222,128,.45); white-space: nowrap; }
.pip-stage.active { background: rgba(74,222,128,.16); border-color: var(--green); color: var(--green); box-shadow: 0 0 8px rgba(74,222,128,.25); }
.pip-arrow { color: rgba(74,222,128,.35); font-size: .95rem; line-height: 1; }

/* ════════════════════════════════════════════
   SEO DASHBOARD
════════════════════════════════════════════ */
.seo-section .dashboard-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border-w); border-radius: 18px; padding: 20px;
  backdrop-filter: blur(12px); box-shadow: 0 28px 55px rgba(0,0,0,.4);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border-w); }
.dot-live { width: 7px; height: 7px; background: #a8cc10; border-radius: 50%; display: inline-block; box-shadow: 0 0 8px #a8cc10; animation: blink 1.6s infinite; }
.stat { background: rgba(255,255,255,.03); border: 1px solid var(--border-w); border-radius: 10px; padding: 12px; }
.stat small { color: var(--muted-2); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.stat h4 { margin: 5px 0 7px; font-weight: 700; font-size: 1.5rem; }
.mini-bar { height: 5px; background: rgba(255,255,255,.06); border-radius: 999px; overflow: hidden; }
.mini-bar > div { height: 100%; width: var(--p); background: var(--grad); border-radius: 999px; }
.chart-wrap { background: rgba(255,255,255,.02); border: 1px solid var(--border-w); border-radius: 10px; padding: 13px; }
.chart-svg { width: 100%; height: 180px; display: block; }
.kw { display: flex; justify-content: space-between; align-items: center; padding: 11px 13px; background: rgba(255,255,255,.03); border: 1px solid var(--border-w); border-radius: 9px; font-size: .88rem; }
.kw strong { color: var(--green); font-family: var(--mono); }
.feature-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feature-list li { color: var(--muted-2); font-size: .92rem; }
.feature-list i { color: var(--green); margin-right: 7px; }

/* ════════════════════════════════════════════
   FEATURE / CRM / CHATBOT CARDS
════════════════════════════════════════════ */
.feature-card { background: var(--surface); border: 1px solid var(--border-w); border-radius: 14px; padding: 20px; transition: all .25s; height: 100%; }
.feature-card:hover { border-color: var(--border); transform: translateY(-4px); }
.feature-card i { font-size: 1.3rem; color: var(--green); margin-bottom: 9px; }
.feature-card h6 { font-weight: 600; margin-bottom: 5px; }
.feature-card p { color: var(--muted-2); margin: 0; font-size: .88rem; }

/* ════════════════════════════════════════════
   CRM CLASSIC  — Editorial / Timeless Layout
════════════════════════════════════════════ */
.crm-classic-section { background: var(--bg-2); }

.crm-classic-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
  border: 1px solid var(--border-w);
  border-radius: 22px;
  padding: 52px 52px 52px 52px;
  background: var(--surface);
}
@media (max-width: 900px) {
  .crm-classic-wrap { grid-template-columns: 1fr; gap: 40px; padding: 32px; }
}

/* ── left ── */
.crm-classic-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 14px 0 0;
  color: var(--text);
  letter-spacing: -.02em;
}
.crm-classic-title em {
  font-style: italic;
  font-weight: 300;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.crm-classic-rule {
  width: 48px; height: 2px;
  background: var(--grad);
  margin: 22px 0;
  border-radius: 2px;
}
.crm-classic-desc {
  color: var(--muted-2);
  font-size: .95rem;
  line-height: 1.75;
  margin: 0 0 32px;
}

/* meta row */
.crm-classic-meta {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 22px;
  border: 1px solid var(--border-w);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}
.crm-meta-item { display: flex; flex-direction: column; gap: 3px; padding: 0 18px; }
.crm-meta-item:first-child { padding-left: 0; }
.crm-meta-num {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--green);
  line-height: 1;
}
.crm-meta-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.crm-meta-sep { width: 1px; height: 36px; background: var(--border-w); flex-shrink: 0; }

/* ── right ── */
.crm-right { display: flex; flex-direction: column; }

.crm-classic-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 4px;
  cursor: default;
  transition: background .2s;
  border-radius: 10px;
  position: relative;
}
.crm-classic-item:hover { background: rgba(208,255,20,.03); }
.crm-classic-item:hover .crm-item-arrow { opacity: 1; transform: translateX(0); color: var(--green); }
.crm-classic-item:hover .crm-item-num { color: var(--green); }

.crm-item-num {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .1em;
  padding-top: 4px;
  min-width: 24px;
  transition: color .25s;
}
.crm-item-body { flex: 1; }
.crm-item-body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: -.01em;
}
.crm-item-body p {
  font-size: .88rem;
  color: var(--muted-2);
  margin: 0;
  line-height: 1.65;
}
.crm-item-arrow {
  font-size: .8rem;
  color: var(--muted);
  margin-top: 5px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all .25s ease;
  flex-shrink: 0;
}
.crm-classic-divider {
  height: 1px;
  background: var(--border-w);
  margin: 0 4px;
}

/* legacy card kept hidden */
.crm-card { display: none; }

/* ════════════════════════════════════════════
   CHATBOT  — Classic Chat Window
════════════════════════════════════════════ */

/* feature list */
.chatbot-feature-list {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-direction: column; gap: 11px;
}
.chatbot-feature-list li {
  font-size: .92rem; color: var(--muted-2);
  display: flex; align-items: center; gap: 10px;
}
.chatbot-feature-list i {
  color: var(--green); font-size: .72rem;
  background: var(--green-dim); border: 1px solid rgba(208,255,20,.18);
  border-radius: 50%; width: 20px; height: 20px;
  display: grid; place-items: center; flex-shrink: 0;
}

/* ── window shell ── */
.classic-chat-window {
  border: 1px solid var(--border-w);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
  background: #0a0a0a;
}

/* title bar */
.classic-chat-titlebar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px;
  background: #111;
  border-bottom: 1px solid var(--border-w);
}
.classic-chat-dots { display: flex; gap: 7px; }
.classic-chat-dots span { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28c840; }

.classic-chat-title {
  flex: 1; display: flex; align-items: center; gap: 10px;
}
.classic-chat-avatar-sm {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad); color: #000;
  display: grid; place-items: center;
  font-weight: 800; font-size: .78rem; font-family: var(--mono);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(208,255,20,.3);
}
.classic-chat-title strong { display: block; font-size: .88rem; color: var(--text); line-height: 1.2; }
.classic-chat-status { font-size: .72rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.classic-chat-status .fa-circle { font-size: .48rem; color: #28c840; }
.classic-chat-actions { color: var(--muted); font-size: .9rem; cursor: pointer; }

/* messages body */
.classic-chat-body {
  padding: 20px 20px 14px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 260px;
  background: #0a0a0a;
}

/* date separator */
.classic-chat-date-sep {
  text-align: center;
  font-size: .7rem; font-family: var(--mono);
  color: var(--muted); letter-spacing: .05em;
  position: relative;
}
.classic-chat-date-sep::before,
.classic-chat-date-sep::after {
  content: ""; position: absolute; top: 50%;
  width: 28%; height: 1px; background: var(--border-w);
}
.classic-chat-date-sep::before { left: 0; }
.classic-chat-date-sep::after  { right: 0; }

/* message rows */
.classic-msg-row { display: flex; align-items: flex-end; gap: 10px; }
.bot-row  { justify-content: flex-start; }
.user-row { justify-content: flex-end; }

.classic-msg-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--border-w);
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; font-family: var(--mono);
  color: var(--green);
}
.user-av { background: var(--grad); color: #000; border: none; box-shadow: 0 0 8px rgba(208,255,20,.2); }

.classic-msg-group { display: flex; flex-direction: column; gap: 4px; max-width: 72%; }
.classic-msg-name { font-size: .68rem; font-family: var(--mono); color: var(--muted); letter-spacing: .04em; padding: 0 4px; }
.classic-msg-time { font-size: .65rem; color: var(--muted); padding: 0 4px; }

/* bubbles */
.classic-bubble {
  padding: 10px 14px;
  font-size: .88rem; line-height: 1.6;
  border-radius: 12px;
  word-break: break-word;
}
.bot-bubble {
  background: #141414;
  border: 1px solid var(--border-w);
  border-bottom-left-radius: 3px;
  color: var(--text);
}
.user-bubble {
  background: var(--grad);
  color: #000;
  font-weight: 600;
  border-bottom-right-radius: 3px;
  border: none;
}

/* typing dots inside bubble */
.typing-bubble {
  display: flex; gap: 5px; align-items: center;
  padding: 14px 16px;
}
.typing-bubble span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: typing 1.2s infinite;
}
.typing-bubble span:nth-child(2) { animation-delay: .2s; }
.typing-bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,80%,100% { transform: scale(.7); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }

/* hide last typing row when final answer exists */
.classic-last-msg ~ .classic-msg-row .typing-bubble { display: none; }

/* input bar */
.classic-chat-inputbar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: #111;
  border-top: 1px solid var(--border-w);
}
.classic-chat-input {
  flex: 1; font-size: .85rem; color: var(--muted);
  font-family: var(--font);
  background: #1a1a1a; border: 1px solid var(--border-w);
  border-radius: 22px; padding: 9px 16px;
  cursor: text; user-select: none;
}
.classic-chat-send {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  color: #000; font-size: .82rem;
  cursor: pointer; flex-shrink: 0;
  transition: box-shadow .25s;
}
.classic-chat-send:hover { box-shadow: 0 0 14px rgba(208,255,20,.4); }

/* legacy hidden */
.chat-mock { display: none; }
.msg       { display: none; }

/* ════════════════════════════════════════════
   TESTIMONIALS  — Modern Redesign
════════════════════════════════════════════ */

/* section ambient glow */
.testi-section { position: relative; overflow: hidden; }
.testi-bg-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%,   rgba(208,255,20,.07), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%,  rgba(208,255,20,.04), transparent 60%);
}
.testi-section .container { position: relative; z-index: 1; }

/* ── grid layout ── */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.testi-featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-featured { grid-column: auto; grid-row: auto; }
}

/* ── card base ── */
.testi-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.015) 100%);
  border: 1px solid var(--border-w);
  border-radius: 20px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(12px);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.testi-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(208,255,20,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.testi-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(208,255,20,.08); }
.testi-card:hover::before { opacity: 1; }

/* featured card — taller glow accent */
.testi-featured { border-color: rgba(208,255,20,.12); }
.testi-featured::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
  border-radius: 20px 20px 0 0;
}

/* ── quote icon ── */
.testi-quote-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-dim);
  border: 1px solid rgba(208,255,20,.18);
  display: grid; place-items: center;
  color: var(--green); font-size: .85rem;
  flex-shrink: 0;
}

/* ── stars ── */
.testi-stars { display: flex; gap: 4px; }
.testi-stars .fa-star { color: var(--green); font-size: .78rem; }

/* ── body text ── */
.testi-body {
  color: var(--muted-2);
  font-size: .95rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin: 0;
}
.testi-featured .testi-body { font-size: 1rem; }

/* ── footer ── */
.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-w);
  margin-top: auto;
}
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad);
  color: #000;
  display: grid; place-items: center;
  font-weight: 800;
  font-family: var(--mono);
  font-size: .82rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(208,255,20,.3);
}
.testi-info { flex: 1; }
.testi-info strong { display: block; font-size: .9rem; color: var(--text); font-weight: 600; }
.testi-info span { font-size: .8rem; color: var(--muted); }
.testi-badge {
  font-size: .72rem;
  font-family: var(--mono);
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(208,255,20,.2);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: .03em;
}

/* ── stats strip ── */
.testi-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--border-w);
  border-radius: 18px;
  padding: 24px 32px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
  row-gap: 20px;
}
.testi-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 36px;
}
.testi-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--mono);
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.testi-stat-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.testi-stat-divider { width: 1px; height: 40px; background: var(--border-w); flex-shrink: 0; }
@media (max-width: 576px) { .testi-stat { padding: 0 20px; } .testi-stat-divider { display: none; } }

/* legacy selectors kept for any residual references */
.testimonial { display: none; }
.t-author { display: none; }
.avatar-sm { display: none; }

/* ════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════ */
.contact-wrap { background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); border: 1px solid var(--border-w); border-radius: 22px; padding: 46px; backdrop-filter: blur(12px); }
@media (max-width: 768px) { .contact-wrap { padding: 26px; } }
.contact-info { list-style: none; padding: 0; margin-top: 18px; }
.contact-info li { padding: 7px 0; color: var(--muted-2); font-size: .95rem; }
.contact-info i { color: var(--green); width: 20px; margin-right: 8px; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.04); border: 1px solid var(--border-w); margin-right: 8px; color: var(--muted-2); transition: all .25s; }
.socials a:hover { color: var(--green); border-color: var(--border); box-shadow: 0 0 12px rgba(74,222,128,.3); transform: translateY(-3px); }
.contact-form .form-control { background: rgba(255,255,255,.03); border: 1px solid var(--border-w); color: var(--text); border-radius: 10px; padding: .8rem 1rem; font-size: .92rem; }
.contact-form .form-control:focus { background: rgba(255,255,255,.05); border-color: var(--border); box-shadow: 0 0 0 3px rgba(74,222,128,.12); color: var(--text); outline: none; }
.contact-form .form-control::placeholder { color: var(--muted); }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer { padding: 36px 0; border-top: 1px solid var(--border-w); }
.footer small { color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.footer-brand em { color: var(--green); font-style: normal; }

/* ════════════════════════════════════════════
   TO TOP
════════════════════════════════════════════ */
.to-top {
  position: fixed; bottom: 22px; right: 22px;
  width: 42px; height: 42px; border-radius: 9px;
  background: var(--green); color: #000;
  display: grid; place-items: center;
  opacity: 0; transform: translateY(12px);
  transition: all .3s; z-index: 99;
}
.to-top.show { opacity: 1; transform: translateY(0); }
.to-top:hover { box-shadow: var(--green-glow); transform: translateY(-3px); color: #000; }

/* ════════════════════════════════════════════
   REVEAL / ANIMATIONS
════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s, transform .75s; }
.reveal.in { opacity: 1; transform: translateY(0); }
.hide { display: none !important; }

/* ════════════════════════════════════════════
   ANNOUNCEMENT BAR
════════════════════════════════════════════ */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--bar-h);
  background: rgba(10,14,4,.95);
  border-bottom: 1px solid rgba(208,255,20,.18);
  display: flex; align-items: center;
  z-index: 10000; overflow: hidden;
}
.announce-inner {
  flex: 1; display: flex; align-items: center;
  gap: 14px; overflow: hidden; padding-right: 4px;
}
.announce-ticker { flex: 1; overflow: hidden; }
.announce-track {
  display: inline-flex; animation: ticker 35s linear infinite;
  white-space: nowrap;
}
.announce-track span {
  font-size: .74rem; font-weight: 500;
  color: rgba(255,255,255,.75); padding: 0 18px;
}
.asep { color: var(--green); font-size: .55rem; padding: 0 4px !important; }
.announce-track span svg {
  display: inline-block; vertical-align: middle;
  margin-right: 6px; color: var(--green); flex-shrink: 0;
}
.announce-cta {
  flex-shrink: 0; font-size: .72rem; font-weight: 700;
  color: #000; background: var(--green);
  padding: 3px 11px; border-radius: 5px;
  margin-right: 4px; white-space: nowrap;
  transition: background .2s;
}
.announce-cta:hover { background: #deff4a; color: #000; }
.announce-close {
  background: none; border: none; color: rgba(255,255,255,.35);
  font-size: .72rem; cursor: pointer;
  padding: 0 12px; height: 100%; transition: color .2s;
}
.announce-close:hover { color: var(--green); }
@media (max-width: 575px) { .announce-track span { font-size: .68rem; padding: 0 12px; } }

/* ════════════════════════════════════════════
   PORTFOLIO PAGE (portfolio.html)
════════════════════════════════════════════ */
.pf-hero {
  min-height: 85vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-total-h) + 40px);
  padding-bottom: 60px;
  position: relative;
  border-bottom: 1px solid var(--border-w);
}
.pf-hero-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 40px;
}
.pf-hero-left { flex: 1; min-width: 280px; }
.pf-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: .73rem; color: var(--muted-2);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px;
}
.pf-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900; line-height: .95; letter-spacing: -.05em;
}
.pf-subtitle {
  color: var(--muted-2); font-size: 1rem; line-height: 1.7;
  max-width: 380px; margin-top: 20px;
}
.pf-hero-right { display: flex; flex-direction: column; gap: 0; }
.pf-stats-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border-w); border: 1px solid var(--border-w);
  border-radius: 14px; overflow: hidden;
}
.pfs-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 22px 28px; gap: 4px;
  background: var(--bg-2);
}
.pfs-n {
  font-size: 2.2rem; font-weight: 900; letter-spacing: -.04em;
}
.pfs-n em { color: var(--green); font-style: normal; }
.pfs-l {
  font-size: .7rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: .1em; font-family: var(--mono);
}
.pf-scroll-hint {
  display: flex; align-items: center; gap: 12px;
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: .68rem; color: var(--muted);
  letter-spacing: .12em; text-transform: uppercase;
}
.psh-line {
  width: 40px; height: 1px; background: var(--muted);
}
@media (max-width: 767px) { .pf-title { font-size: clamp(2.8rem, 12vw, 5rem); } .pfs-item { padding: 16px 18px; } }

/* Filter */
.pf-filter-wrap {
  border-bottom: 1px solid var(--border-w);
  padding: 18px 0;
  position: sticky; top: var(--nav-total-h);
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(14px);
  z-index: 100;
}
.pf-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-fbtn {
  background: transparent; border: 1px solid var(--border-w); color: var(--muted-2);
  padding: .44rem 1rem; border-radius: 7px; font-size: .83rem; font-weight: 500;
  cursor: pointer; transition: all .2s; font-family: var(--font);
  display: inline-flex; align-items: center; gap: 7px;
}
.pf-fbtn:hover { color: var(--text); border-color: var(--border); }
.pf-fbtn.active { background: var(--green); color: #000; border-color: var(--green); font-weight: 700; box-shadow: 0 0 12px rgba(208,255,20,.25); }
.pf-cnt {
  font-family: var(--mono); font-size: .68rem;
  background: rgba(255,255,255,.1); padding: 1px 5px; border-radius: 3px;
}
.pf-fbtn.active .pf-cnt { background: rgba(0,0,0,.18); }

/* Grid */
.pf-grid-section { padding: 50px 0 80px; }
.pf-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
}
@media (max-width: 991px) { .pf-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px)  { .pf-grid { grid-template-columns: 1fr; } }
.pf-item.hide { display: none !important; }

/* Card — full-bleed reveal style */
.pf-card {
  position: relative; overflow: hidden; height: 340px;
  cursor: pointer;
  background: var(--surface);
}
.pf-thumb {
  position: absolute; inset: 0;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.pf-card:hover .pf-thumb { transform: scale(1.05); }

/* gradient thumbnails for portfolio page */
.pg1 { background: radial-gradient(ellipse at 25% 65%, rgba(208,255,20,.3) 0%, transparent 55%), #040a04; }
.pg2 { background: radial-gradient(ellipse at 75% 25%, rgba(208,255,20,.25) 0%, transparent 55%), #040808; }
.pg3 { background: radial-gradient(ellipse at 50% 55%, rgba(208,255,20,.32) 0%, transparent 50%), #030a05; }
.pg4 { background: radial-gradient(ellipse at 20% 60%, rgba(208,255,20,.27) 0%, transparent 55%), #060a04; }
.pg5 { background: radial-gradient(ellipse at 70% 70%, rgba(208,255,20,.3) 0%, transparent 50%), #040806; }
.pg6 { background: radial-gradient(ellipse at 50% 35%, rgba(208,255,20,.22) 0%, transparent 55%), #080806; }
.pg7 { background: radial-gradient(ellipse at 30% 30%, rgba(208,255,20,.28) 0%, transparent 55%), #030808; }
.pg8 { background: radial-gradient(ellipse at 72% 68%, rgba(208,255,20,.24) 0%, transparent 55%), #050608; }
.pg9 { background: radial-gradient(ellipse at 55% 45%, rgba(208,255,20,.26) 0%, transparent 52%), #060608; }

/* Reveal info (slides up on hover) */
.pf-reveal {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
  transform: translateY(calc(100% - 56px));
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}
.pf-card:hover .pf-reveal { transform: translateY(0); }
.pf-reveal-body { margin-bottom: 14px; }
.pf-cat-label {
  font-family: var(--mono); font-size: .68rem;
  color: var(--green); text-transform: uppercase; letter-spacing: .1em;
  display: block; margin-bottom: 6px;
}
.pf-reveal h3 {
  font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em;
  color: #fff; margin: 0 0 10px;
}
.pf-tags-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-tags-row span {
  font-size: .68rem; padding: 2px 8px; border-radius: 4px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.65);
}
.pf-view-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green); color: #000;
  font-size: .8rem; font-weight: 700;
  padding: .45rem 1rem; border-radius: 7px;
  align-self: flex-start;
  transition: background .2s;
}
.pf-view-btn:hover { background: #deff4a; color: #000; }
/* Always-visible index number */
.pf-idx {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--mono); font-size: .68rem;
  color: rgba(208,255,20,.5); letter-spacing: .1em; z-index: 2;
}
.pf-badge {
  position: absolute; top: 12px; right: 14px;
  font-family: var(--mono); font-size: .65rem; font-weight: 700;
  color: #000; background: var(--green);
  padding: 2px 8px; border-radius: 4px; z-index: 2;
  text-transform: uppercase; letter-spacing: .06em;
}

/* Process section */
.process-section { padding: 80px 0; border-top: 1px solid var(--border-w); }
.process-steps {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap; margin-top: 48px;
}
.process-step {
  flex: 1; min-width: 160px;
  padding: 28px 24px;
  background: var(--surface); border: 1px solid var(--border-w);
  border-radius: 14px; text-align: center;
  transition: border-color .28s, transform .28s;
}
.process-step:hover { border-color: var(--border); transform: translateY(-4px); }
.ps-num {
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  color: var(--green); letter-spacing: .1em; margin-bottom: 10px;
}
.process-step h5 { font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.process-step p { color: var(--muted-2); font-size: .85rem; margin: 0; }
.ps-arrow {
  color: var(--muted); font-size: 1.2rem;
  padding: 0 8px; flex-shrink: 0;
}
@media (max-width: 767px) { .ps-arrow { display: none; } .process-step { min-width: 45%; } }

/* Portfolio CTA */
.pf-cta-section { padding: 60px 0 100px; }
.pf-cta-box {
  background: rgba(208,255,20,.04);
  border: 1px solid rgba(208,255,20,.18);
  border-radius: 22px; padding: 70px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.pf-cta-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px; border-radius: 50%;
  background: rgba(208,255,20,.08); filter: blur(60px); pointer-events: none;
}
.pf-cta-content { position: relative; z-index: 1; }
.pf-cta-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; letter-spacing: -.04em; margin-bottom: 10px; }
.pf-cta-content p { color: var(--muted-2); font-size: 1rem; }

/* ════════════════════════════════════════════
   BLOG LISTING PAGE (blog.html)
════════════════════════════════════════════ */
.blog-hero {
  padding: calc(var(--nav-total-h) + 50px) 0 50px;
  border-bottom: 1px solid var(--border-w);
}
.bh-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.bh-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900; line-height: .95; letter-spacing: -.05em; margin-top: 14px;
}
.bh-desc { color: var(--muted-2); font-size: .98rem; line-height: 1.7; max-width: 340px; margin-top: 16px; }
.bh-right { display: flex; gap: 32px; flex-shrink: 0; padding-bottom: 8px; }
.bh-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bhs-n { font-size: 1.8rem; font-weight: 900; letter-spacing: -.04em; }
.bhs-n em { color: var(--green); font-style: normal; }
.bhs-l { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-family: var(--mono); }

/* Blog category filter */
.blog-filter-bar {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-w);
  position: sticky; top: var(--nav-total-h);
  background: rgba(0,0,0,.88); backdrop-filter: blur(14px); z-index: 100;
}
.blog-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.bcat {
  background: transparent; border: 1px solid var(--border-w); color: var(--muted-2);
  padding: .38rem .95rem; border-radius: 7px; font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: all .2s; font-family: var(--font);
}
.bcat:hover { color: var(--text); border-color: var(--border); }
.bcat.active { background: var(--green); color: #000; border-color: var(--green); font-weight: 700; }

/* Featured post */
.blog-featured { padding: 56px 0 40px; }
.featured-post {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border-w); border-radius: 18px;
  overflow: hidden; transition: border-color .3s;
}
.featured-post:hover { border-color: var(--border); }
.fp-thumb {
  position: relative; min-height: 360px; overflow: hidden;
}
.bt-featured {
  background: radial-gradient(ellipse at 40% 60%, rgba(208,255,20,.28) 0%, transparent 55%), #030d05;
}
.fp-thumb-inner { position: absolute; inset: 0; }
.fp-lines { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-evenly; padding: 20px; }
.fp-lines div { height: 1px; background: rgba(208,255,20,.12); width: 100%; }
.fp-circuit { position: absolute; inset: 0; }
.fpc-node {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px rgba(208,255,20,.7);
}
.fpc-node.n1 { top: 30%; left: 25%; } .fpc-node.n2 { top: 55%; left: 60%; } .fpc-node.n3 { top: 25%; left: 70%; }
.fp-body {
  padding: 36px 40px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--surface);
}
.fp-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fp-label {
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  color: #000; background: var(--green); padding: 2px 9px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .06em;
}
.fp-cat {
  font-family: var(--mono); font-size: .7rem; color: var(--muted-2);
  letter-spacing: .08em; text-transform: uppercase;
}
.fp-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.22; margin-bottom: 16px; color: var(--text); }
.fp-excerpt { color: var(--muted-2); font-size: .95rem; line-height: 1.7; flex: 1; }
.fp-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; flex-wrap: wrap; gap: 12px; }
.fp-author { display: flex; align-items: center; gap: 12px; }
.fp-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #000; display: grid; place-items: center; font-weight: 700; font-family: var(--mono); font-size: .78rem; }
.fp-author strong { display: block; font-size: .88rem; }
.fp-author span { color: var(--muted); font-size: .76rem; }
.fp-read { color: var(--green); font-size: .83rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 767px) { .featured-post { grid-template-columns: 1fr; } .fp-thumb { min-height: 220px; } .fp-body { padding: 24px; } }

/* Blog divider */
.blog-divider { height: 1px; background: var(--border-w); margin: 8px 0 48px; }

/* Blog grid */
.blog-grid-section { padding-bottom: 60px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 991px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--surface); border: 1px solid var(--border-w);
  border-radius: 14px; overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.blog-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: 0 14px 36px rgba(0,0,0,.4); }
.blog-card a { display: block; color: inherit; }
.bc-thumb {
  height: 185px; position: relative;
  transition: transform .45s;
}
.blog-card:hover .bc-thumb { transform: scale(1.03); }
.bc-body { padding: 18px 20px 22px; }
.bc-cat {
  font-family: var(--mono); font-size: .68rem; color: var(--green);
  text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 8px;
}
.bc-title { font-size: .98rem; font-weight: 700; letter-spacing: -.018em; line-height: 1.45; margin-bottom: 10px; color: var(--text); }
.bc-excerpt { color: var(--muted-2); font-size: .85rem; line-height: 1.62; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bc-meta { display: flex; align-items: center; gap: 8px; }
.bc-date { font-size: .75rem; color: var(--muted); font-family: var(--mono); }
.bc-dot { color: var(--muted); font-size: .6rem; }
.bc-read { font-size: .75rem; color: var(--muted-2); }

/* Blog thumbnails */
.bt1 { background: radial-gradient(ellipse at 30% 50%, rgba(208,255,20,.22) 0%, transparent 55%), #040808; }
.bt2 { background: radial-gradient(ellipse at 70% 40%, rgba(208,255,20,.2) 0%, transparent 55%), #060a04; }
.bt3 { background: radial-gradient(ellipse at 50% 70%, rgba(208,255,20,.24) 0%, transparent 52%), #030a06; }
.bt4 { background: radial-gradient(ellipse at 25% 40%, rgba(208,255,20,.2) 0%, transparent 55%), #06080a; }
.bt5 { background: radial-gradient(ellipse at 65% 55%, rgba(208,255,20,.22) 0%, transparent 55%), #080607; }
.bt6 { background: radial-gradient(ellipse at 50% 40%, rgba(208,255,20,.26) 0%, transparent 50%), #040905; }

/* Load more */
.blog-load-more {
  text-align: center; margin-top: 50px;
}
.blm-btn {
  background: transparent; border: 1px solid var(--border-w); color: var(--text);
  padding: .75rem 2rem; border-radius: 9px; font-size: .9rem; font-weight: 500;
  cursor: pointer; transition: all .25s; font-family: var(--font);
}
.blm-btn:hover { border-color: var(--border); color: var(--green); }
.blog-load-more p { color: var(--muted); font-size: .8rem; margin-top: 12px; font-family: var(--mono); }

/* Newsletter */
.newsletter-section { padding: 60px 0 100px; }
.newsletter-box {
  background: rgba(208,255,20,.03); border: 1px solid rgba(208,255,20,.15);
  border-radius: 18px; padding: 48px 44px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 30px;
}
.nw-label { font-family: var(--mono); font-size: .7rem; color: var(--green); text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 10px; }
.nw-left h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin-bottom: 6px; }
.nw-left p { color: var(--muted-2); font-size: .88rem; margin: 0; }
.nw-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nw-form input {
  background: rgba(255,255,255,.04); border: 1px solid var(--border-w);
  color: var(--text); border-radius: 9px; padding: .7rem 1.1rem;
  font-size: .9rem; min-width: 240px; flex: 1; font-family: var(--font);
}
.nw-form input:focus { outline: none; border-color: var(--border); background: rgba(255,255,255,.06); }
.nw-form input::placeholder { color: var(--muted); }
@media (max-width: 767px) { .newsletter-box { padding: 28px 22px; } }

/* ════════════════════════════════════════════
   BLOG DETAIL PAGE (blog-detail.html)
════════════════════════════════════════════ */
.cursor-dot,.cursor-ring { display: block; }

.article-header {
  padding: calc(var(--nav-total-h) + 40px) 0 40px;
  border-bottom: 1px solid var(--border-w);
}
.art-breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .74rem; color: var(--muted);
  letter-spacing: .06em; margin-bottom: 24px;
}
.art-breadcrumb a { color: var(--green); }
.art-breadcrumb a:hover { text-decoration: underline; }
.art-breadcrumb span { color: var(--muted); }

.art-cat-badge {
  display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 700;
  color: #000; background: var(--green); padding: 3px 10px; border-radius: 5px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px;
}
.art-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 22px;
}
.art-lead {
  color: var(--muted-2); font-size: 1.15rem; line-height: 1.7;
  max-width: 780px; border-left: 3px solid rgba(208,255,20,.35);
  padding-left: 18px; margin: 0;
}
.art-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; margin-top: 30px;
}
.art-author { display: flex; align-items: center; gap: 14px; }
.art-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #000;
  display: grid; place-items: center; font-weight: 800;
  font-family: var(--mono); font-size: .82rem; flex-shrink: 0;
}
.art-author-info strong { display: block; font-size: .9rem; font-weight: 700; }
.art-author-info span { color: var(--muted); font-size: .78rem; }
.art-meta-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.art-date, .art-read { font-size: .8rem; color: var(--muted-2); }
.art-date i, .art-read i { color: var(--green); margin-right: 5px; }
.art-dot { color: var(--muted); }
.art-share { display: flex; gap: 8px; }
.art-share a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-w); color: var(--muted-2);
  display: grid; place-items: center; font-size: .8rem;
  transition: all .22s;
}
.art-share a:hover { border-color: var(--border); color: var(--green); }

/* Hero image */
.art-hero-img { padding: 32px 0 0; }
.art-img-wrap {
  border-radius: 16px; overflow: hidden;
  height: 380px; position: relative;
}
.bd-featured {
  background: radial-gradient(ellipse at 40% 55%, rgba(208,255,20,.28) 0%, transparent 55%), #030d05;
}
.ahi-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ahi-line {
  position: absolute; background: rgba(208,255,20,.1); border-radius: 2px;
}
.ahi-line.l1 { width: 60%; height: 1px; top: 30%; left: 20%; }
.ahi-line.l2 { width: 40%; height: 1px; top: 50%; left: 30%; }
.ahi-line.l3 { width: 50%; height: 1px; top: 70%; left: 25%; }
.ahi-node {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 14px rgba(208,255,20,.7);
}
.ahi-node.nd1 { top: 30%; left: 20%; } .ahi-node.nd2 { top: 50%; left: 30%; } .ahi-node.nd3 { top: 70%; left: 25%; }
.ahi-text {
  font-size: 4rem; font-weight: 900; letter-spacing: -.04em;
  color: rgba(208,255,20,.15); position: relative; z-index: 1;
  user-select: none;
}
@media (max-width: 767px) { .art-img-wrap { height: 240px; } .ahi-text { font-size: 2.5rem; } }

/* TOC */
.art-toc {
  background: var(--surface); border: 1px solid var(--border-w);
  border-radius: 12px; padding: 22px 26px;
  margin: 32px 0 0; max-width: 580px;
}
.toc-title {
  font-family: var(--mono); font-size: .78rem; font-weight: 600;
  color: var(--muted-2); text-transform: uppercase; letter-spacing: .1em;
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.toc-title svg { color: var(--green); flex-shrink: 0; }
.toc-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.toc-list li { font-size: .88rem; }
.toc-list a { color: var(--muted-2); transition: color .2s; }
.toc-list a:hover { color: var(--green); }

/* Article body */
.art-body { padding: 48px 0 0; }
.art-content {
  max-width: 740px; margin: 0 auto;
}
.art-content p { font-size: 1.05rem; line-height: 1.85; color: #d8d8d8; margin-bottom: 22px; }
.art-drop-para { font-size: 1.12rem !important; color: var(--text) !important; font-weight: 400; }
.art-content h2 {
  font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em;
  margin: 44px 0 18px; color: var(--text); padding-top: 10px;
  border-top: 1px solid var(--border-w);
}
.art-content strong { color: var(--text); font-weight: 700; }
.art-content em { color: var(--muted-2); }

.art-quote {
  border-left: 3px solid var(--green); padding: 18px 24px;
  background: rgba(208,255,20,.04); border-radius: 0 10px 10px 0;
  margin: 28px 0;
}
.art-quote p { font-size: 1.05rem !important; font-style: italic; color: var(--text) !important; margin-bottom: 10px !important; }
.art-quote cite { font-size: .82rem; color: var(--green); font-style: normal; font-family: var(--mono); }

.art-list { padding-left: 0; list-style: none; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.art-list li {
  padding: 10px 14px 10px 36px; position: relative;
  background: rgba(255,255,255,.025); border: 1px solid var(--border-w);
  border-radius: 8px; font-size: .95rem; line-height: 1.5; color: #d0d0d0;
}
.art-list li::before {
  content: "→"; position: absolute; left: 12px; top: 10px;
  color: var(--green); font-weight: 700; font-size: .85rem;
}

.art-code-block {
  background: #080808; border: 1px solid var(--border-w);
  border-radius: 12px; overflow: hidden; margin: 26px 0;
}
.acb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; background: #0f0f0f; border-bottom: 1px solid var(--border-w);
}
.acb-lang { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.acb-copy {
  background: none; border: 1px solid var(--border-w); color: var(--muted);
  font-size: .72rem; padding: 2px 10px; border-radius: 4px;
  cursor: pointer; transition: all .2s; font-family: var(--mono);
}
.acb-copy:hover { color: var(--green); border-color: var(--border); }
.art-code-block pre { margin: 0; padding: 20px 18px; overflow-x: auto; }
.art-code-block code { font-family: var(--mono); font-size: .88rem; line-height: 1.7; color: #c8c8d8; }

.art-highlight {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(208,255,20,.04); border: 1px solid rgba(208,255,20,.15);
  border-radius: 12px; padding: 18px 20px; margin: 26px 0;
}
.ah-icon { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.art-highlight strong { display: block; font-size: .95rem; margin-bottom: 6px; }
.art-highlight p { font-size: .9rem !important; color: var(--muted-2) !important; margin: 0 !important; }

.art-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 36px 0 28px; }
.art-tag {
  padding: 4px 12px; border-radius: 6px; font-size: .78rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--border-w); color: var(--muted-2);
  transition: all .2s;
}
.art-tag:hover { border-color: var(--border); color: var(--green); }

.art-share-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--border-w);
  font-size: .85rem; color: var(--muted);
}
.ash-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: .4rem .95rem; border-radius: 7px; font-size: .8rem; font-weight: 600;
  border: 1px solid var(--border-w); color: var(--muted-2); transition: all .2s;
}
.ash-btn:hover { border-color: var(--border); color: var(--green); }

/* Author bio */
.author-bio {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border-w);
  border-radius: 16px; padding: 28px; margin: 48px 0 0;
  max-width: 740px;
}
.ab-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--grad); color: #000;
  display: grid; place-items: center; font-weight: 800;
  font-family: var(--mono); font-size: 1rem; flex-shrink: 0;
}
.ab-info h5 { font-weight: 700; margin-bottom: 2px; }
.ab-role { font-size: .78rem; color: var(--green); font-family: var(--mono); display: block; margin-bottom: 10px; }
.ab-info p { color: var(--muted-2); font-size: .88rem; line-height: 1.65; margin-bottom: 14px; }
.ab-socials { display: flex; gap: 8px; }
.ab-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-w); color: var(--muted-2);
  display: grid; place-items: center; font-size: .78rem; transition: all .22s;
}
.ab-socials a:hover { border-color: var(--border); color: var(--green); }
@media (max-width: 575px) { .author-bio { flex-direction: column; } }

/* Related posts */
.related-section { padding: 56px 0 80px; }
.related-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.related-header h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.rel-all { font-size: .84rem; color: var(--green); font-weight: 600; }
.rel-card {
  display: block; background: var(--surface); border: 1px solid var(--border-w);
  border-radius: 12px; overflow: hidden; transition: transform .3s, border-color .3s;
}
.rel-card:hover { transform: translateY(-4px); border-color: var(--border); }
.rc-thumb { height: 165px; transition: transform .45s; }
.rel-card:hover .rc-thumb { transform: scale(1.04); }
.rc-body { padding: 16px 18px 18px; }
.rc-cat { font-family: var(--mono); font-size: .66rem; color: var(--green); text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: 6px; }
.rc-body h5 { font-size: .9rem; font-weight: 700; letter-spacing: -.018em; margin-bottom: 10px; line-height: 1.4; }
.rc-read { font-size: .78rem; color: var(--muted-2); font-weight: 500; }

