/* ============================================================
   adnanhassan.me — style.css
   Theme: Dark Charcoal + Amber Gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:root {
  --bg:        #0e1117;
  --bg-1:      #161b25;
  --bg-2:      #1c2333;
  --bg-3:      #212840;

  --gold:      #f59e0b;
  --gold-lt:   #fbbf24;
  --gold-dk:   #d97706;
  --gold-gl:   rgba(245,158,11,0.08);
  --gold-bd:   rgba(245,158,11,0.22);

  --text:      #eef0f4;
  --muted-1:   #a8b0c0;
  --muted-2:   #5a6478;
  --muted-3:   #2a3044;

  --border:    rgba(255,255,255,0.07);
  --radius:    10px;
  --radius-lg: 20px;

  --font:      'Plus Jakarta Sans', sans-serif;
  --mono:      'Fira Code', 'Courier New', monospace;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.noise-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.35s var(--ease), background 0.35s;
}
#nav.scrolled {
  padding: 15px 56px;
  background: rgba(14,17,23,0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.03em; display: flex; align-items: center; gap: 2px; }
.nav-logo .dot { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-1); position: relative; padding-bottom: 3px; transition: color 0.2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -1px; right: 100%; height: 1.5px;
  background: var(--gold); transition: right 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-hire {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 24px; background: var(--gold-gl); border: 1px solid var(--gold-bd);
  color: var(--gold); border-radius: 8px; display: inline-block;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.nav-hire:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); box-shadow: 0 0 20px rgba(245,158,11,0.25); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 490;
  background: rgba(14,17,23,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 36px;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay a { font-size: 2rem; font-weight: 700; color: var(--muted-1); transition: color 0.2s; }
.mobile-overlay a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: 140px 56px 100px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 72px;
}
.hero-glow-dynamic {
  position: absolute; top: 20%; left: 80%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,158,11,0.10) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%); transition: opacity 0.3s ease; opacity: 0.8;
}
.hero-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.12;
  background-image: radial-gradient(circle, var(--muted-2) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 80% at 65% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 65% 50%, black 20%, transparent 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.6s 0.1s var(--ease) forwards;
}
.hero-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.hero-title {
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.7s 0.2s var(--ease) forwards;
}
.hero-title em { font-style: normal; color: var(--gold); }
.glitch-text { position: relative; display: inline-block; color: var(--gold); }
.glitch-text::after {
  content: attr(data-text); position: absolute; left: 0; top: 0;
  width: 0; height: 100%; color: #fff; overflow: hidden;
  transition: width 0.5s ease; white-space: nowrap;
}
.hero-title:hover .glitch-text::after { width: 100%; }
.hero-sub {
  font-size: 1rem; font-weight: 400; color: var(--muted-1);
  max-width: 460px; line-height: 1.8; margin-bottom: 44px;
  opacity: 0; animation: fadeUp 0.7s 0.35s var(--ease) forwards;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.5s var(--ease) forwards;
}

/* ── BUTTONS ── */
.btn-magnetic { transition: transform 0.2s cubic-bezier(0.25,1,0.5,1), background 0.2s, box-shadow 0.2s, border-color 0.2s; display: inline-flex; }
.btn-primary {
  align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 14px 28px;
  background: var(--gold); color: #0e1117; border-radius: var(--radius);
}
.btn-primary:hover { background: var(--gold-lt); box-shadow: 0 8px 28px rgba(245,158,11,0.30); }
.btn-outline {
  align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 13px 28px;
  border: 1px solid var(--muted-3); color: var(--muted-1); border-radius: var(--radius);
}
.btn-outline:hover { border-color: var(--gold-bd); color: var(--gold); }

/* ─────────────────────────
   TERMINAL
───────────────────────── */
.hero-terminal-wrap {
  position: relative; z-index: 2;
  opacity: 0; animation: fadeUp 0.8s 0.55s var(--ease) forwards;
}

.terminal {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(245,158,11,0.08),
    0 24px 64px rgba(0,0,0,0.6),
    0 0 80px rgba(245,158,11,0.04);
}

