/* ===========================================================
   Norify – Corporate Site
   =========================================================== */
:root {
  --bg: #07090f;
  --bg-2: #0b0f18;
  --surface: #0f1422;
  --surface-2: #131a2b;
  --border: #1f2740;
  --border-strong: #2b3556;
  --text: #eaf0fb;
  --muted: #8b95ad;
  --muted-2: #5b6378;

  --brand: #7c5cff;
  --brand-2: #22d3ee;
  --brand-3: #f472b6;
  --brand-grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 50%, #f472b6 100%);
  --brand-soft: rgba(124, 92, 255, 0.16);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-1: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 60px rgba(124,92,255,0.35);
  --trans: 200ms cubic-bezier(.4,.0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background FX ---------- */
.bg-orbs {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-orbs::before,
.bg-orbs::after {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.bg-orbs::before {
  background: #7c5cff;
  top: -120px; left: -120px;
}
.bg-orbs::after {
  background: #22d3ee;
  top: 30%; right: -160px;
  opacity: 0.35;
}
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7,9,15,0.6);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -.2px;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--brand-grad);
  display: grid; place-items: center;
  color: white; font-weight: 800;
  box-shadow: var(--shadow-glow);
}
.logo b { color: var(--text); }
.logo span { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--muted);
  font-weight: 500; font-size: 14px;
  transition: var(--trans);
  position: relative;
}
.nav a:hover { color: var(--text); }
.nav a.cta {
  background: var(--brand-grad);
  color: white;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(124,92,255,0.35);
}
.nav a.cta:hover { transform: translateY(-1px); }
.nav a.cta-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.nav a.cta-card:hover { background: rgba(255,255,255,0.1); border-color: var(--brand); }

/* Hero card button */
.btn-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 14px;
}
.btn-card:hover { background: rgba(255,255,255,0.08); border-color: var(--brand-2); }

.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--trans);
  font-size: 15px;
}
.btn-primary {
  background: var(--brand-grad);
  color: white;
  box-shadow: 0 10px 30px rgba(124,92,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(124,92,255,0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 110px 0 90px;
  text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22d3ee; box-shadow: 0 0 10px #22d3ee;
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 0 0 22px;
  font-weight: 800;
}
.hero h1 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 19px;
  color: var(--muted);
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-meta {
  display: flex; justify-content: center; gap: 36px;
  margin-top: 70px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--text); font-size: 28px; font-weight: 700; display: block; }
.hero-meta div { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Sections ---------- */
section { position: relative; z-index: 1; padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 14px; font-weight: 600;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0 0 14px;
  letter-spacing: -.5px;
  font-weight: 800;
}
.section-head p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 17px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  transition: var(--trans);
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at var(--mx,50%) 0%, var(--brand-soft), transparent 60%);
  opacity: 0; transition: var(--trans);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  border: 1px solid rgba(124,92,255,0.3);
  color: #c7b8ff;
  margin-bottom: 22px;
  font-size: 22px;
}
.service-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; letter-spacing: -.2px; }
.service-card p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card li {
  display: flex; gap: 10px; align-items: center;
  font-size: 14px; color: var(--muted); margin-bottom: 8px;
}
.service-card li::before { content: "✓"; color: var(--brand-2); font-weight: 700; }

/* ---------- About / Stats ---------- */
.about {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.about h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 18px; letter-spacing: -.5px; font-weight: 800; }
.about p { color: var(--muted); font-size: 16px; margin: 0 0 16px; }
.about-stats {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
  margin-top: 28px;
}
.stat-tile {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
}
.stat-tile b {
  display: block;
  font-size: 32px;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800;
}
.stat-tile span { color: var(--muted); font-size: 13px; }

