/* ============================================================
   Zetabyte Solutions — shared stylesheet
   Fonts: Outfit (headings), Plus Jakarta Sans (body)
   Brand: charcoal #16161d, gradient pink #e14ee0 → blue #2563eb
   ============================================================ */

:root {
  --ink: #16161d;
  --ink-soft: #4b4b57;
  --muted: #6e6e7a;
  --bg: #ffffff;
  --bg-soft: #f6f6fa;
  --bg-dark: #101018;
  --line: #e7e7ee;
  --pink: #e14ee0;
  --violet: #8b3dff;
  --blue: #2563eb;
  --grad: linear-gradient(100deg, var(--pink), var(--violet) 50%, var(--blue));
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 22, 29, 0.08);
  --font-head: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 20px rgba(139, 61, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(139, 61, 255, 0.45); }
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }

/* ---------- Announcement bar ---------- */
.top-bar {
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
  padding: 9px 20px;
}
.top-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.top-bar a:hover { opacity: 0.85; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 24px rgba(22, 22, 29, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.nav-logo img { height: 64px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links > a.active:not(.nav-cta) { position: relative; }
.nav-links > a.active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--grad);
}
.nav-cta { padding: 11px 22px; font-size: 15px; }
.nav-links a.nav-cta { color: #fff; }
.nav-links a.nav-cta:hover { color: #fff; }
/* dropdown */
.nav-item { position: relative; }
.nav-item > a .caret { font-size: 10px; margin-left: 4px; display: inline-block; transition: transform 0.2s; }
.nav-item:hover > a .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(22, 22, 29, 0.14);
  padding: 10px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav-links .dropdown a {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}
.nav-links .dropdown a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links .dropdown a.active { color: var(--violet); background: var(--bg-soft); }
.nav-links .dropdown a.active::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Hero (dark, full-bleed image) ---------- */
.hero {
  position: relative;
  padding: 130px 0 110px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(16, 10, 40, 0.45) 0%, rgba(16, 10, 40, 0.15) 60%, rgba(16, 10, 40, 0.35) 100%),
    url("../files/backgrounds/zetabyte_hero_bg3.jpg") center / cover no-repeat;
  background-color: #1a1040;
}
.hero-inner { max-width: 800px; }
.hero h1 { color: #fff; }
.hero p.lead { color: rgba(255, 255, 255, 0.85); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 20px;
}
.eyebrow.on-dark { color: #d8b4fe; }
.hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-pattern {
  background: url("../files/backgrounds/zetabyte_bg_light_blue_pattern.png") center / cover no-repeat;
  background-color: #eaf1fb;
}
.section-pastel {
  background: url("../files/backgrounds/zetabyte_hero_bg7.png") center / cover no-repeat;
  background-color: #e8ecfa;
}
.section-head { max-width: 680px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 16px; text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 17.5px; text-wrap: balance; }
.section-head.center p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.85), rgba(246, 246, 252, 0.62));
  backdrop-filter: blur(12px) saturate(1.25);
  -webkit-backdrop-filter: blur(12px) saturate(1.25);
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(31, 38, 135, 0.06);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
}
.card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 22px 44px rgba(22, 22, 29, 0.13); border-color: transparent; }
.grid-3 .card:nth-child(6n+1):hover, .grid-2 .card:nth-child(6n+1):hover { box-shadow: 0 22px 44px rgba(225, 78, 224, 0.22); }
.grid-3 .card:nth-child(6n+2):hover, .grid-2 .card:nth-child(6n+2):hover { box-shadow: 0 22px 44px rgba(139, 61, 255, 0.22); }
.grid-3 .card:nth-child(6n+3):hover, .grid-2 .card:nth-child(6n+3):hover { box-shadow: 0 22px 44px rgba(37, 99, 235, 0.22); }
.grid-3 .card:nth-child(6n+4):hover, .grid-2 .card:nth-child(6n+4):hover { box-shadow: 0 22px 44px rgba(16, 185, 129, 0.22); }
.grid-3 .card:nth-child(6n+5):hover, .grid-2 .card:nth-child(6n+5):hover { box-shadow: 0 22px 44px rgba(245, 158, 11, 0.24); }
.grid-3 .card:nth-child(6n+6):hover, .grid-2 .card:nth-child(6n+6):hover { box-shadow: 0 22px 44px rgba(239, 68, 68, 0.22); }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.25s ease;
}
.card:hover .icon { transform: scale(1.12) rotate(-6deg); }
.card .icon svg { width: 24px; height: 24px; stroke: #fff; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--violet);
}

