/* ZionDelta Labs: styles
   Built on the Sidney & Richardson token set, applied in a dark SaaS aesthetic.
*/
@import url('./colors_and_type.css');

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

html, body { background: #000; color: #fff; }
body {
  font-family: var(--font-ui);
  font-size: var(--fs-body-l);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.zd-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.zd-skip-link:focus {
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ff5a1c;
  color: #fff;
  z-index: 1000;
}

.zd-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ────────────────────────────────────────────────────────────
   NAV
   ──────────────────────────────────────────────────────────── */
.zd-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.zd-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.zd-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.2px; }
.zd-brand__logo { display: block; height: 56px; width: auto; max-width: 260px; }
.zd-nav .zd-brand__logo { height: 66px; max-width: 320px; }
.zd-footer .zd-brand__logo { height: 48px; max-width: 220px; }
@media (max-width: 600px) {
  .zd-brand__logo { height: 48px; }
  .zd-nav .zd-brand__logo { height: 48px; max-width: 220px; }
  .zd-footer .zd-brand__logo { height: 44px; }
}
.zd-brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background:
    radial-gradient(circle at 30% 30%, #ff7a3c 0%, #d53b00 55%, #7a1f00 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 18px rgba(213, 59, 0, 0.55);
  position: relative;
}
.zd-brand__mark::after {
  content: ""; position: absolute; inset: 5px;
  background: #000;
  clip-path: polygon(50% 10%, 90% 85%, 10% 85%);
}
.zd-nav__links {
  display: flex; gap: 34px; list-style: none; margin: 0; padding: 0;
}
.zd-nav__links a {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: color 180ms var(--ease-out);
}
.zd-nav__links a:hover { color: #fff; }

.zd-nav__cta { display: flex; gap: 12px; align-items: center; }
@media (max-width: 900px) {
  .zd-nav__links { display: none; }
}

/* ────────────────────────────────────────────────────────────
   BUTTONS: adapted from S&R pill system, dark surface
   ──────────────────────────────────────────────────────────── */
.zd-btn {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  transition: all 180ms var(--ease-out);
  text-decoration: none;
}

/* Primary: hot commerce orange. The main conversion action. */
.zd-btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #ff5a1c 0%, #d53b00 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 8px 24px rgba(213, 59, 0, 0.35),
    0 0 0 1px rgba(255,255,255,0.04);
}
.zd-btn--primary:hover {
  background: linear-gradient(180deg, #ff7a3c 0%, #e6460a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 10px 32px rgba(213, 59, 0, 0.55),
    0 0 0 2px rgba(255, 122, 60, 0.4);
  transform: translateY(-1px) scale(1.02);
}
.zd-btn--primary:active { opacity: 0.85; transform: translateY(0) scale(1); }

/* Ghost: outline on dark */
.zd-btn--ghost {
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.zd-btn--ghost:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
}

.zd-btn--sm { font-size: 13px; padding: 8px 16px; font-weight: 600; letter-spacing: 0.2px; }

/* ────────────────────────────────────────────────────────────
   Typography helpers: keep weight 300 for display
   ──────────────────────────────────────────────────────────── */
.zd-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -1.4px;
  color: #fff;
  margin: 0;
}
.zd-h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: #fff;
  margin: 0;
}
.zd-h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: #fff;
  margin: 0;
}
.zd-lead {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.68);
  max-width: 640px;
  font-weight: 400;
}
.zd-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.6);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  margin-bottom: 28px;
}
.zd-kicker__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: zd-kicker-pulse 1.6s ease-in-out infinite;
}
@keyframes zd-kicker-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #22c55e, 0 0 0 0 rgba(34, 197, 94, 0.55); }
  50%      { opacity: 0.55; box-shadow: 0 0 14px #22c55e, 0 0 0 6px rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .zd-kicker__dot { animation: none; }
}
.zd-section-kicker {
  display: block;
  font-size: 13px; font-weight: 500; letter-spacing: 0.4px;
  color: #ff7a3c;
  margin-bottom: 16px;
}

.zd-muted { color: rgba(255,255,255,0.6); }

