/* ═══════════════════════════════════════════════════════
   RUFAI GANIYU — Portfolio  |  style.css
   ═══════════════════════════════════════════════════════ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --bg:          #000;
  --bg-2:        #0c0c0c;
  --bg-3:        #141414;
  --surface:     rgba(255,255,255,0.03);
  --border:      rgba(255,255,255,0.08);
  --text:        #fff;
  --text-muted:  #666;
  --text-dim:    #999;
  --accent:      #00F5FF;
  --accent-dim:  rgba(0,245,255,0.08);
  --accent-glow: rgba(0,245,255,0.2);
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  visibility: visible !important;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; font-family: inherit; }



/* ── CURSOR ── */
.cursor-dot, .cursor-ring {
  position: fixed; pointer-events: none; z-index: 9999;
  border-radius: 50%; transform: translate(-50%,-50%);
  opacity: 0;
}
.cursor-dot  { width: 5px; height: 5px; background: var(--accent); top: 0; left: 0; }
.cursor-ring {
  width: 32px; height: 32px; border: 1px solid rgba(0,245,255,0.5); top: 0; left: 0;
  transition: width .3s var(--ease-spring), height .3s var(--ease-spring), border-color .3s, opacity .3s;
}
.cursor-ring.hovered { width: 50px; height: 50px; border-color: var(--accent); background: rgba(0,245,255,0.04); }

/* ── CONTAINER & SECTION ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 100px 0; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 1.2rem 0;
  transition: background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}
.nav-container {
  max-width: 1120px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { font-size: 0.9rem; font-weight: 700; letter-spacing: -0.01em; margin-right: auto; }
.accent { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-size: 0.82rem; font-weight: 500; color: var(--text-muted);
  position: relative; transition: color .2s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.5rem; border-radius: var(--radius-sm);
  font-family: var(--font); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.01em; transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--text); color: #000; }
.btn-primary:hover { background: var(--accent); box-shadow: 0 0 24px var(--accent-glow); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(255,255,255,0.25); color: var(--text); }
.btn-outline:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: .4rem; }
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--text);
  transition: all .3s var(--ease); transform-origin: left;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(1px,-1px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(1px,1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 100px 2rem 60px;
}
.hero-left { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.hero-tag::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.hero-name {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.gradient-text { color: var(--accent); }
.hero-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
}
.cursor-blink {
  display: inline-block; width: 2px; height: 0.9em;
  background: var(--accent); margin-left: 2px; vertical-align: middle;
  animation: blink .7s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: .15rem; }
.stat-number { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; }
.stat-label  { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── HERO PHOTO ── */
.hero-right { display: flex; justify-content: center; align-items: center; perspective: 800px; position: relative; }

/* outer glow ring that spins */
.hero-photo-ring {
  position: relative;
  width: 500px; height: 500px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: photoFloat 5s ease-in-out infinite;
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 900px;
  perspective-origin: center center;
}

/* arc 1 — thick neon cyan sweep, fast clockwise */
.hero-photo-ring::before {
  content: '';
  position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(
    var(--accent) 0deg,
    rgba(0,245,255,0.6) 60deg,
    transparent 100deg,
    transparent 260deg,
    rgba(0,245,255,0.3) 310deg,
    var(--accent) 360deg
  );
  animation: ringRotate 2.4s linear infinite;
  filter: blur(1px);
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #fff calc(100% - 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #fff calc(100% - 1px));
}

/* arc 2 — counter-rotating dashed ring in magenta/purple */
.hero-photo-ring::after {
  content: '';
  position: absolute; inset: -18px; border-radius: 50%;
  border: 2px dashed rgba(180, 0, 255, 0.55);
  animation: ringRotateCCW 6s linear infinite;
  box-shadow: 0 0 18px rgba(180,0,255,0.35), inset 0 0 18px rgba(180,0,255,0.15);
}

/* pulsing halo behind everything */
.hero-right::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,245,255,0.18) 0%, rgba(0,245,255,0.05) 50%, transparent 72%);
  animation: haloPulse 2.5s ease-in-out infinite alternate;
  pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 0;
}

@keyframes photoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
@keyframes ringRotate    { to { transform: rotate(360deg);  } }
@keyframes ringRotateCCW { to { transform: rotate(-360deg); } }
@keyframes haloPulse {
  from { opacity: 0.5; transform: translate(-50%,-50%) scale(0.92); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.08); }
}

/* shake keyframe triggered by JS */
@keyframes photoShake {
  0%          { transform: translate(0,0)   rotate(0deg); }
  10%         { transform: translate(-5px,-4px) rotate(-1.5deg); }
  20%         { transform: translate(5px, 4px) rotate(1.5deg); }
  30%         { transform: translate(-5px, 3px) rotate(-1deg); }
  40%         { transform: translate(4px,-4px) rotate(1deg); }
  50%         { transform: translate(-4px, 3px) rotate(-0.5deg); }
  60%         { transform: translate(4px, 2px) rotate(0.5deg); }
  70%         { transform: translate(-3px,-2px) rotate(-0.5deg); }
  80%         { transform: translate(2px, 2px) rotate(0deg); }
  90%         { transform: translate(-2px,-1px) rotate(0deg); }
  100%        { transform: translate(0,0) rotate(0deg); }
}
.hero-photo-wrap.shaking {
  animation: photoShake 0.55s cubic-bezier(.36,.07,.19,.97) both;
}