.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid; place-items: center;
  box-shadow: var(--shadow-1);
}
.about-visual::before {
  content: "</>";
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(80px, 12vw, 160px);
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800;
  letter-spacing: -.05em;
}
.about-visual::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(300px 300px at 20% 20%, rgba(124,92,255,0.2), transparent 60%),
    radial-gradient(300px 300px at 80% 80%, rgba(34,211,238,0.18), transparent 60%);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process-step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
}
.process-step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--brand-2);
  margin-bottom: 18px;
  font-weight: 700;
}
.process-step h4 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.process-step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Tech ---------- */
.tech-bar {
  display: flex; justify-content: center; gap: 50px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.tech-bar span { font-weight: 600; font-size: 15px; letter-spacing: .05em; opacity: .8; transition: var(--trans); }
.tech-bar span:hover { color: var(--text); opacity: 1; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(124,92,255,0.35), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(28px, 3.5vw, 44px); margin: 0 0 14px; font-weight: 800; letter-spacing: -.5px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 17px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px;
}
.contact-info h3 { margin: 0 0 14px; font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.contact-info p { color: var(--muted); margin: 0 0 28px; }
.contact-info ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info li { display: flex; gap: 14px; align-items: center; color: var(--text); font-size: 15px; }
.contact-info li i {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--brand-soft);
  color: #c7b8ff;
  font-style: normal;
}

.contact-form {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  display: grid; gap: 16px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: var(--trans);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { justify-self: start; }
.contact-form.sent {
  animation: form-submit-pulse 780ms ease;
}
.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.form-status.ok {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dffcf0;
  font-weight: 600;
}
.form-status.ok::before {
  content: "\2713";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #34d399, #22d3ee);
  color: #07110d;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(52, 211, 153, .45);
  animation: success-pop 520ms cubic-bezier(.2, 1.4, .4, 1);
}
.form-status.error { color: #fca5a5; }

@keyframes form-submit-pulse {
  0% { border-color: var(--border); box-shadow: none; }
  35% { border-color: rgba(52, 211, 153, .75); box-shadow: 0 0 0 4px rgba(52, 211, 153, .12), 0 0 34px rgba(34, 211, 238, .18); }
  100% { border-color: var(--border); box-shadow: none; }
}

@keyframes success-pop {
  0% { transform: scale(.55); opacity: 0; }
  70% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Requests ---------- */
.requests-hero {
  padding: 80px 0 36px;
}
.requests-hero .lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
.requests-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 26px 0 0;
  flex-wrap: wrap;
}
.requests-toolbar input {
  width: min(100%, 360px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  outline: none;
}
.requests-toolbar input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.requests-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.request-stat,
.request-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
}
.request-stat {
  padding: 22px;
}
.request-stat b {
  display: block;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 8px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.request-stat span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.requests-list {
  display: grid;
  gap: 16px;
}
.request-card {
  padding: 24px;
}
.request-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}
.request-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}
.request-card .meta {
  color: var(--muted);
  font-size: 13px;
}
.request-card .message {
  color: var(--text);
  white-space: pre-wrap;
  margin: 16px 0 0;
}
.request-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--brand-soft);
  border: 1px solid rgba(124,92,255,0.3);
  color: #c7b8ff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}
.empty-state {
  padding: 44px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.025);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-grid p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-grid h5 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid li a { color: var(--text); opacity: .8; transition: var(--trans); font-size: 14px; }
.footer-grid li a:hover { opacity: 1; color: var(--brand-2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted); font-size: 13px;
  flex-wrap: wrap; gap: 10px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .requests-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .menu-btn {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text); cursor: pointer;
  }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px; gap: 14px;
  }
  .services-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  .hero-meta { gap: 24px; margin-top: 50px; }
  section { padding: 60px 0; }
  .cta-band { padding: 50px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .request-card header { flex-direction: column; }
}

/* ===========================================================
   Norify — Enhanced Animations & FX
   =========================================================== */

/* ---------- Animated background orbs ---------- */
@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(45px, -35px) scale(1.07); }
  66%  { transform: translate(-30px, 45px) scale(0.93); }
  100% { transform: translate(0, 0) scale(1); }
}
.bg-orbs::before { animation: orb-drift 15s ease-in-out infinite; }
.bg-orbs::after  { animation: orb-drift 20s ease-in-out infinite reverse; }

/* ---------- Lazy cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 400px; height: 400px;
  margin: -200px 0 0 -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,255,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* ---------- Logo wordmark ---------- */
.logo-wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.4px;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes logo-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(124,92,255,0.45); }
  50%       { box-shadow: 0 0 42px rgba(124,92,255,0.9), 0 0 64px rgba(34,211,238,0.35); }
}
.logo-mark { animation: logo-glow 3.5s ease-in-out infinite; }