/* ────────────────────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────────────────────── */
.zd-hero {
  position: relative;
  padding: 80px 0 96px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.zd-hero::before {
  /* Primary orange glow dome */
  content: "";
  position: absolute;
  left: 50%; top: 75%;
  width: 1400px; height: 1400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 122, 60, 0.55) 0%,
    rgba(213, 59, 0, 0.28) 20%,
    rgba(213, 59, 0, 0.08) 38%,
    transparent 58%
  );
  z-index: -2;
  pointer-events: none;
}
.zd-hero::after {
  /* Subtle grid + vignette */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 100%, transparent 40%, rgba(0,0,0,0.85) 100%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
  z-index: -1;
  pointer-events: none;
}

.zd-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

h1.zd-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 0 0 28px;
  color: #fff !important;
}
.zd-hero__title em {
  font-style: normal;
  background: linear-gradient(180deg, #ffb88a 0%, #ff5a1c 60%, #d53b00 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}
.zd-hero__lead {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.zd-hero__actions {
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 64px;
}

/* Orbital badges around hero */
.zd-hero__orbit {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  height: 360px;
  pointer-events: none;
  z-index: 2;
}
.zd-orbit-ring {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
.zd-orbit-ring--1 { width: 280px; height: 280px; }
.zd-orbit-ring--2 { width: 480px; height: 480px; border-color: rgba(255,255,255,0.05); }
.zd-orbit-ring--3 { width: 720px; height: 720px; border-color: rgba(255,255,255,0.03); }

.zd-orbit-badge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15, 15, 18, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  padding: 10px 16px 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  pointer-events: auto;
}
.zd-orbit-badge__icon {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #ff7a3c;
}

/* Mobile orbit badge collision fixes */
@media (max-width: 600px) {
  .zd-orbit-badge {
    font-size: 12px;
    padding: 8px 12px 8px 10px;
  }

  .zd-orbit-badge[style*="top: 8%; left: 14%;"] {
    left: 9% !important;
    top: 11% !important;
  }
  .zd-orbit-badge[style*="top: 20%; right: 8%;"] {
    right: 8% !important;
    top: 25% !important;
  }

  /* Show all six desktop badges on mobile, pulled inside the orbit. */
  .zd-orbit-badge[style*="top: 48%; left: -2%;"] {
    left: 2% !important;
    top: 50% !important;
  }
  .zd-orbit-badge[style*="top: 52%; right: -2%;"] {
    right: 2% !important;
    top: 56% !important;
  }

  /* Separate the lower badges so all six fit without touching. */
  .zd-orbit-badge[style*="bottom: 18%; left: 6%;"] {
    left: 2% !important;
    bottom: 17% !important;
  }
  .zd-orbit-badge[style*="bottom: 10%; right: 12%;"] {
    right: 2% !important;
    bottom: 7% !important;
  }
}

.zd-core {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px; border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, #ffd5b8 0%, #ff7a3c 28%, #d53b00 65%, #5c1400 100%);
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,0.45),
    inset 0 -20px 40px rgba(0,0,0,0.5),
    0 0 60px rgba(255,122,60,0.7),
    0 0 120px rgba(213,59,0,0.5);
  position: absolute;
}
.zd-core__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 78%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.42));
}
.zd-core__inner {
  position: absolute; inset: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.18) 0%, transparent 55%);
  z-index: 3;
  pointer-events: none;
}

/* Hero stat strip */
.zd-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 80px auto 0;
  padding: 32px 24px;
  border-radius: var(--r-hero);
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.zd-stat__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.2px;
  background: linear-gradient(180deg, #ffb88a 0%, #ff5a1c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.zd-stat__label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}


/* ────────────────────────────────────────────────────────────
   Sections / shared
   ──────────────────────────────────────────────────────────── */
.zd-section {
  padding: 80px 0;
  position: relative;
}
@media (max-width: 900px) {
  .zd-section { padding: 56px 0; }
}
.zd-section--darker {
  background: linear-gradient(180deg, #000 0%, #09090b 50%, #000 100%);
}
.zd-section__head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .zd-section__head { margin-bottom: 32px; }
}
.zd-section__head .zd-lead {
  margin: 20px auto 0;
  text-align: center;
}

/* Divider glow */
.zd-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,122,60,0.35), transparent);
}

/* ────────────────────────────────────────────────────────────
   SERVICES GRID
   ──────────────────────────────────────────────────────────── */
.zd-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.zd-service {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: var(--r-feature);
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  transition: all 200ms var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.zd-service::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,122,60,0.35), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.zd-service:hover { transform: translateY(-3px); border-color: rgba(255,122,60,0.18); }
.zd-service:hover::before { opacity: 1; }

