/* ================================================================
   HUBS.IS — Redesign
   Collaborative AI · Premium editorial-tech · Dark + electric lime
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Geist+Mono:wght@300..700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink:        #0a0a0b;
  --ink-2:      #0f1014;
  --ink-3:      #16171d;
  --ink-4:      #1e1f27;
  --ink-5:      #2a2b34;
  --line:       rgba(255,255,255,0.08);
  --line-2:     rgba(255,255,255,0.16);
  --line-3:     rgba(255,255,255,0.24);
  --fog:        #f4f4f2;
  --fog-2:      #b4b6bd;
  --fog-3:      #74767d;
  --fog-4:      #4a4c54;

  --lime:       #c6ff3d;
  --lime-2:     #d9ff6b;
  --lime-dim:   rgba(198,255,61,0.14);
  --violet:     #7c5cff;
  --violet-dim: rgba(124,92,255,0.18);

  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --ease:       cubic-bezier(.2,.7,.2,1);
  --ease-out:   cubic-bezier(.16,1,.3,1);

  --f-display:  'Instrument Serif', 'Times New Roman', serif;
  --f-body:     'Geist', ui-sans-serif, system-ui, sans-serif;
  --f-mono:     'Geist Mono', ui-monospace, monospace;

  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--fog);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01","cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }
::selection { background: var(--lime); color: var(--ink); }

/* Ambient background */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(198,255,61,0.07), transparent 60%),
    radial-gradient(1200px 800px at 10% 110%, rgba(124,92,255,0.07), transparent 60%);
  z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.6;
  mix-blend-mode: overlay;
  z-index: 1;
}

main, header, footer, section { position: relative; z-index: 2; }

/* ---------------- Loader ---------------- */
#loader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 100;
  display: grid; place-items: center;
  animation: loader-out 0.6s var(--ease-out) 1.4s forwards;
}
#loader .mark {
  font-family: var(--f-display);
  font-size: clamp(64px, 12vw, 160px);
  font-style: italic;
  letter-spacing: -0.04em;
  color: var(--fog);
  overflow: hidden;
  padding: 0 0.1em;
}
#loader .mark span {
  display: inline-block;
  transform: translateY(110%);
  animation: loader-letter 0.8s var(--ease-out) forwards;
}
#loader .mark span:nth-child(1) { animation-delay: 0.05s; }
#loader .mark span:nth-child(2) { animation-delay: 0.12s; }
#loader .mark span:nth-child(3) { animation-delay: 0.19s; }
#loader .mark span:nth-child(4) { animation-delay: 0.26s; }
#loader .bar {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 50vw);
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
#loader .bar::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--lime);
  transform-origin: left;
  animation: loader-bar 1.2s var(--ease-out) 0.1s forwards;
}
#loader .meta {
  position: absolute;
  bottom: calc(12% - 28px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog-3);
}
@keyframes loader-letter { to { transform: translateY(0); } }
@keyframes loader-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.no-loader #loader { display: none; }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 18px clamp(20px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10,10,11,0.55);
  border-bottom: 1px solid var(--line);
}
.nav .logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.02em;
}
.nav .logo .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 20px var(--lime);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.85); } }

.nav-links {
  display: flex; gap: 4px;
  list-style: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 999px;
}
.nav-links a {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fog-2);
  transition: all 0.3s var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--fog); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--ink); background: var(--lime); }

.nav-cta {
  display: flex; gap: 10px; align-items: center;
}
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 20px; height: 20px; stroke: var(--fog); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--ink-2);
  z-index: 45;
  padding: 90px 28px 28px;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 40px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s var(--ease-out);
}
.mobile-nav.open a { opacity: 1; transform: translateX(0); }
.mobile-nav.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-nav.open li:nth-child(3) a { transition-delay: 0.2s; }
.mobile-nav.open li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-nav.open li:nth-child(5) a { transition-delay: 0.3s; }
.mobile-nav.open li:nth-child(6) a { transition-delay: 0.35s; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 rgba(198,255,61,0);
}
.btn-primary:hover {
  background: var(--lime-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(198,255,61,0.45);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--fog);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--line-3);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 28px; font-size: 14.5px; }

