/* ============================================
   DESIGN TOKENS — AFZ GLOBAL · TECH AESTHETIC
   ============================================ */
:root {
  /* Brand palette */
  --navy-deep: #0a1832;
  --navy: #1a3d63;
  --navy-mid: #4a7fa7;
  --sky: #b3cfe5;
  --paper: #f6fafd;

  /* Semantic */
  --bg: #f6fafd;
  --bg-tint: #ebf2f8;
  --surface: #ffffff;
  --ink: #0a1832;
  --ink-soft: #2c4a6e;
  --muted: #6b8aa8;
  --muted-2: #8aa4be;
  --line: #d6e2ed;
  --line-soft: #e6eef5;
  --accent: #4a7fa7;
  --accent-light: #b3cfe5;
  --accent-deep: #1a3d63;

  /* Type */
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  --font-serif: "Playfair Display", Georgia, serif;

  /* Layout */
  --container: 1240px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(10, 24, 50, 0.04), 0 2px 6px rgba(10, 24, 50, 0.04);
  --shadow: 0 4px 12px rgba(10, 24, 50, 0.06), 0 2px 4px rgba(10, 24, 50, 0.04);
  --shadow-lg: 0 20px 50px rgba(10, 24, 50, 0.10), 0 6px 18px rgba(10, 24, 50, 0.06);
}

/* ============================================
   RESET / BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.2rem, 4vw + 0.5rem, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.7rem, 2.4vw + 0.4rem, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.1rem, 0.6vw + 0.9rem, 1.35rem);
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "ss01";
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.6;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
}

section {
  padding: clamp(60px, 7vw, 110px) 0;
  position: relative;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: -0.005em;
  transition: all .2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

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

.btn-text {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 12px;
}

.btn-text:hover {
  color: var(--ink);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement {
  background: var(--ink);
  color: white;
  padding: 9px 0;
  font-size: 0.8rem;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  transition: color .2s ease;
}

.announcement-link:hover {
  color: white;
}

.announcement .container {
  display: flex;
  justify-content: center;
}

.ann-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  text-transform: lowercase;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 250, 253, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  z-index: 101;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark img {
  width: 30px;
  height: 33px;
}

.footer-brand .brand img {
  width: 30px;
  height: 33px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  padding: 4px;
}

.brand-text {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.brand-text-accent {
  color: var(--accent);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color .2s ease, background .2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-tint);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  padding: 9px 16px;
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 50, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 98;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: white;
  padding: 80px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 99;
  border-left: 1px solid var(--line);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background .2s ease;
}

.mobile-menu a:hover {
  background: var(--bg-tint);
  color: var(--ink);
}

.mobile-menu .btn {
  margin-top: 14px;
  justify-content: center;
}

.nav-links a.active {
  color: var(--line);
  background: #ffffff29;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: clamp(70px, 8vw, 130px) 0 clamp(60px, 6vw, 90px);
  overflow: hidden;
  background: var(--ink);
  color: white;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--navy-mid), transparent 70%);
  opacity: 0.45;
  animation: floatGlow 18s ease-in-out infinite;
}

.glow-2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  right: -80px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: 0.35;
  animation: floatGlow 22s ease-in-out -5s infinite;
}

.glow-3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 50%;
  background: radial-gradient(circle, var(--sky), transparent 70%);
  opacity: 0.18;
  animation: floatGlow 16s ease-in-out -8s infinite;
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -30px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.85);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
}

.badge-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.hero-title {
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

/* Hero text rotator */
.hero-rotator {
  display: inline-block;
  position: relative;
  height: 1.1em;
  vertical-align: bottom;
  overflow: hidden;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
  letter-spacing: -0.01em;
}

.hero-rot-track {
  display: flex;
  flex-direction: column;
  animation: rotateText 12s ease-in-out infinite;
}

.hero-rot-track span {
  height: 1.1em;
  line-height: 1.1;
  white-space: nowrap;
}

@keyframes rotateText {

  0%,
  22% {
    transform: translateY(0);
  }

  25%,
  47% {
    transform: translateY(-1.1em);
  }

  50%,
  72% {
    transform: translateY(-2.2em);
  }

  75%,
  97% {
    transform: translateY(-3.3em);
  }

  100% {
    transform: translateY(-4.4em);
  }
}