.zd-service__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(255,122,60,0.22), rgba(213,59,0,0.08));
  border: 1px solid rgba(255,122,60,0.22);
  color: #ff9864;
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(213,59,0,0.18);
}
.zd-service__title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
.zd-service__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
  margin: 0 0 22px;
}
.zd-service__meta {
  font-size: 12px;
  font-weight: 500;
  color: #ff9864;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  letter-spacing: 0.2px;
}

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

/* ────────────────────────────────────────────────────────────
   PROCESS: 4 steps in a horizontal rail
   ──────────────────────────────────────────────────────────── */
.zd-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.zd-process::before {
  content: "";
  position: absolute;
  top: 38px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,122,60,0.3), rgba(255,122,60,0.3), transparent);
  z-index: 0;
}
.zd-step {
  position: relative;
  text-align: left;
  padding: 0 12px;
  z-index: 1;
}
.zd-step__badge {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a1208 0%, #0a0403 100%);
  border: 1px solid rgba(255,122,60,0.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 300;
  font-size: 28px;
  color: #ff9864;
  margin-bottom: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 24px rgba(213,59,0,0.25),
    0 0 0 4px rgba(0,0,0,1);
}
.zd-step__title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.1px;
}
.zd-step__body {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.58);
  margin: 0;
}

@media (max-width: 900px) {
  .zd-process { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .zd-process::before { display: none; }
}
@media (max-width: 520px) {
  .zd-process { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────────────────
   WHY US: asymmetric feature grid
   ──────────────────────────────────────────────────────────── */
.zd-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.zd-why__tile {
  padding: 28px;
  border-radius: var(--r-feature);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.zd-why__tile:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.zd-why__tile--wide { grid-column: span 2; }
.zd-why__tile--hot {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,122,60,0.18) 0%, transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-color: rgba(255,122,60,0.18);
}
.zd-why__icon {
  width: 36px; height: 36px;
  color: #ff9864;
  margin-bottom: 20px;
}
.zd-why__title {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.1px;
}
.zd-why__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
  margin: 0;
}
@media (max-width: 900px) {
  .zd-why { grid-template-columns: repeat(2, 1fr); }
  .zd-why__tile--wide { grid-column: span 2; }
}
@media (max-width: 580px) {
  .zd-why { grid-template-columns: 1fr; }
  .zd-why__tile--wide { grid-column: auto; }
}

/* ────────────────────────────────────────────────────────────
   DASHBOARD PREVIEW (marquee product shot)
   ──────────────────────────────────────────────────────────── */
.zd-dash-wrap {
  position: relative;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,122,60,0.12), transparent 60%);
  border: 1px solid rgba(255,122,60,0.18);
  max-width: 1100px;
  margin: 0 auto;
}
.zd-dash {
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.02) inset;
}
.zd-dash__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.zd-dash__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.zd-dash__title { margin-left: 14px; font-size: 13px; color: rgba(255,255,255,0.55); }
.zd-dash__title--short { display: none; }
.zd-dash__body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
}
.zd-dash__main { padding: 28px; border-right: 1px solid rgba(255,255,255,0.06); }
.zd-dash__side { padding: 28px; }

