/* ============================================
   Zeya Tech Solutions — Global Stylesheet
   ============================================ */

:root {
  --navy-950: #060b16;
  --navy-900: #0a1220;
  --navy-800: #101c30;
  --navy-700: #1a2a44;
  --navy-600: #27395a;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --cyan-400: #22d3ee;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --accent-gradient: linear-gradient(135deg, #2dd4bf 0%, #22d3ee 100%);
  --font-heading: "Sora", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 14px;
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-card-hover: 0 4px 12px rgba(15, 23, 42, 0.08), 0 16px 40px rgba(15, 23, 42, 0.12);
  --max-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--slate-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

img { max-width: 100%; display: block; }
a { color: var(--teal-500); text-decoration: none; }
a:hover { text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--navy-950);
  box-shadow: 0 4px 18px rgba(45, 212, 191, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(45, 212, 191, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-200);
  border: 1.5px solid var(--navy-600);
}
.btn-ghost:hover { border-color: var(--teal-400); color: var(--teal-400); }

.btn-dark {
  background: var(--slate-900);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(6, 11, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
}
.nav-logo .logo-mark {
  width: 38px; height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(45, 212, 191, 0.35));
}
.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.nav-logo .logo-name {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
}
.nav-logo .logo-name em {
  font-style: normal;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-logo .logo-sub {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--slate-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  color: var(--slate-300);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-400); }

.nav-cta {
  padding: 10px 20px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
/* Beat the .nav-links a color rule so the CTA text stays dark on teal */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover {
  color: var(--navy-950);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 8px;
  color: var(--slate-200);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    display: none;
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 12px 0; }
  .nav-links .nav-cta { justify-content: center; margin-top: 8px; }
}

/* ---------- Hero (dark) ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgba(45, 212, 191, 0.13), transparent 60%),
    radial-gradient(ellipse 50% 45% at 12% 85%, rgba(34, 211, 238, 0.08), transparent 60%),
    var(--navy-950);
  color: var(--slate-300);
  padding: 168px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 25%, transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* Kinetic headline: words rise out of clipped containers */
.kinetic .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.kinetic .w > span {
  display: inline-block;
  transform: translateY(115%);
  animation: word-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.kinetic .w:nth-child(1) > span { animation-delay: 0.05s; }
.kinetic .w:nth-child(2) > span { animation-delay: 0.15s; }
.kinetic .w:nth-child(3) > span { animation-delay: 0.25s; }
.kinetic .w:nth-child(4) > span { animation-delay: 0.38s; }
@keyframes word-rise { to { transform: translateY(0); } }

.hero-copy .hero-badge { animation: fade-up 0.6s ease both; }
.hero-copy .lede { animation: fade-up 0.7s ease 0.45s both; }
.hero-copy .hero-actions { animation: fade-up 0.7s ease 0.6s both; }
.hero-copy .hero-stats { animation: fade-up 0.7s ease 0.75s both; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Assembling app window ---------- */
.hero-visual {
  position: relative;
  perspective: 1100px;
}

.app-window {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 8.2;
  max-width: 460px;
  margin-left: auto;
  border-radius: 16px;
  background: rgba(16, 28, 48, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
  animation: window-glow 1s ease 1.7s both;
}
@keyframes window-glow {
  0% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
  50% { box-shadow: 0 30px 90px rgba(45, 212, 191, 0.35), 0 0 0 1px rgba(45, 212, 191, 0.4); }
  100% { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(45, 212, 191, 0.14); }
}

/* Each piece flies in from a scattered offset (--fx/--fy/--fr) and snaps
   into its grid position at delay --d, with a slight overshoot. */
.piece {
  position: absolute;
  border-radius: 10px;
  background: rgba(23, 37, 61, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.16);
  opacity: 0;
  transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(0.7);
  animation: assemble 0.85s cubic-bezier(0.34, 1.4, 0.44, 1) var(--d) forwards;
  will-change: transform, opacity;
}
@keyframes assemble {
  0% { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(0.7); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
}

.win-chrome {
  top: 4%; left: 3.5%; right: 3.5%; height: 9.5%;
  display: flex; align-items: center; gap: 7px;
  padding: 0 14px;
}
.wdot { width: 10px; height: 10px; border-radius: 50%; }
.wdot.r { background: #f87171; }
.wdot.y { background: #fbbf24; }
.wdot.g { background: #34d399; }
.urlbar {
  margin-left: 12px;
  flex: 1;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 10.5px;
  color: var(--slate-500);
  background: rgba(6, 11, 22, 0.6);
  border-radius: 6px;
  padding: 4px 10px;
  white-space: nowrap;
  overflow: hidden;
}

.win-sidebar {
  top: 17%; left: 3.5%; width: 20%; bottom: 5%;
  padding: 12px 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.sb-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-gradient);
  margin-bottom: 6px;
}
.sb-item {
  height: 8px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.18);
}
.sb-item.active { background: rgba(45, 212, 191, 0.55); }

.win-stat-a { top: 17%; left: 27%; width: 33%; height: 22%; }
.win-stat-b { top: 17%; left: 63%; width: 33.5%; height: 22%; }
.win-stat-a, .win-stat-b {
  padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.stat-label { width: 45%; height: 6px; border-radius: 3px; background: rgba(148, 163, 184, 0.22); }
.stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 19px);
  color: var(--teal-400);
}
.stat-sub { font-size: 10px; color: var(--slate-500); }

.win-chart {
  top: 43%; left: 27%; width: 69.5%; height: 30%;
  padding: 12px 16px 10px;
}
.bars {
  display: flex; align-items: flex-end; gap: 8px;
  height: 100%;
}
.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.9), rgba(34, 211, 238, 0.35));
  transform-origin: bottom;
  transform: scaleY(0);
  animation: bar-grow 0.6s cubic-bezier(0.34, 1.3, 0.5, 1) var(--bd) forwards;
}
@keyframes bar-grow { to { transform: scaleY(1); } }

.win-code {
  top: 77%; left: 27%; width: 47%; bottom: 5%;
  padding: 8px 12px;
  overflow: hidden;
}
.win-code pre {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 10px;
  line-height: 1.5;
  color: var(--teal-400);
  white-space: pre-wrap;
  word-break: break-all;
}
.caret {
  display: inline-block;
  width: 6px; height: 11px;
  margin-left: 1px;
  background: var(--teal-400);
  vertical-align: text-bottom;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.win-cta {
  top: 77%; left: 77%; right: 3.5%; bottom: 5%;
  display: grid; place-items: center;
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.35);
}
.mini-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  color: var(--teal-400);
  animation: cta-pulse 2.4s ease 2.8s infinite;
}
@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.deploy-badge {
  position: absolute;
  bottom: -18px; right: 8%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy-800);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: var(--teal-400);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(14px) scale(0.85);
  animation: badge-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.5s forwards;
  z-index: 2;
}
@keyframes badge-pop { to { opacity: 1; transform: translateY(0) scale(1); } }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
  z-index: -1;
}
.orb-a {
  width: 220px; height: 220px;
  top: -50px; right: -40px;
  background: rgba(45, 212, 191, 0.22);
  animation: orb-float 9s ease-in-out infinite;
}
.orb-b {
  width: 180px; height: 180px;
  bottom: -40px; left: 0;
  background: rgba(34, 211, 238, 0.16);
  animation: orb-float 11s ease-in-out 1.2s infinite reverse;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 22px); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.28);
  color: var(--teal-400);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-400);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(45, 212, 191, 0); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5.2vw, 58px);
  max-width: 780px;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  font-size: clamp(17px, 2vw, 19.5px);
  max-width: 620px;
  color: var(--slate-400);
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.hero-stats .stat { flex: 1; min-width: 120px; }
.hero-stats .stat .num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.hero-stats .stat .num em { color: var(--teal-400); font-style: normal; }
.hero-stats .stat .label { font-size: 14px; color: var(--slate-500); margin-top: 2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 55% 60% at 80% 10%, rgba(45, 212, 191, 0.12), transparent 60%),
    var(--navy-950);
  padding: 150px 0 76px;
  color: var(--slate-400);
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.5vw, 46px);
  margin-bottom: 18px;
  max-width: 720px;
}
.page-hero p { font-size: 18px; max-width: 640px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tint { background: var(--bg-light); }
.section.dark {
  background:
    radial-gradient(ellipse 50% 60% at 85% 15%, rgba(45, 212, 191, 0.1), transparent 60%),
    var(--navy-950);
  color: var(--slate-400);
}
.section.dark h2, .section.dark h3 { color: var(--white); }

.eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-500);
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 16px; }
.section-head p { font-size: 17.5px; color: var(--slate-500); }
.section.dark .section-head p { color: var(--slate-400); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(20, 184, 166, 0.35);
}