.hero-sub {
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-actions {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-actions .btn-primary {
  background: white;
  color: var(--ink);
}

.hero-actions .btn-primary:hover {
  background: var(--sky);
}

.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta-item svg {
  color: var(--sky);
  flex-shrink: 0;
}

/* Trusted strip */
.trusted-strip {
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.trusted-label {
  display: block;
  text-align: center;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 22px;
  letter-spacing: 0.05em;
}

.trusted-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
  opacity: 0.55;
}

.logo-item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: opacity .3s ease;
}

.logo-item:hover {
  color: white;
}

/* ============================================
   WHY / SLIDER
   ============================================ */
.why-section {
  padding-top: clamp(80px, 8vw, 130px);
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
}

.why-slider-wrap {
  position: relative;
  padding: 0 52px;
}

.why-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.why-track {
  display: flex;
  gap: 16px;
  transition: transform .45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.why-card {
  flex: 0 0 calc((100% - 32px) / 3);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  min-height: 300px;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.why-card-num {
  font-size: 0.7rem;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 20px;
  padding: 3px 8px;
  background: var(--bg-tint);
  border-radius: 4px;
  width: fit-content;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

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

.why-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.why-card>p {
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.why-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.why-tag {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 500;
}

.why-metric {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.why-metric-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.why-metric-label {
  font-size: 0.74rem;
  color: var(--muted);
}

/* Slider arrows */
.why-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: var(--shadow);
  z-index: 2;
}

.why-arrow:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.why-prev {
  left: 0;
}

.why-next {
  right: 0;
}

.why-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Slider dots */
.why-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 28px;
}

.why-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  padding: 0;
}

.why-dot.active {
  background: var(--ink);
  width: 20px;
  border-radius: 3px;
}

/* Old bento kept for backward compat but hidden */
.bento-grid {
  display: none;
}

.bento-card {
  display: none;
}



.bento-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  height: 100%;
  align-items: stretch;
}

.bento-split>div:first-child {
  display: flex;
  flex-direction: column;
}

.bento-code {
  background: var(--ink);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.code-dot:nth-child(1) {
  background: #ff5f57;
}

.code-dot:nth-child(2) {
  background: #ffbd2e;
}

.code-dot:nth-child(3) {
  background: #28c840;
}

.code-file,
.terminal-title {
  margin-left: auto;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.code-body {
  flex: 1;
  padding: 16px 18px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.code-body pre {
  font-family: var(--font-mono);
}

.c-key {
  color: var(--sky);
}

.c-str {
  color: #84cc16;
}

.c-bool {
  color: #f59e0b;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink);
}

.service-num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.7rem;
  color: var(--muted-2);
  font-weight: 500;
}

.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 19px;
  height: 19px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card>p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
  color: var(--muted);
}

.service-arrow {
  color: var(--ink);
  transition: transform .25s ease;
}

.service-card:hover .service-arrow {
  transform: translateX(3px);
}

/* Read More button in service cards */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-deep);
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-tint);
  cursor: pointer;
  transition: all .2s ease;
  font-family: var(--font-mono);
}

.btn-read-more:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.btn-read-more svg {
  transition: transform .2s ease;
}

.btn-read-more:hover svg {
  transform: translateX(3px);
}

.service-card-featured .btn-read-more {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--sky);
}

.service-card-featured .btn-read-more:hover {
  background: white;
  color: var(--ink);
}

.service-card-featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.service-card-featured h3 {
  color: white;
}

.service-card-featured>p {
  color: rgba(255, 255, 255, 0.7);
}

.service-card-featured .service-icon {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sky);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-card-featured .service-foot {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}

.service-card-featured .service-arrow {
  color: var(--sky);
}

.service-card-featured .service-num {
  color: rgba(255, 255, 255, 0.4);
}

.featured-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 0.66rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--sky);
  color: var(--ink);
  text-transform: lowercase;
}

/* ============================================
   INDUSTRIES (TABS)
   ============================================ */
.industries .section-head {
  margin-bottom: 36px;
}

.industry-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  padding: 6px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ind-tab {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .2s ease;
}

.ind-tab:hover {
  color: var(--ink);
}