.grid-3 .card:nth-child(6n+1) .icon, .grid-2 .card:nth-child(6n+1) .icon { background: linear-gradient(120deg, #e14ee0, #8b3dff); }
.grid-3 .card:nth-child(6n+2) .icon, .grid-2 .card:nth-child(6n+2) .icon { background: linear-gradient(120deg, #8b3dff, #2563eb); }
.grid-3 .card:nth-child(6n+3) .icon, .grid-2 .card:nth-child(6n+3) .icon { background: linear-gradient(120deg, #2563eb, #06b6d4); }
.grid-3 .card:nth-child(6n+4) .icon, .grid-2 .card:nth-child(6n+4) .icon { background: linear-gradient(120deg, #06b6d4, #10b981); }
.grid-3 .card:nth-child(6n+5) .icon, .grid-2 .card:nth-child(6n+5) .icon { background: linear-gradient(120deg, #f59e0b, #ef4444); }
.grid-3 .card:nth-child(6n+6) .icon, .grid-2 .card:nth-child(6n+6) .icon { background: linear-gradient(120deg, #ef4444, #e14ee0); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px 220px at 20% 0%, rgba(139, 61, 255, 0.10), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 36px 20px 30px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 26px rgba(31, 38, 135, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.stat:hover { box-shadow: 0 18px 40px rgba(31, 38, 135, 0.16); }
.stat::after {
  content: "";
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0.12;
  top: -48px; right: -48px;
  transition: transform 0.35s ease;
}
.stat:hover::after { transform: scale(1.5); }
.stat .stat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat .stat-icon svg { width: 24px; height: 24px; stroke: #fff; }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { color: var(--muted); font-size: 15px; margin-top: 6px; }
.stats.compact { grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stats.compact .stat {
  padding: 18px 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.stats.compact .stat .stat-icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex: none; }
.stats.compact .stat .stat-icon svg { width: 20px; height: 20px; }
.stats.compact .stat .num { font-size: 26px; line-height: 1.1; }
.stats.compact .stat .label { font-size: 13px; margin-top: 2px; line-height: 1.35; }

/* ---------- Process stepper ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step {
  position: relative;
  padding: 0 16px;
  text-align: center;
  transition: transform 0.22s ease;
}
.step:hover { transform: translateY(-6px); }
.step::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, rgba(139, 61, 255, 0.4), rgba(37, 99, 235, 0.4));
  z-index: 0;
}
.step:last-child::before { display: none; }
.step-dot {
  position: relative;
  z-index: 1;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 7px #fff, 0 0 0 8.5px rgba(139, 61, 255, 0.3), 0 10px 24px rgba(139, 61, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step:hover .step-dot {
  transform: scale(1.14);
  box-shadow: 0 0 0 7px #fff, 0 0 0 8.5px rgba(225, 78, 224, 0.55), 0 14px 30px rgba(139, 61, 255, 0.5);
}
.step h3 { font-size: 17.5px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

.process-note {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 56px;
  text-align: center;
}
.process-note > div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-note > div span { color: var(--muted); font-size: 14.5px; }

/* ---------- Industry tiles ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4.6;
}
.industry-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.industry-tile:hover img { transform: scale(1.05); }
.industry-tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  z-index: 2;
  pointer-events: none;
  transition: left 0.6s ease;
}
.industry-tile:hover::after { left: 130%; }
.industry-tile .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(16, 16, 24, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
  transition: background 0.3s ease;
}
.industry-tile .overlay p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 5px;
}
.industry-tile:hover .overlay {
  background: linear-gradient(180deg, rgba(139, 61, 255, 0.25) 0%, rgba(16, 16, 24, 0.92));
}
.industry-tile h3 { color: #fff; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.industry-tile h3::after {
  content: "→";
  font-size: 18px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s, transform 0.25s;
}
.industry-tile:hover h3::after { opacity: 1; transform: translateX(0); }

/* ---------- Platform strip ---------- */
.platform-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
}
.platform-strip img { margin: 0 auto; max-height: 120px; width: auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: url("../files/backgrounds/zetabyte_cta_bg1.svg") center / cover no-repeat;
  background-color: #33308f;
  border-radius: 24px;
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(71, 64, 184, 0.35);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.72); font-size: 17.5px; margin-bottom: 32px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 90px 0 70px;
  background: url("../files/backgrounds/zetabyte_hero_bg7.png") center / cover no-repeat;
  background-color: #e8ecfa;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; }

.page-hero.hero-blur {
  background: url("../files/backgrounds/zetabytye_blur_bg.png") center / cover no-repeat;
  background-color: #dbe7f7;
}
.page-hero.hero-mesh {
  background: url("../files/backgrounds/zetabyte_hero_bg4.svg") center / cover no-repeat;
  background-color: #eef1fb;
}
.page-hero .page-title-sub {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 10px;
}


/* ---------- Odoo badges ---------- */
.badge-row {
  display: inline-flex;
  gap: 34px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 30px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.badge-row .badge-chip { display: flex; align-items: center; }
.badge-row img { height: 52px; width: auto; transition: transform 0.2s ease; }
.badge-row .badge-chip:hover img { transform: scale(1.08); }

/* ---------- About / two-col ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 14px; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.checklist li {
  display: block;
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 30px; margin-bottom: 16px; }
.contact-info p { color: var(--muted); margin-bottom: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-item .icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .icon svg { width: 20px; height: 20px; stroke: #fff; }
.contact-item h4 { font-size: 16px; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--muted); font-size: 15.5px; }
.contact-item a:hover { color: var(--violet); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--violet);
  background: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 70px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand img { height: 42px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 300px; }
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

/* ---------- Liquid glass ---------- */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);
}
.glass-dark {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: #fff;
}
.section-pattern .card, .section-pastel .card,
.section-pattern .step, .section-pastel .step {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* ---------- Client logo marquee ---------- */
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.logo-track img {
  height: 44px;
  width: auto;
  transition: transform 0.2s;
}
.logo-track img:hover { transform: scale(1.08); }
.logo-track.reverse { animation-direction: reverse; margin-top: 34px; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Static client logo grid ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.client-grid .client-cell {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 14px rgba(22, 22, 29, 0.05);
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
}
.client-grid img {
  max-height: 46px;
  width: auto;
  max-width: 100%;
  transition: transform 0.2s;
}
.client-grid .client-cell:hover img { transform: scale(1.06); }

/* ---------- Platform logo grid ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.platform-grid .platform-cell {
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.platform-grid .platform-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.platform-grid img { max-height: 46px; width: auto; max-width: 100%; }
.platform-grid img[src*="ms_dynamics365"] { max-height: 64px; }
.platform-grid img[src*="metabase"] { max-height: 60px; }
.platform-grid img[src*="acumatica"] { max-height: 36px; }

/* ---------- Odoo partner section ---------- */
.odoo-section {
  position: relative;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(14, 8, 38, 0.72) 0%, rgba(14, 8, 38, 0.35) 60%, rgba(14, 8, 38, 0.55) 100%),
    url("../files/backgrounds/zetabyte_hero_bg2.jpg") center / cover no-repeat;
  background-color: #17103a;
}
.odoo-panel {
  border-radius: 24px;
  padding: 50px;
  max-width: 640px;
}
.odoo-panel .odoo-logo-chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 12px 22px;
  margin-bottom: 26px;
}
.odoo-panel .odoo-logo-chip img { height: 40px; width: auto; }
.odoo-panel h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; color: #fff; }
.odoo-panel p { color: rgba(255, 255, 255, 0.85); margin-bottom: 22px; }
.odoo-panel .checklist li { color: rgba(255, 255, 255, 0.9); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  padding: 20px 52px 20px 24px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--violet);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- Case studies ---------- */
.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card .case-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.case-card .case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.case-card:hover .case-media img { transform: scale(1.06); }
.case-card .case-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 14, 50, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
}
.case-card .case-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card h3 { font-size: 19px; }
.case-card p { color: var(--muted); font-size: 15px; flex: 1; }
.case-metric {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Testimonials ---------- */
.testimonial {
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial .quote-mark {
  font-family: var(--font-head);
  font-size: 54px;
  line-height: 0.6;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.testimonial blockquote { font-size: 16.5px; color: var(--ink-soft); flex: 1; }
.testimonial .who { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.testimonial .who span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

.t-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 6px 34px;
  scrollbar-width: none;
}
.t-slider .testimonial { box-shadow: 0 4px 16px rgba(31, 38, 135, 0.08); }
.t-slider::-webkit-scrollbar { display: none; }
.t-slider .testimonial { flex: 0 0 min(360px, 86%); scroll-snap-align: start; }
.t-nav { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.t-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-btn:hover { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); }
.who-row { display: flex; align-items: center; gap: 12px; }
.who-row img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 3px 10px rgba(22, 22, 29, 0.15);
}

/* ---------- Feature list (why us, iconized) ---------- */
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-list .feature { display: flex; gap: 15px; align-items: flex-start; }
.feature .f-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature .f-icon svg { width: 22px; height: 22px; stroke: #fff; }
.feature:nth-child(1) .f-icon { background: linear-gradient(120deg, #e14ee0, #8b3dff); }
.feature:nth-child(2) .f-icon { background: linear-gradient(120deg, #8b3dff, #2563eb); }
.feature:nth-child(3) .f-icon { background: linear-gradient(120deg, #2563eb, #06b6d4); }
.feature:nth-child(4) .f-icon { background: linear-gradient(120deg, #f59e0b, #ef4444); }
.feature:nth-child(5) .f-icon { background: linear-gradient(120deg, #10b981, #06b6d4); }
.feature h4 { font-size: 16.5px; margin-bottom: 2px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ split ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 60px; align-items: start; }
.faq-grid .faq { max-width: none; margin: 0; }
.faq-aside .eyebrow { margin-bottom: 14px; }
.faq-aside h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 14px; }
.faq-aside p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Insights / blog ---------- */
.post-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .post-media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card .post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-card .post-body { padding: 24px 26px 28px; }
.post-card .post-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; font-family: var(--font-head); }
.post-card h3 { font-size: 18px; margin-bottom: 8px; }
.post-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Blog article pages ---------- */
.article-hero {
  padding: 70px 0 50px;
  background: url("../files/backgrounds/zetabyte_hero_bg7.png") center / cover no-repeat;
  background-color: #e8ecfa;
  border-bottom: 1px solid var(--line);
}
.article-hero h1 { font-size: clamp(30px, 4vw, 44px); max-width: 800px; margin-bottom: 14px; }
.article-meta { font-family: var(--font-head); font-size: 14.5px; color: var(--muted); }
.article-cover { max-width: 900px; margin: -30px auto 0; padding: 0 24px; }
.article-cover img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article {
  max-width: 740px;
  margin: 0 auto;
  padding: 50px 24px 30px;
  font-size: 17px;
  color: var(--ink-soft);
}
.article h2 { font-size: 26px; margin: 38px 0 14px; color: var(--ink); }
.article h3 { font-size: 20px; margin: 28px 0 10px; color: var(--ink); }
.article p { margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 8px; }
.article .callout {
  border-left: 3px solid transparent;
  border-image: var(--grad) 1;
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 16px;
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-halo {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: linear-gradient(120deg, var(--pink), var(--blue));
  transform: translate(-50%, -50%);
}
.cursor-halo {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(139, 61, 255, 0.45);
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cursor-halo.grow {
  width: 56px; height: 56px;
  border-color: rgba(225, 78, 224, 0.65);
  background: rgba(139, 61, 255, 0.08);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-halo { display: none; }
}

/* ---------- Calendly modal ---------- */
.cal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 16, 24, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cal-overlay.show { opacity: 1; }
.cal-modal {
  position: relative;
  width: min(1000px, 94vw);
  height: min(720px, 90vh);
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.2s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.cal-overlay.show .cal-modal { transform: scale(1); }
.cal-modal iframe { width: 100%; height: 100%; border: 0; position: relative; z-index: 1; }
.cal-modal .cal-spin {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 4px solid var(--line);
  border-top-color: var(--violet);
  animation: calspin 0.8s linear infinite;
}
@keyframes calspin { to { transform: rotate(360deg); } }
.cal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(16, 16, 24, 0.08);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  transition: background 0.15s;
}
.cal-close:hover { background: rgba(16, 16, 24, 0.16); }

/* ---------- Scroll reveal & motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .logo-track { animation: none; }
}

/* cursor glow on dark hero / odoo section */
.cursor-glow { position: relative; }
.cursor-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px 420px at var(--mx, 50%) var(--my, 40%), rgba(225, 78, 224, 0.18), transparent 65%);
  transition: background 0.1s;
}
.cursor-glow > .container { position: relative; z-index: 1; }

/* floating blobs in hero */
.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}
.blob-1 { width: 340px; height: 340px; background: rgba(225, 78, 224, 0.45); top: -80px; right: 8%; }
.blob-2 { width: 280px; height: 280px; background: rgba(37, 99, 235, 0.45); bottom: -60px; left: 4%; animation-delay: -4.5s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -28px) scale(1.08); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .odoo-panel { padding: 36px 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .split, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 70px 0 60px; }
  .grid-3, .grid-2, .industry-grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 30px; }
  .step::before { display: none; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 50px 28px; }

  .nav { height: 62px; }
  .nav-logo img { height: 48px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-links a.active::after { display: none; }
  .nav-links a.nav-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 13px 22px;
    margin: 12px 0 4px;
  }
  .nav-item { width: 100%; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 0 0 18px;
    min-width: 0;
    display: none;
  }
  .nav-item.open .dropdown { display: flex; }
  .nav-item:hover .dropdown { transform: none; }
  .stat { padding: 28px 16px 24px; }
}
