/* ================================================
   VIXO STUDIO — Global Stylesheet v2
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@1,300;1,400;1,600;1,700&family=Space+Grotesk:wght@400;500;600;700&family=Sora:wght@300;400;500;600;700&display=swap');

/* ——— Variables ——— */
:root {
  --bg:           #070808;
  --bg-1:         #0d110f;
  --bg-2:         #111111;
  --bg-card:      rgba(255, 255, 255, 0.028);
  --border:       rgba(255, 255, 255, 0.07);
  --border-md:    rgba(255, 255, 255, 0.11);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text:         #f0f0f0;
  --text-2:       #8a8a8a;
  --text-3:       #3e3e3e;
  --accent:       #15b263;
  --accent-dark:  #10954f;
  --accent-dim:   rgba(21, 178, 99, 0.10);
  --accent-glow:  rgba(21, 178, 99, 0.30);
  --accent-glow2: rgba(21, 178, 99, 0.12);
  --font-head:    'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Sora', system-ui, sans-serif;
  --max-w:        1200px;
  --nav-h:        70px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
}

/* ——— Reset ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--accent-dim); color: var(--accent); }

/* ——— Typography ——— */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display {
  font-family: var(--font-head);
  font-size: clamp(44px, 7vw, 90px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(32px, 4.5vw, 58px); }
h2 { font-size: clamp(26px, 3.5vw, 44px); }
h3 { font-size: clamp(19px, 2.2vw, 26px); }
h4 { font-size: clamp(16px, 1.5vw, 19px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

p { line-height: 1.8; }
.accent  { color: var(--accent); }
.accent-serif {
  color: var(--accent);
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: inherit;
  letter-spacing: -0.01em;
}
.text-2  { color: var(--text-2); }
.center  { text-align: center; }

/* ——— Layout ——— */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 112px 0; }
.section-header { margin-bottom: 72px; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-2); font-size: 17px; max-width: 560px; line-height: 1.75; }
.section-header.center p { margin: 0 auto; }
.divider { height: 1px; background: var(--border); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* ——— Section backgrounds ——— */
.bg-alt  { background: var(--bg-1); }
.bg-alt2 { background: var(--bg-2); }
.bg-image {
  background-image: url('../assets/hero_vixo-1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 8, 0.88);
  pointer-events: none;
}
.bg-image > * { position: relative; z-index: 1; }

/* ——— PILL NAV ——— */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 36px));
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  height: 70px;
  padding: 0 12px 0 26px;
  background: rgba(8, 11, 9, 0.12);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset;
  transition:
    background   0.35s ease,
    border-color 0.35s ease,
    box-shadow   0.35s ease,
    height       0.35s ease,
    padding      0.35s ease,
    width        0.35s ease;
}

/* Compact / scrolled state — pill tightens smoothly */
.nav.scrolled {
  height: 56px;
  padding: 0 6px 0 16px;
  width: min(960px, calc(100% - 36px));
  background: rgba(6, 8, 7, 0.48);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.nav-logo-full,
.nav-logo-compact {
  height: 24px;
  width: auto;
  display: block;
  transition: opacity 0.35s ease;
}

.nav-logo-compact {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
  pointer-events: auto;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav > .btn-primary { margin-left: auto; }

/* ——— Hamburger ——— */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  margin-left: 8px;
  transition: background 0.2s;
}

.nav-toggle:hover { background: rgba(255,255,255,0.10); }

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ——— Mobile Nav (pill dropdown) ——— */
.mobile-nav {
  position: fixed;
  top: calc(18px + 52px + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1100px, calc(100% - 36px));
  background: rgba(6, 8, 7, 0.94);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 20px 24px 24px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}

.mobile-nav.open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mobile-nav-links { display: flex; flex-direction: column; }

.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-links a:last-child { border-bottom: none; }
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--text); padding-left: 6px; }