.ind-tab.active {
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.industry-panels {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.industry-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  animation: fadeIn .4s ease;
}

.industry-panel.active {
  display: grid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ind-content h3 {
  font-size: clamp(1.4rem, 1.5vw + 0.5rem, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.ind-desc {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.ind-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.ind-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.li-mark {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Dashboard mockup */
.ind-visual {
  display: flex;
  justify-content: center;
}

.dashboard-card {
  width: 100%;
  max-width: 460px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line);
}

.dash-title {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.dash-pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dash-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 22px;
  gap: 12px;
}

.dash-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
}

.dash-stat-num {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.dash-stat-trend {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
}

.dash-stat-trend.up {
  color: #16a34a;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 22px 22px;
  height: 110px;
}

.dash-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent), var(--accent-light));
  border-radius: 4px 4px 0 0;
  animation: barRise .8s ease both;
  animation-delay: calc(var(--i, 0) * 0.05s);
}

@keyframes barRise {
  from {
    height: 0;
    opacity: 0;
  }

  to {
    height: var(--h);
    opacity: 1;
  }
}

.schedule-list {
  padding: 14px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-item {
  display: grid;
  grid-template-columns: 60px 1fr 28px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-tint);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.sch-time {
  font-size: 0.78rem;
  color: var(--muted);
}

.sch-status {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 600;
}

.sch-status.confirmed {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.sch-status.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.sch-status.ai {
  background: var(--ink);
  color: white;
  font-size: 0.6rem;
  font-family: var(--font-mono);
}

.dash-line {
  padding: 0 22px 22px;
  color: var(--accent);
}

.dash-line svg {
  width: 100%;
  height: 80px;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--ink);
  color: white;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, black 30%, transparent 80%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.stat {
  text-align: center;
  padding: 12px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:last-child {
  border-right: none;
}

.stat-num,
.stat-suffix {
  display: inline-block;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-suffix {
  color: var(--sky);
}

.stat-label {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
  letter-spacing: 0;
}

/* ============================================
   PROCESS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.process-step {
  position: relative;
  padding: 26px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .25s ease, box-shadow .25s ease;
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ps-num {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  display: inline-block;
  padding: 3px 8px;
  background: rgba(74, 127, 167, 0.1);
  border-radius: 4px;
}

.ps-line {
  position: absolute;
  top: 38px;
  right: -22px;
  width: 22px;
  height: 1px;
  background: var(--line);
  display: flex;
  align-items: center;
}

.ps-line::after {
  content: "→";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.process-step h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.process-step p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.ps-time {
  font-size: 0.74rem;
  color: var(--muted);
}

.guarantee-row {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.gr-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(74, 127, 167, 0.1);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

.gr-text {
  flex: 1;
}

.gr-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.gr-text span {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ============================================
   AI SPOTLIGHT
   ============================================ */
.ai-spotlight {
  background: var(--bg-tint);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.ai-content h2 {
  margin-bottom: 16px;
}

.ai-lead {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 480px;
}

.ai-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-bottom: 36px;
}

.ai-feat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ai-feat-num {
  font-size: 0.74rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.ai-feat strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.ai-feat p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Terminal */
.ai-terminal {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-body {
  padding: 22px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
}

.term-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  animation: lineIn .4s ease both;
}

.term-line:nth-child(1) {
  animation-delay: 0.2s;
}

.term-line:nth-child(2) {
  animation-delay: 0.9s;
}

.term-line:nth-child(3) {
  animation-delay: 1.6s;
}

.term-line:nth-child(4) {
  animation-delay: 2.3s;
}

.term-line:nth-child(5) {
  animation-delay: 3s;
}

@keyframes lineIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.term-prompt {
  color: var(--muted);
  flex-shrink: 0;
  font-weight: 600;
}

.term-prompt.bot {
  color: #fbbf24;
}

.term-text {
  flex: 1;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.term-tag {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  margin-left: auto;
  white-space: nowrap;
}

.term-line-status {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  align-items: center;
}

.term-status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials .section-head {
  margin-bottom: 48px;
}

.infinite-scroll-container {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.infinite-track {
  display: flex;
  gap: 14px;
  animation: scrollX 60s linear infinite;
  width: max-content;
}

.infinite-track:hover {
  animation-play-state: paused;
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.review-card {
  flex-shrink: 0;
  width: 360px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #f59e0b;
}

.review-text {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.review-author-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 600;
}

.review-author-info span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

/* ============================================
   PRICING — single package shell
   ============================================ */
.pkg-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  transition: box-shadow .3s ease;
}

.pkg-shell:hover {
  box-shadow: var(--shadow-lg);
}

.pkg-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pkg-identity {
  padding: 44px 40px 40px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.pkg-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  background: var(--bg-tint);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  align-self: flex-start;
  border: 1px solid var(--line);
}

.pkg-name {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.pkg-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 32px;
}

.pkg-price {
  margin-bottom: 32px;
}

.pkg-from {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pkg-amount {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.pkg-unit {
  font-size: 0.9rem;
  color: var(--muted);
}

.pkg-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 8px;
}

.pkg-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.pkg-services {
  padding: 44px 40px 40px;
}

.pkg-services-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 24px;
}

.pkg-svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pkg-svc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pkg-svc-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.pkg-svc-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}

.pkg-svc-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.pkg-svc-sub {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

.pkg-guarantees {
  border-top: 1px solid var(--line);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--bg-tint);
}

.pkg-guar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--ink-soft);
}

.pkg-guar svg {
  stroke: var(--accent);
  flex-shrink: 0;
}

.pkg-guar strong {
  color: var(--ink);
  font-weight: 600;
}

.pkg-guar-sep {
  width: 1px;
  height: 18px;
  background: var(--line);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pkg-top {
    grid-template-columns: 1fr;
  }

  .pkg-identity {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 32px 24px;
  }

  .pkg-services {
    padding: 32px 24px;
  }

  .pkg-svc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pkg-guarantees {
    padding: 18px 24px;
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .pkg-guar-sep {
    display: none;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 32px;
  padding: 5px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  display: flex;
}

.faq-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .2s ease;
}

.faq-tab:hover {
  color: var(--ink);
}

.faq-tab.active {
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.faq-list {
  width: 100%;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item:hover {
  border-color: var(--muted-2);
}

.faq-item.open {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}

.faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: transform .3s ease, color .3s ease;
}

.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
  color: var(--ink);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-item.open .faq-a {
  max-height: 280px;
}

.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding-bottom: clamp(70px, 7vw, 110px);
}

.cta-card {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 70px);
  color: white;
  overflow: hidden;
  isolation: isolate;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, black 20%, transparent 70%);
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-glow-1 {
  width: 360px;
  height: 360px;
  top: -100px;
  right: -100px;
  background: var(--accent);
  opacity: 0.3;
}

.cta-glow-2 {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -80px;
  background: var(--sky);
  opacity: 0.15;
}

.cta-inner {
  position: relative;
  max-width: 800px;
}

.cta-card .section-label {
  color: var(--sky);
}

.cta-card h2 {
  color: white;
  margin-bottom: 12px;
}

.cta-card>.cta-inner>p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 580px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color .2s ease, background .2s ease;
}

.form-group select option {
  color: var(--ink);
  background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.cta-submit {
  margin-top: 6px;
  padding: 14px 24px;
  font-size: 0.92rem;
  align-self: flex-start;
  background: white;
  color: var(--ink);
}

.cta-submit:hover {
  background: var(--sky);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--ink);
  color: white;
  padding: 70px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  color: white;
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  background: transparent;
  color: var(--ink);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  color: #4ade80;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.footer-col h5 {
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color .2s ease;
}

.footer-col ul a:hover {
  color: var(--accent-deep);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  gap: 6px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all .2s ease;
}

.footer-social a:hover {
  background: white;
  color: var(--ink);
  border-color: white;
}

/* ============================================
   FLOATING / UTILS
   ============================================ */
.go-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 50;
}

.go-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.go-top:hover {
  transform: translateY(-2px);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 50, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(15px) scale(0.97);
  transition: transform .3s ease;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.modal-overlay.show .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--bg-tint);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  transition: background .2s ease, color .2s ease;
}

.modal-close:hover {
  background: var(--ink);
  color: white;
}

.modal h3 {
  margin: 8px 0 18px;
  padding-right: 36px;
  font-size: 1.4rem;
}

.modal-body {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.modal-body h4 {
  margin: 18px 0 8px;
  color: var(--ink);
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.modal-body li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ============================================
   REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta .btn-text,
  .nav-cta .nav-btn,
  .nav-ctta .nav-btn {
    display: none;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-wide {
    grid-column: span 2;
  }

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

  .industry-panel.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ai-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ai-features {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-line {
    display: none;
  }

  .pkg-top {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
    padding-top: 24px;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-meta {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }

  .bento-split {
    grid-template-columns: 1fr;
  }

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

  .ai-features {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  .review-card {
    width: 290px;
    padding: 22px;
  }

  .cta-submit {
    width: 100%;
    justify-content: center;
  }

  .industry-tabs {
    width: 100%;
    justify-content: stretch;
  }

  .ind-tab {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .ann-tag {
    display: none;
  }

  .announcement {
    font-size: 0.74rem;
  }

  .guarantee-row {
    flex-direction: column;
    text-align: center;
  }
  
  
}

/* Large screens — keep proportions elegant */
@media (min-width: 1500px) {
  body {
    font-size: 14.5px;
  }
}

@media (min-width: 1800px) {
  :root {
    --container: 1320px;
  }

  body {
    font-size: 14px;
  }
}


/* ============================================
   PATCH · NAVBAR · TRANSPARENT, NOT STICKY
   ============================================ */
.navbar {
  position: absolute !important;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
}

.hero {
  padding-top: clamp(120px, 12vw, 180px);
}

.navbar .nav-links a {
  color: rgba(255, 255, 255, 0.78);
}

.navbar .nav-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.navbar .brand {
  color: white;
}

.navbar .brand-text-accent {
  color: var(--sky);
}

.navbar .btn-text {
  color: rgba(255, 255, 255, 0.7);
}

.navbar .btn-text:hover {
  color: white;
}

.navbar .nav-btn {
  background: white;
  color: var(--ink);
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.18), 0 8px 22px rgba(0, 0, 0, 0.18);
}

.navbar .nav-btn:hover {
  background: var(--sky);
}

.navbar .menu-toggle {
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.18);

}

.navbar .menu-toggle span {
  background: white;
}

/* Brand mark with logo image */
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.18);
}

.navbar .brand-mark {
  background: transparent;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  display: block;
}

/* Fallback: hand-built A if logo.png missing */


/* ============================================
   PATCH · BENTO GRID · 4-COL, NO GAPS
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px auto;
  gap: 14px;
}

.bento-large {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.bento-card:not(.bento-large):not(.bento-wide) {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-wide {
  grid-column: 1 / -1;
  grid-row: 3 / span 1;
  min-height: 240px;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .bento-large {
    grid-column: span 2;
    grid-row: auto;
    min-height: 280px;
  }

  .bento-wide {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }
}

/* ============================================
   PATCH · 3D BUTTONS
   ============================================ */
.btn {
  position: relative;
  transform: translateY(0);
  transition: transform .12s ease, box-shadow .12s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.btn-primary {
  box-shadow:
    0 4px 0 var(--accent-deep),
    0 6px 14px rgba(10, 24, 50, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(2px);
  box-shadow:
    0 0px 0 var(--accent-deep),
    0 10px 22px rgba(10, 24, 50, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 var(--accent-deep),
    0 2px 6px rgba(10, 24, 50, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  box-shadow: 0 3px 0 var(--line), 0 5px 12px rgba(10, 24, 50, 0.05);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--ink), 0 8px 16px rgba(10, 24, 50, 0.08);
}

.btn-ghost:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 var(--ink), 0 2px 4px rgba(10, 24, 50, 0.05);
}

/* Hero (dark bg) primary buttons */
.hero-actions .btn-primary {
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.5),
    0 8px 22px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero-actions .btn-primary:hover {
  box-shadow:
    0 6px 0 rgba(0, 0, 0, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-actions .btn-primary:active {
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-actions .btn-ghost {
  box-shadow: 0 3px 0 rgba(255, 255, 255, 0.18), 0 6px 14px rgba(0, 0, 0, 0.18);
}

.hero-actions .btn-ghost:hover {
  box-shadow: 0 5px 0 rgba(255, 255, 255, 0.28), 0 10px 18px rgba(0, 0, 0, 0.22);
}

/* CTA card (dark) submit */
.cta-submit {
  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.4),
    0 10px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cta-submit:hover {
  box-shadow:
    0 7px 0 rgba(0, 0, 0, 0.45),
    0 14px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ============================================
   WORKFLOW DIAGRAM
   ============================================ */
.workflow {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.wf-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px;
}

.wf-conn {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 0;
}

.wf-pulse {
  stroke-dasharray: 200 1000;
  animation: wfDash 4s linear infinite;
}

@keyframes wfDash {
  from {
    stroke-dashoffset: 1200;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.wf-nodes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.wf-node {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px 20px;
  text-align: center;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  animation: wfPop .6s ease both;
}

.wf-node:nth-child(1) {
  animation-delay: 0.05s;
}

.wf-node:nth-child(2) {
  animation-delay: 0.2s;
}

.wf-node:nth-child(3) {
  animation-delay: 0.35s;
}

.wf-node:nth-child(4) {
  animation-delay: 0.5s;
}

.wf-node:nth-child(5) {
  animation-delay: 0.65s;
}

@keyframes wfPop {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wf-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 24, 50, 0.1);
  border-color: var(--accent);
}

.wf-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--sky);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 0 var(--accent-deep), 0 6px 14px rgba(10, 24, 50, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

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

.wf-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: wfRing 2.5s ease-in-out infinite;
}

.wf-node:nth-child(1) .wf-icon::after {
  animation-delay: 0s;
}

.wf-node:nth-child(2) .wf-icon::after {
  animation-delay: 0.5s;
}

.wf-node:nth-child(3) .wf-icon::after {
  animation-delay: 1s;
}

.wf-node:nth-child(4) .wf-icon::after {
  animation-delay: 1.5s;
}

.wf-node:nth-child(5) .wf-icon::after {
  animation-delay: 2s;
}

@keyframes wfRing {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }

  30% {
    opacity: 0.6;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.wf-num {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 6px;
  display: inline-block;
}

.wf-node h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.wf-node p {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 10px;
}

.wf-time {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--accent);
  padding: 3px 8px;
  background: rgba(74, 127, 167, 0.1);
  border-radius: 4px;
}

.wf-meter {
  margin: 40px auto 0;
  max-width: 720px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 22px rgba(10, 24, 50, 0.06);
}

.wf-meter-row {
  display: grid;
  grid-template-columns: 200px 1fr 80px;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
}

.wf-meter-row>span:first-child {
  color: var(--muted);
  font-size: 0.74rem;
}

.wf-bar {
  height: 8px;
  background: var(--bg-tint);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.wf-bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 999px;
  animation: wfFill 1.4s ease-out both;
}

.wf-bar-fill.green {
  background: linear-gradient(90deg, #16a34a, #4ade80);
}

@keyframes wfFill {
  from {
    width: 0;
  }

  to {
    width: var(--w);
  }
}

.wf-val {
  text-align: right;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .wf-nodes {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .wf-conn {
    display: none;
  }
}

@media (max-width: 640px) {
  .wf-nodes {
    grid-template-columns: 1fr;
  }

  .wf-meter-row {
    grid-template-columns: 1fr 60px;
    gap: 8px;
  }

  .wf-meter-row>span:first-child {
    grid-column: 1 / -1;
    margin-bottom: -4px;
  }

  .wf-bar {
    grid-column: 1;
  }
}

/* ============================================
   CASE STUDIES
   ============================================ */
.cases {
  background: var(--bg);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10, 24, 50, 0.12);
  border-color: var(--accent);
}

.case-card-dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.case-card-dark .case-quote {
  color: rgba(255, 255, 255, 0.78);
}

.case-card-dark .case-author {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

.case-card-dark .case-avatar {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.case-card-dark h3 {
  color: white;
}

.case-card-dark .case-h-accent {
  color: var(--sky);
}

.case-card-dark .case-tag {
  color: var(--sky);
}

.case-card-dark .case-metric {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.case-card-dark .case-metric-label {
  color: rgba(255, 255, 255, 0.55);
}

.case-card-dark .case-before {
  color: rgba(255, 255, 255, 0.5);
}

.case-card-dark .case-after {
  color: white;
}

.case-card-dark .case-chip {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
}

.case-card-dark:hover {
  border-color: var(--accent);
}

.case-tag {
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 500;
}

.case-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0;
}

.case-h-accent {
  color: var(--accent);
}

.case-quote {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  font-style: italic;
}

.case-quote::before {
  content: "\201C ";
  color: var(--accent);
  font-weight: 600;
}

.case-quote::after {
  content: "\201D";
  color: var(--accent);
  font-weight: 600;
}

.case-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.case-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.78rem;
}

.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-metric {
  background: var(--bg-tint);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 12px 14px;
}

.case-metric-label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.case-metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.case-before {
  color: var(--muted-2);
  text-decoration: line-through;
  text-decoration-color: rgba(107, 138, 168, 0.5);
}

.case-after {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
}

.case-metric-row svg {
  color: var(--accent);
  flex-shrink: 0;
}

.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.case-chip {
  font-size: 0.7rem;
  color: var(--ink-soft);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* ============================================
   ROI CALCULATOR
   ============================================ */
.roi {
  background: var(--bg-tint);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.roi-card {
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 16px 40px rgba(10, 24, 50, 0.08);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
}

.roi-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.roi-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.roi-input-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.roi-input-head label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.roi-input-val {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-tint);
  border-radius: 999px;
  outline: none;
  margin: 4px 0 0;
}

.roi-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--p, 0%), var(--bg-tint) var(--p, 0%));
}

.roi-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--bg-tint);
}

.roi-slider::-moz-range-progress {
  height: 6px;
  background: var(--accent);
  border-radius: 999px;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--accent);
  cursor: grab;
  margin-top: -8px;
  box-shadow: 0 3px 0 var(--accent-deep), 0 6px 14px rgba(10, 24, 50, 0.18);
  transition: transform .15s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.roi-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.05) translateY(1px);
  box-shadow: 0 1px 0 var(--accent-deep), 0 2px 4px rgba(10, 24, 50, 0.18);
}

.roi-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--accent);
  box-shadow: 0 3px 0 var(--accent-deep), 0 6px 14px rgba(10, 24, 50, 0.18);
  cursor: grab;
}

.roi-input-marks {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--muted-2);
}

.roi-output {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.roi-output::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, black 20%, transparent 70%);
  pointer-events: none;
}

.roi-out-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

.roi-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.roi-stat-hero {
  padding: 14px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.roi-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.roi-stat-num {
  font-family: var(--font-body);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: white;
  font-variant-numeric: tabular-nums;
  transition: transform .25s ease;
}

.roi-stat-num.small {
  font-size: 1.5rem;
  font-weight: 700;
}

.roi-stat-trend {
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 2px;
}

.roi-stat-trend.up {
  color: #4ade80;
}

.roi-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.roi-stat-row .roi-stat {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.roi-cta {
  margin-top: 10px;
  position: relative;
}

.roi-disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  text-align: center;
}

@media (max-width: 1024px) {
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* number tick animation */
.roi-stat-num.tick {
  animation: roiTick .25s ease;
}

@keyframes roiTick {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
    color: var(--sky);
  }

  100% {
    transform: scale(1);
  }
}

/* ============================================
   AI CHAT WIDGET
   ============================================ */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 0 var(--accent-deep), 0 12px 28px rgba(10, 24, 50, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform .15s ease, box-shadow .15s ease;
  overflow: hidden;
}

.chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--accent-deep), 0 16px 36px rgba(10, 24, 50, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.chat-fab:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--accent-deep), 0 4px 10px rgba(10, 24, 50, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.chat-fab svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 2;
  color: var(--sky);
}

.chat-fab-label {
  position: relative;
  z-index: 2;
}

.chat-fab-dot {
  position: relative;
  z-index: 2;
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: chatDot 2s infinite;
}

@keyframes chatDot {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
  }
}

.chat-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.25;
  animation: chatPulse 2.5s ease-in-out infinite;
}

@keyframes chatPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0;
  }

  20% {
    opacity: 0.3;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.chat-fab.hidden {
  display: none;
}

.chat-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 95;
  width: min(380px, calc(100vw - 32px));
  height: min(580px, calc(100vh - 80px));
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(10, 24, 50, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
}

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

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ink);
  color: white;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sky);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chat-avatar svg {
  width: 18px;
  height: 18px;
}