/* Title bar */
.terminal-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: #161b22;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.terminal-dots { display: flex; gap: 7px; }
.t-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.t-dot--red    { background: #ff5f57; }
.t-dot--yellow { background: #ffbd2e; }
.t-dot--green  { background: #28c840; }
.terminal-title {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--muted-2); margin: 0 auto;
  letter-spacing: 0.04em;
}

/* Terminal body */
.terminal-body {
  padding: 24px 24px 28px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.9;
  min-height: 320px;
  color: #c9d1d9;
}

/* Line types */
.t-line { display: block; white-space: pre-wrap; word-break: break-all; }
.t-prompt { color: var(--gold); }
.t-cmd    { color: #c9d1d9; }
.t-comment{ color: #484f58; }
.t-key    { color: #79c0ff; }
.t-val    { color: #a5d6ff; }
.t-str    { color: #a8ff78; }
.t-num    { color: #f2a65a; }
.t-success{ color: #28c840; }
.t-muted  { color: #5a6478; }
.t-gold   { color: var(--gold); font-weight: 500; }

/* Blinking cursor */
.t-cursor {
  display: inline-block;
  width: 8px; height: 1em;
  background: var(--gold);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  border-radius: 1px;
}
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:0; } }

/* ── MARQUEE ── */
.hero-marquee-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  border-top: 1px solid var(--border); padding: 16px 0; overflow: hidden;
  opacity: 0; animation: fadeIn 0.8s 1s forwards; z-index: 2;
}
.hero-marquee { display: flex; white-space: nowrap; animation: marquee 28s linear infinite; }
.hero-marquee-inner { display: flex; }
.marq-item {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); padding: 0 30px; display: flex; align-items: center; gap: 30px;
}
.marq-item::after { content: '◆'; color: var(--gold); font-size: 0.4rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ── STATS BAND ── */
.stats-band {
  padding: 80px 56px; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); background: var(--bg-1); position: relative; z-index: 2;
}
.stats-band-inner { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-col { padding: 0 44px; border-right: 1px solid var(--border); }
.stat-col:first-child { padding-left: 0; }
.stat-col:last-child  { padding-right: 0; border-right: none; }
.stat-num  { font-size: 3.2rem; font-weight: 800; color: var(--gold); letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
.stat-label{ font-size: 0.8rem; font-weight: 400; color: var(--muted-1); line-height: 1.55; }

/* ── SECTION COMMONS ── */
.section-wrap  { padding: 110px 56px; position: relative; z-index: 2; }
.section-inner { max-width: 1040px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ''; display: block; width: 18px; height: 1px; background: var(--gold); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 18px; }
.section-desc { font-size: 0.95rem; font-weight: 400; color: var(--muted-1); max-width: 480px; line-height: 1.8; }

/* ── PORTFOLIO ── */
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 20px; flex-wrap: wrap; }
.view-all { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); align-items: center; gap: 8px; }
.tools-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.spotlight-card {
  position: relative; overflow: hidden; background: var(--bg-1); padding: 32px;
  border: 1px solid transparent; cursor: default;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.spotlight-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(245,158,11,0.08), transparent 40%);
  opacity: 0; transition: opacity 0.4s var(--ease); z-index: 1;
}
.spotlight-card > * { position: relative; z-index: 2; pointer-events: auto; }
.spotlight-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-color: var(--gold-bd); }
.spotlight-card:hover::before { opacity: 1; }
.tool-card.span2 { grid-column: span 2; }
.tool-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 100%; height: 2px;
  background: var(--gold); transition: right 0.45s var(--ease); z-index: 3;
}
.tool-card:hover::after { right: 0; }
.tool-tag  { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: block; }
.tool-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.tool-desc { font-size: 0.83rem; font-weight: 400; color: var(--muted-1); line-height: 1.65; }
.tool-badge {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--gold); padding: 5px 12px; border-radius: 100px;
  font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-lt);
}
.tool-num {
  position: absolute; bottom: 20px; right: 22px;
  font-size: 2.8rem; font-weight: 800; color: rgba(255,255,255,0.04); line-height: 1;
  user-select: none; pointer-events: none;
}

/* ── COLLAB ── */
.collab-section { padding: 0 56px 110px; position: relative; z-index: 2; }
.collab-box {
  max-width: 1040px; margin: 0 auto; border-radius: var(--radius-lg); padding: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.collab-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.collab-title { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 18px; }
.collab-text  { font-size: 0.88rem; font-weight: 400; color: var(--muted-1); line-height: 1.8; margin-bottom: 24px; }
.collab-link  { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); align-items: center; gap: 8px; }
.collab-stats { display: flex; flex-direction: column; gap: 14px; }
.collab-stat  { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; display: flex; align-items: center; gap: 20px; transition: border-color 0.2s, background 0.2s; }
.collab-stat:hover { border-color: var(--gold-bd); background: rgba(255,255,255,0.02); }
.cs-num  { font-size: 2rem; font-weight: 800; color: var(--gold); letter-spacing: -0.02em; white-space: nowrap; }
.cs-label{ font-size: 0.8rem; font-weight: 400; color: var(--muted-1); line-height: 1.5; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-text  { font-size: 0.92rem; color: var(--muted-1); line-height: 1.85; margin-bottom: 28px; }
.skills-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip  {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--border); border-radius: 6px; padding: 7px 14px; color: var(--muted-1);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.skill-chip:hover { border-color: var(--gold-bd); color: var(--gold); background: var(--gold-gl); }
.timeline { position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--muted-3); }
.tl-item { position: relative; padding-left: 28px; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot  { position: absolute; left: -25px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--bg); box-shadow: 0 0 0 3px rgba(245,158,11,0.18); }
.tl-year { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tl-text { font-size: 0.85rem; color: var(--muted-1); line-height: 1.75; }
.tl-text strong { color: var(--text); font-weight: 600; }

/* ── SERVICES ── */
.services-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service-card  { border-radius: var(--radius-lg); padding: 36px; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 100%; height: 2px; background: var(--gold); transition: right 0.45s var(--ease); z-index: 3; }
.service-card:hover::after { right: 0; }
.service-icon { margin-bottom: 18px; }
.service-name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; }
.service-desc { font-size: 0.84rem; color: var(--muted-1); line-height: 1.75; }

/* ── CTA ── */
.cta-section { padding: 0 56px 110px; position: relative; z-index: 2; }
.cta-box {
  max-width: 1040px; margin: 0 auto; background: var(--gold); border-radius: var(--radius-lg);
  padding: 72px 64px; display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 300px; height: 300px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; pointer-events: none; }
.cta-box::after  { content: ''; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 200px; height: 200px; border: 1px solid rgba(255,255,255,0.10); border-radius: 50%; pointer-events: none; }
.cta-left  { position: relative; z-index: 1; }
.cta-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(0,0,0,0.5); margin-bottom: 10px; }
.cta-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; color: #0e1117; line-height: 1.05; }
.cta-right { position: relative; z-index: 1; flex-shrink: 0; }
.btn-dark  { align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 16px 32px; background: #0e1117; color: var(--gold); border-radius: var(--radius); }
.btn-dark:hover { background: #161b25; box-shadow: 0 10px 28px rgba(0,0,0,0.4); }

/* ── CONTACT ── */
.contact-strip { padding: 0 56px 80px; position: relative; z-index: 2; }
.contact-inner {
  max-width: 1040px; margin: 0 auto; background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.contact-info .ci-name { font-size: 1rem; font-weight: 700; }
.contact-info .ci-loc  { font-size: 0.78rem; color: var(--muted-1); margin-top: 3px; }
.contact-links  { display: flex; gap: 10px; }
.contact-link   { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--border); border-radius: var(--radius); padding: 9px 16px; color: var(--muted-1); align-items: center; gap: 7px; }
.contact-link:hover { border-color: var(--gold-bd); color: var(--gold); background: var(--gold-gl); }
.contact-link svg { flex-shrink: 0; }

/* ── FLOATING WA ── */
.floating-wa {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  background: #25D366; color: white; width: 60px; height: 60px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s;
  animation: pulseWa 2s infinite;
}
.floating-wa:hover { transform: scale(1.1) translateY(-5px); box-shadow: 0 8px 25px rgba(37,211,102,0.6); animation: none; }
@keyframes pulseWa { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,0.6); } 70%{ box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 24px 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; z-index: 2; }
.footer-logo { font-size: 0.9rem; font-weight: 800; }
.footer-logo span { color: var(--gold); }
.footer-copy { font-size: 0.72rem; color: var(--muted-2); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  #nav { padding: 18px 24px; }
  #nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-hire { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 110px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-glow-dynamic { display: none; }
  .hero-terminal-wrap { display: none; }

  .stats-band { padding: 60px 24px; }
  .stats-band-inner { grid-template-columns: repeat(2,1fr); gap: 32px 0; }
  .stat-col { border-right: none; border-bottom: 1px solid var(--border); padding: 0 24px 32px; }
  .stat-col:nth-child(odd)  { padding-left: 0; }
  .stat-col:nth-child(3), .stat-col:nth-child(4) { border-bottom: none; padding-bottom: 0; }

  .section-wrap   { padding: 72px 24px; }
  .collab-section { padding: 0 24px 72px; }
  .cta-section    { padding: 0 24px 72px; }
  .contact-strip  { padding: 0 24px 60px; }
  footer          { padding: 20px 24px; }

  .tools-grid { grid-template-columns: 1fr; }
  .tool-card.span2 { grid-column: span 1; }
  .collab-box { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; padding: 48px 32px; text-align: center; }
  .cta-right { width: 100%; display: flex; justify-content: center; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .floating-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .floating-wa svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; transform: none !important; }
  .stat-num { font-size: 2.6rem; }
  .contact-links { flex-direction: column; width: 100%; }
  .contact-link  { justify-content: center; transform: none !important; }
}



/* ── FOOTER LEGAL LINKS ── */
.footer-legal {
  width: 100%;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.68rem;
  color: var(--muted-2);
  text-decoration: none;
  padding: 0 8px;
  border-right: 1px solid var(--border);
  line-height: 1;
  transition: color 0.15s;
}
.footer-legal a:last-child { border-right: none; }
.footer-legal a:hover { color: var(--gold); }
 