.hero-photo-wrap {
  position: relative; width: 440px; height: 440px;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(0,245,255,0.3);
  box-shadow: 0 0 60px rgba(0,245,255,0.18), 0 0 120px rgba(0,245,255,0.07);
  background: var(--bg-3);
  transition: box-shadow .4s var(--ease);
  will-change: transform;
  transform-style: preserve-3d;
}
.hero-photo-wrap.near {
  box-shadow: 0 0 90px rgba(0,245,255,0.4), 0 0 160px rgba(0,245,255,0.15);
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative; z-index: 1;
  opacity: 0; transition: opacity .6s var(--ease);
  transform: scale(1.05);
}
.hero-photo.loaded { opacity: 1; }
.hero-photo-placeholder {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; color: var(--text-muted); font-size: 0.78rem;
}

/* ── FADE-IN-UP ── */
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-in-up.visible { opacity: 1; transform: none; }

/* ── SECTION TAG & TITLE ── */
.section-tag {
  display: block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
.section-header { margin-bottom: 3.5rem; }

/* ── GLASS ── */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
}

/* ── SERVICES ── */
/* ── SERVICES ── */
/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1120px;
  margin: 60px auto 0;
}

/* ── SERVICE CARDS (PREMIUM WHITE) ── */
.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 14px 16px;
  color: #1a1a1a;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  transition: box-shadow 0.4s ease, border-color 0.3s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  perspective: 800px;
}

/* Shimmer sweep on hover */
.service-card::before { display: none; }
.service-card:hover::before { display: none; }

