/* ==========================================================================
   Krynex Systems — Stylesheet
   Operational systems, automation & workflow infrastructure
   ========================================================================== */

/* ------------------------------------------------------------------
   1. VARIABLES & RESET
   ------------------------------------------------------------------ */
:root {
  --bg: #000000;
  --bg-elev: #060709;
  --bg-card: #0A0C10;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #F4F6F8;
  --text-muted: #7A828C;
  --text-dim: #4A525C;
  --blue: #2E7CFF;
  --blue-bright: #4F95FF;
  --blue-dim: rgba(46, 124, 255, 0.08);
  --blue-glow: rgba(46, 124, 255, 0.18);
  --error: #FF6B6B;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }

/* ------------------------------------------------------------------
   2. LAYOUT PRIMITIVES
   ------------------------------------------------------------------ */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------
   3. BUTTONS & LOGO
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--text);
  color: #000;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--text);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn:hover { background: #E0E4E8; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.2); }

.btn-blue {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  box-shadow: 0 0 0 1px rgba(46, 124, 255, 0.3), 0 8px 32px -8px rgba(46, 124, 255, 0.5);
}
.btn-blue:hover { background: var(--blue-bright); border-color: var(--blue-bright); }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}
.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--blue) 0%, #1851C9 100%);
  box-shadow: 0 0 16px rgba(46, 124, 255, 0.4);
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  border-right: none;
  border-bottom: none;
}

/* ------------------------------------------------------------------
   4. NAVIGATION
   ------------------------------------------------------------------ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

/* ------------------------------------------------------------------
   5. HERO
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 180px 0 120px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(46, 124, 255, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #FFFFFF 0%, #B8BFC8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--blue-bright) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
}
.hero p.lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Hero dashboard visual */
.hero-visual {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #0B0D12 0%, #050608 100%);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(46, 124, 255, 0.08),
    0 40px 100px -30px rgba(46, 124, 255, 0.25),
    0 80px 200px -60px rgba(0, 0, 0, 0.8);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(46, 124, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.hv-bar {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  gap: 14px;
}
.hv-dots { display: flex; gap: 6px; }
.hv-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.hv-url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60%;
}
.hv-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 420px;
}
.hv-side {
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hv-side-item {
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--text-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.hv-side-item.active {
  background: rgba(46, 124, 255, 0.08);
  color: var(--blue-bright);
}
.hv-side-item::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.6;
}
.hv-main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hv-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hv-stat {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.hv-stat-label {
  font-size: 10.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  font-family: var(--mono);
}
.hv-stat-value {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hv-stat-value .delta {
  font-size: 11px;
  color: var(--blue-bright);
  font-weight: 400;
  margin-left: 4px;
}
.hv-chart {
  flex: 1;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  position: relative;
  min-height: 180px;
}
.hv-chart svg { width: 100%; height: 140px; }
.hv-chart-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------
   6. SECTION BASE
   ------------------------------------------------------------------ */
section { padding: 140px 0; position: relative; }
.section-head {
  max-width: 680px;
  margin-bottom: 72px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-tag { justify-content: center; }
.section-head.center p { margin: 0 auto; }
.section-tag {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--blue-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--blue);
}
.section-head.center .section-tag::before { display: none; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #C0C8D0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------
   7. SERVICES
   ------------------------------------------------------------------ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 40px 36px;
  min-height: 280px;
  position: relative;
  transition: background 0.3s ease;
}
.service:hover { background: #050709; }
.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(46, 124, 255, 0.15), rgba(46, 124, 255, 0.04));
  border: 1px solid rgba(46, 124, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--blue-bright);
}
.service-icon svg { width: 16px; height: 16px; }
.service h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.service p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.service-num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ------------------------------------------------------------------
   8. PLATFORM / DASHBOARD SHOWCASE
   ------------------------------------------------------------------ */
.dashboard-section {
  background: linear-gradient(180deg, transparent 0%, rgba(46, 124, 255, 0.02) 50%, transparent 100%);
}
.dashboard-card {
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #08090C 0%, #030405 100%);
  overflow: hidden;
  position: relative;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
}
.dashboard-copy {
  padding: 64px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.dashboard-copy h3 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 18px;
}
.dashboard-copy p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
  align-items: flex-start;
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}

.dashboard-visual {
  padding: 52px;
  background: radial-gradient(ellipse at top right, rgba(46, 124, 255, 0.08), transparent 70%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dv-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.dv-row .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue-glow);
}
.dv-row.warn .dot { background: #FFB547; box-shadow: 0 0 8px rgba(255, 181, 71, 0.4); }
.dv-row.idle .dot { background: var(--text-dim); box-shadow: none; }
.dv-name {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dv-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
}
.dv-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  flex: 0 0 80px;
  overflow: hidden;
}
.dv-bar > div {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
}

/* ------------------------------------------------------------------
   9. INTERACTIVE DEMO
   ------------------------------------------------------------------ */
.demo-card {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, #08090C 0%, #030405 100%);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(46, 124, 255, 0.06),
    0 40px 100px -30px rgba(46, 124, 255, 0.18),
    0 80px 200px -60px rgba(0, 0, 0, 0.8);
}
.demo-card::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(46, 124, 255, 0.07), transparent 70%);
  pointer-events: none;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.demo-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.demo-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--blue-bright);
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(46, 124, 255, 0.06);
  border: 1px solid rgba(46, 124, 255, 0.18);
}
.demo-status.complete {
  color: #36D399;
  background: rgba(54, 211, 153, 0.06);
  border-color: rgba(54, 211, 153, 0.2);
}
.status-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: status-pulse 1.4s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.demo-replay {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.demo-replay:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.demo-replay svg { width: 13px; height: 13px; }

.demo-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 440px;
}

