/* NODBITS — Light mode, #FFF background + #000 content only */
:root {
  --black: #ffffff;
  --white: #000000;
  --bg-section: #f4f5f7;
  --font: 'Outfit', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-color: cubic-bezier(0.4, 0, 0.15, 1);
  --ease-motion: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-color: 0.75s;
  --duration-motion: 0.55s;
  --lift: -6px;
  --duration-lift: 0.2s;
  --ease-lift: ease;
  --surface: #ffffff;
  --ink: #000000;
  --surface-inverse: #000000;
  --ink-inverse: #ffffff;
  --duration-card-bg: 0s;
  --duration-card-ink: 0s;
  --delay-card-ink-in: 0s;
  --delay-card-ink-out: 0s;
  --mx: 0;
  --my: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font);
  background: var(--bg-section);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.noise {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  opacity: 0.04;
  z-index: 9999;
  pointer-events: none;
  background: 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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.gradient-orb {
  display: block;
  position: absolute;
  width: min(550px, 75vw);
  height: min(550px, 75vw);
  filter: blur(100px);
  opacity: 0.22;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.orb-1 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.65) 0%, rgba(168, 85, 247, 0.25) 60%, rgba(255, 255, 255, 0) 100%);
  top: -15%;
  left: -15%;
  animation: float-orb-1 20s infinite ease-in-out, morph-orb 15s infinite ease-in-out;
  transform: translate3d(calc(var(--mx) * 15px), calc(var(--my) * 15px), 0);
}

.orb-2 {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.55) 0%, rgba(244, 63, 94, 0.25) 60%, rgba(255, 255, 255, 0) 100%);
  top: 10%;
  right: -15%;
  animation: float-orb-2 18s infinite ease-in-out, morph-orb 18s infinite ease-in-out;
  animation-delay: 0s, -3s;
  transform: translate3d(calc(var(--mx) * -20px), calc(var(--my) * -20px), 0);
}

.orb-3 {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.5) 0%, rgba(56, 189, 248, 0.2) 60%, rgba(255, 255, 255, 0) 100%);
  bottom: -10%;
  left: 20%;
  animation: float-orb-3 22s infinite ease-in-out, morph-orb 12s infinite ease-in-out;
  animation-delay: 0s, -5s;
  transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * -10px), 0);
}

@keyframes float-orb-1 {
  0%, 100% { top: -15%; left: -15%; }
  50% { top: -10%; left: -12%; }
}

@keyframes float-orb-2 {
  0%, 100% { top: 10%; right: -15%; }
  50% { top: 14%; right: -11%; }
}

@keyframes float-orb-3 {
  0%, 100% { bottom: -10%; left: 20%; }
  50% { bottom: -6%; left: 24%; }
}

@keyframes morph-orb {
  0%, 100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
  33% {
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
  }
  66% {
    border-radius: 50% 50% 35% 65% / 40% 60% 40% 60%;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #0066ff 0%, #00b4d8 35%, #10b981 70%, #0066ff 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  animation: textShimmer 8s linear infinite;
}

@keyframes textShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Header */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, 92vw);
  height: 64px;
  z-index: 100;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.03),
    0 1px 0 rgba(0, 0, 0, 0.01),
    inset 0 1px 1px rgba(255, 255, 255, 0.5);
  transition: 
    background var(--duration-color) var(--ease-color),
    border-color var(--duration-color) var(--ease-color),
    box-shadow var(--duration-color) var(--ease-color),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  top: 12px;
  height: 56px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.03),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transform: translateX(-50%) scale(0.98);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header .nav {
  width: 100%;
  max-width: 100%;
  padding-inline: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-mark,
.logo-accent {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--white);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.2s;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.nav-links a.nav-contact {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.nav-links a.nav-contact:hover,
.nav-links a.nav-contact:focus-visible {
  background: var(--black);
  color: var(--white);
  transform: translateY(var(--lift));
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--black);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 2rem;
  min-height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4f46e5;
  margin-bottom: 1.5rem;
  font-family: var(--mono);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #4f46e5;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--white);
  max-width: 480px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
}

.stat-value {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.15rem;
  white-space: nowrap;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--white);
}

.stat-num.highlight {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.stat-suffix,
.stat-eq {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.stat-eq {
  margin: 0 0.1rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--white);
}

/* Browser mockup */
.hero-visual {
  position: relative;
}

/* Sparkles */
.sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  color: #eab308;
  filter: drop-shadow(0 0 8px currentColor);
}