.mobile-nav-cta { margin-top: 20px; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow:
    0 0 20px var(--accent-glow),
    0 8px 32px rgba(21, 178, 99, 0.25),
    0 0 0 1px rgba(21, 178, 99, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-md);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid transparent;
  padding-left: 0;
  padding-right: 0;
}

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

.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 100px; }
.btn-lg { padding: 15px 32px; font-size: 15px; border-radius: 100px; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ——— Pill badge ——— */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* ——— Cards ——— */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.card:hover {
  border-color: rgba(21, 178, 99, 0.15);
  transform: translateY(-6px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(21, 178, 99, 0.12),
    0 0 60px rgba(21, 178, 99, 0.10),
    0 0 30px rgba(21, 178, 99, 0.07);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: box-shadow 0.3s ease;
}

.card:hover .card-icon {
  box-shadow: 0 0 20px var(--accent-glow2);
}

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

/* ——— HERO ——— */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('../assets/hero_vixo-1.jpg') center center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 178, 99, 0.09) 0%, transparent 65%);
  top: 35%;
  left: 55%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  animation: hero-breathe 10s ease-in-out infinite;
}

@keyframes hero-breathe {
  0%, 100% { transform: translate(-50%, -55%) scale(1); opacity: 0.8; }
  50%       { transform: translate(-43%, -50%) scale(1.15); opacity: 1; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 75%);
  pointer-events: none;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 60px 0;
}

.hero-content { position: relative; z-index: 1; }
.hero-visual {
  position: relative;
  z-index: 1;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual spline-viewer {
  width: 100%;
  height: 100%;
}

.hero-pill  { margin-bottom: 36px; }
.hero-headline { margin-bottom: 22px; }
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ——— Page hero (sub-pages) ——— */
.page-hero {
  padding-top: calc(80px + 64px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-glow { top: 20%; }

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 100px;
  border: 1px solid rgba(21, 178, 99, 0.22);
  background: var(--accent-dim);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

/* ——— Unit cards ——— */
.unit-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.unit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(21,178,99,0.07), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.unit-card::after {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.unit-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px);
  box-shadow: 0 28px 72px rgba(0,0,0,0.5), 0 0 40px rgba(21, 178, 99, 0.05);
}

.unit-card:hover::before { opacity: 1; }
.unit-card:hover::after  { opacity: 1; }

.unit-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}

.unit-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.unit-card h3   { margin-bottom: 12px; }
.unit-card p    { color: var(--text-2); font-size: 14px; line-height: 1.8; flex: 1; margin-bottom: 28px; }

.unit-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease, gap 0.2s ease;
}

.unit-link:hover { color: var(--accent); gap: 12px; }

/* ——— Stats grid ——— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.stat-item {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s ease;
}

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

.stat-item:hover { background: rgba(21,178,99,0.03); }

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ——— Steps ——— */
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:first-child { padding-top: 0; }
.step:last-child  { border-bottom: none; padding-bottom: 0; }

.step-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--text-3);
  line-height: 1;
  transition: color 0.25s ease;
}

.step:hover .step-num { color: var(--accent); }
.step-content h4 { font-size: 18px; margin-bottom: 7px; }
.step-content p  { color: var(--text-2); font-size: 14px; line-height: 1.75; }

/* ——— Testimonial ——— */
.testimonial-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--border-md);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 30px rgba(21,178,99,0.04);
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 100px;
  line-height: 1;
  color: rgba(21,178,99,0.12);
  font-weight: 700;
  display: block;
  margin-bottom: -24px;
}