.demo-steps {
  position: relative;
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-line {
  position: absolute;
  left: 47px;
  top: 56px;
  bottom: 56px;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}
.demo-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--progress, 0%);
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-bright) 100%);
  box-shadow: 0 0 8px rgba(46, 124, 255, 0.4);
  transition: height 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-step {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  position: relative;
  transition: opacity 0.7s ease;
}
.demo-step.pending { opacity: 0.45; }
.demo-step.completed { opacity: 0.7; }
.demo-step.active { opacity: 1; }

.demo-node {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--bg-elev);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  position: relative;
  z-index: 2;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-step.completed .demo-node {
  background: linear-gradient(135deg, rgba(46, 124, 255, 0.2), rgba(46, 124, 255, 0.05));
  border-color: rgba(46, 124, 255, 0.35);
  color: var(--blue-bright);
}
.demo-step.active .demo-node {
  background: linear-gradient(135deg, var(--blue) 0%, #1851C9 100%);
  border-color: var(--blue-bright);
  color: white;
  box-shadow:
    0 0 0 4px rgba(46, 124, 255, 0.12),
    0 0 20px rgba(46, 124, 255, 0.4);
  animation: node-active 2.8s ease-in-out infinite;
}
@keyframes node-active {
  0%, 100% { box-shadow: 0 0 0 4px rgba(46, 124, 255, 0.12), 0 0 20px rgba(46, 124, 255, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(46, 124, 255, 0.18), 0 0 28px rgba(46, 124, 255, 0.55); }
}
.demo-step.completed .demo-node::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234F95FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
}
.demo-step.completed .demo-node { color: transparent; }

.demo-step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.demo-step-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.demo-step.pending .demo-step-title { color: var(--text-muted); }
.demo-step-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.demo-step.active .demo-step-meta { color: var(--blue-bright); }
.demo-step.completed .demo-step-meta { color: var(--text-muted); }

/* Context pane */
.demo-context {
  position: relative;
  padding: 32px;
  background: radial-gradient(ellipse at top right, rgba(46, 124, 255, 0.05), transparent 70%);
  overflow: hidden;
}
.demo-pane {
  position: absolute;
  inset: 32px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}
.demo-pane.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pane-card {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, #0A0C10 0%, #06080A 100%);
  overflow: hidden;
}
.pane-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.pane-head-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(46, 124, 255, 0.18), rgba(46, 124, 255, 0.04));
  border: 1px solid rgba(46, 124, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
}
.pane-head-icon svg { width: 12px; height: 12px; }
.pane-head-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.pane-head-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.pane-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.field-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  font-size: 12.5px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}
.field-row:last-child { border-bottom: none; }
.field-label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.field-value { color: var(--text); }
.field-value.blue {
  color: var(--blue-bright);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.chat-bubble {
  padding: 14px 16px;
  border: 1px solid rgba(46, 124, 255, 0.2);
  background: rgba(46, 124, 255, 0.04);
  border-radius: 10px;
  border-top-left-radius: 2px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}
.chat-typing {
  display: inline-flex;
  gap: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.chat-typing span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
  animation: typing 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.notif-card {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}
.notif-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 6px;
}
.notif-name { font-weight: 500; color: var(--text); }
.notif-time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
}
.notif-text { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.notif-text .mention { color: var(--blue-bright); font-weight: 500; }

.followup {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  font-size: 12.5px;
}
.fu-day {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue-bright);
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(46, 124, 255, 0.08);
  border: 1px solid rgba(46, 124, 255, 0.18);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.fu-action { color: var(--text); flex: 1; }

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}
.metric-label {
  font-size: 12.5px;
  color: var(--text-muted);
}
.metric-value {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.metric-value .up {
  color: var(--blue-bright);
  margin-left: 6px;
  font-size: 11px;
}

.demo-progress {
  height: 2px;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}
.demo-progress-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 100%);
  box-shadow: 0 0 12px rgba(46, 124, 255, 0.5);
  transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------------
   10. OUTCOMES
   ------------------------------------------------------------------ */