/* ---------------- Layout ---------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fog-3);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h1 {
  font-size: clamp(52px, 9vw, 128px);
  font-family: var(--f-body);
  font-weight: 300;
}
h1 em, h2 em, h3 em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 300;
}
h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fog-2);
  max-width: 60ch;
  line-height: 1.5;
}

/* ---------------- Hero ---------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
}
.hero-inner { width: 100%; text-align: center; }
.hero h1 {
  max-width: 14ch;
  margin: 24px auto 28px;
}
.hero .lead { margin: 0 auto; }
.hero-cta {
  margin-top: 40px;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero-meta {
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fog-3);
}

/* Staggered reveal */
.reveal > * {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 1s var(--ease-out) forwards;
}
.reveal > *:nth-child(1) { animation-delay: 1.5s; }
.reveal > *:nth-child(2) { animation-delay: 1.6s; }
.reveal > *:nth-child(3) { animation-delay: 1.7s; }
.reveal > *:nth-child(4) { animation-delay: 1.8s; }
.reveal > *:nth-child(5) { animation-delay: 1.9s; }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.scroll-reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------- Floating 3D hero cards ---------------- */
.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orbit .chip {
  position: absolute;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fog-2);
  backdrop-filter: blur(10px);
  transform: perspective(800px) rotateY(var(--ry,0)) rotateX(var(--rx,0));
  animation: float-chip 8s ease-in-out infinite;
}
.hero-orbit .chip.c1 { top: 22%; left: 6%; --ry: 12deg; --rx: -4deg; animation-delay: 0s; }
.hero-orbit .chip.c2 { top: 30%; right: 7%; --ry: -14deg; --rx: 3deg; animation-delay: 1s; }
.hero-orbit .chip.c3 { bottom: 24%; left: 11%; --ry: 8deg; --rx: 5deg; animation-delay: 2s; }
.hero-orbit .chip.c4 { bottom: 30%; right: 9%; --ry: -10deg; --rx: -3deg; animation-delay: 3s; }
.hero-orbit .chip .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 10px var(--lime);
}
@keyframes float-chip {
  0%,100% { transform: perspective(800px) rotateY(var(--ry)) rotateX(var(--rx)) translateY(0); }
  50% { transform: perspective(800px) rotateY(var(--ry)) rotateX(var(--rx)) translateY(-16px); }
}

/* ---------------- Marquee / logo strip ---------------- */
.marquee {
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
}
.marquee-label {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog-3);
  margin-bottom: 20px;
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 32px;
  color: var(--fog-2);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.3s;
}
.marquee-track span:hover { opacity: 1; color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Cards ---------------- */
.tilt {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}
.tilt-inner { transform: translateZ(30px); }

.card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(198,255,61,0.35), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line-2); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--lime-dim);
  border: 1px solid rgba(198,255,61,0.25);
  display: grid; place-items: center;
  color: var(--lime);
  margin-bottom: 22px;
  transition: transform 0.4s var(--ease);
}
.card-icon svg { width: 22px; height: 22px; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--fog-2); font-size: 15px; }

/* ---------------- Section heads ---------------- */
.sect-head { margin-bottom: 64px; }
.sect-head .eyebrow { margin-bottom: 22px; }
.sect-head h2 { max-width: 16ch; }

/* ---------------- Grids ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------------- Testimonials ---------------- */
.quote-card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s var(--ease);
}
.quote-card .q-mark {
  font-family: var(--f-display);
  font-size: 80px;
  line-height: 0.5;
  color: var(--lime);
  opacity: 0.5;
  margin-bottom: 20px;
  display: block;
}
.quote-card blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  color: var(--fog);
  margin-bottom: 24px;
}
.quote-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.quote-author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-2);
}
.quote-author .who { font-size: 14px; font-weight: 500; }
.quote-author .role { font-family: var(--f-mono); font-size: 11px; color: var(--fog-3); letter-spacing: 0.05em; }
.quote-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: var(--ink-4);
}

/* ---------------- Workflow steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.step {
  padding: 28px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.step:hover {
  background: var(--ink-3);
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fog-3);
  text-transform: uppercase;
  display: block;
  margin-bottom: 28px;
}
.step h4 {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 28px;
  margin-bottom: 12px;
}
.step p { color: var(--fog-2); font-size: 14.5px; }
.step-visual {
  margin-top: 24px;
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: var(--ink);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

/* ---------------- Big CTA ---------------- */
.big-cta {
  text-align: center;
  padding: clamp(80px,10vw,140px) 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(198,255,61,0.12), transparent 70%),
    var(--ink-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.big-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}
.big-cta > * { position: relative; }
.big-cta h2 { max-width: 16ch; margin: 20px auto 24px; }
.big-cta .lead { margin: 0 auto 36px; }

