/* ============================================================
   Noor — Tech Enthusiast Portfolio
   Modern dark aesthetic · Sora / Inter / JetBrains Mono
   ============================================================ */

:root {
  --bg: #060910;
  --bg-2: #0a0f1c;
  --bg-3: #0e1526;
  --surface: rgba(15, 23, 42, 0.55);
  --surface-strong: rgba(17, 26, 46, 0.85);
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(52, 245, 197, 0.35);

  --text: #e7edf7;
  --muted: #8b98ad;
  --muted-2: #5f6d82;

  --accent: #34f5c5;      /* spring mint  */
  --accent-2: #22d3ee;    /* cyan         */
  --accent-3: #7c5cff;    /* violet       */
  --warn: #fbbf24;
  --danger: #f87171;

  --grad: linear-gradient(100deg, #34f5c5 0%, #22d3ee 45%, #7c5cff 100%);

  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --max-w: 1180px;
  --nav-h: 72px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.65);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(52, 245, 197, 0.25); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #1c2842; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2a3a5c; }

/* ---------- Utilities ---------- */
.container { width: min(var(--max-w), 92%); margin-inline: auto; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.centered { margin-inline: auto; text-align: center; }

.section-head[data-reveal] { transition-delay: 0.05s; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  width: 26px; height: 1px;
  background: var(--grad);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.section-sub { max-width: 56ch; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(6, 9, 16, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(6, 9, 16, 0.88);
  border-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
}

.nav-wrap {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: radial-gradient(120% 120% at 30% 20%, rgba(52, 245, 197, 0.14), rgba(124, 92, 255, 0.1));
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 22px -6px rgba(52, 245, 197, 0.45);
  animation: brandGlow 3.6s ease-in-out infinite;
}
@keyframes brandGlow {
  0%, 100% { box-shadow: 0 0 22px -6px rgba(52, 245, 197, 0.45); }
  50%      { box-shadow: 0 0 34px -6px rgba(52, 245, 197, 0.72); }
}

/* radar ping emitted from the light-point of the mark */
.mark-ping {
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.brand-name {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.005em;
}
.brand-name .b-n {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.brand-name .b-oor { color: var(--text); }

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--accent);
  border: 1px solid rgba(52, 245, 197, 0.28);
  background: rgba(52, 245, 197, 0.06);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Nav links ---------- */
.site-nav { display: flex; align-items: center; gap: 6px; }

.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { margin-left: 10px; }

/* ---------- Mobile toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  z-index: 110;
}
.nav-toggle .bar {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #04120d;
  background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(52, 245, 197, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(52, 245, 197, 0.7);
}

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }
/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite alternate;
}
.orb-1 {
  width: 460px; height: 460px;
  top: -140px; left: -120px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 65%);
}
.orb-2 {
  width: 560px; height: 560px;
  bottom: -200px; right: -160px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.5), transparent 65%);
  animation-delay: -6s;
}
.orb-3 {
  width: 300px; height: 300px;
  top: 30%; right: 30%;
  background: radial-gradient(circle, rgba(52, 245, 197, 0.35), transparent 65%);
  animation-delay: -11s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-top: clamp(24px, 4vw, 48px);
}

/* ---------- Hero copy ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(52, 245, 197, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52, 245, 197, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(52, 245, 197, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 245, 197, 0); }
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  max-width: 52ch;
  margin-bottom: 36px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero visual ---------- */
.hero-visual { position: relative; padding: 10px 0 30px; }
.terminal-card {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(20, 30, 52, 0.92), rgba(9, 14, 26, 0.95));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), 0 0 60px -30px rgba(52, 245, 197, 0.4);
  overflow: hidden;
  transform: rotate(-1.5deg);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.terminal-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted-2);
}

.terminal-body {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 2.1;
  padding: 22px 24px;
}
.t-prompt { color: var(--accent); }
.t-path { color: var(--accent-2); }
.t-cmd { color: var(--text); }
.t-line { color: var(--muted); }
.t-ok { color: var(--accent); }
.t-glow {
  color: var(--accent-3);
  text-shadow: 0 0 14px rgba(124, 92, 255, 0.8);
}

.radar-card {
  position: absolute;
  right: -12px;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  background: rgba(13, 20, 36, 0.9);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(1.5deg); }
  50%      { transform: translateY(-10px) rotate(1.5deg); }
}

.radar {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(52, 245, 197, 0.4);
  background: repeating-conic-gradient(from 0deg, transparent 0deg 60deg, rgba(52, 245, 197, 0.08) 60deg 90deg);
}
.radar::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(52, 245, 197, 0.28);
}
.radar::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 50%; height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  animation: sweep 3s linear infinite;
}
@keyframes sweep {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.radar-ping {
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin: -4px 0 0 -4px;
  background: var(--accent);
}
.radar-ping::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.ping-2 { background: var(--accent-2); }
.ping-2::after { animation-delay: 0.7s; }
.ping-3 { background: var(--accent-3); }
.ping-3::after { animation-delay: 1.3s; }
@keyframes ping {
  0%        { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(4.5); opacity: 0; }
}

.radar-meta { display: flex; flex-direction: column; gap: 3px; }
.radar-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.radar-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
}