.testimonial-text {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(21,178,99,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.testimonial-role { font-size: 12px; color: var(--text-2); }

/* ——— Logo scroller ——— */
.logos-section {
  padding: 52px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}

.logos-track-wrap {
  overflow: hidden;
  position: relative;
}

/* Fade edges left and right */
.logos-track-wrap::before,
.logos-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.logos-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.logos-track {
  display: flex;
  gap: 64px;
  align-items: center;
  width: max-content;
  animation: ticker 24s linear infinite;
}

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

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  height: 26px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.55;
  flex-shrink: 0;
  transition: opacity 0.25s ease;
}

.logo-item:hover { opacity: 0.9; }

/* ——— Feature list ——— */
.feature-list { display: flex; flex-direction: column; gap: 24px; }

.feature-item { display: flex; gap: 16px; align-items: flex-start; }

.feature-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(21, 178, 99, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  transition: box-shadow 0.2s ease;
}

.feature-item:hover .feature-check {
  box-shadow: 0 0 12px var(--accent-glow2);
}

.feature-check svg { width: 11px; height: 11px; }
.feature-body h4   { font-size: 15px; margin-bottom: 3px; }
.feature-body p    { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ——— Highlight box ——— */
.highlight-box {
  background: var(--accent-dim);
  border: 1px solid rgba(21, 178, 99, 0.16);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.highlight-box p      { font-size: 14px; color: var(--text-2); }
.highlight-box strong { color: var(--accent); }

/* ——— CTA section ——— */
.cta-section {
  padding: 128px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section.with-bg {
  background: url('../assets/back.webp') center bottom / cover no-repeat;
}

.cta-section.with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 8, 0.82);
  pointer-events: none;
}

.cta-section.with-bg > .container { position: relative; z-index: 1; }

.cta-glow {
  position: absolute;
  width: 600px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(21,178,99,0.09) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-section .display   { margin-bottom: 18px; }
.cta-section .sub       { color: var(--text-2); font-size: 17px; margin-bottom: 44px; max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.cta-actions            { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ——— Video wrapper ——— */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  margin: 64px 0;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ——— Code visual ——— */
.code-visual {
  background: #0c100e;
  border: 1px solid rgba(21,178,99,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(21,178,99,0.06);
}

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

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-bar-label {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-3);
  font-family: 'Courier New', monospace;
}

.code-body {
  padding: 24px 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
}

.c-comment { color: #4a6741; }
.c-keyword  { color: #a78bfa; }
.c-func     { color: #38bdf8; }
.c-string   { color: #86efac; }
.c-type     { color: #fb923c; }
.c-var      { color: var(--text); }

/* ——— Dashboard visual ——— */
.dash-visual {
  background: #0b0f0d;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.dash-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.dash-title { font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.dash-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); }

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dash-kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.dash-kpi-val { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--accent); }
.dash-kpi-label { font-size: 11px; color: var(--text-2); margin-top: 2px; }

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.dash-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--accent-dark), var(--accent));
  opacity: 0.6;
  transition: opacity 0.2s;
}

.dash-bar:hover { opacity: 1; }

/* ——— Video section ——— */
.video-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 72px rgba(0,0,0,0.6), 0 0 0 1px rgba(21,178,99,0.05);
  aspect-ratio: 16/9;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ——— Pricing cards ——— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1), box-shadow 0.35s ease;
}

.pricing-card:hover {
  border-color: var(--border-md);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4);
}

.pricing-card.featured {
  border-color: rgba(21,178,99,0.3);
  background: rgba(21,178,99,0.04);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-5px);
  border-color: rgba(21,178,99,0.5);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4), 0 0 32px rgba(21,178,99,0.1);
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  width: fit-content;
}

.pricing-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price span { font-size: 18px; color: var(--text-2); font-weight: 400; }

.pricing-desc {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.pricing-features { flex: 1; margin-bottom: 28px; }

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 20px;
}

/* ——— FAQ accordion ——— */
.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  background: none;
  color: var(--text);
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--accent); }

.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, border-color 0.2s ease, background 0.2s ease;
  color: var(--accent);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-dim);
  border-color: rgba(21,178,99,0.3);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 22px;
}

.faq-a p { color: var(--text-2); font-size: 14px; line-height: 1.8; }

/* ——— FOOTER ——— */
footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}

/* Background image removed */
footer::before { display: none; }