.chat-header-info strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.chat-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  transition: background .2s ease, color .2s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  animation: msgIn .28s ease both;
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.bot .chat-msg-bubble {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-msg.user .chat-msg-bubble {
  background: var(--ink);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-msg-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  margin-top: 4px;
  padding: 0 4px;
}

.chat-msg.user .chat-msg-meta {
  text-align: right;
}

.chat-typing {
  display: inline-flex;
  gap: 3px;
  padding: 12px 14px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--muted-2);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }

  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 0;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}

.chat-chip {
  font-size: 0.76rem;
  padding: 7px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all .15s ease;
  cursor: pointer;
}

.chat-chip:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px 4px;
  background: var(--bg);
}

#chatInput {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 0.88rem;
}

#chatInput:focus {
  outline: none;
  border-color: var(--accent);
}

.chat-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 3px 0 var(--accent-deep), 0 5px 12px rgba(10, 24, 50, 0.2);
  transition: transform .15s ease, box-shadow .15s ease;
}

.chat-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--accent-deep), 0 7px 16px rgba(10, 24, 50, 0.25);
}

.chat-send:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--accent-deep), 0 2px 4px rgba(10, 24, 50, 0.18);
}

.chat-foot {
  font-size: 0.66rem;
  color: var(--muted-2);
  text-align: center;
  padding: 4px 14px 12px;
  background: var(--bg);
}