/* ---------- Stats ---------- */
.stats-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(56px, 7vw, 88px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: rgba(9, 14, 26, 0.85); padding: 28px 20px; text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.stat-num .count { color: var(--accent); }
.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* =============================================================
   SERVICES
   ============================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(18, 27, 47, 0.7), rgba(9, 14, 26, 0.8));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8), 0 0 40px -24px rgba(52, 245, 197, 0.5);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(52, 245, 197, 0.08);
  border: 1px solid rgba(52, 245, 197, 0.2);
  transition: color 0.3s ease, background 0.3s ease;
}
.service-card:nth-child(2n) .service-icon {
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.2);
}
.service-card:nth-child(3n) .service-icon {
  color: var(--accent-3);
  background: rgba(124, 92, 255, 0.1);
  border-color: rgba(124, 92, 255, 0.25);
}
.service-card:hover .service-icon {
  color: #04120d;
  background: var(--grad);
  border-color: transparent;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.service-tags li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

/* =============================================================
   ABOUT
   ============================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.profile-card {
  position: relative;
  padding: 40px 32px;
  text-align: center;
  border-radius: var(--r-xl);
  background: linear-gradient(170deg, rgba(20, 30, 52, 0.85), rgba(9, 14, 26, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.profile-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(52, 245, 197, 0.5), transparent 40%, rgba(124, 92, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  margin: 0 auto 20px;
  border-radius: 28px;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: #04120d;
  background: var(--grad);
  box-shadow: 0 14px 36px -12px rgba(52, 245, 197, 0.6);
  transform: rotate(-4deg);
}

.profile-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.profile-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  margin: 6px 0 18px;
  letter-spacing: 0.04em;
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono) ;
  font-size: 0.76rem;
  color: var(--muted);
}
.profile-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.profile-chips span {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
}

.about-quote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgba(124, 92, 255, 0.08);
  border: 1px solid rgba(124, 92, 255, 0.25);
  color: var(--muted);
  font-size: 0.9rem;
}
.about-quote .quote-mark {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 0.7;
  color: var(--accent-3);
  margin-top: 2px;
  text-shadow: 0 0 18px rgba(124, 92, 255, 0.5);
}

.about-copy .kicker { margin-top: 8px; }

.about-points { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }

.about-point { display: flex; gap: 16px; align-items: flex-start; }

.point-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-top: 2px;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(52, 245, 197, 0.08);
  border: 1px solid rgba(52, 245, 197, 0.2);
}

.about-point h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.about-point p { color: var(--muted); font-size: 0.92rem; }

/* =============================================================
   PROCESS
   ============================================================= */
.process { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 20px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p { color: var(--muted); font-size: 0.9rem; }

.step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -22px;
  width: 22px;
  height: 1px;
  background: var(--grad);
  opacity: 0.6;
}
.step:last-child::after { display: none; }
/* =============================================================
   CONTACT
   ============================================================= */
.contact { overflow: hidden; }
.contact::before {
  content: '';
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 60%;
  background: radial-gradient(50% 100% at 50% 100%, rgba(52, 245, 197, 0.08), transparent 70%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.contact-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.contact-card:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.contact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(52, 245, 197, 0.08);
  border: 1px solid rgba(52, 245, 197, 0.2);
}
.contact-card:nth-child(2) .contact-icon {
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.2);
}

.contact-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-value {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  word-break: break-all;
}
.contact-hint { font-size: 0.82rem; color: var(--muted-2); }

.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: rgba(251, 191, 36, 0.07);
  border: 1px solid rgba(251, 191, 36, 0.22);
  color: var(--muted);
  font-size: 0.88rem;
}
.contact-note svg { color: var(--warn); flex-shrink: 0; margin-top: 3px; }