/* Radial green glow */
footer::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(21,178,99,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

/* ── Top row: logo + nav + social ── */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  align-items: center;
  justify-content: center;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-nav a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.footer-social a:hover {
  border-color: rgba(21,178,99,0.35);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* ── Bottom row: copyright ── */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 28px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-address {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: right;
  line-height: 1.6;
}

/* ── Legacy classes still referenced ── */
.footer-main    { display: none; }
.footer-logo-mark { display: none; }
.footer-info      { display: none; }
.footer-center    { display: none; }

/* ——— Animations ——— */
.animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate.visible           { opacity: 1; transform: translateY(0); }
.animate.from-left         { transform: translateX(-32px); }
.animate.from-left.visible { transform: translateX(0); }
.animate.from-right        { transform: translateX(32px); }
.animate.from-right.visible { transform: translateX(0); }
.animate.scale-in          { transform: scale(0.94); }
.animate.scale-in.visible  { transform: scale(1); }

.delay-1 { transition-delay: 0.07s; }
.delay-2 { transition-delay: 0.14s; }
.delay-3 { transition-delay: 0.21s; }
.delay-4 { transition-delay: 0.28s; }
.delay-5 { transition-delay: 0.35s; }
.delay-6 { transition-delay: 0.42s; }

/* ——— Contact form ——— */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  -webkit-appearance: none;
  font-family: var(--font-body);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-3); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(21,178,99,0.4);
  background: rgba(21,178,99,0.03);
  box-shadow: 0 0 0 3px rgba(21,178,99,0.08);
}

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

/* ——— Legal ——— */
.legal-content h2 { font-size: 24px; margin-top: 52px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.legal-content h3 { font-size: 17px; margin-top: 28px; margin-bottom: 8px; }
.legal-content p  { color: var(--text-2); font-size: 14px; margin-bottom: 14px; line-height: 1.8; }
.legal-content ul { padding-left: 18px; margin-bottom: 14px; }
.legal-content ul li { list-style: disc; color: var(--text-2); font-size: 14px; margin-bottom: 6px; line-height: 1.7; }

/* ——— 404 ——— */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px;
  position: relative;
}

/* ——— Back to top ——— */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10,12,11,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 500;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-top:hover {
  color: var(--accent);
  border-color: rgba(21,178,99,0.3);
  box-shadow: 0 0 16px var(--accent-glow2);
}

/* ——— Section reveal line ——— */
.section-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21,178,99,0.3), transparent);
  margin: 0;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.section-line.visible { opacity: 1; transform: scaleX(1); }

/* ——— Page transitions ——— */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
main {
  animation: fade-in-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: column; gap: 24px; text-align: center; }
  .footer-logo { order: 0; }
  .footer-social { order: 1; justify-content: center; }
  .footer-nav { order: 2; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-address { text-align: center; }
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 320px; justify-content: center; }
  .split { gap: 48px; }
  .pricing-grid { gap: 16px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 80px 0; }

  .nav-links  { display: none; }
  .nav-toggle { display: flex; }
  /* hide book a call button in nav on very small */

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .split  { grid-template-columns: 1fr; gap: 36px; }

  .stats-grid { border-radius: var(--radius); }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .cta-section  { padding: 80px 0; }
  .cta-actions  { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  .unit-card { padding: 28px; }
  .testimonial-card { padding: 28px 20px; }

  .step { grid-template-columns: 52px 1fr; gap: 16px; }
  .step-num { font-size: 32px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }

  .pricing-grid { grid-template-columns: 1fr; }
  .contact-next-steps { grid-template-columns: 1fr !important; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-5px); }

  .page-hero { padding-top: calc(80px + 40px); padding-bottom: 56px; }
  .section-header { margin-bottom: 48px; }

  /* Hero split grids on sub-pages collapse to single column on mobile */
  .page-hero .container > div[style*="grid-template-columns:1fr 1fr"],
  .page-hero .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Build hero split */
  .build-hero-split { grid-template-columns: 1fr !important; gap: 40px !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-item { padding: 28px 16px; }
  .nav { top: 12px; padding: 6px 6px 6px 18px; width: calc(100% - 24px); }
  .mobile-nav { top: calc(12px + 50px + 10px); width: calc(100% - 24px); }
}