@media (max-width: 640px) {
  .chat-fab {
    padding: 12px 16px;
  }

  .chat-fab-label {
    display: none;
  }

  .chat-panel {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    border-radius: 18px 18px 0 0;
  }
}

/* hide brand-mark fallback img if it errors out — fallback CSS letter takes over */


/* ============================================
   PATCH v3 — request batch
   ============================================ */
/* Bento: now 5 cards (1 large + 4 small) → 2 rows on desktop */
.bento-grid {
  grid-template-rows: repeat(2, minmax(180px, auto));
}

.bento-wide {
  display: none !important;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-rows: auto;
  }
}

/* Hero typewriter */
.hero-typer {
  display: inline-block;
  position: relative;
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-caret {
  display: inline-block;
  width: 0.04em;
  margin-left: 0.04em;
  font-family: var(--font-serif);
  color: var(--accent);
  animation: caretBlink 0.85s steps(2) infinite;
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

/* Floating buttons stack */
.go-top {
  left: 24px;
  right: auto;
  bottom: 24px;
}

.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 86px;
  /* sits above chat fab */
  z-index: 51;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #25D366 0%, #1FAD53 100%);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 0 #117c33, 0 10px 24px rgba(37, 211, 102, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #117c33, 0 14px 30px rgba(37, 211, 102, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.wa-fab:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #117c33, 0 4px 10px rgba(37, 211, 102, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.wa-fab svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 2;
}

.wa-fab-label {
  position: relative;
  z-index: 2;
}

.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.5);
  animation: waPulse 2.4s ease-out infinite;
  z-index: 1;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