/* ---------- Hero staggered entrance ---------- */
@keyframes hero-up {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow        { animation: hero-up 0.65s cubic-bezier(.2,1,.4,1) both; animation-delay: 0.05s; }
.hero h1              { animation: hero-up 0.7s  cubic-bezier(.2,1,.4,1) both; animation-delay: 0.2s;  }
.hero .lead           { animation: hero-up 0.7s  cubic-bezier(.2,1,.4,1) both; animation-delay: 0.38s; }
.hero .hero-cta       { animation: hero-up 0.7s  cubic-bezier(.2,1,.4,1) both; animation-delay: 0.54s; }
.hero .hero-meta      { animation: hero-up 0.7s  cubic-bezier(.2,1,.4,1) both; animation-delay: 0.68s; }
.hero .hero-scroll-hint { animation: hero-up 0.7s cubic-bezier(.2,1,.4,1) both; animation-delay: 0.86s; }

/* ---------- Animated gradient text ---------- */
@keyframes grad-pan {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
.hero h1 .grad {
  background-size: 300% 300%;
  animation: grad-pan 5s ease infinite;
}

/* ---------- Eyebrow dot ping ---------- */
@keyframes dot-ping {
  0%, 100% { box-shadow: 0 0 8px #22d3ee; }
  50%       { box-shadow: 0 0 0 8px rgba(34,211,238,0.18), 0 0 18px #22d3ee; }
}
.eyebrow .dot { animation: dot-ping 2.4s ease-in-out infinite; }

/* ---------- Hero particles canvas ---------- */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

/* ---------- Scroll hint ---------- */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 52px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--muted-2), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-arrow::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--brand-2), transparent);
  animation: scroll-flow 1.9s ease-in-out infinite;
}
@keyframes scroll-flow {
  from { top: -100%; }
  to   { top: 100%;  }
}

/* ---------- Services: 3D tilt + glow ---------- */
.services-grid { perspective: 1200px; }
.service-card {
  transform-style: preserve-3d;
  transition: transform 0.18s ease, border-color var(--trans), box-shadow var(--trans);
}
.service-card:hover { box-shadow: 0 22px 60px rgba(0,0,0,0.45), var(--shadow-glow); }
.service-icon { transition: transform 0.32s cubic-bezier(.2,1.6,.4,1), box-shadow 0.3s ease; }
.service-card:hover .service-icon {
  transform: scale(1.2) rotate(-5deg);
  box-shadow: 0 0 26px rgba(124,92,255,0.55);
}

/* ---------- Reveal stagger for grids ---------- */
.services-grid .service-card:nth-child(1).reveal { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2).reveal { transition-delay: 0.18s; }
.services-grid .service-card:nth-child(3).reveal { transition-delay: 0.31s; }

.process-grid .process-step:nth-child(1).reveal { transition-delay: 0.05s; }
.process-grid .process-step:nth-child(2).reveal { transition-delay: 0.18s; }
.process-grid .process-step:nth-child(3).reveal { transition-delay: 0.31s; }
.process-grid .process-step:nth-child(4).reveal { transition-delay: 0.44s; }

/* ---------- Process steps: top accent bar + hover ---------- */
.process-step {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand-grad);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.2,1,.4,1);
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.process-step:hover::after { transform: scaleX(1); }

/* ---------- Tech bar: auto-scroll marquee ---------- */
.tech-bar {
  overflow: hidden;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.tech-track {
  display: flex;
  gap: 54px;
  width: max-content;
  padding: 28px 0;
  animation: tech-scroll 30s linear infinite;
}
.tech-track:hover { animation-play-state: paused; }
.tech-track span {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  cursor: default;
}
.tech-track span:hover { color: var(--text); text-shadow: 0 0 14px rgba(124,92,255,0.6); }
@keyframes tech-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- CTA band: shimmer sweep ---------- */
.cta-band { isolation: isolate; }
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 38%,
    rgba(255,255,255,0.045) 50%,
    transparent 62%
  );
  background-size: 200% 100%;
  animation: cta-shimmer 5.5s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }
@keyframes cta-shimmer {
  from { background-position: -100% 0; }
  to   { background-position: 200%  0; }
}

/* ---------- About visual: float + glow ---------- */
@keyframes visual-float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-16px); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 0.85; }
}
.about-visual::before { animation: visual-float 5.5s ease-in-out infinite; }
.about-visual::after  { animation: glow-pulse  5.5s ease-in-out infinite; }

/* ---------- Stat tiles: hover lift ---------- */
.stat-tile {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.stat-tile:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}

/* ---------- Buttons: pulse ring ---------- */
@keyframes btn-ring {
  0%   { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0;    }
}
.btn-primary { position: relative; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(124,92,255,0.55);
  opacity: 0;
  pointer-events: none;
}
.btn-primary:hover::after { animation: btn-ring 0.65s ease forwards; }

/* ---------- Contact info items: slide-in icon hover ---------- */
.contact-info li i {
  transition: transform 0.25s cubic-bezier(.2,1.4,.4,1), box-shadow 0.25s ease;
}
.contact-info li:hover i {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 0 18px rgba(124,92,255,0.45);
}

/* ---------- Footer link hover: glow ---------- */
.footer-grid li a { transition: color var(--trans), text-shadow var(--trans); }
.footer-grid li a:hover { text-shadow: 0 0 10px rgba(34,211,238,0.4); }

/* ---------- Header: scroll shadow ---------- */
.site-header { transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