.zd-dash-stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-bottom: 22px;
}
.zd-dash-stat {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.zd-dash-stat__label { font-size: 11px; color: rgba(255,255,255,0.5); margin-bottom: 8px; letter-spacing: 0.3px; }
.zd-dash-stat__val {
  font-family: var(--font-display); font-weight: 300;
  font-size: 26px; line-height: 1; letter-spacing: -0.6px; color: #fff;
}
.zd-dash-stat__delta { font-size: 11px; color: #4ade80; margin-top: 6px; font-weight: 500; }

.zd-sparkline {
  height: 110px; width: 100%;
  background:
    linear-gradient(180deg, rgba(255,122,60,0.18), transparent),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 48px);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.zd-sparkline svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.zd-keyword-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
}
.zd-keyword-row:last-child { border-bottom: 0; }
.zd-keyword-row__kw { color: rgba(255,255,255,0.85); }
.zd-keyword-row__rank { color: #4ade80; font-weight: 600; font-variant-numeric: tabular-nums; display: flex; gap: 6px; align-items: center; }
.zd-keyword-row__rank--down { color: #ff7a3c; }

.zd-dash__side-title { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 14px; letter-spacing: 0.3px; text-transform: uppercase; font-weight: 600; }

@media (max-width: 800px) {
  .zd-dash__body { grid-template-columns: 1fr; }
  .zd-dash__main { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

@media (max-width: 600px) {
  .zd-dash-wrap {
    padding: 14px;
    border-radius: 18px;
  }
  .zd-dash {
    border-radius: 14px;
  }
  .zd-dash__bar {
    padding: 10px 12px;
  }
  .zd-dash__dot {
    width: 8px;
    height: 8px;
  }
  .zd-dash__title {
    margin-left: 8px;
    font-size: 12px;
  }
  .zd-dash__title--full { display: none; }
  .zd-dash__title--short { display: inline; }

  .zd-dash__main {
    padding: 14px;
    border-bottom: 0;
  }
  .zd-dash-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }
  .zd-dash-stat-grid .zd-dash-stat:nth-child(3) {
    grid-column: 1 / -1;
  }
  .zd-dash-stat {
    padding: 10px 12px;
    border-radius: 10px;
  }
  .zd-dash-stat__val {
    font-size: 22px;
  }
  .zd-sparkline {
    height: 92px;
  }

  .zd-dash__side {
    display: none;
  }
}

/* ────────────────────────────────────────────────────────────
   PRICING
   ──────────────────────────────────────────────────────────── */
.zd-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.zd-pricing--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  gap: 16px;
}
.zd-plan__tier {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.zd-plan--featured .zd-plan__tier { color: #ff9864; }
.zd-plan {
  padding: 36px 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  display: flex; flex-direction: column;
}
.zd-plan--featured {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,60,0.28) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border-color: rgba(255,122,60,0.35);
  box-shadow:
    0 0 0 1px rgba(255,122,60,0.15),
    0 20px 60px rgba(213,59,0,0.25);
  transform: translateY(-10px);
}
.zd-plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, #ff5a1c, #d53b00);
  color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.4px;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(213,59,0,0.5);
}
.zd-plan__name { font-family: var(--font-ui); font-weight: 600; font-size: 19px; color: #fff; margin-bottom: 8px; letter-spacing: -0.2px; }
.zd-plan__tag { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.zd-plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; }
.zd-plan__price-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 56px; line-height: 1; letter-spacing: -2px; color: #fff;
}
.zd-plan__price-unit { font-size: 14px; color: rgba(255,255,255,0.55); }
.zd-plan__features { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.zd-plan__features li {
  display: flex; gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
.zd-plan__features svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #ff9864;
}
.zd-plan .zd-btn { justify-content: center; width: 100%; }

@media (max-width: 1100px) {
  .zd-pricing--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .zd-pricing { grid-template-columns: 1fr; max-width: 420px; }
  .zd-plan--featured { transform: none; }
}
@media (max-width: 560px) {
  .zd-pricing--4 { grid-template-columns: 1fr; max-width: 420px; }
}

/* ────────────────────────────────────────────────────────────
   AI SECTION (ZDL)
   ──────────────────────────────────────────────────────────── */
.zd-ai {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.zd-ai::before {
  content: "";
  position: absolute;
  right: -200px; top: 50%;
  width: 900px; height: 900px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255,122,60,0.22) 0%, rgba(213,59,0,0.08) 30%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.zd-ai__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.zd-ai__lede { max-width: 560px; }
.zd-ai__bullets {
  list-style: none;
  padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 18px;
}
.zd-ai__bullets li {
  display: flex; gap: 14px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}
.zd-ai__bullets li strong { color: #fff; font-weight: 600; }
.zd-ai__check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,122,60,0.28), rgba(213,59,0,0.08));
  border: 1px solid rgba(255,122,60,0.35);
  display: inline-flex; align-items: center; justify-content: center;
  color: #ff9864;
  margin-top: 1px;
}

.zd-ai__viz {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.zd-ai__ring {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.1);
}
.zd-ai__ring--outer { width: 100%; height: 100%; animation: zd-spin 60s linear infinite; }
.zd-ai__ring--mid   { width: 70%;  height: 70%;  animation: zd-spin 40s linear infinite reverse; border-color: rgba(255,255,255,0.08); }
.zd-ai__ring--inner { width: 42%;  height: 42%;  border-color: rgba(255,122,60,0.3); border-style: solid; }
@keyframes zd-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.zd-ai__core {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 28%; height: 28%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, #ffd5b8 0%, #ff7a3c 30%, #d53b00 65%, #5c1400 100%);
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,0.35),
    inset 0 -20px 30px rgba(0,0,0,0.45),
    0 0 60px rgba(255,122,60,0.6);
  display: flex; align-items: center; justify-content: center;
}
.zd-ai__core-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: -0.6px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.zd-ai__node {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(15, 15, 18, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.zd-ai__node-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff7a3c;
  box-shadow: 0 0 10px #ff7a3c;
  flex-shrink: 0;
}
.zd-ai__node-label { line-height: 1.3; }
.zd-ai__node-label span { color: rgba(255,255,255,0.5); font-size: 11px; }

@media (max-width: 900px) {
  .zd-ai__grid { grid-template-columns: 1fr; gap: 56px; }
  .zd-ai__lede { max-width: none; text-align: center; margin: 0 auto; }
  .zd-ai__lede .zd-h2, .zd-ai__lede .zd-lead { text-align: center !important; }
  .zd-ai__lede .zd-lead { margin-left: auto !important; margin-right: auto; }
}

/* ────────────────────────────────────────────────────────────
   FAQ
   ──────────────────────────────────────────────────────────── */
.zd-faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.zd-faq details {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.zd-faq summary {
  list-style: none;
  padding: 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  transition: color 180ms var(--ease-out);
}
.zd-faq summary::-webkit-details-marker { display: none; }
.zd-faq summary:hover { color: #ff9864; }
.zd-faq summary .zd-faq__icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 200ms var(--ease-out);
  color: rgba(255,255,255,0.7);
}
.zd-faq details[open] summary .zd-faq__icon {
  background: #ff5a1c; border-color: #ff5a1c; color: #fff;
  transform: rotate(45deg);
}
.zd-faq__ans {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.62);
  padding: 0 0 28px;
  max-width: 680px;
}

/* ────────────────────────────────────────────────────────────
   FINAL CTA
   ──────────────────────────────────────────────────────────── */
.zd-cta {
  position: relative;
  padding: 72px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.zd-cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 1100px; height: 900px;
  transform: translate(-50%, -30%);
  background: radial-gradient(ellipse, rgba(255,122,60,0.5) 0%, rgba(213,59,0,0.15) 30%, transparent 60%);
  z-index: -1;
}
.zd-cta h2 { max-width: 760px; margin: 0 auto 24px; }
.zd-cta .zd-lead { margin: 0 auto 40px; text-align: center; }
.zd-cta__actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.zd-contact-form {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  text-align: left;
}
.zd-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.zd-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zd-field--full { grid-column: 1 / -1; }
.zd-field span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.zd-field input,
.zd-field select,
.zd-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(8,10,14,0.75);
  color: #fff;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.zd-field input::placeholder,
.zd-field textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.zd-field input:focus,
.zd-field select:focus,
.zd-field textarea:focus {
  border-color: rgba(255,122,60,0.7);
  box-shadow: 0 0 0 3px rgba(255,122,60,0.18);
}
.zd-contact-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.zd-contact-actions .zd-btn {
  min-width: 170px;
  justify-content: center;
}
.zd-contact-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.52);
}
.zd-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.7) 50%), linear-gradient(135deg, rgba(255,255,255,0.7) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.zd-field--bot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.zd-contact-status {
  min-height: 20px;
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}
.zd-contact-status[data-type="success"] { color: #79f2a6; }
.zd-contact-status[data-type="error"] { color: #ff8b75; }
.zd-contact-status[data-type="info"] { color: rgba(255,255,255,0.7); }
.zd-contact-actions .zd-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}
@media (max-width: 760px) {
  .zd-contact-form {
    padding: 18px;
    border-radius: 16px;
  }
  .zd-contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ────────────────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────────────────── */
.zd-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.zd-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.zd-footer__about { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 320px; margin-top: 16px; }
.zd-footer__col h3,
.zd-footer__col h4 {
  font-family: var(--font-ui);
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.zd-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.zd-footer__col a { font-size: 14px; color: rgba(255,255,255,0.78); transition: color 180ms var(--ease-out); }
.zd-footer__col a:hover { color: #ff9864; }
.zd-footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}
@media (max-width: 800px) {
  .zd-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .zd-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Scroll reveal fallback */
@media (prefers-reduced-motion: no-preference) {
  .zd-fade { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .zd-fade.is-in { opacity: 1; transform: none; }
}

/* Tighter vertical rhythm on small screens */
@media (max-width: 900px) {
  .zd-hero { padding: 56px 0 64px; }
  .zd-cta  { padding: 56px 0; }
}


/* ZDL Insights pages */
.zd-insights-hero,
.zd-article-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 122, 60, 0.16), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(144, 91, 255, 0.14), transparent 30%),
    #050506;
}
.zd-insights-hero::after,
.zd-article-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.zd-insights-hero h1,
.zd-article-hero h1 {
  max-width: 900px;
  margin: 18px 0 18px;
  color: #fff;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.zd-insights-hero p,
.zd-article-hero p {
  max-width: 720px;
  color: rgba(255,255,255,0.72);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.zd-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.zd-insight-card {
  position: relative;
  min-height: 260px;
  padding: 1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,122,60,0.32), rgba(144,91,255,0.16), rgba(255,255,255,0.06));
  overflow: hidden;
}
.zd-insight-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: rgba(13,13,16,0.92);
}
.zd-insight-card a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 30px;
  color: inherit;
  text-decoration: none;
}
.zd-insight-card__date,
.zd-article-meta,
.zd-back-link {
  color: #ff9864;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.zd-insight-card h2 {
  margin: 16px 0 14px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.zd-insight-card p {
  margin: 0 0 26px;
  color: rgba(255,255,255,0.64);
  line-height: 1.65;
}
.zd-insight-card span:last-child {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff9864;
  font-weight: 700;
}
.zd-article-hero__inner { max-width: 960px; }
.zd-back-link { display: inline-flex; margin-bottom: 28px; text-decoration: none; }
.zd-back-link::before { content: "←"; margin-right: 8px; }
.zd-section--article { padding-top: 72px; }
.zd-article {
  max-width: 840px;
  margin: 0 auto;
  color: rgba(255,255,255,0.74);
  font-size: 18px;
  line-height: 1.8;
}
.zd-article h1 { display: none; }
.zd-article .post-meta { display: none; }
.zd-article h2 {
  margin: 56px 0 18px;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.zd-article h3 {
  margin: 34px 0 12px;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.zd-article p,
.zd-article ul,
.zd-article ol { margin-bottom: 22px; }
.zd-article li { margin-bottom: 8px; }
.zd-article strong { color: #fff; }
.zd-article a { color: #ff9864; text-decoration: none; }
.zd-article a:hover { text-decoration: underline; }
.zd-post-cta {
  margin: 72px 0 48px;
  padding: 34px;
  border: 1px solid rgba(255,122,60,0.25);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255,122,60,0.16), transparent 32%),
    rgba(255,255,255,0.045);
}
.zd-post-cta h2 { margin: 10px 0 12px; }
.zd-post-cta p { color: rgba(255,255,255,0.68); }
.zd-related {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.zd-related h2 { margin-top: 0; font-size: 28px; }
.zd-related ul { list-style: none; padding: 0; margin: 0; }
.zd-related li { margin: 0 0 12px; }
@media (max-width: 760px) {
  .zd-insights-hero,
  .zd-article-hero { padding: 112px 0 56px; }
  .zd-insights-grid { grid-template-columns: 1fr; }
  .zd-insight-card a { padding: 24px; }
  .zd-article { font-size: 16px; line-height: 1.72; }
  .zd-post-cta { padding: 24px; }
}

/* Tighten Insights mobile spacing */
@media (max-width: 760px) {
  .zd-insights-hero { padding-top: 78px; padding-bottom: 24px; }
  .zd-insights-hero .zd-kicker { margin-bottom: 12px; }
  .zd-insights-hero h1 { margin-top: 12px; margin-bottom: 14px; }
  .zd-insights-hero + .zd-section { padding-top: 28px; }
  .zd-insights-hero + .zd-section .zd-section__head { margin-bottom: 0; }
  .zd-insights-hero + .zd-section .zd-section-kicker { display: block; margin-bottom: 0; }
  .zd-insights-grid { margin-top: -86px; }
}
@media (max-width: 420px) {
  .zd-insights-grid { margin-top: -72px; }
}