@media (max-width: 640px) {
    .hero-typer{
      display: block !important;
  }
  .wa-fab {
    padding: 12px 14px;
    bottom: 78px;
  }

  .wa-fab-label {
    display: none;
  }

  .go-top {
    left: 16px;
    bottom: 16px;
  }
}

/* FAQ 2-col on large screens */
@media (min-width: 900px) {
  .faq-list {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-content: start;
  }

  .faq-list .faq-item {
    margin: 0;
  }
}

/* Portfolio cards (replaces case-cards section) */
.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}

.pf-tab {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  transition: all 0.2s ease;
}

.pf-tab:hover {
  color: var(--ink);
  border-color: var(--accent-light);
}

.pf-tab.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s, border-color 0.35s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.pf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(10, 24, 50, 0.12);
  border-color: var(--accent);
}

.pf-card:hover .pf-thumb-art {
  transform: scale(1.06);
}

.pf-card:hover .pf-cta {
  transform: translateX(4px);
}

.pf-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-thumb-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(.2, .7, .2, 1);
}

.pf-thumb-art svg {
  width: 80%;
  height: auto;
  max-height: 86%;
}

.pf-thumb-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(10, 24, 50, 0.85);
  color: white;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 500;
  font-family: var(--font-mono);
  backdrop-filter: blur(6px);
}