/* Cursor-following glow (JS sets --mx / --my) */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(45, 212, 191, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }

.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(34, 211, 238, 0.14));
  border: 1px solid rgba(20, 184, 166, 0.25);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--teal-500);
}
.card .icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 19.5px; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--slate-500); }

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--teal-500);
}
.card .card-link:hover { gap: 10px; }
.card .card-link { transition: gap 0.15s ease; }

/* ---------- Client logo strip ---------- */
.logo-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 46px 0 42px;
}
.logo-strip-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--slate-400);
  margin-bottom: 30px;
}
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(36px, 6vw, 76px);
  flex-wrap: wrap;
}
.logo-row img {
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.25s ease, transform 0.25s ease;
}
.logo-row img:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-2px);
}

/* ---------- Tech strip / marquee ---------- */
.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 6px)); }
}
.tech-pill {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate-600);
}
.section.dark .tech-pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--slate-300);
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.16);
}
.process-step .step-num {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-400);
  margin-bottom: 14px;
}
.process-step h3 { font-size: 18px; margin-bottom: 10px; }
.process-step p { font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
}
.quote-card .stars { color: #f59e0b; letter-spacing: 3px; font-size: 15px; margin-bottom: 18px; }
.quote-card blockquote {
  font-size: 16px;
  color: var(--slate-600);
  margin-bottom: 24px;
}
.quote-card .who { display: flex; align-items: center; gap: 14px; }
.quote-card .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-950);
}
.quote-card .who .name { font-weight: 600; color: var(--slate-900); font-size: 15px; }
.quote-card .who .role { font-size: 13.5px; color: var(--slate-500); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(45, 212, 191, 0.16), transparent 65%),
    var(--navy-950);
  border-radius: 22px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.cta-band p { color: var(--slate-400); font-size: 17.5px; max-width: 540px; margin: 0 auto 36px; }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--slate-200);
}
.service-block:last-of-type { border-bottom: none; }
.service-block.reverse .service-visual { order: 2; }
@media (max-width: 860px) {
  .service-block { grid-template-columns: 1fr; gap: 36px; }
  .service-block.reverse .service-visual { order: 0; }
}