.sparkle svg {
  display: block;
  width: 100%;
  height: 100%;
}

.spin-slow {
  animation: spin 15s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sparkle-1 {
  top: 12%;
  left: 5%;
  color: #9333ea;
  width: 22px;
  height: 22px;
  animation: float-sparkle 7s ease-in-out infinite;
}

.sparkle-2 {
  top: 38%;
  right: 8%;
  color: #f43f5e;
  width: 28px;
  height: 28px;
  animation: float-sparkle 9s ease-in-out infinite reverse;
  animation-delay: -2s;
}

.sparkle-3 {
  bottom: 18%;
  left: 45%;
  color: #eab308;
  width: 18px;
  height: 18px;
  animation: float-sparkle 8s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes float-sparkle {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.35;
  }
  50% {
    transform: translateY(-12px) scale(1.15);
    opacity: 0.85;
  }
}

/* Workspace Team Card */
.workspace-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.05),
    0 0 100px rgba(99, 102, 241, 0.03);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  transform: perspective(1000px) rotateX(calc(var(--my) * -4deg)) rotateY(calc(var(--mx) * 4deg)) translate3d(calc(var(--mx) * 6px), calc(var(--my) * 6px), 0);
}

.workspace-card:hover {
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.08),
    0 0 120px rgba(99, 102, 241, 0.06);
}

.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.workspace-team {
  display: flex;
  align-items: center;
  gap: 12px;
}

.member-avatars {
  display: flex;
  align-items: center;
}

.member-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), margin 0.3s;
}

.member-avatar:not(:first-child) {
  margin-left: -12px;
}

.member-avatars:hover .member-avatar {
  margin-left: 4px;
  transform: scale(1.1);
}

.member-avatars:hover .member-avatar:first-child {
  margin-left: 0;
}

.member-avatar::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  background: #000000;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-family: var(--mono);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.member-avatar:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.team-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.2); }
}

.efficiency-badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(244, 63, 94, 0.1));
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #4f46e5;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.05);
}

.chat-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 85%;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  animation: bubbleFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bubbleFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-alice {
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.1);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  animation-delay: 0.2s;
}

.chat-alice .bubble-meta {
  color: #9333ea;
}

.chat-bob {
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.1);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  animation-delay: 0.5s;
}

.chat-bob .bubble-meta {
  color: #0284c7;
}

.chat-ai {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(244, 63, 94, 0.06));
  border: 1px solid rgba(244, 63, 94, 0.12);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  animation-delay: 0.8s;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.04);
}

.chat-ai .bubble-meta {
  background: linear-gradient(135deg, #4f46e5, #f43f5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.bubble-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bubble-text {
  color: #1a1a1a;
}

.task-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 20px;
}

.task-step {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  transition: border-color 0.3s, background-color 0.3s;
}

.task-step.done {
  border-color: rgba(16, 185, 129, 0.15);
  background: rgba(16, 185, 129, 0.03);
}

.task-step.active {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.03);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.05);
}

.step-icon {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.task-step.done .step-icon {
  color: #10b981;
  font-weight: 700;
}

.task-step.active .step-icon.loading {
  color: #4f46e5;
  animation: activePulse 1.5s ease-in-out infinite;
}

@keyframes activePulse {
  0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 4px rgba(99,102,241,0.5)); }
  50% { transform: scale(1.2); opacity: 0.7; filter: drop-shadow(0 0 8px rgba(99,102,241,0.8)); }
}

.step-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}

.task-step.active .step-name {
  color: #4f46e5;
}

/* Floating tags styling with wrappers */
.floating-tag-wrapper {
  position: absolute;
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.floating-tag-wrapper.tag-1 { top: 8%; right: -10%; animation-delay: 0s; }
.floating-tag-wrapper.tag-2 { bottom: 25%; left: -14%; animation-delay: 1s; }
.floating-tag-wrapper.tag-3 { bottom: -2%; right: 4%; animation-delay: 2s; }

.floating-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s;
  transform: translate3d(calc(var(--mx) * -15px), calc(var(--my) * -15px), 0);
}