.outcomes-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #08090C 0%, #050608 100%);
}
.outcome-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.3s ease;
}
.outcome-item:hover { background: rgba(46, 124, 255, 0.025); }
.outcome-item:nth-child(2n) { border-right: none; }
.outcome-item:nth-last-child(-n+2) { border-bottom: none; }
.outcome-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(46, 124, 255, 0.18), rgba(46, 124, 255, 0.04));
  border: 1px solid rgba(46, 124, 255, 0.25);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}
.outcome-icon svg { width: 13px; height: 13px; }
.outcome-label-text {
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* ------------------------------------------------------------------
   11. PROCESS
   ------------------------------------------------------------------ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(46, 124, 255, 0.25) 15%, rgba(46, 124, 255, 0.25) 85%, transparent 100%);
}
.process-step {
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.process-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(46, 124, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-bright);
  margin-bottom: 28px;
  box-shadow: 0 0 0 4px var(--bg);
}
.process-step h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--text);
}
.process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 220px;
}

/* ------------------------------------------------------------------
   12. PRICING
   ------------------------------------------------------------------ */
.pricing-section { padding-top: 140px; padding-bottom: 140px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 40px 32px;
  background: linear-gradient(180deg, #08090C 0%, #030405 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease;
}
.price-card:hover { border-color: rgba(46, 124, 255, 0.2); }
.price-card.featured {
  border-color: rgba(46, 124, 255, 0.4);
  background: linear-gradient(180deg, rgba(46, 124, 255, 0.04) 0%, #030405 100%);
  box-shadow: 0 0 0 1px rgba(46, 124, 255, 0.15), 0 24px 60px -20px rgba(46, 124, 255, 0.25);
}
.price-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--blue-bright);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 124, 255, 0.1);
  border: 1px solid rgba(46, 124, 255, 0.25);
  text-transform: uppercase;
}
.price-tier {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.price-amount {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--text);
}
.price-amount .small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
  letter-spacing: 0;
}
.price-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex: 1;
}
.price-features li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  align-items: flex-start;
  line-height: 1.45;
}
.price-features li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--blue-bright);
}
.price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: all 0.2s ease;
}
.price-cta:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.2); }
.price-card.featured .price-cta {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.price-card.featured .price-cta:hover { background: var(--blue-bright); }

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}
.pricing-intro {
  text-align: center;
  max-width: 560px;
  margin: -32px auto 48px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* ------------------------------------------------------------------
   13. CONTACT
   ------------------------------------------------------------------ */
.contact-section { padding: 120px 0 140px; }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, #08090C 0%, #030405 100%);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(46, 124, 255, 0.05),
    0 40px 100px -30px rgba(46, 124, 255, 0.15),
    0 80px 200px -60px rgba(0, 0, 0, 0.8);
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 124, 255, 0.07), transparent 65%);
  pointer-events: none;
}

.contact-side {
  padding: 56px 48px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}