.pf-thumb-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 5px;
}

.pf-thumb-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

/* archived state — muted pill */
.pf-thumb-pill-archived {
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
}

.pf-thumb-pill-archived::before {
  background: var(--muted-2);
}

/* archived card — slightly muted thumbnail to signal "no longer live" */
.pf-card-archived .pf-thumb-art {
  opacity: 0.72;
  transition: opacity 0.25s ease;
}

.pf-card-archived:hover .pf-thumb-art {
  opacity: 0.92;
}

.pf-card-archived .pf-cta {
  color: var(--muted);
}

.pf-card-archived:hover .pf-cta {
  color: var(--accent-deep);
}

.pf-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: lowercase;
}

.pf-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

.pf-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.pf-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.pf-result {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-tint);
  border-radius: 8px;
  margin-top: 4px;
}

.pf-result-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
}

.pf-result-label {
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.pf-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pf-chip {
  padding: 3px 8px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10.5px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.pf-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  transition: transform 0.2s ease;
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials slider - 3 cards desktop / 1 mobile */
.slider-stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.slider-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.55s cubic-bezier(.5, .05, .2, 1);
}

.slider-track .review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-height: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.slider-track .review-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: .90rem;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.005em;
}

@media (max-width: 900px) {
  .slider-track .review-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }

  .slider-stage {
    max-width: 760px;
  }
}