.floating-tag:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
  transform: scale(1.05) translate3d(calc(var(--mx) * -15px), calc(var(--my) * -15px), 0);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.tag-1 .tag-icon { color: #9333ea; }
.tag-2 .tag-icon { color: #0284c7; }
.tag-3 .tag-icon { color: #f43f5e; }

.floating-tag:hover .tag-icon {
  filter: drop-shadow(0 0 5px currentColor);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Marquee */
.marquee {
  margin-top: 4rem;
  overflow: hidden;
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.services .section-header {
  max-width: 900px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--white);
}

.services-title {
  white-space: nowrap;
}

.section-header p {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 300;
}

.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  border: 1px solid var(--white);
  padding: 0.25rem 0.75rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  overflow: hidden; /* Tightly clip the glossy sheen sweep */
  padding: 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 60%, #f1f3f6 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9), 0 12px 32px rgba(0, 0, 0, 0.02), 0 2px 4px rgba(0, 0, 0, 0.01);
  transition:
    transform var(--duration-lift) var(--ease-lift),
    background var(--duration-card-bg) var(--ease-color),
    border-color var(--duration-card-bg) var(--ease-color),
    box-shadow var(--duration-lift) var(--ease-lift);
}

/* Glass Sheen Sweep Pseudo-Element */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
}

/* Trigger sweep transition on hover */
.service-card:hover::before {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 1.5rem;
  color: var(--ink);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
  transition: color var(--duration-card-ink) var(--ease-color) var(--delay-card-ink-out);
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-weight: 300;
  color: var(--ink);
  transition: color var(--duration-card-ink) var(--ease-color) var(--delay-card-ink-out);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.service-tags li {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.6rem;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  color: rgba(0, 0, 0, 0.6);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Service Card Hover state — Premium Obsidian Dark Glass */
.service-card:hover,
.service-card:focus-visible {
  background: linear-gradient(135deg, #16171b 0%, #08090a 100%);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(var(--lift));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 48px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Team Card Hover state — Premium Obsidian Dark Glass */
.team-card:hover,
.team-card:focus-visible {
  background: linear-gradient(135deg, #16171b 0%, #08090a 100%);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(var(--lift));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 20px 48px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:focus-visible h3,
.service-card:focus-visible p {
  color: var(--ink-inverse);
  transition: color var(--duration-card-ink) var(--ease-color) var(--delay-card-ink-in);
}

/* Glossy Icon Container Glow on hover */
.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
}

.service-card:hover .service-icon svg *,
.service-card:focus-visible .service-icon svg * {
  stroke: url(#blueGreenGradient);
  transition: stroke 0.4s ease;
}

/* Glossy Tag Capsules on hover */
.service-card:hover .service-tags li,
.service-card:focus-visible .service-tags li {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}


/* AI Section */
.ai-section {
  background: var(--bg-section);
  border-block: 1px solid rgba(0, 0, 0, 0.08);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ai-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}

.ai-content h2 strong {
  font-weight: 800;
}

.ai-content > p {
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 300;
}

.ai-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ai-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.5rem;
  margin-left: -0.5rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-list li:hover {
  background: rgba(0, 102, 255, 0.02);
  transform: translateX(4px);
}

.ai-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066ff 0%, #10b981 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transition: transform 0.3s ease;
}

.ai-list li:hover .ai-check {
  transform: scale(1.1) rotate(5deg);
}

.ai-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.ai-list div {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 300;
}

.ai-process {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 60%, #f1f3f6 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9), 0 12px 32px rgba(0, 0, 0, 0.02), 0 2px 4px rgba(0, 0, 0, 0.01);
}

.ai-process li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1rem;
  margin-inline: -1rem;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-process li:not(.ai-process-heading):hover {
  background: rgba(0, 102, 255, 0.03);
  transform: translateX(4px);
}

.ai-process li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ai-process li.ai-process-heading {
  display: block;
  grid-template-columns: none;
  padding-top: 0;
  margin-inline: 0;
  padding-inline: 0;
}

.ai-process li.ai-process-heading h3 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.process-dot {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #16171b 0%, #08090a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-process li:not(.ai-process-heading):hover .process-dot {
  background: linear-gradient(135deg, #0066ff 0%, #10b981 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transform: scale(1.05);
}

.ai-process strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.ai-process p {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
}

/* Work */
.work {
  background: #f2f4f7;
  color: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

/* Custom section tag for work */
.work .section-tag {
  background: rgba(0, 0, 0, 0.03);
  color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.work .section-header h2 {
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.work .section-header p {
  color: rgba(0, 0, 0, 0.65);
  font-weight: 300;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

a.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.work-card {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 102, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.work-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

.work-thumb {
  height: 200px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0) 80%), #f5f6f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  transition: background 0.4s, border-color 0.4s;
}

.work-card:hover .work-thumb {
  background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.06) 0%, rgba(16, 185, 129, 0.02) 70%), #eaebec;
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.work-mock {
  position: absolute;
  inset: 2.75rem 1.25rem 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px 8px 0 0;
  background: #0d0e12;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom center;
}

/* Safari Browser Top Action Controls */
.work-mock::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 8px;
  width: 32px;
  height: 8px;
  background: radial-gradient(circle, #ff5f56 0 2px, transparent 2px) 0px center / 8px 8px no-repeat,
              radial-gradient(circle, #ffbd2e 0 2px, transparent 2px) 10px center / 8px 8px no-repeat,
              radial-gradient(circle, #27c93f 0 2px, transparent 2px) 20px center / 8px 8px no-repeat;
  transition: opacity 0.3s;
}

.work-card:hover .work-mock {
  transform: translateY(-6px) scale(1.04) rotateX(4deg);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

/* 1 — hero lines (F&B / Green Kitchen Menu) */
.work-mock--1 {
  background: 
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    linear-gradient(rgba(16, 185, 129, 0.15) 0 0) 10% 32px / 35% 30px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.1) 0 0) 50% 32px / 40% 6px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.05) 0 0) 50% 44px / 30% 4px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.05) 0 0) 50% 52px / 25% 4px no-repeat,
    linear-gradient(rgba(0, 102, 255, 0.4) 0 0) 10% 70px / 80% 16px no-repeat;
}

/* 2 — four grid (EdTech / Webinar Funnel Dashboard) */
.work-mock--2 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    linear-gradient(rgba(244, 63, 94, 0.2) 0 0) 10% 28px / 38% 24px no-repeat,
    linear-gradient(rgba(0, 102, 255, 0.2) 0 0) 52% 28px / 38% 24px no-repeat,
    linear-gradient(rgba(16, 185, 129, 0.2) 0 0) 10% 58px / 38% 24px no-repeat,
    linear-gradient(rgba(236, 72, 153, 0.2) 0 0) 52% 58px / 38% 24px no-repeat;
}

/* 3 — circle + bar (B2B SaaS Dashboard UI) */
.work-mock--3 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    radial-gradient(circle, rgba(16, 185, 129, 0.3) 0 12px, transparent 13px) 15% 32px / 28px 28px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.15) 0 0) 48% 34px / 40% 6px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.06) 0 0) 48% 46px / 30% 4px no-repeat,
    linear-gradient(rgba(0, 102, 255, 0.3) 0 0) 10% 72px / 80% 12px no-repeat;
}

/* 4 — sidebar layout (SaaS Product Booking Page) */
.work-mock--4 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.06) 0 0) left 21px / 25% 100% no-repeat,
    linear-gradient(rgba(0, 102, 255, 0.2) 0 0) 32% 30px / 58% 20px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.1) 0 0) 32% 56px / 48% 6px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.05) 0 0) 32% 66px / 54% 4px no-repeat;
}