.service-block h3 { font-size: 26px; margin-bottom: 16px; }
.service-block > div > p { color: var(--slate-500); margin-bottom: 22px; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--slate-600);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.service-visual {
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 70% 70% at 30% 20%, rgba(45, 212, 191, 0.18), transparent 65%),
    var(--navy-900);
  border: 1px solid var(--navy-700);
  padding: 40px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.service-visual .vtag {
  align-self: flex-start;
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 13px;
  color: var(--teal-400);
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 6px 14px;
  border-radius: 8px;
}
.service-visual .vline {
  height: 10px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.14);
}
.service-visual .vline.short { width: 55%; }
.service-visual .vline.mid { width: 78%; }

/* ---------- Case studies ---------- */
.case-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.case-card .case-top {
  padding: 28px 30px;
  background:
    radial-gradient(ellipse 80% 100% at 20% 0%, rgba(45, 212, 191, 0.16), transparent 70%),
    var(--navy-950);
}
.case-card .case-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-400);
  margin-bottom: 10px;
}
.case-card .case-top h3 { color: var(--white); font-size: 20px; }

.case-card .case-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.case-card .case-body p { font-size: 15px; color: var(--slate-500); }
.case-card .case-body p strong { color: var(--slate-900); font-weight: 600; }

.case-metrics { display: flex; gap: 28px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--slate-200); }
.case-metrics .metric .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--teal-500);
}
.case-metrics .metric .label { font-size: 12.5px; color: var(--slate-500); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-grid .prose p { margin-bottom: 18px; color: var(--slate-600); }
.about-grid .prose p:first-of-type { font-size: 19px; color: var(--slate-700); }

.founder-card {
  background: var(--navy-950);
  border-radius: var(--radius);
  padding: 38px 34px;
  color: var(--slate-400);
  position: sticky;
  top: 100px;
}
.founder-card .avatar-lg {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 20px;
}
.founder-card h3 { color: var(--white); font-size: 21px; margin-bottom: 4px; }
.founder-card .role { color: var(--teal-400); font-size: 14.5px; font-weight: 600; margin-bottom: 18px; }
.founder-card p { font-size: 14.5px; margin-bottom: 20px; }
.founder-card .founder-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.founder-card .founder-tags span {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--teal-400);
}

