/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Inter", system-ui, sans-serif;
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}

/* ===== VARIABLES ===== */
:root {
  --pink: #e91e8c;
  --pink-dim: rgba(233, 30, 140, 0.15);
  --pink-border: rgba(233, 30, 140, 0.3);
  --bg: #0a0a0a;
  --bg2: #111;
  --bg3: #161616;
  --card: #141414;
  --border: rgba(255, 255, 255, 0.08);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.7);
  --glow: 0 0 40px rgba(233, 30, 140, 0.25);
}

/* ===== DOT GRID BACKGROUND ===== */
.dot-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ===== GLOW ORBS ===== */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(233, 30, 140, 0.12);
  top: -100px;
  right: -80px;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: rgba(233, 30, 140, 0.05);
  bottom: 20%;
  left: -200px;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), #a0106a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: #fff;
}
.logo-text {
  color: #fff;
}
.logo-sub {
  display: block;
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #fff;
}
.nav-cta {
  background: var(--pink);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-dim);
  border: 1px solid var(--pink-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--pink), #ff6bb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgba(233, 30, 140, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(233, 30, 140, 0.5);
}
.btn-ghost {
  color: var(--text-dim);
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.hero-stats {
  display: flex;
  gap: 40px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.stat-val span {
  color: var(--pink);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== HERO EMAIL ANIMATION ===== */
.hero-visual {
  position: relative;
}
.email-anim-wrap {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0;
}
.email-anim-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233, 30, 140, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.flow-canvas {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

/* Animated pulse ring on active nodes */
@keyframes ring-pulse {
  0% {
    r: 18;
    opacity: 0.6;
  }
  100% {
    r: 32;
    opacity: 0;
  }
}
.pulse-ring {
  animation: ring-pulse 2s ease-out infinite;
}
.pulse-ring-2 {
  animation: ring-pulse 2s ease-out 0.7s infinite;
}

/* Envelope fly animation */
@keyframes fly-email {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  40% {
    transform: translate(60px, -18px) scale(0.85);
    opacity: 0.9;
  }
  80% {
    transform: translate(118px, -2px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(118px, -2px) scale(1);
    opacity: 1;
  }
}
@keyframes fly-email2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    transform: translate(62px, 20px) scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: translate(118px, 2px) scale(1);
    opacity: 1;
  }
}
@keyframes fly-email3 {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  70% {
    transform: translate(60px, 0px) scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: translate(118px, 0px);
    opacity: 1;
  }
}
.env-1 {
  animation: fly-email 3.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s infinite;
}
.env-2 {
  animation: fly-email2 3.2s cubic-bezier(0.4, 0, 0.2, 1) 1.2s infinite;
}
.env-3 {
  animation: fly-email3 3.2s cubic-bezier(0.4, 0, 0.2, 1) 2s infinite;
}

/* Metric tick-up animation */
@keyframes tick-up {
  0%,
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 0;
    transform: translateY(-6px);
  }
  91% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.metric-tick {
  animation: tick-up 4s ease-in-out infinite;
}
.metric-tick-2 {
  animation: tick-up 4s ease-in-out 1.5s infinite;
}
.metric-tick-3 {
  animation: tick-up 4s ease-in-out 2.8s infinite;
}

/* Node pulse */
@keyframes node-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 3px rgba(233, 30, 140, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(233, 30, 140, 0.9));
  }
}
.node-active {
  animation: node-glow 2.4s ease-in-out infinite;
}
@keyframes line-flow {
  0% {
    stroke-dashoffset: 30;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.flow-line {
  stroke-dasharray: 6 4;
  animation: line-flow 1.2s linear infinite;
}
.flow-line-slow {
  stroke-dasharray: 6 4;
  animation: line-flow 2s linear infinite;
}

/* Status dot blink */
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}
.blink {
  animation: blink 1.6s ease-in-out infinite;
}

/* ===== SECTION HEADERS ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-tag::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--pink);
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title span {
  background: linear-gradient(90deg, var(--pink), #ff6bb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.75;
}
.section-header {
  margin-bottom: 64px;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-sub {
  margin: 0 auto;
}
.section-header.center .section-tag {
  justify-content: center;
}

/* ===== TRUST STRIP ===== */
.trust-section {
  padding: 50px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.trust-logo:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.service-card {
  background: var(--card);
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card:last-child {
  border-right: none;
}
.service-card:hover {
  background: #181818;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.service-card:hover .service-icon-wrap {
  border-color: var(--pink-border);
  background: var(--pink-dim);
}
.service-icon-wrap svg {
  display: block;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.service-items li {
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.service-items li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ===== FOOTER SERVICES ===== */
.footer-services {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 48px;
}

/* ===== CHART CONTAINERS ===== */
.chart-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  overflow: hidden;
}
.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.chart-card-title {
  font-size: 0.9rem;
  font-weight: 600;
}
.chart-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 16px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ===== ANALYTICS SECTION ===== */
.analytics-section {
  background: var(--bg2);
}
.charts-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.charts-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== SVG CHARTS ===== */
svg text {
  font-family: "Inter", sans-serif;
}
.chart-axis-label {
  fill: rgba(255, 255, 255, 0.35);
  font-size: 10px;
}
.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

/* ===== ANIMATED ELEMENTS ===== */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== KPI STRIP ===== */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.kpi-item {
  background: var(--card);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kpi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.kpi-value {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.kpi-change {
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.kpi-change.up {
  color: #22c55e;
}
.kpi-change.down {
  color: #ef4444;
}
.kpi-sparkline {
  height: 36px;
  margin-top: 4px;
}

/* ===== PROGRESS BARS ===== */
.progress-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.progress-item {
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.progress-label span:first-child {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.progress-label span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
}
.progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--pink), #ff6bb5);
  width: 0%;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== FEATURE SPLIT ===== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-split.reverse {
  direction: rtl;
}
.feature-split.reverse > * {
  direction: ltr;
}
.feature-text h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.feature-text p {
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 28px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--pink-dim);
  border: 1px solid var(--pink-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.65rem;
  color: var(--pink);
}
.feature-item p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== CAMPAIGN TIMELINE ===== */
.campaign-table {
  width: 100%;
  border-collapse: collapse;
}
.campaign-table th {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.campaign-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
}
.campaign-table tr:last-child td {
  border-bottom: none;
}
.campaign-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
}
.status-pill.sent {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.status-pill.running {
  background: rgba(233, 30, 140, 0.12);
  color: var(--pink);
}
.status-pill.draft {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ===== CAPABILITIES GRID ===== */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cap-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s;
}
.cap-item:hover {
  border-color: var(--pink-border);
}
.cap-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--pink-dim);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.cap-text h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cap-text p {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--bg2);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--pink);
}
/* Validation: invalid state */
.form-group input.field--invalid,
.form-group select.field--invalid,
.form-group textarea.field--invalid {
  border-color: #f43f5e;
  background: rgba(244, 63, 94, 0.06);
}
.form-group input.field--invalid:focus,
.form-group select.field--invalid:focus,
.form-group textarea.field--invalid:focus {
  border-color: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}
/* Inline error message */
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #f43f5e;
  line-height: 1.4;
}
.form-group select option {
  background: #1a1a1a;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  width: 100%;
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== BEFORE/AFTER COMPARISON ===== */
.comparison-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.comparison-col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.comparison-col.after {
  border-color: var(--pink-border);
}
.comparison-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.comparison-col:first-child .comparison-label {
  color: var(--text-muted);
}
.comparison-col.after .comparison-label {
  color: var(--pink);
}
.comparison-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.comp-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.comp-val {
  font-size: 0.95rem;
  font-weight: 700;
}
.comp-val.bad {
  color: #ef4444;
}
.comp-val.good {
  color: #22c55e;
}

/* ===== CARD BADGE ===== */
.card-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* ===== PROCESS GRID ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.process-step {
  background: var(--card);
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.process-step.last {
  border-right: none;
}
.process-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 12px;
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid,
  .feature-split,
  .charts-grid-2,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .services-grid,
  .footer-services-grid,
  .caps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .charts-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .kpi-strip {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-step.last {
    border-right: 1px solid var(--border);
  }
}
@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  .services-grid,
  .footer-services-grid {
    grid-template-columns: 1fr;
  }
  .charts-grid-3 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .comparison-wrap {
    grid-template-columns: 1fr;
  }
  .kpi-strip {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-step,
  .process-step.last {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .caps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CONTENT PAGE TEMPLATE (Privacy Policy, Terms of Service, …)
   ============================================================ */

/* Push content below the fixed nav */
.content-page {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* ---- Page header ---- */
.content-page__header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 72px;
}
.content-page__header .section-tag {
  display: inline-block;
  margin-bottom: 20px;
}
.content-page__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.content-page__meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}
/* Compact variant: no big title block, just the tag + meta */
.content-page__header--compact {
  padding: 48px 0 32px;
  margin-bottom: 48px;
}

/* ---- Prose body ---- */
.content-page__body {
  padding-bottom: 80px;
}

.prose {
  max-width: 780px;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.85;
}

/* Headings */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  line-height: 1.25;
}
.prose h1 {
  font-size: 2rem;
}
.prose h2 {
  font-size: 1.5rem;
}
.prose h3 {
  font-size: 1.125rem;
}
.prose h4,
.prose h5,
.prose h6 {
  font-size: 1rem;
}

/* First heading needs no top margin */
.prose > h1:first-child,
.prose > h2:first-child {
  margin-top: 0;
}

/* Paragraphs */
.prose p {
  margin-bottom: 1.5em;
}

/* Links */
.prose a {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-color: var(--pink-border);
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.prose a:hover {
  opacity: 0.8;
}

/* Lists */
.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose li::marker {
  color: var(--pink);
}

/* Nested lists */
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

/* Blockquote */
.prose blockquote {
  border-left: 3px solid var(--pink);
  background: var(--card);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 2em 0;
  color: var(--text-dim);
  font-style: italic;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}

/* Inline code & pre blocks */
.prose code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.875em;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--pink);
}
.prose pre {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  overflow-x: auto;
  margin-bottom: 1.5em;
}
.prose pre code {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

/* Horizontal rule */
.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3em 0;
}

/* Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 0.9rem;
}
.prose th,
.prose td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--bg3);
  color: #fff;
  font-weight: 600;
}
.prose td {
  color: var(--text-dim);
}

/* Strong & em */
.prose strong {
  color: #fff;
  font-weight: 600;
}
.prose em {
  color: rgba(255, 255, 255, 0.75);
}

/* WP-generated wp-block alignments */
.prose .wp-block-image {
  margin: 2em 0;
}
.prose .wp-block-image img {
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .content-page__header {
    padding: 60px 0 40px;
  }
  .content-page__body {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .content-page {
    padding-top: 80px;
    padding-bottom: 64px;
  }
  .content-page__header {
    padding: 48px 0 32px;
    margin-bottom: 48px;
  }
  .content-page__title {
    font-size: 1.75rem;
  }
  .prose {
    font-size: 0.9375rem;
  }
}

/* ============================================================
   404 — NOT FOUND
   ============================================================ */

.error-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
  z-index: 1;
}

.error-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Large 404 number ---- */
.error-404__code {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  margin-bottom: 16px;
}

.error-404__digit {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* The animated "0" is an SVG ring with the digit centered inside */
.error-404__zero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(6rem, 15vw, 10rem);
  height: clamp(6rem, 15vw, 10rem);
  flex-shrink: 0;
}

.error-404__zero svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 24px rgba(233, 30, 140, 0.4));
}

.error-404__zero-text {
  position: relative;
  z-index: 1;
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--pink);
  text-shadow: 0 0 40px rgba(233, 30, 140, 0.5);
}

/* ---- Text content ---- */
.error-404__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.error-404__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin: 0;
}

/* ---- CTA buttons ---- */
.error-404__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
  .error-404 {
    padding: 120px 0 80px;
  }
  .error-404__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .error-404__actions .btn-primary,
  .error-404__actions .btn-ghost {
    text-align: center;
  }
}