/* 5 — split columns (Legal Services Consultation) */
.work-mock--5 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.12) 0 0) 10% 28px / 80% 10px no-repeat,
    linear-gradient(rgba(236, 72, 153, 0.15) 0 0) 10% 46px / 36% 36px no-repeat,
    linear-gradient(rgba(16, 185, 129, 0.15) 0 0) 54% 46px / 36% 36px no-repeat;
}

/* 6 — diagonal stripes (Fitness Membership Hub) */
.work-mock--6 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 4px, transparent 4px 12px) 10% 28px / 80% 25px no-repeat,
    linear-gradient(90deg, #10b981 0 65%, rgba(255, 255, 255, 0.1) 65% 100%) 10% 64px / 80% 14px no-repeat;
}

/* 7 — hero block (Nova Realty Showcase) */
.work-mock--7 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    linear-gradient(rgba(0, 102, 255, 0.18) 0 0) 10% 28px / 45% 52px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.15) 0 0) 62% 30px / 28% 6px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.06) 0 0) 62% 42px / 28% 4px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.06) 0 0) 62% 50px / 28% 4px no-repeat,
    linear-gradient(rgba(16, 185, 129, 0.3) 0 0) 62% 64px / 28% 14px no-repeat;
}

/* 8 — centered card (Craft Coffee Branding Page) */
.work-mock--8 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    radial-gradient(circle, rgba(236, 72, 153, 0.2) 0 16px, transparent 17px) 50% 32px / 32px 32px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) 30% 70px / 40% 4px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.15) 0 0) 40% 78px / 20% 8px no-repeat;
}