.value-item { display: flex; gap: 18px; align-items: flex-start; }
.value-item .icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(34, 211, 238, 0.14));
  border: 1px solid rgba(20, 184, 166, 0.25);
  display: grid;
  place-items: center;
  color: var(--teal-500);
}
.value-item .icon svg { width: 22px; height: 22px; }
.value-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.value-item p { font-size: 15px; color: var(--slate-500); }

/* ---------- Expertise columns ---------- */
.expertise-col h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-500);
  margin-bottom: 18px;
}
.expertise-col ul { list-style: none; display: grid; gap: 10px; }
.expertise-col li {
  font-size: 15px;
  color: var(--slate-600);
  padding-left: 20px;
  position: relative;
}
.expertise-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--teal-400);
}
.section.dark .expertise-col li { color: var(--slate-300); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }

.contact-info h2 { font-size: 30px; margin-bottom: 16px; }
.contact-info > p { color: var(--slate-500); margin-bottom: 34px; }

.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--slate-200);
}
.contact-method:last-of-type { border-bottom: none; }
.contact-method .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(34, 211, 238, 0.14));
  border: 1px solid rgba(20, 184, 166, 0.25);
  display: grid;
  place-items: center;
  color: var(--teal-500);
}
.contact-method .icon svg { width: 20px; height: 20px; }
.contact-method .label { font-size: 13.5px; color: var(--slate-500); }
.contact-method .value { font-weight: 600; color: var(--slate-900); font-size: 15.5px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 40px 38px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--slate-900);
  background: var(--bg-light);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.14);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 13.5px; color: var(--slate-500); margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--slate-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--teal-500);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; font-size: 15px; color: var(--slate-500); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .nav-logo { margin-bottom: 18px; }
.footer .footer-about { font-size: 14.5px; max-width: 300px; }

.footer h4 {
  color: var(--white);
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: var(--slate-400); font-size: 14.5px; transition: color 0.15s ease; }
.footer ul a:hover { color: var(--teal-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 30px;
  font-size: 13.5px;
  color: var(--slate-500);
}

/* ---------- AI chat widget ---------- */
#zeya-chat { position: fixed; bottom: 24px; right: 24px; z-index: 200; font-family: var(--font-body); }

.zc-fab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: var(--accent-gradient);
  color: var(--navy-950);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(45, 212, 191, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zc-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(45, 212, 191, 0.55); }
.zc-fab-close { display: none; }
.zc-open .zc-fab-open { display: none; }
.zc-open .zc-fab-close { display: block; }
.zc-open .zc-fab-label { display: none; }
.zc-open .zc-fab { padding: 14px; }

.zc-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 130px);
  display: none; /* collapsed by default — .zc-open shows it */
  flex-direction: column;
  background: var(--navy-950);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