/* ---------------- Footer ---------------- */
footer {
  padding: 80px clamp(20px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto 60px;
}
.footer-brand .logo {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 44px;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.footer-brand p { color: var(--fog-3); font-size: 14px; max-width: 34ch; }
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fog-3);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--fog-2);
  transition: color 0.3s;
  position: relative;
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fog-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------------- Pricing ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.price-card {
  padding: 40px 32px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  position: relative;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
}
.price-card.featured {
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(198,255,61,0.14), transparent 70%),
    var(--ink-3);
  border-color: rgba(198,255,61,0.35);
}
.price-card .tier {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fog-3);
}
.price-card .price {
  font-family: var(--f-display);
  font-size: 72px;
  line-height: 1;
  margin: 24px 0 8px;
  letter-spacing: -0.04em;
}
.price-card .price sup { font-size: 32px; vertical-align: super; opacity: 0.6; margin-right: 4px; }
.price-card .per { font-size: 14px; color: var(--fog-3); margin-bottom: 28px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fog-2); }
.price-card li svg { width: 16px; height: 16px; color: var(--lime); flex-shrink: 0; margin-top: 3px; }

/* ---------------- Workflow gallery (menu) ---------------- */
.wf-gallery {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  margin-top: 60px;
}
.wf-sidebar {
  display: flex; flex-direction: column; gap: 6px;
  position: sticky; top: 100px;
  align-self: start;
}
.wf-tab {
  padding: 18px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: left;
  transition: all 0.35s var(--ease);
  display: flex; align-items: center; gap: 14px;
  color: var(--fog-2);
}
.wf-tab:hover { background: rgba(255,255,255,0.05); color: var(--fog); transform: translateX(4px); }
.wf-tab.active {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.wf-tab .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.06); display: grid; place-items: center; flex-shrink: 0; }
.wf-tab.active .ic { background: rgba(0,0,0,0.12); }
.wf-tab svg { width: 18px; height: 18px; }
.wf-tab .t { font-size: 14.5px; font-weight: 500; display: block; }
.wf-tab .s { font-size: 11px; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }

.wf-panel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.wf-content { display: none; animation: wf-in 0.6s var(--ease-out); }
.wf-content.active { display: block; }
@keyframes wf-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.wf-content h3 { font-family: var(--f-display); font-style: italic; font-size: 44px; margin-bottom: 14px; }
.wf-content .lead { margin-bottom: 28px; }
.wf-image {
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 24px;
  position: relative;
}
.wf-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wf-panel:hover .wf-image img { transform: scale(1.04); }
.wf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-tags span {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fog-2);
}

/* ---------------- About / Team ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease);
}
.team-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
  filter: grayscale(30%) contrast(1.05);
}
.team-card:hover { transform: translateY(-6px); }
.team-card:hover img { transform: scale(1.08); filter: grayscale(0%); }
.team-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
}
.team-card .name { font-size: 16px; font-weight: 500; }
.team-card .role { font-family: var(--f-mono); font-size: 11px; color: var(--lime); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------------- Contact ---------------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fog-3);
}
.field input, .field textarea, .field select {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--fog);
  font-family: inherit;
  font-size: 14.5px;
  transition: all 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--lime);
  background: var(--ink-3);
  box-shadow: 0 0 0 4px var(--lime-dim);
}
.field textarea { min-height: 140px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-card {
  padding: 24px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: all 0.3s var(--ease);
}
.info-card:hover { background: var(--ink-3); border-color: var(--line-2); }
.info-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--lime-dim); color: var(--lime); display: grid; place-items: center; margin-bottom: 16px; }
.info-card .ic svg { width: 18px; height: 18px; }
.info-card h4 { font-size: 15px; margin-bottom: 6px; letter-spacing: 0; font-family: var(--f-body); }
.info-card p { font-size: 13.5px; color: var(--fog-2); }

/* ---------------- Feature split ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.split.alt { direction: rtl; }
.split.alt > * { direction: ltr; }
.split-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split:hover .split-visual img { transform: scale(1.05); }
.split-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,11,0.5));
}
.split h2 { margin-bottom: 20px; }
.split-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.split-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--fog-2); }
.split-list li svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; margin-top: 2px; }

/* Cursor glow on interactive cards */
.glow-card {
  position: relative;
  overflow: hidden;
}
.glow-card::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,255,61,0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%,-50%);
}
.glow-card:hover::after { opacity: 1; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-cta .nav-burger { display: flex; }
  .grid-3, .grid-2, .grid-4, .price-grid, .steps, .team-grid, .contact-wrap, .split {
    grid-template-columns: 1fr;
  }
  .split.alt { direction: ltr; }
  .wf-gallery { grid-template-columns: 1fr; }
  .wf-sidebar { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
  .wf-sidebar::-webkit-scrollbar { display: none; }
  .wf-tab { flex-shrink: 0; min-width: 200px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-orbit { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: clamp(42px, 12vw, 72px); }
  .section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .wf-panel { padding: 24px; }
  .wf-content h3 { font-size: 32px; }
  .quote-card { padding: 24px; }
  .price-card { padding: 28px 22px; }
  .price-card .price { font-size: 56px; }
  .nav { padding: 14px 18px; }
  .nav .logo { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .big-cta { padding: 60px 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