/* 9 — product rows (PixelPrint eCommerce Grid) */
.work-mock--9 {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 0 0) left 20px / 100% 1px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.05) 0 0) 10% 28px / 80% 12px no-repeat,
    linear-gradient(rgba(16, 185, 129, 0.25) 0 0) 10% 45px / 80% 12px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.05) 0 0) 10% 62px / 80% 12px no-repeat;
}

.work-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000000;
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
}

.work-card:hover .work-link {
  opacity: 1;
  color: #10b981;
}

.work-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.work-card:hover .work-category {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.work-info {
  padding: 1.5rem;
  background: #ffffff;
  transition: background 0.3s;
}

.work-card:hover .work-info {
  background: #fafafb;
}

.work-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #08090a;
  transition: color 0.3s;
}

.work-info p {
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 300;
  line-height: 1.5;
  min-height: 2.6rem;
  transition: color 0.3s;
}

.work-card:hover .work-info p {
  color: rgba(0, 0, 0, 0.8);
}

/* Premium light glass carousel carousel buttons inside work section */
.work .carousel-btn {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #000000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.work .carousel-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Team */
.team {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #f8fafc;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 40%),
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #fafbfc 60%, #f1f3f6 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9), 0 12px 32px rgba(0, 0, 0, 0.02), 0 2px 4px rgba(0, 0, 0, 0.01);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-avatar,
.team-card:focus-visible .team-avatar {
  background: linear-gradient(135deg, #0066ff 0%, #10b981 100%);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #16171b 0%, #08090a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--ink);
  transition: color var(--duration-card-ink) var(--ease-color) var(--delay-card-ink-out);
}

.team-role {
  display: block;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--duration-card-ink) var(--ease-color) var(--delay-card-ink-out);
}

.team-card p {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 300;
  transition: color var(--duration-card-ink) var(--ease-color) var(--delay-card-ink-out);
}

.team-card:hover h3,
.team-card:hover .team-role,
.team-card:hover p,
.team-card:focus-visible h3,
.team-card:focus-visible .team-role,
.team-card:focus-visible p {
  color: var(--ink-inverse);
  transition: color var(--duration-card-ink) var(--ease-color) var(--delay-card-ink-in);
}

/* CTA styles merged into footer */

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-card {
  min-height: 148px;
  padding: 1.25rem;
  background: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.contact-card:hover,
.contact-card:focus-visible {
  background: var(--white);
  color: var(--black);
  transform: translateY(var(--lift));
  outline: none;
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-icon-text {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.contact-info {
  display: block;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* Footer Redesign */
.footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--white);
  position: relative;
  z-index: 1;
  background: var(--bg-section);
  overflow: hidden;
}

.footer-container {
  display: flex;
  flex-direction: column;
}

.footer-cta-contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.footer-cta-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.footer-cta-subtitle {
  font-size: 1.1rem;
  color: var(--white);
  opacity: 0.75;
  font-weight: 300;
  line-height: 1.6;
  max-width: 480px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--white);
  opacity: 0.15;
  margin-bottom: 4rem;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
}


.footer-brand-desc {
  font-size: 1rem;
  color: var(--white);
  opacity: 0.65;
  line-height: 1.6;
  max-width: 520px;
  font-weight: 300;
}

.footer-contact-link {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-contact-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.footer-location {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--white);
  opacity: 0.8;
  font-weight: 500;
  margin-top: 0.75rem;
  display: block;
}

/* Massive Outlined Brand text animation */
.footer-massive-logo {
  text-decoration: none;
  cursor: pointer;
}

.footer-massive-text {
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  cursor: pointer;
  user-select: none;
  padding-inline: 0.08em;
}

.footer-massive-text:hover {
  -webkit-text-stroke-color: transparent;
  background: linear-gradient(135deg, #0066ff 0%, #00b4d8 35%, #10b981 70%, #0066ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 4s linear infinite;
  transform: scale(1.03);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2rem;
}

.footer-bottom span {
  font-size: 0.85rem;
  color: var(--white);
  opacity: 0.5;
  font-weight: 300;
}

.footer-meta-tag {
  font-family: var(--mono);
  font-size: 0.72rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6 !important;
}

/* ================================================
   REVEAL ANIMATION SYSTEM
   ================================================ */

/* Base: slide up (default) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.reveal--left {
  transform: translateX(-48px);
}
.reveal--left.visible {
  transform: translateX(0);
}

/* Slide from right */
.reveal--right {
  transform: translateX(48px);
}
.reveal--right.visible {
  transform: translateX(0);
}

/* Scale up */
.reveal--scale {
  transform: scale(0.92) translateY(20px);
  opacity: 0;
}
.reveal--scale.visible {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Flip up (perspective) */
.reveal--flip {
  transform: perspective(600px) rotateX(18deg) translateY(24px);
  opacity: 0;
  transform-origin: top center;
}
.reveal--flip.visible {
  transform: perspective(600px) rotateX(0deg) translateY(0);
  opacity: 1;
}

/* Cards: opacity-only base so hover-lift transform works cleanly */
.service-card.reveal,
.work-card.reveal,
.team-card.reveal {
  transform: none;
  opacity: 0;
}

/* Scale variant on cards */
.service-card.reveal.reveal--scale {
  transform: scale(0.94) translateY(16px);
  opacity: 0;
}

.service-card.reveal.visible,
.work-card.reveal.visible,
.team-card.reveal.visible {
  opacity: 1;
  transform: none;
}

.service-card.reveal.reveal--scale.visible {
  transform: none;
  opacity: 1;
}

.service-card.reveal.visible:hover,
.work-card.reveal.visible:hover,
.team-card.reveal.visible:hover,
.service-card.reveal.visible:focus-visible,
.work-card.reveal.visible:focus-visible,
.team-card.reveal.visible:focus-visible {
  transform: translateY(var(--lift));
}


.service-card.reveal.visible:focus-visible,
.work-card.reveal.visible:focus-visible,
.team-card.reveal.visible:focus-visible {
  transform: translateY(var(--lift));
}

/* Selection */
::selection {
  background: var(--white);
  color: var(--black);
}

/* Carousel wrapper & buttons */
.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-btn {
  display: none; /* Hidden on desktop */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--ink);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.carousel-btn.prev {
  left: -22px;
}

.carousel-btn.prev:hover {
  background: var(--surface-inverse);
  color: var(--ink-inverse);
  border-color: var(--surface-inverse);
}

.carousel-btn.next {
  right: -22px;
  background: var(--surface-inverse);
  border: 1px solid var(--surface-inverse);
  color: var(--ink-inverse);
}

.carousel-btn.next:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
}

/* Active state */
.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn.disabled {
  opacity: 0.25;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .ai-grid,
  .footer-cta-contact {
    grid-template-columns: 1fr;
  }

  .footer-cta-contact {
    gap: 3rem;
  }



  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Work carousel - 1 card at a time */
  .work-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .work-grid::-webkit-scrollbar {
    display: none;
  }

  .work-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .work-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  /* Team carousel - 2 cards at a time */
  .team-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .team-card {
    flex: 0 0 calc(50% - 0.5rem);
    scroll-snap-align: start;
  }

  .team-card p {
    display: none;
  }

  .carousel-btn {
    display: flex;
  }

}

@media (max-width: 768px) {
  .carousel-btn.prev {
    left: -8px;
  }
  .carousel-btn.next {
    right: -8px;
  }

  .section {
    padding: 3rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    gap: 1.5rem;
    transform: translateY(-12px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 
      0 20px 40px rgba(0, 0, 0, 0.1),
      inset 0 1px 1px rgba(255, 255, 255, 0.6);
  }

  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .floating-tag-wrapper {
    transform: scale(0.75);
  }
  
  .floating-tag-wrapper.tag-1 {
    top: -15px;
    right: 5px;
  }
  
  .floating-tag-wrapper.tag-2 {
    bottom: 22%;
    left: -15px;
  }
  
  .floating-tag-wrapper.tag-3 {
    bottom: -15px;
    right: 15px;
  }
  
  .workspace-card {
    padding: 16px;
    margin-bottom: 1rem;
    transform: scale(0.95);
  }
  
  .chat-bubble {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  
  .task-flow {
    padding-top: 14px;
    gap: 6px;
  }
  
  .task-step {
    padding: 6px;
  }
  
  .step-name {
    font-size: 0.6rem;
  }

  .services-title {
    white-space: normal;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card p {
    display: none;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.85rem;
  }

  .service-tags {
    gap: 0.35rem;
  }

  .service-tags li {
    font-size: 0.58rem;
    padding: 0.25rem 0.4rem;
  }

  .contact-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }



  .footer-cta-contact {
    margin-bottom: 3rem;
  }

  .footer-cta-btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }


  .hero-stats {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .stat {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    text-align: center;
  }

  .stat-num {
    font-size: 1.35rem;
  }

  .stat-suffix,
  .stat-eq {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .stat-divider {
    display: none;
  }
}