.contact-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--blue-bright);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-eyebrow::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--blue);
}
.contact-side h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.contact-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cp-dot {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 124, 255, 0.18), rgba(46, 124, 255, 0.04));
  border: 1px solid rgba(46, 124, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.cp-dot svg {
  width: 11px;
  height: 11px;
  color: var(--blue-bright);
}
.cp-text { flex: 1; }
.cp-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.cp-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.contact-meta {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.contact-meta-label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-meta-value {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-meta-value:hover { color: var(--blue-bright); }

/* Form */
.contact-form {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-field label .opt {
  color: var(--text-dim);
  text-transform: none;
  font-size: 10px;
  margin-left: 6px;
  letter-spacing: 0.02em;
  font-style: italic;
}
.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  resize: none;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-dim);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(46, 124, 255, 0.45);
  background: rgba(46, 124, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(46, 124, 255, 0.08);
}
.form-field textarea {
  min-height: 96px;
  line-height: 1.55;
}
.form-error {
  font-size: 13px;
  color: var(--error);
  padding: 10px 14px;
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 8px;
  line-height: 1.5;
}
.form-error[hidden] { display: none; }
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Success state */
.contact-success {
  display: none;
  padding: 64px 48px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.contact-card.submitted .contact-form { display: none; }
.contact-card.submitted .contact-success { display: flex; }
.contact-success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 124, 255, 0.2), rgba(46, 124, 255, 0.05));
  border: 1px solid rgba(46, 124, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  margin-bottom: 22px;
}
.contact-success-icon svg { width: 20px; height: 20px; }
.contact-success h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.contact-success p {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.6;
}

/* ------------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------------ */
footer {
  padding: 60px 0 36px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 340px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-reassure {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11.5px !important;
  color: var(--text-dim) !important;
  letter-spacing: 0.02em;
}
.footer-reassure a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-reassure a:hover { color: var(--blue-bright); }
.footer-links {
  display: flex;
  gap: 64px;
}
.footer-col h4 {
  font-size: 11.5px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #36D399;
  box-shadow: 0 0 8px rgba(54, 211, 153, 0.5);
}

/* ------------------------------------------------------------------
   15. SCROLL REVEAL ANIMATION
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* -------------------------- TABLET (≤ 900px) ------------------------ */
@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-copy { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 32px; }
  .dashboard-visual { padding: 32px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-steps { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 20px; }
  .demo-line { left: 39px; }
  .demo-context { padding: 24px 20px; min-height: 360px; }
  .demo-pane { inset: 24px 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .process-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-side {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 44px 36px;
    gap: 28px;
  }
  .contact-form { padding: 36px; }
  .contact-success { padding: 48px 36px; }
}

/* -------------------------- MOBILE (≤ 768px) ------------------------ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .container { padding: 0 22px; }
  .nav-inner { padding: 14px 22px; }
  .logo { font-size: 14px; }
  .logo-mark { width: 20px; height: 20px; }
  nav .btn { padding: 9px 14px; font-size: 12.5px; }

  /* Sections */
  section { padding: 84px 0; }
  .section-head { margin-bottom: 48px; max-width: 100%; }
  .section-head p { font-size: 15px; }

  /* Hero */
  .hero { padding: 116px 0 72px; }
  .hero h1 { line-height: 1.05; }
  .eyebrow { margin-bottom: 28px; font-size: 10.5px; padding: 5px 12px; }
  .hero p.lead { margin-bottom: 36px; }
  .hero-actions { margin-bottom: 56px; gap: 10px; }
  .btn { padding: 11px 18px; font-size: 13px; }

  /* Hero visual */
  .hero-visual { border-radius: 12px; }
  .hv-bar { padding: 12px 14px; }
  .hv-url { font-size: 10px; max-width: 50%; }
  .hv-body { grid-template-columns: 1fr; min-height: auto; }
  .hv-side { display: none; }
  .hv-main { padding: 18px; gap: 14px; }
  .hv-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hv-stat { padding: 12px 14px; }
  .hv-stat-label { font-size: 9.5px; }
  .hv-stat-value { font-size: 18px; }
  .hv-stat-value .delta { font-size: 10px; }
  .hv-chart { padding: 14px; min-height: 150px; }
  .hv-chart svg { height: 120px; }

  /* Services */
  .services { border-radius: 12px; }
  .service { padding: 32px 26px; min-height: auto; }
  .service-num { top: 26px; right: 26px; font-size: 10.5px; }
  .service h3 { font-size: 17px; }
  .service p { font-size: 13.5px; }

  /* Platform */
  .dashboard-card { border-radius: 14px; }
  .dashboard-copy { padding: 36px 26px; }
  .dashboard-copy h3 { font-size: 26px; line-height: 1.15; }
  .dashboard-copy p { font-size: 14.5px; margin-bottom: 24px; }
  .dashboard-visual { padding: 24px 22px; gap: 12px; }
  .dv-row { padding: 12px 14px; gap: 10px; }
  .dv-name { font-size: 12.5px; }
  .dv-bar { flex: 0 0 64px; }
  .dv-meta { font-size: 10px; }

  /* Demo */
  .demo-card { border-radius: 14px; }
  .demo-bar { padding: 14px 16px; gap: 10px; }
  .demo-title { font-size: 11px; }
  .demo-status { font-size: 10px; padding: 4px 10px; }
  .demo-replay { width: 28px; height: 28px; }
  .demo-grid { min-height: auto; }
  .demo-steps { padding: 22px 18px; gap: 2px; }
  .demo-line { left: 37px; top: 50px; bottom: 50px; }
  .demo-step { padding: 10px 0; gap: 14px; }
  .demo-node { width: 34px; height: 34px; font-size: 10.5px; }
  .demo-step-title { font-size: 13px; }
  .demo-step-meta { font-size: 10px; }
  .demo-context { padding: 24px 20px; min-height: 320px; }
  .demo-pane { inset: 24px 20px; }
  .pane-head { padding: 12px 14px; }
  .pane-head-title { font-size: 12px; }
  .pane-head-meta { font-size: 10px; }
  .pane-body { padding: 16px; gap: 10px; }
  .field-row { grid-template-columns: 78px 1fr; font-size: 12px; gap: 10px; padding: 5px 0; }
  .field-label { font-size: 10px; }
  .chat-bubble { font-size: 12.5px; padding: 12px 14px; line-height: 1.5; }
  .followup, .metric-row, .notif-card { padding: 10px 12px; font-size: 12px; }
  .notif-text { font-size: 12px; }
  .metric-value { font-size: 13px; }
  .metric-value .up { font-size: 10px; }

  /* Outcomes */
  .outcomes-list { grid-template-columns: 1fr; border-radius: 12px; }
  .outcome-item { padding: 20px 22px; gap: 14px; border-right: none; }
  .outcome-item:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .outcome-label-text { font-size: 13.5px; }

  /* Process */
  .process-step h3 { font-size: 16px; }
  .process-step p { font-size: 13px; }
  .process-node { width: 36px; height: 36px; font-size: 11px; margin-bottom: 22px; }

  /* Pricing */
  .pricing-section { padding: 84px 0; }
  .pricing-intro { margin-top: -20px; margin-bottom: 36px; font-size: 14px; padding: 0 8px; }
  .pricing-grid { gap: 12px; }
  .price-card { padding: 36px 28px; border-radius: 14px; }
  .price-amount { font-size: 30px; }
  .price-amount .small { font-size: 13px; }
  .price-desc { font-size: 13px; margin-bottom: 24px; padding-bottom: 22px; }
  .price-features li { font-size: 13.5px; }
  .price-tier { margin-bottom: 20px; }
  .pricing-note { margin-top: 32px; font-size: 12px; }

  /* Contact */
  .contact-section { padding: 84px 0 96px; }
  .contact-card { border-radius: 14px; }
  .contact-side { padding: 36px 28px; gap: 24px; }
  .contact-side h3 { font-size: 22px; }
  .contact-points { gap: 18px; }
  .cp-title { font-size: 13.5px; }
  .cp-desc { font-size: 12.5px; }
  .contact-meta-row { font-size: 12.5px; }
  .contact-form { padding: 32px 28px; gap: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .form-field input,
  .form-field textarea { font-size: 14px; padding: 11px 13px; }
  .form-submit-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .form-submit-row .btn { width: 100%; justify-content: center; }
  .form-note { text-align: center; }
  .contact-success { padding: 48px 28px; }
  .contact-success h3 { font-size: 20px; }
  .contact-success p { font-size: 14px; }

  /* Footer */
  footer { padding: 48px 0 32px; }
  .footer-top { gap: 36px; margin-bottom: 36px; }
  .footer-links { gap: 40px; flex-wrap: wrap; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { gap: 12px; }
}

@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-step { padding: 0; }
  .process-step p { max-width: 100%; }
}

/* -------------------------- SMALL PHONE (≤ 480px) ------------------- */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 12px 18px; }
  section { padding: 68px 0; }
  .pricing-section, .contact-section { padding-top: 68px; padding-bottom: 80px; }
  .hero { padding: 104px 0 56px; }
  .section-head { margin-bottom: 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hv-stat-value { font-size: 17px; }
  .price-card { padding: 32px 24px; }
  .demo-context { min-height: 300px; }
  .pane-body { padding: 14px; }
  .field-row { grid-template-columns: 72px 1fr; }
}

/* Reduce motion for users who request it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