/* ---------- Form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(18, 27, 47, 0.7), rgba(9, 14, 26, 0.85));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(6, 9, 16, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-2); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(52, 245, 197, 0.12);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b98ad' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted-2);
  text-align: center;
}

.form-note.error { color: var(--danger); }

/* Honeypot — visually hidden, only bots fill it in */
.hp-field { display: none; }

.contact-form .btn svg { transition: transform 0.25s ease; }
.contact-form .btn:hover svg { transform: translateX(3px) translateY(-1px); }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, #04060c 100%);
  padding-top: clamp(48px, 6vw, 72px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
}

.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 16px; max-width: 34ch; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted-2);
}
.footer-signoff { font-family: var(--font-mono); }
/* =============================================================
   REVEAL ANIMATIONS
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }

.hero-copy [data-reveal],
.hero-grid > [data-reveal] { transition-delay: 0.12s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px 5%;
    background: rgba(6, 9, 16, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav .nav-link { padding: 14px 12px; font-size: 1.02rem; }
  .nav-cta { margin: 6px 0 0; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .radar-card { right: 0; }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
/* =============================================================
   RESPONSE LOG
   ============================================================= */
.log-card {
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(18, 27, 47, 0.7), rgba(9, 14, 26, 0.9));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.log-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.log-bar-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.log-bar-title svg { color: var(--accent); }

.log-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.16em;
}

.log-updated {
  padding: 1px 8px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
  color: var(--warn);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.log-row {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 1.6fr 0.85fr;
  gap: 14px;
  align-items: center;
  padding: 15px 20px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: background 0.2s ease;
}
.log-row:not(.log-head):hover { background: rgba(52, 245, 197, 0.04); }
.log-row + .log-row { border-top: 1px solid var(--line); }

.log-head {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.02);
  padding-top: 10px;
  padding-bottom: 10px;
}

.log-date { color: var(--muted-2); }
.log-row > span:nth-child(2) { color: var(--text); font-weight: 500; }

.log-status {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.log-status.ok { color: var(--accent); background: rgba(52, 245, 197, 0.1); border: 1px solid rgba(52, 245, 197, 0.3); }
.log-status.warn { color: var(--warn); background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonials { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
}

.testimonial-card .quote-mark {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.85;
  text-shadow: 0 0 24px rgba(52, 245, 197, 0.5);
}

.testimonial-card blockquote {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.75;
  flex: 1;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.t-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: #04120d;
  background: var(--grad);
}
.t-avatar-2 { background: linear-gradient(100deg, #22d3ee, #7c5cff); }
.t-avatar-3 { background: linear-gradient(100deg, #7c5cff, #34f5c5); }

.t-meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.t-name { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--text); }
.t-role { font-size: 0.78rem; color: var(--muted-2); }

/* ---------- Log + testimonials responsive ---------- */
@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .log-row {
    grid-template-columns: 0.7fr 1.4fr 1fr;
  }
  .log-row .log-status { grid-column: 2 / 4; justify-self: start; }
  .log-head { display: none; }
}

@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .log-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 18px; }
  .log-row .log-date { color: var(--accent-2); }
  .log-row .log-status { grid-column: auto; margin-top: 4px; }
}