#zeya-chat.zc-open .zc-panel {
  display: flex;
  animation: zc-pop 0.25s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.zc-panel[hidden] { display: none !important; }
@keyframes zc-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.zc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(45, 212, 191, 0.07);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.zc-head-avatar {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy-950);
}
.zc-head-title { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--white); }
.zc-head-sub { font-size: 12px; color: var(--slate-400); display: flex; align-items: center; gap: 6px; }
.zc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-400); animation: pulse 2s infinite; }
.zc-share {
  margin-left: auto;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: transparent;
  color: var(--teal-400);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.zc-share:hover { background: rgba(45, 212, 191, 0.1); }

.zc-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zc-msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}
.zc-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--slate-200);
  border-bottom-left-radius: 4px;
}
.zc-user {
  align-self: flex-end;
  background: var(--accent-gradient);
  color: var(--navy-950);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.zc-error { border-color: rgba(248, 113, 113, 0.4); }

.zc-typing { display: inline-flex; gap: 4px; padding: 3px 0; }
.zc-typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--slate-400);
  animation: zc-bounce 1.2s infinite;
}
.zc-typing i:nth-child(2) { animation-delay: 0.15s; }
.zc-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes zc-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.zc-starters { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 10px; }
.zc-starters button {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  background: transparent;
  color: var(--teal-400);
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.zc-starters button:hover { background: rgba(45, 212, 191, 0.1); }

.zc-lead {
  padding: 14px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(45, 212, 191, 0.05);
  display: grid;
  gap: 8px;
}
.zc-lead[hidden] { display: none; }
.zc-lead-title { font-size: 12.5px; color: var(--slate-300); }
.zc-lead input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(6, 11, 22, 0.6);
  color: var(--white);
  font-size: 13.5px;
}
.zc-lead input:focus { outline: none; border-color: var(--teal-400); }
.zc-lead-actions { display: flex; gap: 8px; }
.zc-lead-send, .zc-lead-cancel {
  padding: 9px 16px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.zc-lead-send { border: none; background: var(--accent-gradient); color: var(--navy-950); }
.zc-lead-cancel { border: 1px solid rgba(148, 163, 184, 0.25); background: transparent; color: var(--slate-400); }

.zc-input {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.zc-input input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 14px;
}
.zc-input input::placeholder { color: var(--slate-500); }
.zc-input input:focus { outline: none; border-color: var(--teal-400); }
.zc-input button {
  width: 44px;
  border: none;
  border-radius: 10px;
  background: var(--accent-gradient);
  color: var(--navy-950);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.zc-foot {
  padding: 8px 14px 12px;
  font-size: 11.5px;
  color: var(--slate-500);
  text-align: center;
}
.zc-foot a { color: var(--slate-400); text-decoration: underline; }

@media (max-width: 560px) {
  #zeya-chat { bottom: 16px; right: 16px; }
  .zc-panel {
    position: fixed;
    inset: auto 16px 84px 16px;
    width: auto;
    height: min(540px, calc(100vh - 110px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .zc-panel { animation: none; }
  .zc-typing i, .zc-dot { animation: none; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .kinetic .w > span,
  .hero-copy .hero-badge,
  .hero-copy .lede,
  .hero-copy .hero-actions,
  .hero-copy .hero-stats,
  .piece,
  .bars span,
  .deploy-badge,
  .app-window {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .marquee-track, .orb, .mini-btn, .caret { animation: none; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
}