@media (max-width: 600px) {
  .slider-track .review-card {
    flex: 0 0 100%;
    padding: 26px 24px;
  }

  .slider-track .review-text {
    font-size: .80rem;
  }

  .slider-stage {
    max-width: 100%;
  }
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.slider-dots {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: all 0.25s ease;
  cursor: pointer;
}

.slider-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .slider-track .review-card {
    padding: 26px 24px;
  }

  .slider-track .review-text {
    font-size: .80rem;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
  }
}

.testimonials .container {
  padding-bottom: 60px;
}

/* ============================================
   TEAM / FOUNDER SECTION
   ============================================ */
.team-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: start;
}

/* Founder card spans 2 rows */
.team-card-founder {
  grid-column: span 2;
}

.team-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

/* Founder card inner layout */
.team-card-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.team-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.team-avatar-large {
  width: 96px;
  height: 96px;
}

.team-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed var(--accent);
  opacity: 0.4;
}

.team-initials {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.01em;
}

.team-avatar-large .team-initials {
  font-size: 1.4rem;
}

.team-founder-badge {
  font-size: 0.68rem;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--sky);
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}

.team-info {
  flex: 1;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  color: var(--ink);
}

.team-card:not(.team-card-founder) .team-name {
  font-size: 1.1rem;
}

.team-role {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.team-bio {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.team-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--bg-tint);
  color: var(--ink-soft);
  font-weight: 500;
}

.team-socials {
  display: flex;
  gap: 8px;
}

.team-social {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all .2s ease;
}

.team-social:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* Non-founder cards: avatar at top */
.team-card:not(.team-card-founder) .team-avatar {
  margin-bottom: 4px;
}

/* Responsive team grid */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-card-founder {
    grid-column: span 2;
  }

  .team-card-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card-founder {
    grid-column: span 1;
  }
}

/* ============================================
   SERVICE POPUP (modal for service details)
   ============================================ */
.service-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 50, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.service-popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.service-popup {
  background: white;
  border-radius: var(--radius-lg);
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.service-popup-overlay.show .service-popup {
  transform: translateY(0) scale(1);
}

.service-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s ease;
}

.service-popup-close:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.service-popup-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.service-popup h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-popup-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  margin-bottom: 20px;
}

.service-popup-icon svg {
  width: 26px;
  height: 26px;
}

.service-popup-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 24px;
}

.service-popup-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-popup-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.service-popup-features li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-popup-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* WHY Slider responsive */
@media (max-width: 960px) {
  .why-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 600px) {
  .why-card {
    flex: 0 0 100%;
  }

  .why-slider-wrap {
    padding: 0 10px;
  }

  .why-arrow {
    display: none !important;
  }

  .slider-arrow {
    display: none;
  }

  .hero-badge {
    padding: 6px 10px;
    font-size: 0.68rem;
  }
}