/* Colored glow border per card on hover */
.service-card:nth-child(1):hover { border-color: #00bfa5; box-shadow: 0 24px 60px rgba(0,191,165,0.22), 0 0 0 1.5px #00bfa5; }
.service-card:nth-child(2):hover { border-color: #3182ce; box-shadow: 0 24px 60px rgba(49,130,206,0.22), 0 0 0 1.5px #3182ce; }
.service-card:nth-child(3):hover { border-color: #dd6b20; box-shadow: 0 24px 60px rgba(221,107,32,0.22), 0 0 0 1.5px #dd6b20; }
.service-card:nth-child(4):hover { border-color: #805ad5; box-shadow: 0 24px 60px rgba(128,90,213,0.22), 0 0 0 1.5px #805ad5; }

/* Card 1 — flies in from LEFT */
@keyframes sCardFromLeft {
  0%   { opacity: 0; transform: translateX(-120px) scale(0.85) rotateY(25deg); }
  55%  { opacity: 1; transform: translateX(10px)   scale(1.03) rotateY(-4deg); }
  75%  { transform: translateX(-5px) scale(0.99) rotateY(1deg); }
  100% { opacity: 1; transform: translateX(0) scale(1) rotateY(0deg); }
}
/* Card 2 — drops in from TOP */
@keyframes sCardFromTop {
  0%   { opacity: 0; transform: translateY(-110px) scale(0.85) rotateX(-25deg); }
  55%  { opacity: 1; transform: translateY(10px)   scale(1.03) rotateX(5deg); }
  75%  { transform: translateY(-5px) scale(0.99) rotateX(-1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
}
/* Card 3 — rises from BOTTOM */
@keyframes sCardFromBottom {
  0%   { opacity: 0; transform: translateY(110px) scale(0.85) rotateX(25deg); }
  55%  { opacity: 1; transform: translateY(-10px) scale(1.03) rotateX(-5deg); }
  75%  { transform: translateY(5px) scale(0.99) rotateX(1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateX(0deg); }
}
/* Card 4 — slides in from RIGHT */
@keyframes sCardFromRight {
  0%   { opacity: 0; transform: translateX(120px) scale(0.85) rotateY(-25deg); }
  55%  { opacity: 1; transform: translateX(-10px) scale(1.03) rotateY(4deg); }
  75%  { transform: translateX(5px) scale(0.99) rotateY(-1deg); }
  100% { opacity: 1; transform: translateX(0) scale(1) rotateY(0deg); }
}

.service-card.sc-from-left   { animation: sCardFromLeft   2.4s cubic-bezier(0.16,1,0.3,1) forwards; }
.service-card.sc-from-top    { animation: sCardFromTop    2.4s cubic-bezier(0.16,1,0.3,1) forwards; }
.service-card.sc-from-bottom { animation: sCardFromBottom 2.4s cubic-bezier(0.16,1,0.3,1) forwards; }
.service-card.sc-from-right  { animation: sCardFromRight  2.4s cubic-bezier(0.16,1,0.3,1) forwards; }

.service-card.reveal {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Click ripple */
.service-card .sc-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  opacity: 1;
  animation: scRipple 0.55s linear forwards;
  pointer-events: none;
  z-index: 3;
}
@keyframes scRipple {
  to { transform: scale(4); opacity: 0; }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-box svg { width: 18px; height: 18px; }

/* Color Variants */
.teal-bg   { background: #e6fffa; color: #00bfa5; }
.blue-bg   { background: #ebf8ff; color: #3182ce; }
.orange-bg { background: #fffaf0; color: #dd6b20; }
.purple-bg { background: #faf5ff; color: #805ad5; }

.card-title-group h3 {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin: 0;
  letter-spacing: -0.01em;
}

.card-subtitle {
  font-size: 11px;
  color: #888;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  width: fit-content;
}

.status-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.success { background: #f0fdf4; color: #166534; }
.status-badge.active  { background: #eff6ff; color: #1e40af; }
.status-badge.warning { background: #fff7ed; color: #9a3412; }

.card-details {
  border-top: 1px solid #f2f2f2;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f8f8f8;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 11px;
  color: #777;
}

.detail-value {
  font-size: 11px;
  font-weight: 700;
  color: #111;
}

.card-events {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── VIDEO EDITING CREDITS TICKER ── */
.ve-credits {
  position: relative;
  height: 130px;
  overflow: hidden;
  border-top: 1px solid #f0f0f0;
  margin-top: 6px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image:         linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.ve-roll {
  display: flex;
  flex-direction: column;
  /* start: first item just below the window; end: last item just above */
  transform: translateY(130px);
  animation: veScroll 7s linear infinite;
  animation-play-state: paused;
}

.ve-credits.ve-playing .ve-roll {
  animation-play-state: running;
}

@keyframes veScroll {
  from { transform: translateY(130px); }
  to   { transform: translateY(-100%); }
}

.ve-line {
  height: 40px;
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #111;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #f5f5f5;
  white-space: nowrap;
}
.ve-line:last-child { border-bottom: none; }

.ve-line::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00bfa5;
  flex-shrink: 0;
}

.ve-line.ve-enter { opacity: 1; transform: translateY(0); }
.ve-line.ve-exit  { opacity: 0; transform: translateY(-34px); }

/* ── VIDEO EDITING CARD — DARK CINEMATIC ── */
.ve-card {
  background: linear-gradient(145deg, #0d1f1e 0%, #0f2230 55%, #0c1a28 100%) !important;
  border: 2px solid #00e5c8 !important;
  color: #f0f0f0 !important;
  box-shadow:
    0 0 0 1px rgba(0,229,200,0.15),
    0 0 30px rgba(0,229,200,0.35),
    0 0 70px rgba(0,191,165,0.18),
    0 20px 50px rgba(0,0,0,0.7) !important;
}
.ve-card:hover {
  border-color: #00ffdf !important;
  box-shadow:
    0 0 0 1px rgba(0,255,223,0.2),
    0 0 40px rgba(0,229,200,0.55),
    0 0 90px rgba(0,191,165,0.28),
    0 24px 60px rgba(0,0,0,0.8) !important;
}
.ve-card .card-title-group h3  { color: #ffffff; }
.ve-card .card-title-group .card-subtitle { color: rgba(255,255,255,0.45); }
.ve-card .card-icon-box.teal-bg { background: rgba(0,229,200,0.22); color: #00e5c8; }

.ve-badge {
  background: rgba(0,191,165,0.2) !important;
  color: #00e5c8 !important;
  border: 1px solid #00e5c8 !important;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Floating orbs */
.ve-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
  z-index: 0;
}
.ve-orb {
  position: absolute;
  left: var(--ox);
  top:  var(--oy);
  width:  var(--os, 80px);
  height: var(--os, 80px);
  border-radius: 50%;
  background: var(--oc);
  opacity: 0.13;
  filter: blur(32px);
  animation: veOrbFloat var(--od, 4s) ease-in-out infinite alternate;
}
@keyframes veOrbFloat {
  0%   { transform: translate(0, 0)     scale(1);    }
  50%  { transform: translate(10px,-14px) scale(1.15); }
  100% { transform: translate(-8px, 6px)  scale(0.88); }
}

/* Live timecode */
.ve-timecode {
  margin-left: auto;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  color: #00e5c8;
  letter-spacing: 0.06em;
  background: rgba(0,191,165,0.1);
  border: 1px solid rgba(0,191,165,0.22);
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(0,229,200,0.6);
}

/* Credits ticker on dark card */
.ve-card .ve-credits {
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image:         linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
}
.ve-card .ve-line       { color: rgba(255,255,255,0.82); border-bottom-color: rgba(255,255,255,0.06); }
.ve-card .ve-line::before { background: #00e5c8; }

/* NLE Timeline */
.ve-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
  padding: 5px 6px;
  overflow: hidden;
  z-index: 1;
}
.ve-playhead {
  position: absolute;
  top: 0; bottom: 0;
  width: 1.5px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 6px rgba(255,255,255,0.5);
  z-index: 3;
  animation: vePlayheadMove 4s linear infinite;
}
@keyframes vePlayheadMove {
  0%   { left: 2%;  }
  100% { left: 97%; }
}
.ve-track {
  position: relative;
  height: 9px;
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  overflow: hidden;
}
.ve-clip {
  position: absolute;
  top: 1px; bottom: 1px;
  left: var(--cl-l);
  width: var(--cw);
  background: var(--cl);
  border-radius: 2px;
  opacity: 0.7;
}

/* ── FULL STACK DEV CARD ── */
.fs-card {
  background: linear-gradient(145deg, #0a0f1e 0%, #0d1535 55%, #0b1228 100%) !important;
  border: 2px solid #3b82f6 !important;
  color: #f0f0f0 !important;
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.15),
    0 0 30px rgba(59,130,246,0.3),
    0 0 70px rgba(99,102,241,0.15),
    0 20px 50px rgba(0,0,0,0.7) !important;
}
.fs-card:hover {
  border-color: #60a5fa !important;
  box-shadow:
    0 0 0 1px rgba(96,165,250,0.25),
    0 0 45px rgba(59,130,246,0.45),
    0 24px 60px rgba(0,0,0,0.8) !important;
}
.fs-card .card-title-group h3       { color: #fff; }
.fs-card .card-title-group .card-subtitle { color: rgba(255,255,255,0.4); }
.fs-card .card-icon-box.blue-bg     { background: rgba(59,130,246,0.18); color: #60a5fa; }

/* Orbs */
.fs-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 20px; z-index: 0; }
.fs-orb  {
  position: absolute; left: var(--ox); top: var(--oy);
  width: var(--os,80px); height: var(--os,80px);
  border-radius: 50%; background: var(--oc); opacity: 0.12;
  filter: blur(30px);
  animation: veOrbFloat var(--od,4s) ease-in-out infinite alternate;
}

/* Live dot in header */
.fs-status-dot {
  margin-left: auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e, 0 0 12px rgba(34,197,94,0.5);
  animation: fsDotPulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes fsDotPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.75); }
}

.fs-badge {
  background: rgba(59,130,246,0.15) !important;
  color: #60a5fa !important;
  border: 1px solid #3b82f6 !important;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Tabs */
.fs-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 3px;
  position: relative;
  z-index: 1;
}
.fs-tab {
  flex: 1;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  padding: 5px 4px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.03em;
  text-align: center;
}
.fs-tab.active {
  background: #3b82f6;
  color: #fff;
}

/* Panels */
.fs-panel { display: none; flex-direction: column; gap: 0; position: relative; z-index: 1; }
.fs-panel.active { display: flex; }

.fs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 7px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.fs-item:last-child { border-bottom: none; }
.fs-item.fs-visible { opacity: 1; transform: translateX(0); }

.fs-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
}

/* Terminal line */
.fs-terminal {
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  color: #86efac;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  white-space: nowrap;
}
.fs-prompt { color: #60a5fa; font-weight: 700; }
.fs-cmd    { color: #86efac; }
.fs-cursor {
  color: #60a5fa;
  animation: fsBlink 0.9s step-end infinite;
}
@keyframes fsBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── GRAPHICS DESIGN CARD ── */
.gd-card {
  background: linear-gradient(145deg, #1a0a00 0%, #1f1008 55%, #180e05 100%) !important;
  border: 2px solid #f97316 !important;
  color: #f5f5f5 !important;
  box-shadow:
    0 0 0 1px rgba(249,115,22,0.15),
    0 0 30px rgba(249,115,22,0.3),
    0 0 70px rgba(236,72,153,0.12),
    0 20px 50px rgba(0,0,0,0.7) !important;
}
.gd-card:hover {
  border-color: #fb923c !important;
  box-shadow:
    0 0 0 1px rgba(251,146,60,0.25),
    0 0 45px rgba(249,115,22,0.45),
    0 24px 60px rgba(0,0,0,0.8) !important;
}
.gd-card .card-title-group h3        { color: #fff; }
.gd-card .card-title-group .card-subtitle { color: rgba(255,255,255,0.4); }
.gd-card .card-icon-box.orange-bg     { background: rgba(249,115,22,0.2); color: #fb923c; }

/* Orbs */
.gd-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 20px; z-index: 0; }
.gd-orb  {
  position: absolute; left: var(--ox); top: var(--oy);
  width: var(--os,80px); height: var(--os,80px);
  border-radius: 50%; background: var(--oc); opacity: 0.14;
  filter: blur(28px);
  animation: veOrbFloat var(--od,4s) ease-in-out infinite alternate;
}

.gd-badge {
  background: rgba(249,115,22,0.15) !important;
  color: #fb923c !important;
  border: 1px solid #f97316 !important;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* Services ticker */
.gd-ticker {
  position: relative;
  flex: 1;
  min-height: 80px;
  overflow: hidden;
  border-top: 1px solid rgba(249,115,22,0.2);
  margin-top: 2px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image:         linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  z-index: 1;
}
.gd-roll {
  display: flex;
  flex-direction: column;
  transform: translateY(80px);
  animation: gdScroll 9s linear infinite;
  animation-play-state: paused;
}
.gd-ticker.gd-playing .gd-roll { animation-play-state: running; }
@keyframes gdScroll {
  from { transform: translateY(80px); }
  to   { transform: translateY(-100%); }
}
.gd-line {
  height: 34px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gd-line::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f97316;
  flex-shrink: 0;
}

/* Colour palette swatches */
.gd-palette {
  display: flex;
  gap: 5px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.gd-swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--sc);
  box-shadow: 0 0 6px var(--sc);
  transition: transform 0.2s ease;
  cursor: default;
}
.gd-swatch:hover { transform: scale(1.3); }

/* Toolbar */
.gd-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: 7px;
  padding: 5px 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}
.gd-tool {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  cursor: default;
  font-size: 12px;
  transition: background 0.15s, color 0.15s;
}
.gd-tool:hover { background: rgba(249,115,22,0.2); color: #fb923c; }
.gd-sep { flex: 1; }
.gd-layers { font-size: 9px; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }

/* ── WEB3 COMMUNITY CARD ── */
.w3-card {
  background: linear-gradient(145deg, #0d0820 0%, #110c2e 55%, #0a0818 100%) !important;
  border: 2px solid #8b5cf6 !important;
  color: #f0f0f0 !important;
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.15),
    0 0 30px rgba(139,92,246,0.32),
    0 0 70px rgba(168,85,247,0.14),
    0 20px 50px rgba(0,0,0,0.7) !important;
}
.w3-card:hover {
  border-color: #a78bfa !important;
  box-shadow:
    0 0 0 1px rgba(167,139,250,0.25),
    0 0 45px rgba(139,92,246,0.5),
    0 24px 60px rgba(0,0,0,0.8) !important;
}
.w3-card .card-title-group h3        { color: #fff; }
.w3-card .card-title-group .card-subtitle { color: rgba(255,255,255,0.4); }
.w3-card .card-icon-box.purple-bg    { background: rgba(139,92,246,0.2); color: #a78bfa; }

/* Orbs */
.w3-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: 20px; z-index: 0; }
.w3-orb  {
  position: absolute; left: var(--ox); top: var(--oy);
  width: var(--os,80px); height: var(--os,80px);
  border-radius: 50%; background: var(--oc); opacity: 0.13;
  filter: blur(28px);
  animation: veOrbFloat var(--od,4s) ease-in-out infinite alternate;
}

/* Animated network nodes in header */
.w3-nodes {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
}
.w3-node {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 6px #8b5cf6;
  animation: w3NodePulse 1.6s ease-in-out infinite;
}
.w3-node:nth-child(2) { animation-delay: 0.3s; background: #06b6d4; box-shadow: 0 0 6px #06b6d4; }
.w3-node:nth-child(3) { animation-delay: 0.6s; background: #a855f7; box-shadow: 0 0 6px #a855f7; }
@keyframes w3NodePulse {
  0%,100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(0.5); opacity: 0.4; }
}

.w3-badge {
  background: rgba(139,92,246,0.15) !important;
  color: #a78bfa !important;
  border: 1px solid #8b5cf6 !important;
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* Services ticker */
.w3-ticker {
  position: relative;
  height: 110px;
  overflow: hidden;
  border-top: 1px solid rgba(139,92,246,0.2);
  margin-top: 2px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image:         linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  z-index: 1;
}
.w3-roll {
  display: flex;
  flex-direction: column;
  transform: translateY(110px);
  animation: w3Scroll 14s linear infinite;
  animation-play-state: paused;
}
.w3-ticker.w3-playing .w3-roll { animation-play-state: running; }
@keyframes w3Scroll {
  from { transform: translateY(110px); }
  to   { transform: translateY(-100%); }
}
.w3-line {
  height: 34px;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(139,92,246,0.1);
}
.w3-line:last-child { border-bottom: none; }
.w3-line::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #8b5cf6;
  flex-shrink: 0;
  box-shadow: 0 0 4px #8b5cf6;
}

/* Stat pills */
.w3-stats {
  display: flex;
  gap: 6px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.w3-stat {
  flex: 1;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: 8px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.w3-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: #a78bfa;
  line-height: 1;
}
.w3-stat-lbl {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: #f9f9f9;
  border-radius: 10px;
}
  border-radius: 12px;
}

.event-item .event-dot {
  margin-top: 4px;
}

.event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.event-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.event-status {
  display: block;
  font-size: 10px;
  color: #777;
  line-height: 1.4;
}


/* ── MOCKUP CARDS ── */
.mockup-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 24px !important;
  color: #1a1a1a !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
  animation: cardEntry 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards !important;
}

@keyframes cardEntry { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.mockup-header { display: flex !important; gap: 14px !important; align-items: center !important; margin-bottom: 20px !important; }
.mockup-icon { width: 40px !important; height: 40px !important; border-radius: 10px !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.mockup-icon.v-bg { background: #e0fbff !important; color: #00F5FF !important; }
.mockup-icon.d-bg { background: #f0ebff !important; color: #8B5CF6 !important; }
.mockup-icon.g-bg { background: #fff0e6 !important; color: #F97316 !important; }
.mockup-icon.u-bg { background: #ffebf5 !important; color: #EC4899 !important; }

.mockup-title h4 { font-size: 15px !important; margin: 0 !important; font-weight: 700 !important; color: #111 !important; }
.mockup-title span { font-size: 11px !important; color: #888 !important; }

.mockup-badge { 
  display: inline-flex !important; 
  padding: 6px 12px !important; 
  background: #f0fdf4 !important; 
  color: #166534 !important; 
  border-radius: 20px !important; 
  font-size: 11px !important; 
  font-weight: 600 !important;
  margin-bottom: 20px !important;
}
.mockup-badge.success::before { content: "●"; margin-right: 6px !important; }

.mockup-stats { border-top: 1px solid #f0f0f0 !important; padding-top: 15px !important; }
.stat-row { display: flex !important; justify-content: space-between !important; padding: 8px 0 !important; border-bottom: 1px solid #f9f9f9 !important; }
.stat-row:last-child { border: none !important; }
.stat-row span { font-size: 12px !important; color: #777 !important; }
.stat-row strong { font-size: 12px !important; color: #222 !important; font-weight: 600 !important; }
.vector-circle { position: relative; width: 100px; height: 100px; }
.rotating-dashed { position: absolute; inset: 0; border: 2px dashed var(--acc); border-radius: 50%; animation: spinCircle 8s linear infinite; }
.inner-aa { position: absolute; inset: 15px; background: linear-gradient(45deg, var(--acc), #fff); -webkit-background-clip: text; color: transparent; font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; animation: spinCircle 8s linear reverse infinite; }
.side-shapes { position: absolute; left: 20px; display: flex; flex-direction: column; gap: 8px; }
.rect { height: 6px; border-radius: 3px; background: var(--acc); opacity: 0.3; animation: slideInL 1s ease forwards; }
.r1 { width: 40px; animation-delay: 0.2s; } .r2 { width: 60px; animation-delay: 0.4s; } .r3 { width: 30px; animation-delay: 0.6s; }
.color-palette { position: absolute; bottom: 20px; display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; transform: scale(0); animation: dotPop 0.5s ease forwards; }
.d1 { background: #00F5FF; animation-delay: 1s; } .d2 { background: #8B5CF6; animation-delay: 1.1s; } .d3 { background: #F97316; animation-delay: 1.2s; } .d4 { background: #EC4899; animation-delay: 1.3s; } .d5 { background: #fff; animation-delay: 1.4s; }

@keyframes spinCircle { to { transform: rotate(360deg); } }
@keyframes shimmerAnim { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes slideInL { from { transform: translateX(-20px); opacity: 0; } to { transform: translateX(0); opacity: 0.3; } }
@keyframes dotPop { to { transform: scale(1); } }

/* PANEL 4 VISUAL: UI/UX */
.uiux-visual { background: #050510; display: flex; align-items: center; justify-content: center; gap: 30px; }
.phone-frame { width: 72px; height: 120px; border: 2px solid rgba(0,245,255,0.3); border-radius: 12px; padding: 6px; position: relative; animation: phoneFloat 3s ease-in-out infinite; background: #000; }
.phone-top { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.avatar { width: 14px; height: 14px; background: #1a1a1a; border-radius: 50%; }
.lines span { display: block; width: 20px; height: 3px; background: #1a1a1a; margin-bottom: 2px; border-radius: 1px; }
.phone-content { height: 70px; background: #0a0a0f; border-radius: 6px; overflow: hidden; position: relative; }
.sliding-card { width: 80%; height: 40px; background: var(--acc); opacity: 0.2; margin: 10px auto; border-radius: 4px; animation: slideUpCard 2.5s ease-in-out infinite; }
.phone-nav { position: absolute; bottom: 8px; width: 100%; left: 0; display: flex; justify-content: center; gap: 4px; }
.phone-nav span { width: 4px; height: 4px; border-radius: 50%; background: #1a1a1a; }
.phone-nav span:first-child { background: var(--acc); }
.ui-elements { display: flex; flex-direction: column; gap: 15px; }
.ui-btn { width: 60px; height: 22px; border: 1px solid var(--acc); border-radius: 11px; animation: btnBounce 2s ease-in-out infinite; }
.ui-toggle { width: 34px; height: 18px; background: #1a1a1a; border-radius: 9px; position: relative; padding: 2px; animation: toggleAnim 3s infinite; }
.thumb { width: 14px; height: 14px; background: #fff; border-radius: 50%; position: absolute; left: 2px; animation: thumbMove 3s infinite; }

@keyframes phoneFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes slideUpCard { 0%, 100% { transform: translateY(120%); } 40%, 60% { transform: translateY(10%); } }
@keyframes btnBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); opacity: 0.7; } }
@keyframes toggleAnim { 0%, 45% { background: #1a1a1a; } 55%, 100% { background: var(--acc); } }
@keyframes thumbMove { 0%, 45% { left: 2px; } 55%, 100% { left: 18px; } }

/* INFO SECTION */
.info-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.p-num { font-size: 14px; font-weight: 800; color: var(--acc); opacity: 0.5; }
.p-title { font-size: 28px; margin: 0; font-weight: 700; color: var(--acc); }
.p-desc { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-bottom: 24px; }
.tool-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-tags span { padding: 6px 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; font-size: 11px; color: var(--text); }

/* ── MARQUEE ── */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 35s linear infinite;
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }
.marquee-inner {
  display: flex; align-items: center; gap: 2.5rem;
  padding-right: 2.5rem;
}
.marquee-inner span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}
.marquee-inner span::before {
  content: '◆'; font-size: 0.45rem; color: var(--accent);
  display: inline-block; margin-right: 2.5rem; vertical-align: middle;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── ABOUT ── */
.about { background: var(--bg-2); }

/* ── ABOUT SURFACE ── */
.about-surface {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  position: relative;
}

/* ── GATE PANELS ── */
.about-gate {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  z-index: 10;
  overflow: hidden;
  background: #000;
}
.about-gate-left  { left: 0; }
.about-gate-right { right: 0; }

/* inner glow that charges up */
.about-gate-left::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 80px;
  background: transparent;
  pointer-events: none;
}
.about-gate-right::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 80px;
  background: transparent;
  pointer-events: none;
}

/* ── SEAM ── */
.about-gate-seam {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  z-index: 11;
  pointer-events: none;
}
.seam-beam {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 0;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 transparent;
  transition: none;
}

/* ── SHOCKWAVE RING ── */
.about-gate-shockwave {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  z-index: 9;
  pointer-events: none;
  border: 2px solid transparent;
}

/* ════ PHASE ANIMATIONS ════ */

/* Phase 1: gate inner edge glows low */
@keyframes gateEdgeWake {
  0%   { background: transparent; }
  100% { background: linear-gradient(to left, rgba(0,245,255,0.08) 0%, transparent 100%); }
}
.about-gate-left.charging::after  { animation: gateEdgeWake 1s ease forwards; }
@keyframes gateEdgeWakeR {
  0%   { background: transparent; }
  100% { background: linear-gradient(to right, rgba(0,245,255,0.08) 0%, transparent 100%); }
}
.about-gate-right.charging::after { animation: gateEdgeWakeR 1s ease forwards; }

/* Phase 2: seam beam grows from center out */
@keyframes beamGrow {
  0%   { height: 0%;   box-shadow: none; opacity: 1; }
  30%  { height: 40%;  box-shadow: 0 0 6px 2px rgba(0,245,255,0.5); }
  70%  { height: 80%;  box-shadow: 0 0 14px 5px rgba(0,245,255,0.8); }
  100% { height: 100%; box-shadow: 0 0 24px 8px rgba(0,245,255,1), 0 0 60px 20px rgba(0,245,255,0.5); }
}
.seam-beam.growing { animation: beamGrow 1.2s cubic-bezier(0.4,0,0.2,1) forwards; }

/* Phase 3: seam rapid flicker / charging */
@keyframes beamFlicker {
  0%,100% { opacity: 1;   box-shadow: 0 0 30px 10px #fff, 0 0 80px 30px rgba(0,245,255,1); background: #fff; }
  12%  { opacity: 0.4; box-shadow: 0 0 10px 4px rgba(0,245,255,0.6); background: var(--accent); }
  25%  { opacity: 1;   box-shadow: 0 0 50px 18px #fff, 0 0 120px 50px rgba(0,245,255,0.9); background: #fff; }
  37%  { opacity: 0.3; }
  50%  { opacity: 1;   box-shadow: 0 0 60px 22px #fff, 0 0 160px 60px rgba(0,245,255,1); background: #fff; }
  62%  { opacity: 0.5; }
  75%  { opacity: 1;   box-shadow: 0 0 80px 30px #fff, 0 0 200px 80px rgba(0,245,255,1); background: #fff; }
  87%  { opacity: 0.2; }
}
.seam-beam.flickering { animation: beamFlicker 0.7s linear forwards; }

/* Phase 3: gate inner charge intensifies */
@keyframes gateChargeLeft {
  0%   { box-shadow: none; }
  40%  { box-shadow: inset -30px 0 60px rgba(0,245,255,0.15); }
  70%  { box-shadow: inset -60px 0 100px rgba(0,245,255,0.3); }
  100% { box-shadow: inset -100px 0 160px rgba(0,245,255,0.5), inset 0 0 80px rgba(255,255,255,0.15); }
}
@keyframes gateChargeRight {
  0%   { box-shadow: none; }
  40%  { box-shadow: inset 30px 0 60px rgba(0,245,255,0.15); }
  70%  { box-shadow: inset 60px 0 100px rgba(0,245,255,0.3); }
  100% { box-shadow: inset 100px 0 160px rgba(0,245,255,0.5), inset 0 0 80px rgba(255,255,255,0.15); }
}
.about-gate-left.supercharge  { animation: gateChargeLeft  0.8s ease forwards; }
.about-gate-right.supercharge { animation: gateChargeRight 0.8s ease forwards; }

/* Phase 4: violent smash */
@keyframes smashLeft {
  0%   { transform: translateX(0); }
  10%  { transform: translateX(20px); }
  22%  { transform: translateX(-18px); }
  34%  { transform: translateX(16px); }
  46%  { transform: translateX(-14px); }
  58%  { transform: translateX(20px); }
  70%  { transform: translateX(-16px); }
  82%  { transform: translateX(12px); }
  92%  { transform: translateX(-8px); }
  100% { transform: translateX(0); }
}
@keyframes smashRight {
  0%   { transform: translateX(0); }
  10%  { transform: translateX(-20px); }
  22%  { transform: translateX(18px); }
  34%  { transform: translateX(-16px); }
  46%  { transform: translateX(14px); }
  58%  { transform: translateX(-20px); }
  70%  { transform: translateX(16px); }
  82%  { transform: translateX(-12px); }
  92%  { transform: translateX(8px); }
  100% { transform: translateX(0); }
}
.about-gate-left.smashing  { animation: smashLeft  0.55s cubic-bezier(0.36,0.07,0.19,0.97); }
.about-gate-right.smashing { animation: smashRight 0.55s cubic-bezier(0.36,0.07,0.19,0.97); }

/* Phase 5: shockwave ring expands */
@keyframes shockwave {
  0%   { width: 0; height: 0; opacity: 1; border-color: #fff; box-shadow: 0 0 20px 5px rgba(0,245,255,0.8); }
  60%  { opacity: 0.6; border-color: var(--accent); }
  100% { width: 200%; height: 400%; opacity: 0; border-color: var(--accent); box-shadow: 0 0 60px 20px rgba(0,245,255,0); }
}
.about-gate-shockwave.blast { animation: shockwave 0.8s ease-out forwards; border-width: 2px; }

/* Phase 5: screen white flash */
@keyframes screenBlast {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}
.about-gate-blast {
  position: fixed; inset: 0;
  background: radial-gradient(circle at center, #fff 0%, rgba(0,245,255,0.8) 40%, transparent 70%);
  z-index: 9997;
  pointer-events: none;
  animation: screenBlast 0.5s ease-out forwards;
}

/* Phase 6: gates BLAST open */
@keyframes blastLeft {
  0%   { transform: translateX(0) scaleX(1); }
  8%   { transform: translateX(12px) scaleX(1.04); }
  100% { transform: translateX(-106%) scaleX(1); }
}
@keyframes blastRight {
  0%   { transform: translateX(0) scaleX(1); }
  8%   { transform: translateX(-12px) scaleX(1.04); }
  100% { transform: translateX(106%) scaleX(1); }
}
.about-gate-left.opening  { animation: blastLeft  1s cubic-bezier(0.22,1,0.36,1) forwards; }
.about-gate-right.opening { animation: blastRight 1s cubic-bezier(0.22,1,0.36,1) forwards; }

/* ── ABOUT SURFACE MIN HEIGHT ── */
.about-surface { min-height: 520px; }

.about-surface-left {
  background: #050505;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
/* subtle vertical accent bar on left edge */
.about-surface-left::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  border-radius: 3px;
}
.about-surface-right {
  background: #080808;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* accent top bar */
.about-accent-line {
  width: 44px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 14px rgba(0,245,255,0.5);
}

.about-surface-left .section-tag { margin-bottom: .5rem; }

.about-headline {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.14;
  margin-bottom: 1.8rem;
  color: var(--text);
}

.about-bio {
  font-size: 0.92rem;
  color: #c0c0c0;
  line-height: 1.88;
  margin-bottom: .85rem;
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: auto;
  padding-top: 2.2rem;
}
.about-see-work {
  font-size: 0.82rem;
  font-weight: 600;
  color: #c0c0c0;
  letter-spacing: 0.04em;
  transition: color .2s;
}
.about-see-work:hover { color: var(--accent); }

/* right panel top label */
.about-stack-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.8rem;
}

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

.skill-category h4 {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #bbb; margin-bottom: .9rem;
}
.skill-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.skill-list span {
  font-size: 0.72rem; padding: .3rem .85rem;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 30px;
  color: #ccc; background: rgba(255,255,255,0.05); transition: all .2s;
}
.skill-list span:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(0,245,255,0.06);
}

/* bottom stats strip */
.about-stats-row {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.6rem;
  padding-top: 2rem;
}
.about-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.about-stat:not(:first-child) {
  padding-left: 1.6rem;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.about-stat:not(:last-child) { padding-right: 1.6rem; }
.about-stat-num {
  font-size: 2.2rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--accent); line-height: 1;
}
.about-stat-label { font-size: 0.72rem; color: #bbb; font-weight: 500; }

/* ── REVEAL VARIANTS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-right.visible { opacity: 1; transform: none; }

/* ── PROJECTS ── */
.projects-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
}
.project-card {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; position: relative;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  cursor: pointer;
}
.project-card:hover { border-color: rgba(0,245,255,0.25); transform: translateY(-4px); }
.project-img {
  height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.project-placeholder-icon { opacity: 0.6; }
.project-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.8rem; opacity: 0; transition: opacity .3s var(--ease);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-category {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5rem;
}
.project-overlay .project-title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.project-overlay .project-desc  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1rem; }
.project-links { display: flex; gap: 1rem; }
.project-link {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: .3rem; transition: opacity .2s;
}
.project-link:hover { opacity: 0.7; }
.project-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem; border-top: 1px solid var(--border);
  background: var(--bg);
}
.project-name { font-size: 0.85rem; font-weight: 600; }
.project-tech { font-size: 0.72rem; color: var(--text-muted); }

/* ── CONTACT ── */
.contact { background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact-left .section-title { margin: .6rem 0 1rem; }
.contact-sub { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.8rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  font-size: 0.85rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .6rem; transition: color .2s;
}
.contact-link:hover { color: var(--text); }
.contact-link svg { color: var(--accent); flex-shrink: 0; }
.social-links { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }
.social-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .9rem; border: 1px solid var(--border); border-radius: 30px;
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
  transition: all .2s;
}
.social-pill:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }
.contact-right { display: flex; flex-direction: column; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: .75rem 1rem; font-family: var(--font); font-size: 0.88rem; color: var(--text);
  outline: none; transition: border-color .2s; -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: rgba(0,245,255,0.4); }
.form-group textarea { height: 130px; resize: vertical; }
.form-success, .form-error {
  display: flex; align-items: center; gap: .6rem;
  font-size: 0.85rem; padding: .75rem 1rem; border-radius: var(--radius-sm); margin-bottom: .5rem;
}
.form-success { color: #00e676; background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.15); }
.form-error   { color: #ff5252; background: rgba(255,82,82,0.08); border: 1px solid rgba(255,82,82,0.15); }
.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FOOTER ── */
footer.footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 1.2rem; }
.footer-socials a { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); transition: color .2s; }
.footer-socials a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .navbar {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border);
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 2rem 60px;
    gap: 3rem;
    position: relative;
    overflow: hidden;
  }
  .hero-right {
    display: flex !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    justify-content: flex-end;
    align-items: stretch;
    pointer-events: none;
  }
  .hero-photo-ring {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    animation: none !important;
    border: none !important;
    box-shadow: none !important;
  }
  .hero-photo-ring::before,
  .hero-photo-ring::after { display: none !important; }
  .hero-right::before { display: none !important; }
  .hero-photo-wrap {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .hero-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 0 !important;
    opacity: 0.7 !important;
    filter: none !important;
  }
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #000 30%, rgba(0,0,0,0.75) 55%, rgba(0,0,0,0.1) 100%),
                linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 25%);
    z-index: 1;
    pointer-events: none;
  }
  .hero-left {
    position: relative;
    z-index: 2;
  }
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-surface { grid-template-columns: 1fr; min-height: unset; }
  .about-surface-left,
  .about-surface-right { padding: 2.6rem 2rem; }
  .about-surface-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .about-surface-left::before { display: none; }
  .about-cta-row { gap: 1.4rem; padding-top: 1.8rem; }
  .about-stats-row { margin-top: 2rem; padding-top: 1.6rem; }
  .about-stat-num { font-size: 1.7rem; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(0,0,0,0.96); backdrop-filter: blur(16px);
    padding: 1.5rem 2rem; gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }
@keyframes scMobileFromLeft {
  0%   { opacity: 0; transform: translateX(-100vw); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes scMobileFromRight {
  0%   { opacity: 0; transform: translateX(100vw); }
  100% { opacity: 1; transform: translateX(0); }
}

  .services-grid { grid-template-columns: repeat(2, 1fr); overflow: hidden; }
  .service-card,
  .service-card.sc-from-left,
  .service-card.sc-from-top,
  .service-card.sc-from-bottom,
  .service-card.sc-from-right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .service-card.sc-mobile-left  { animation: scMobileFromLeft  0.85s cubic-bezier(0.16,1,0.3,1) forwards !important; opacity: 0 !important; }
  .service-card.sc-mobile-right { animation: scMobileFromRight 0.85s cubic-bezier(0.16,1,0.3,1) forwards !important; opacity: 0 !important; }
  .service-card { min-height: unset; height: 300px; overflow: hidden; }
  .ve-credits { flex: 1; height: auto; }
  .w3-ticker   { flex: 1; height: auto; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; overflow: hidden; }
  .service-card,
  .service-card.sc-from-left,
  .service-card.sc-from-top,
  .service-card.sc-from-bottom,
  .service-card.sc-from-right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .service-card.sc-mobile-left  { animation: scMobileFromLeft  0.85s cubic-bezier(0.16,1,0.3,1) forwards !important; opacity: 0 !important; }
  .service-card.sc-mobile-right { animation: scMobileFromRight 0.85s cubic-bezier(0.16,1,0.3,1) forwards !important; opacity: 0 !important; }
  .service-card { min-height: unset; height: 300px; overflow: hidden; }
  .hero-name { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-stats { gap: 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-surface { grid-template-columns: 1fr; }
  .about-surface-left,
  .about-surface-right { padding: 2.2rem 1.6rem; }
  .about-surface-left { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .about-surface-left::before { display: none; }
  .about-headline { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .about-cta-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .about-stats-row { gap: 0; }
  .about-stat-num { font-size: 1.5rem; }
  .skills-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  button { cursor: pointer; }
}