/* ============================================================
   SalesNest Global Styles
   Migrated from src/styles.css + extended for Next.js
   ============================================================ */

:root {
  font-family: var(--font-inter, 'Inter'), system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #081633;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --primary: #4f46f5;
  --primary-dark: #2735cc;
  --violet: #6d5dfb;
  --navy: #081633;
  --muted: #5f6b82;
  --line: #dde3ef;
  --surface: #f6f7fb;
  --green: #16c784;
  --yellow: #f5b700;
  --cyan: #15b8d6;
  --red: #ef4444;
  --shadow: 0 20px 50px rgba(16, 30, 65, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #ffffff;
  color: var(--navy);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(79, 70, 245, 0.35);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-manrope, 'Manrope'), 'Inter', sans-serif;
  letter-spacing: 0;
}

/* ── Layout ─────────────────────────────────────────────────── */

.site-shell {
  overflow: hidden;
}

.content-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ── Header ─────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 76px;
  display: grid;
  grid-template-columns: 210px 1fr 270px;
  align-items: center;
  padding: 0 max(28px, calc((100vw - 1320px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 227, 239, 0.9);
  backdrop-filter: blur(18px);
}

.brand-link img {
  width: 154px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.main-nav a,
.text-link {
  color: #34405a;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--primary);
}

.main-nav a {
  position: relative;
}

.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  content: '';
  background: var(--primary);
  border-radius: 999px;
}

.main-nav .nav-demo {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

/* ── Buttons ─────────────────────────────────────────────────── */

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 25px rgba(79, 70, 245, 0.25);
}

.button-primary:hover {
  box-shadow: 0 16px 30px rgba(79, 70, 245, 0.32);
}

.button-secondary {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #aeb7c8;
  box-shadow: 0 10px 24px rgba(16, 30, 65, 0.08);
}

.button-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-backdrop {
  display: none;
}

/* ── Section anchors ─────────────────────────────────────────── */

section[id] {
  scroll-margin-top: 100px;
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 760px;
  height: 88vh;
  max-height: 900px;
  display: grid;
  grid-template-columns: minmax(430px, 0.82fr) minmax(620px, 1.18fr);
  align-items: stretch;
  padding-top: 76px;
  background: #ffffff;
}

.hero-copy {
  position: relative;
  z-index: 4;
  align-self: center;
  width: min(560px, calc(100% - 48px));
  margin-left: max(32px, calc((100vw - 1320px) / 2));
  padding: 50px 16px 40px 0;
}

.availability {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 12px;
  color: #34405a;
  background: #f0f2ff;
  border: 1px solid #dce0ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 199, 132, 0.12);
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 12px;
  font-size: 64px;
  line-height: 1.04;
  font-weight: 800;
}

.hero-tagline {
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
}

.hero-description {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: #47536b;
  font-size: 12px;
  font-weight: 600;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-proof svg {
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f7f8fc;
  border-left: 1px solid var(--line);
}

.hero-selected-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #f7f9ff;
}

.hero-selected-visual::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 249, 255, 0.2), transparent 32%, rgba(255, 255, 255, 0.08));
}

.hero-selected-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: selected-visual-drift 12s ease-in-out infinite;
}

.hero .scene-host,
.hero .version-switch,
.hero .scene-caption {
  display: none;
}

.hero-visual::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  content: '';
  pointer-events: none;
  background: linear-gradient(to top, rgba(247, 248, 252, 0.95), transparent);
}

.scene-host {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.scene-host canvas,
.scene-host > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-motion-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-motion-layer::before {
  position: absolute;
  top: 18%;
  right: 9%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  content: '';
  background: radial-gradient(circle, rgba(79, 70, 245, 0.18), rgba(22, 199, 132, 0.06) 42%, transparent 70%);
  filter: blur(6px);
  animation: hero-glow 7s ease-in-out infinite;
}

.motion-orbit {
  position: absolute;
  top: 25%;
  right: 3%;
  width: min(36vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(79, 70, 245, 0.15);
  border-radius: 50%;
  transform: rotate(-16deg) scaleY(0.42);
  animation: hero-orbit 15s linear infinite;
}

.motion-orbit-two {
  top: 29%;
  right: 1%;
  width: min(41vw, 490px);
  border-color: rgba(22, 199, 132, 0.16);
  transform: rotate(14deg) scaleY(0.3);
  animation-duration: 19s;
  animation-direction: reverse;
}

.motion-ribbon {
  position: absolute;
  right: -8%;
  width: 72%;
  height: 84px;
  border: 2px solid rgba(79, 70, 245, 0.28);
  border-color: rgba(79, 70, 245, 0.28) transparent rgba(22, 199, 132, 0.26) transparent;
  border-radius: 50%;
  filter: blur(0.2px);
  transform: rotate(-12deg) skewX(-14deg);
  animation: data-ribbon-flow 4.8s ease-in-out infinite;
}

.motion-ribbon::after {
  position: absolute;
  top: 50%;
  left: 10%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: '';
  background: #4f46f5;
  box-shadow: 0 0 0 7px rgba(79, 70, 245, 0.12), 0 0 24px rgba(79, 70, 245, 0.72);
  translate: 0 -50%;
  animation: data-particle-flow 4.8s linear infinite;
}

.motion-ribbon-one { top: 42%; }
.motion-ribbon-two { top: 51%; right: -13%; width: 78%; border-color: rgba(22, 199, 132, 0.3) transparent rgba(79, 70, 245, 0.2) transparent; transform: rotate(5deg) skewX(10deg); animation-delay: -1.6s; }
.motion-ribbon-two::after { background: #16c784; box-shadow: 0 0 0 7px rgba(22, 199, 132, 0.12), 0 0 24px rgba(22, 199, 132, 0.72); animation-delay: -1.6s; }
.motion-ribbon-three { top: 60%; right: -5%; width: 62%; height: 54px; border-color: rgba(245, 183, 0, 0.22) transparent rgba(239, 68, 68, 0.18) transparent; transform: rotate(-3deg) skewX(-9deg); animation-delay: -3.1s; }
.motion-ribbon-three::after { width: 12px; height: 12px; background: #f5b700; box-shadow: 0 0 0 6px rgba(245, 183, 0, 0.12), 0 0 18px rgba(245, 183, 0, 0.66); animation-delay: -3.1s; }

.motion-scan-line {
  position: absolute;
  top: 34%;
  right: 18%;
  width: 42%;
  height: 2px;
  overflow: visible;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 245, 0.15), #4f46f5, rgba(22, 199, 132, 0.8), transparent);
  box-shadow: 0 0 22px rgba(79, 70, 245, 0.65);
  opacity: 0.8;
  rotate: -11deg;
  animation: scan-sweep 3.6s ease-in-out infinite;
}

.motion-scan-line::after {
  position: absolute;
  top: 50%;
  right: 19%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: '';
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(22, 199, 132, 0.22), 0 0 18px rgba(22, 199, 132, 0.9);
  translate: 0 -50%;
}

.motion-insight {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 142px;
  padding: 10px 13px;
  color: #15213e;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 225, 238, 0.9);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(16, 30, 65, 0.14);
  backdrop-filter: blur(14px);
  animation: hero-float 5.4s ease-in-out infinite;
}

.motion-insight strong,
.motion-insight small {
  display: block;
}

.motion-insight strong {
  font-size: 14px;
  line-height: 1.2;
}

.motion-insight small {
  margin-top: 3px;
  color: #6b768b;
  font-size: 10px;
  font-weight: 700;
}

.motion-insight-sales {
  top: 29%;
  right: 8%;
}

.motion-insight-stock {
  right: 30%;
  bottom: 22%;
  animation-delay: -2.2s;
}

.motion-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #ffffff;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 800;
}

.motion-icon-blue { background: linear-gradient(135deg, #4f46f5, #7c3aed); }
.motion-icon-green { background: linear-gradient(135deg, #16c784, #0ea56d); }

.motion-spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5b700;
  box-shadow: 0 0 0 6px rgba(245, 183, 0, 0.1), 0 0 18px rgba(245, 183, 0, 0.5);
  animation: hero-spark 3.8s ease-in-out infinite;
}

.motion-spark-one { top: 23%; right: 18%; }
.motion-spark-two { right: 18%; bottom: 30%; animation-delay: -1.8s; background: #16c784; box-shadow: 0 0 0 6px rgba(22, 199, 132, 0.1), 0 0 18px rgba(22, 199, 132, 0.5); }

@keyframes hero-glow {
  0%, 100% { opacity: 0.55; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes selected-visual-drift {
  0%, 100% { transform: scale(1.03) translate3d(0, 0, 0); }
  50% { transform: scale(1.07) translate3d(-0.8%, -0.6%, 0); }
}

@keyframes hero-orbit {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes hero-spark {
  0%, 100% { opacity: 0.35; scale: 0.7; }
  50% { opacity: 1; scale: 1.15; }
}

@keyframes data-ribbon-flow {
  0%, 100% { opacity: 0.38; scale: 0.96 0.9; }
  50% { opacity: 0.86; scale: 1.04 1.08; }
}

@keyframes data-particle-flow {
  from { left: 8%; }
  to { left: 92%; }
}

@keyframes scan-sweep {
  0%, 100% { opacity: 0.25; translate: -18px 16px; }
  50% { opacity: 0.95; translate: 22px -14px; }
}

.scene-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: #6b768b;
  background: #f7f8fc;
  font-size: 12px;
  font-weight: 600;
}

.scene-loader img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  animation: scene-pulse 1.4s ease-in-out infinite;
}

@keyframes scene-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1); opacity: 1; }
}

.version-switch {
  position: absolute;
  z-index: 5;
  top: 112px;
  left: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 10px 28px rgba(16, 30, 65, 0.09);
  backdrop-filter: blur(12px);
}

.version-switch button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  color: #5d687d;
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.version-switch button.active {
  color: #ffffff;
  background: var(--primary);
}

.scene-caption {
  position: absolute;
  z-index: 5;
  right: 26px;
  bottom: 30px;
  width: 260px;
  padding: 14px 16px;
  background: rgba(8, 22, 51, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  backdrop-filter: blur(12px);
}

.scene-caption span,
.scene-caption strong {
  display: block;
}

.scene-caption span {
  margin-bottom: 4px;
  color: #b9c5dc;
  font-size: 11px;
}

.scene-caption strong {
  font-size: 13px;
  line-height: 1.5;
}

.capability-strip {
  position: relative;
  z-index: 6;
  width: min(1120px, calc(100% - 48px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -32px auto 0;
  padding: 0 30px;
  color: #34405a;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.capability-strip span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.capability-strip svg {
  color: var(--primary);
}

section:not(.hero) {
  padding: 110px 0;
}

/* ── Reveal animation ─────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Section headings ─────────────────────────────────────────── */

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.light {
  color: #ffffff;
}

.section-heading .eyebrow,
.control-copy .eyebrow,
.demo-copy .eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading.light .eyebrow {
  color: #a7f3d0;
}

.section-heading h2,
.control-copy h2,
.demo-copy h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 800;
}

.section-heading p,
.control-copy > p,
.demo-copy > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-heading.light p {
  color: #c8d1e3;
}

/* ── Platform section ─────────────────────────────────────────── */

.platform-section {
  padding-top: 125px !important;
  background: #ffffff;
}

.platform-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
  gap: 54px;
}

.platform-selector {
  display: grid;
  gap: 10px;
}

.platform-selector > button {
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  color: #435068;
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  transition: border 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.platform-selector > button > svg:first-child {
  width: 42px;
  height: 42px;
  padding: 10px;
  background: #f0f2ff;
  color: var(--primary);
  border-radius: 6px;
}

.platform-selector > button > svg:last-child {
  width: 18px;
}

.platform-selector > button.active {
  color: var(--primary);
  border-color: #aeb5ff;
  box-shadow: 0 12px 28px rgba(79, 70, 245, 0.1);
}

.platform-selector strong,
.platform-selector small {
  display: block;
}

.platform-selector strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 15px;
}

.platform-selector small {
  color: #64748b;
  font-size: 11px;
}

.platform-points {
  display: grid;
  gap: 11px;
  padding: 20px 14px 0;
}

.platform-points p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #566177;
  font-size: 13px;
}

.platform-points svg {
  color: var(--green);
}

.product-frame {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #cfd6e5;
  border-radius: 8px;
  box-shadow: 0 28px 60px rgba(16, 30, 65, 0.14);
}

.frame-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  background: #f4f6fa;
  border-bottom: 1px solid var(--line);
}

.frame-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c1c8d5;
}

.frame-bar > span:first-child { background: #ef4444; }
.frame-bar > span:nth-child(2) { background: #f5b700; }
.frame-bar > span:nth-child(3) { background: #16c784; }

.frame-bar div {
  min-width: 190px;
  margin-left: 12px;
  padding: 6px 13px;
  color: #748096;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px;
}

.product-frame img {
  width: 100%;
  aspect-ratio: 2.09 / 1;
  object-fit: contain;
  background: #f7f8fc;
  object-position: top center;
}

.image-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  color: #ffffff;
  background: rgba(8, 22, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.image-expand:hover {
  background: var(--primary);
}

/* ── Modules ─────────────────────────────────────────────────── */

.modules-section {
  background: var(--surface);
}

.module-tabs {
  display: flex;
  gap: 6px;
  padding-bottom: 16px;
  overflow-x: auto;
}

.module-tabs button {
  min-width: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  color: #5c687e;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

.module-tabs button.active {
  color: var(--primary);
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 8px 18px rgba(16, 30, 65, 0.07);
}

.module-stage {
  display: grid;
  grid-template-columns: 370px 1fr;
  align-items: center;
  gap: 54px;
  min-height: 510px;
  padding: 50px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 42px rgba(16, 30, 65, 0.07);
}

.module-copy > svg {
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  padding: 12px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 7px;
}

.module-copy h3 {
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.25;
}

.module-copy > p {
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.module-copy ul,
.price-card ul,
.control-copy ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.module-copy li,
.price-card li,
.control-copy li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #455169;
  font-size: 13px;
}

.module-copy li svg,
.price-card li svg {
  flex: 0 0 auto;
  width: 17px;
  color: var(--green);
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.module-image {
  position: relative;
  overflow: hidden;
  border: 1px solid #cfd6e5;
  border-radius: 7px;
  box-shadow: 0 18px 42px rgba(16, 30, 65, 0.11);
}

.module-image img {
  width: 100%;
  aspect-ratio: 2.09 / 1;
  object-fit: contain;
  background: #f7f8fc;
  object-position: top;
}

/* ── Workflow ─────────────────────────────────────────────────── */

.workflow-section {
  color: #ffffff;
  background: #0b1731;
}

.workflow-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.workflow-step {
  position: relative;
  min-height: 190px;
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.workflow-step h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.workflow-step p {
  margin-bottom: 0;
  color: #aeb9ce;
  font-size: 12px;
  line-height: 1.65;
}

.step-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -29px;
  color: #7f8aa0;
}

.workflow-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 48px;
  color: #c7d1e4;
}

.workflow-summary span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.workflow-summary span svg { color: #a7f3d0; }
.workflow-summary > svg { width: 17px; color: #68768f; }

/* ── Insights ─────────────────────────────────────────────────── */

.insights-section { background: #ffffff; }

.insights-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 72px;
}

.insights-copy .section-heading { margin-bottom: 34px; }

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-grid div {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.metric-grid svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  color: var(--primary);
  background: #e8eaff;
  border-radius: 6px;
}

.metric-grid span {
  color: #3f4c64;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.export-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 0;
  color: #5c687e;
  font-size: 13px;
}

.report-stack {
  position: relative;
  padding: 30px 0 40px;
}

.report-main {
  width: 100%;
  border: 1px solid #ccd4e3;
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(16, 30, 65, 0.16);
}

.floating-kpi {
  position: absolute;
  width: 180px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 16px 34px rgba(16, 30, 65, 0.16);
}

.floating-kpi span, .floating-kpi strong, .floating-kpi small { display: block; }
.floating-kpi span { margin-bottom: 5px; color: #778297; font-size: 10px; }
.floating-kpi strong { margin-bottom: 4px; font-size: 18px; }
.floating-kpi small { color: var(--green); font-size: 9px; }
.kpi-one { left: -35px; bottom: 0; }
.kpi-two { top: 0; right: -30px; }

/* ── Industries ──────────────────────────────────────────────── */

.industries-section { background: var(--surface); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.industry-item {
  min-height: 125px;
  display: grid;
  grid-template-columns: 46px 1fr 22px;
  align-items: center;
  gap: 14px;
  padding: 24px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease;
}

.industry-item:hover { color: var(--primary); background: #fbfbff; }
.industry-item > svg:first-child {
  width: 46px; height: 46px; padding: 11px;
  color: var(--primary); background: #eef0ff; border-radius: 7px;
}
.industry-item > svg:last-child { width: 18px; color: #98a2b5; }
.industry-item span { font-size: 14px; font-weight: 700; }

/* ── Control section ─────────────────────────────────────────── */

.control-section { background: #ffffff; }

.control-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 72px;
}

.control-image {
  overflow: hidden;
  border: 1px solid #ccd4e3;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.control-image img {
  aspect-ratio: 2.09 / 1;
  object-fit: contain;
  background: #f7f8fc;
  object-position: top;
}

.control-copy h2 { font-size: 38px; }
.control-copy > p { margin-bottom: 28px; }
.control-copy li { font-size: 14px; }
.control-copy li svg {
  width: 34px; height: 34px; padding: 8px;
  color: var(--primary); background: #eef0ff; border-radius: 6px;
}

/* ── Pricing ─────────────────────────────────────────────────── */

.pricing-section { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  position: relative;
  min-height: 500px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-card.featured {
  color: #ffffff;
  background: #101d3a;
  border-color: #101d3a;
  box-shadow: 0 25px 55px rgba(16, 29, 58, 0.2);
}

.recommended {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 9px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-card h3 { margin-bottom: 10px; font-size: 24px; }
.price-card > p { min-height: 52px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.price-card.featured > p, .price-card.featured li { color: #bec8db; }

.price {
  margin: 26px 0 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 31px;
  font-weight: 800;
}

.price span { color: #7b879d; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; }
.price-card .button { width: 100%; margin-bottom: 28px; }
.price-card.featured .button-primary { background: var(--primary); }

/* ── Demo section ────────────────────────────────────────────── */

.demo-section {
  color: #ffffff;
  background: linear-gradient(115deg, #2835cc 0%, #4f46f5 46%, #594ee1 100%);
}

.demo-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 80px;
}

.demo-copy .eyebrow { color: #a7f3d0; }
.demo-copy h2 { font-size: 42px; }
.demo-copy > p { margin-bottom: 34px; color: #d7dcfa; }

.demo-promise {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 18px;
}

.demo-promise > svg {
  width: 40px; height: 40px; flex: 0 0 auto;
  padding: 9px; color: #a7f3d0;
  background: rgba(255, 255, 255, 0.1); border-radius: 7px;
}

.demo-promise strong, .demo-promise small { display: block; }
.demo-promise strong { margin: 2px 0 5px; font-size: 14px; }
.demo-promise small { color: #c7cff5; font-size: 11px; }

.demo-form-wrap {
  min-height: 590px;
  display: grid;
  align-items: center;
  padding: 34px;
  color: var(--navy);
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 30px 65px rgba(15, 23, 68, 0.25);
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-heading,
.demo-form > label,
.demo-form > .form-row,
.submit-button,
.privacy-note {
  grid-column: 1 / -1;
}

.form-error {
  grid-column: 1 / -1;
  margin: -3px 0 0;
  color: var(--red);
  font-size: 11px;
  text-align: center;
}

.form-heading { margin-bottom: 4px; }
.form-heading h3 { margin-bottom: 5px; font-size: 24px; }
.form-heading span { color: var(--muted); font-size: 12px; }

.demo-form label {
  display: grid;
  gap: 7px;
  color: #34405a;
  font-size: 11px;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  color: var(--navy);
  background: #fbfcfe;
  border: 1px solid #d7ddea;
  border-radius: 6px;
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.demo-form input, .demo-form select { height: 44px; padding: 0 12px; }
.demo-form textarea { min-height: 80px; padding: 12px; resize: vertical; }

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 245, 0.1);
}

.submit-button { width: 100%; border: 0; }
.submit-button:disabled { opacity: 0.7; cursor: wait; }

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -3px 0 0;
  color: #5f6b82;
  font-size: 10px;
}

.success-state { max-width: 430px; margin: auto; text-align: center; }

/* ── Image modal ─────────────────────────────────────────────── */

.image-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 12, 29, 0.84);
  backdrop-filter: blur(8px);
}

.image-modal-panel {
  position: relative;
  width: min(1200px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 14px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.image-modal-panel img { width: 100%; height: auto; max-height: calc(100vh - 110px); object-fit: contain; }
.image-modal-panel p { margin: 10px 2px 0; color: #566177; font-size: 11px; font-weight: 700; }

.modal-close {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(8, 22, 51, 0.88);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.modal-close:hover { background: var(--primary); }

.success-state > div {
  width: 62px; height: 62px;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  color: #ffffff; background: var(--green); border-radius: 50%;
}

.success-state h3 { margin-bottom: 10px; font-size: 29px; }
.success-state p { margin-bottom: 24px; color: var(--muted); line-height: 1.7; }

/* ── FAQ ─────────────────────────────────────────────────────── */

.faq-section { background: #ffffff; }

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

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

.faq-item button {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 4px;
  color: var(--navy);
  text-align: left;
  background: transparent;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.faq-item button svg { width: 19px; flex: 0 0 auto; transition: transform 180ms ease; }
.faq-item.open button svg { transform: rotate(180deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding: 0 42px 22px 4px; }

/* ── Footer ──────────────────────────────────────────────────── */

.site-footer {
  padding: 70px 0 20px;
  color: #ffffff;
  background: #08142b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 58px;
  padding-bottom: 60px;
}

.footer-brand img { width: 160px; margin-bottom: 20px; }
.footer-brand p { max-width: 310px; color: #9eabc2; font-size: 13px; line-height: 1.75; }
.footer-grid h3 { margin-bottom: 18px; font-size: 13px; }

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid a { margin-bottom: 12px; color: #9eabc2; font-size: 12px; }
.footer-grid a:hover { color: #ffffff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: #77859f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

/* ── Optional label ──────────────────────────────────────────── */

.optional-label {
  color: var(--muted);
  font-weight: 400;
  font-size: 10px;
}

/* ════════════════════════════════════════════════════════════════
   BLOG PUBLIC STYLES
   ════════════════════════════════════════════════════════════════ */

.blog-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.blog-hero h1 {
  margin-bottom: 16px;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
}

.blog-hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.blog-search-bar {
  display: flex;
  gap: 10px;
  max-width: 540px;
}

.blog-search-bar input {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.blog-search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 245, 0.1);
}

.blog-search-bar button {
  height: 48px;
  padding: 0 20px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #455169;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border 180ms ease, color 180ms ease;
  text-decoration: none;
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 220ms ease, transform 220ms ease;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: 0 16px 36px rgba(16, 30, 65, 0.12);
  transform: translateY(-3px);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.blog-card-category {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h3 {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
}

.blog-card-excerpt {
  flex: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #8a96a8;
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.blog-card-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-author-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.reading-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Featured post ───────────────────────────────────────────── */

.featured-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 40px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 220ms ease;
}

.featured-post:hover {
  box-shadow: 0 20px 50px rgba(16, 30, 65, 0.13);
}

.featured-post-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface);
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  display: inline-block;
  padding: 6px 10px;
  background: #f0f2ff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.featured-post-body h2 {
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.featured-post-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── Blog article page ───────────────────────────────────────── */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
  padding: 120px 0 80px;
}

.article-header {
  margin-bottom: 36px;
}

.article-header h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-featured-image {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 48px;
  background: var(--surface);
}

/* Rich text content styles */
.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: #1e2b3f;
}

.article-content h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-top: 52px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.article-content h3 {
  font-size: 21px;
  line-height: 1.35;
  margin-top: 38px;
  margin-bottom: 14px;
}

.article-content p { margin-bottom: 24px; }

.article-content ul,
.article-content ol {
  margin: 0 0 28px 0;
  padding-left: 28px;
}

.article-content li { margin-bottom: 8px; line-height: 1.7; }

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  background: #f8f9ff;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #3a4a62;
}

.article-content pre {
  background: #0f1729;
  color: #e2e8f0;
  padding: 20px 24px;
  border-radius: 7px;
  overflow-x: auto;
  margin-bottom: 28px;
  font-size: 14px;
}

.article-content code {
  background: #f0f2ff;
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.article-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.article-content img {
  border-radius: 7px;
  margin: 24px 0;
  box-shadow: 0 12px 30px rgba(16, 30, 65, 0.1);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--line);
  font-size: 14px;
}

.article-content th {
  background: var(--surface);
  font-weight: 700;
}

/* ── Table of contents ───────────────────────────────────────── */

.toc-sidebar {
  position: sticky;
  top: 100px;
}

.toc-box {
  padding: 22px;
  background: #f8f9ff;
  border: 1px solid #e4e8f8;
  border-radius: 8px;
  margin-bottom: 24px;
}

.toc-box h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 14px;
}

.toc-box ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc-box li {
  counter-increment: toc;
  margin-bottom: 8px;
}

.toc-box a {
  display: flex;
  gap: 10px;
  color: #455169;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition: color 150ms ease;
}

.toc-box a::before {
  content: counter(toc);
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}

.toc-box a:hover { color: var(--primary); }

/* ── Share buttons ───────────────────────────────────────────── */

.share-box {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.share-box h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #34405a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, border 180ms ease;
  text-decoration: none;
}

.share-btn:hover { background: var(--surface); border-color: #b8c1d4; }

.copy-link-btn.copied {
  color: var(--green);
  border-color: var(--green);
}

/* ── Related posts ───────────────────────────────────────────── */

.related-posts {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.related-posts h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Article CTA ─────────────────────────────────────────────── */

.article-cta {
  margin: 48px 0;
  padding: 36px;
  background: linear-gradient(135deg, #4f46f5, #2835cc);
  border-radius: 8px;
  color: #ffffff;
  text-align: center;
}

.article-cta h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.article-cta p {
  color: #d7dcfa;
  margin-bottom: 22px;
}

/* ── Tags ────────────────────────────────────────────────────── */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0;
}

.tag-chip {
  padding: 5px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #455169;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
}

.tag-chip:hover { background: #e8eaff; color: var(--primary); }

/* ── Breadcrumbs ─────────────────────────────────────────────── */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumbs a { color: var(--muted); transition: color 150ms ease; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs svg { width: 12px; color: #b0bac9; }

/* ── Pagination ──────────────────────────────────────────────── */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 0;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #34405a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms ease, border 180ms ease, color 180ms ease;
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Newsletter CTA ──────────────────────────────────────────── */

.newsletter-cta {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}

.newsletter-cta h2 { font-size: 34px; margin-bottom: 14px; }
.newsletter-cta p { color: var(--muted); margin-bottom: 32px; font-size: 16px; }

/* ════════════════════════════════════════════════════════════════
   ADMIN PANEL STYLES
   ════════════════════════════════════════════════════════════════ */

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: #f4f6fb;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #08142b;
  color: #ffffff;
  padding: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.sidebar-logo img { width: 120px; }
.sidebar-logo span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #7a8ea8;
  margin-top: 2px;
}

.sidebar-section {
  padding: 18px 12px 8px;
}

.sidebar-section-label {
  display: block;
  padding: 0 8px;
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #4a5f7a;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #9eadc4;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
  margin-bottom: 2px;
}

.sidebar-link svg { width: 16px; flex-shrink: 0; }
.sidebar-link:hover, .sidebar-link.active { background: rgba(79, 70, 245, 0.15); color: #ffffff; }
.sidebar-link.active { color: #a7b4ff; }

.sidebar-bottom {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.admin-breadcrumb a { color: var(--muted); transition: color 150ms ease; }
.admin-breadcrumb a:hover { color: var(--primary); }
.admin-breadcrumb strong { color: var(--navy); font-weight: 700; }

.admin-user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.admin-content {
  flex: 1;
  padding: 28px;
}

/* ── Admin stats ─────────────────────────────────────────────── */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stat-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin-bottom: 10px;
}

.stat-card-value {
  font-size: 30px;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  color: var(--navy);
  margin-bottom: 6px;
}

.stat-card-sub {
  font-size: 11px;
  color: var(--muted);
}

/* ── Admin tables ────────────────────────────────────────────── */

.admin-table-wrap {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.admin-table-header h2 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}

.admin-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
}

.admin-search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--navy);
  width: 200px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  padding: 12px 18px;
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: #f9fafb;
  border-bottom: 1px solid var(--line);
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--navy);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #f9fafb; }

/* ── Status badges ───────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-published { background: #dcfce7; color: #15803d; }
.badge-draft { background: #f1f5f9; color: #475569; }
.badge-review { background: #fef9c3; color: #a16207; }
.badge-scheduled { background: #e0f2fe; color: #0369a1; }
.badge-archived { background: #fee2e2; color: #dc2626; }
.badge-active { background: #dcfce7; color: #15803d; }
.badge-inactive { background: #f1f5f9; color: #475569; }

/* ── Admin forms ─────────────────────────────────────────────── */

.admin-form-wrap {
  max-width: 900px;
}

.admin-form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 20px;
}

.admin-form-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-field {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #34405a;
}

.form-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.form-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d7ddea;
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--navy);
  font-size: 13px;
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 245, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d7ddea;
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--navy);
  font-size: 13px;
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 245, 0.1);
}

.form-select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #d7ddea;
  border-radius: 6px;
  background: #fbfcfe;
  color: var(--navy);
  font-size: 13px;
  outline: none;
  cursor: pointer;
  transition: border 160ms ease;
}

.form-select:focus { border-color: var(--primary); }

.char-count {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
}

.char-count.warning { color: var(--yellow); }
.char-count.danger { color: var(--red); }
.char-count.ok { color: var(--green); }

.char-missing { color: var(--red); font-size: 10px; font-weight: 700; margin-top: 4px; }

/* ── Admin action buttons ────────────────────────────────────── */

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease;
  text-decoration: none;
}

.admin-btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 245, 0.2);
}

.admin-btn-primary:hover { background: var(--primary-dark); }

.admin-btn-secondary {
  background: #ffffff;
  color: var(--navy);
  border-color: var(--line);
}

.admin-btn-secondary:hover { background: var(--surface); }

.admin-btn-danger {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
}

.admin-btn-danger:hover { background: #fecaca; }

.admin-btn-sm {
  min-height: 30px;
  padding: 0 12px;
  font-size: 11px;
}

.admin-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── TipTap Editor ───────────────────────────────────────────── */

.editor-wrap {
  border: 1px solid #d7ddea;
  border-radius: 7px;
  overflow: hidden;
  background: #ffffff;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 8px;
  background: #f9fafb;
  border-bottom: 1px solid var(--line);
}

.toolbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: #455169;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease;
}

.toolbar-btn:hover, .toolbar-btn.active {
  background: #e8eaff;
  color: var(--primary);
}

.toolbar-divider {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin: 0 4px;
}

.ProseMirror {
  min-height: 400px;
  padding: 20px;
  font-size: 15px;
  line-height: 1.8;
  outline: none;
  color: #1e2b3f;
}

.ProseMirror p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  color: #b0bac9;
  pointer-events: none;
  float: left;
  height: 0;
}

.ProseMirror h2 { font-size: 24px; margin-top: 32px; }
.ProseMirror h3 { font-size: 19px; margin-top: 24px; }
.ProseMirror ul, .ProseMirror ol { padding-left: 24px; }
.ProseMirror blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  color: #6b7a90;
  font-style: italic;
}
.ProseMirror code { background: #f0f2ff; padding: 2px 6px; border-radius: 3px; color: var(--primary); font-size: 13px; }
.ProseMirror pre { background: #0f1729; color: #e2e8f0; padding: 16px; border-radius: 6px; }
.ProseMirror img { max-width: 100%; border-radius: 6px; }
.ProseMirror table { width: 100%; border-collapse: collapse; }
.ProseMirror td, .ProseMirror th { border: 1px solid var(--line); padding: 8px 12px; font-size: 13px; }
.ProseMirror th { background: var(--surface); font-weight: 700; }

/* ── SEO Preview ─────────────────────────────────────────────── */

.seo-preview-google {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 600px;
}

.seo-preview-url {
  font-size: 12px;
  color: #007b00;
  margin-bottom: 4px;
}

.seo-preview-title {
  font-size: 18px;
  color: #1a0dab;
  margin-bottom: 4px;
  font-weight: 400;
  cursor: pointer;
}

.seo-preview-title:hover { text-decoration: underline; }

.seo-preview-desc {
  font-size: 13px;
  color: #545454;
  line-height: 1.6;
}

.social-preview-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  max-width: 500px;
}

.social-preview-image {
  aspect-ratio: 1.91 / 1;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0bac9;
  font-size: 12px;
  font-weight: 600;
}

.social-preview-image img { width: 100%; height: 100%; object-fit: cover; }

.social-preview-body {
  padding: 14px;
  background: #f9fafb;
}

.social-preview-domain {
  font-size: 11px;
  color: #8a96a8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.social-preview-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.social-preview-desc {
  font-size: 12px;
  color: #6b7a90;
  line-height: 1.5;
}

/* ── Media library ───────────────────────────────────────────── */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.media-item {
  position: relative;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  cursor: pointer;
  transition: border 180ms ease;
  background: var(--surface);
}

.media-item:hover, .media-item.selected { border-color: var(--primary); }

.media-item-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-item-image img { width: 100%; height: 100%; object-fit: cover; }

.media-item-info {
  padding: 8px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.media-item-name {
  font-size: 11px;
  font-weight: 600;
  color: #34405a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-item-size {
  font-size: 10px;
  color: var(--muted);
}

.media-drop-zone {
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 48px;
  text-align: center;
  cursor: pointer;
  transition: border 180ms ease, background 180ms ease;
  margin-bottom: 24px;
}

.media-drop-zone:hover, .media-drop-zone.dragging {
  border-color: var(--primary);
  background: #f0f2ff;
}

.media-drop-zone svg { color: #b0bac9; margin-bottom: 12px; }
.media-drop-zone p { color: var(--muted); font-size: 13px; margin: 0; }
.media-drop-zone strong { color: var(--primary); }

/* ── Empty & loading states ──────────────────────────────────── */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
}

.empty-state svg { color: #d1d8e5; margin-bottom: 16px; }
.empty-state h3 { font-size: 16px; margin-bottom: 8px; color: #34405a; }
.empty-state p { font-size: 13px; line-height: 1.6; max-width: 300px; }

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Toast notifications ─────────────────────────────────────── */

.toast-container {
  position: fixed;
  z-index: 200;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: slide-in 250ms ease;
  max-width: 360px;
}

.toast-success { background: #dcfce7; color: #15803d; }
.toast-error { background: #fee2e2; color: #dc2626; }
.toast-info { background: #e0f2fe; color: #0369a1; }

@keyframes slide-in {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ── Confirmation dialog ─────────────────────────────────────── */

.dialog-overlay {
  position: fixed;
  z-index: 150;
  inset: 0;
  background: rgba(5, 12, 29, 0.6);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.dialog-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.dialog-box h3 { font-size: 17px; margin-bottom: 10px; }
.dialog-box p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }

.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ── Admin login ─────────────────────────────────────────────── */

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f4f6fb;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(16, 30, 65, 0.08);
}

.login-logo { display: flex; justify-content: center; margin-bottom: 28px; }
.login-logo img { width: 140px; }
.login-card h1 { font-size: 22px; margin-bottom: 6px; text-align: center; }
.login-card > p { color: var(--muted); font-size: 13px; text-align: center; margin-bottom: 28px; }

/* ── Unsaved changes bar ─────────────────────────────────────── */

.unsaved-bar {
  position: fixed;
  bottom: 0;
  left: 240px;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  background: #0b1731;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.unsaved-bar-actions { display: flex; gap: 10px; }

/* ── Admin not-found ─────────────────────────────────────────── */

.admin-not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px;
}

/* ════════════════════════════════════════════════════════════════
   PUBLIC PAGES (Features, Solutions, About, Contact, Legal)
   ════════════════════════════════════════════════════════════════ */

.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 60%);
  border-bottom: 1px solid var(--line);
}

.page-hero .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: #f0f2ff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.page-hero h1 { font-size: 56px; line-height: 1.1; margin-bottom: 20px; }
.page-hero p { max-width: 620px; margin: 0 auto 32px; color: var(--muted); font-size: 18px; line-height: 1.7; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.feature-card:hover {
  box-shadow: 0 14px 32px rgba(16, 30, 65, 0.1);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2ff;
  color: var(--primary);
  border-radius: 8px;
  margin-bottom: 18px;
}

.feature-card h3 { font-size: 17px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0; }

.solutions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solutions-layout.reverse { direction: rtl; }
.solutions-layout.reverse > * { direction: ltr; }

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 0 80px;
}

.legal-content h1 { font-size: 38px; margin-bottom: 12px; }
.legal-content .last-updated { color: var(--muted); font-size: 13px; margin-bottom: 48px; }

.legal-content h2 {
  font-size: 22px;
  margin-top: 48px;
  margin-bottom: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content p { color: #34405a; font-size: 15px; line-height: 1.8; margin-bottom: 20px; }
.legal-content ul { padding-left: 24px; margin-bottom: 20px; }
.legal-content li { font-size: 15px; line-height: 1.7; margin-bottom: 8px; color: #34405a; }
.legal-content a { color: var(--primary); text-decoration: underline; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 80px 0;
}

.contact-info h2 { font-size: 32px; margin-bottom: 16px; }
.contact-info p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2ff;
  color: var(--primary);
  border-radius: 8px;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 13px; color: var(--muted); margin: 0; }

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.team-card h3 { font-size: 16px; margin-bottom: 4px; }
.team-card span { color: var(--primary); font-size: 12px; font-weight: 700; }

/* ── 404 page ────────────────────────────────────────────────── */

.not-found-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.not-found-code {
  font-size: 120px;
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 24px;
}

.not-found-page h1 { font-size: 32px; margin-bottom: 14px; }
.not-found-page p { color: var(--muted); max-width: 480px; margin-bottom: 36px; font-size: 16px; line-height: 1.7; }

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — keep all existing breakpoints
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1160px) {
  .site-header { grid-template-columns: 170px 1fr 235px; }
  .main-nav { gap: 19px; }
  .hero { grid-template-columns: 0.8fr 1.2fr; }
  .hero h1 { font-size: 52px; }
  .module-stage { grid-template-columns: 320px 1fr; padding: 36px; gap: 36px; }
  .workflow-track { gap: 10px; }
  .step-arrow { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 22px; }
  .main-nav {
    position: absolute; top: 76px; right: 16px; left: 16px;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px; background: #ffffff;
    border: 1px solid var(--line); border-radius: 8px;
    box-shadow: var(--shadow); z-index: 45;
  }
  .menu-backdrop {
    position: fixed; z-index: 40; inset: 76px 0 0; display: block;
    width: 100%; padding: 0; background: rgba(8, 22, 51, 0.22); border: 0; cursor: default;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px; }
  .main-nav a.active::after { right: auto; bottom: 8px; left: 14px; width: 28px; }
  .main-nav .nav-demo { display: block; color: #ffffff; text-align: center; background: var(--primary); border-radius: 6px; }
  .menu-button { display: inline-flex; }
  .header-actions .button, .header-actions .text-link { display: none; }
  .hero { height: auto; max-height: none; grid-template-columns: 1fr; padding-top: 76px; }
  .hero-copy { width: min(700px, calc(100% - 48px)); margin: 0 auto; padding: 78px 0 52px; text-align: center; }
  .availability { margin-right: auto; margin-left: auto; }
  .hero h1, .hero-description { margin-right: auto; margin-left: auto; }
  .hero h1 { font-size: 48px; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { min-height: 610px; border-top: 1px solid var(--line); border-left: 0; }
  .motion-insight-stock { right: 8%; }
  .motion-orbit { right: -8%; width: 420px; }
  .motion-ribbon { right: -28%; width: 92%; }
  .motion-scan-line { right: 6%; width: 58%; }
  .version-switch { top: 24px; }
  .capability-strip { margin-top: 0; overflow-x: auto; border-radius: 0; box-shadow: none; }
  .platform-layout, .insights-layout, .control-layout, .demo-layout, .faq-layout { grid-template-columns: 1fr; }
  .platform-selector { grid-template-columns: 1fr 1fr; }
  .platform-points { grid-column: 1 / -1; }
  .module-stage { grid-template-columns: 1fr; }
  .module-copy { max-width: 620px; }
  .workflow-track { grid-template-columns: repeat(3, 1fr); }
  .workflow-summary { flex-wrap: wrap; }
  .report-stack { width: min(760px, 100%); margin: auto; }
  .control-image { order: 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 650px; margin: auto; }
  .price-card { min-height: auto; }
  .demo-copy { max-width: 650px; }
  .faq-layout { gap: 20px; }

  .article-layout { grid-template-columns: 1fr; }
  .toc-sidebar { position: static; margin-bottom: 32px; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .about-team-grid { grid-template-columns: repeat(2, 1fr); }

  .admin-shell { grid-template-columns: 200px 1fr; }

  .contact-layout, .solutions-layout { grid-template-columns: 1fr; }
  .solutions-layout.reverse { direction: ltr; }

  .featured-post { grid-template-columns: 1fr; }
  .featured-post-image { aspect-ratio: 16/7; }
  .featured-post-body { padding: 28px; }
}

@media (max-width: 700px) {
  .content-wrap { width: min(100% - 32px, 1180px); }
  .site-header { height: 68px; }
  .brand-link img { width: 132px; }
  .main-nav { top: 68px; }
  .menu-backdrop { inset: 68px 0 0; }
  .hero { padding-top: 68px; }
  .hero-copy { width: calc(100% - 32px); padding: 56px 0 40px; }
  .hero h1 { font-size: 38px; }
  .hero-tagline { font-size: 18px; }
  .hero-description { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; justify-content: start; width: max-content; margin: auto; text-align: left; }
  .hero-visual { min-height: 470px; }
  .hero-selected-visual img { object-position: 57% center; }
  .motion-insight { transform: scale(0.86); transform-origin: center; }
  .motion-insight-sales { top: 22%; right: 4%; }
  .motion-insight-stock { right: 3%; bottom: 20%; }
  .motion-orbit { right: -24%; width: 360px; }
  .motion-ribbon { right: -56%; width: 130%; }
  .motion-ribbon-three { display: none; }
  .motion-scan-line { right: -2%; width: 72%; }
  .version-switch { right: 16px; left: 16px; }
  .version-switch button { justify-content: center; }
  .scene-caption { right: 16px; bottom: 16px; left: 16px; width: auto; }
  .capability-strip { width: 100%; min-height: 66px; padding: 0 18px; }
  section:not(.hero) { padding: 80px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2, .control-copy h2, .demo-copy h2 { font-size: 30px; }
  .section-heading p, .control-copy > p, .demo-copy > p { font-size: 15px; }
  .platform-selector { grid-template-columns: 1fr; }
  .platform-points { grid-column: auto; }
  .frame-bar div { min-width: 0; width: 160px; }
  .module-tabs { margin-right: -16px; }
  .module-tabs button { min-width: 112px; }
  .module-stage { min-height: auto; padding: 24px; }
  .image-expand { opacity: 1; transform: translateY(0); }
  .module-copy h3 { font-size: 24px; }
  .workflow-track { grid-template-columns: 1fr; }
  .workflow-step { min-height: 0; }
  .workflow-summary { align-items: flex-start; flex-direction: column; }
  .workflow-summary > svg { transform: rotate(90deg); }
  .metric-grid, .industry-grid { grid-template-columns: 1fr; }
  .report-stack { padding-bottom: 0; }
  .floating-kpi { display: none; }
  .industry-grid { border-left: 1px solid var(--line); }
  .control-layout, .demo-layout { gap: 44px; }
  .price-card, .demo-form-wrap { padding: 24px; }
  .demo-form-wrap { min-height: 0; }
  .demo-form, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }

  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .features-grid, .about-team-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 36px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .article-header h1 { font-size: 28px; }
  .unsaved-bar { left: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Selected commerce landing page ─────────────────────────── */
.selected-home { --selected-ink: #101b42; --selected-muted: #5f6b86; --selected-blue: #3040f5; --selected-line: #e7eaf4; color: var(--selected-ink); background: #ffffff; }
.selected-home *, .selected-home *::before, .selected-home *::after { box-sizing: border-box; }
.selected-home .selected-wrap { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.selected-home .selected-header { position: sticky; top: 0; z-index: 50; width: 100%; height: 76px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 28px; padding: 0 max(32px, calc((100vw - 1320px) / 2)); background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(231,234,244,.86); backdrop-filter: blur(18px); }
.selected-home .selected-header .brand-link img { width: 154px; height: auto; }
.selected-home .selected-header .main-nav { position: static; display: flex; align-items: center; justify-content: center; gap: 26px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.selected-home .selected-header .main-nav a { position: relative; padding: 8px 0; color: #273454; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.selected-home .selected-header .main-nav a.active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; content: ''; background: var(--selected-blue); border-radius: 10px; }
.selected-home .selected-header .nav-demo { display: none; }
.selected-home .selected-header .header-actions { display: flex; align-items: center; gap: 16px; }
.selected-home .selected-header .text-link { color: #273454; font-size: 12px; font-weight: 700; text-decoration: none; }
.selected-home .selected-header .button-small { min-height: 42px; padding: 0 18px; border-radius: 11px; font-size: 12px; }
.selected-home .selected-header .menu-button { display: none; }
.selected-home .hero { min-height: 690px; height: min(760px, calc(100vh - 76px)); max-height: none; grid-template-columns: minmax(420px, .82fr) minmax(620px, 1.18fr); padding-top: 0; background: #ffffff; }
.selected-home .hero-copy { width: min(570px, calc(100% - 48px)); margin-left: max(32px, calc((100vw - 1320px) / 2)); padding: 40px 16px 36px 0; }
.selected-home .availability { margin-bottom: 26px; color: #31406c; background: #f0f1ff; border-color: #dfe2ff; text-transform: none; letter-spacing: .01em; }
.selected-home .hero h1 { max-width: 560px; margin-bottom: 18px; color: var(--selected-ink); font-size: clamp(52px, 5vw, 78px); line-height: .98; letter-spacing: -.055em; }
.selected-home .hero-tagline { max-width: 540px; margin-bottom: 18px; color: #5a6785; font-size: 21px; font-weight: 600; line-height: 1.45; }
.selected-home .hero-description { max-width: 500px; margin-bottom: 30px; color: var(--selected-muted); font-size: 16px; line-height: 1.7; }
.selected-home .hero-actions { margin-bottom: 30px; }
.selected-home .hero-actions .button { min-height: 50px; padding: 0 19px; border-radius: 12px; }
.selected-home .hero-proof { gap: 16px 22px; color: #5b6782; font-size: 12px; }
.selected-home .hero-visual { min-height: 690px; border-left: 0; background: #f8faff; }
.selected-home .hero-selected-visual { background: #f8faff; }
.selected-home .hero-selected-visual img { object-position: center; }
.selected-home .hero-motion-layer { z-index: 3; }
.selected-home .hero-visual::after { z-index: 4; height: 64px; background: linear-gradient(to top, rgba(248,250,255,.92), transparent); }

.selected-home .trust-strip { position: relative; z-index: 5; width: min(1180px, calc(100% - 64px)); margin: -26px auto 0; padding: 24px 30px 20px; text-align: center; background: #ffffff; border: 1px solid var(--selected-line); border-radius: 16px; box-shadow: 0 18px 48px rgba(30,44,95,.08); }
.selected-home .trust-strip p { margin: 0 0 18px; color: #3441ef; font-size: 13px; font-weight: 800; }
.selected-home .trust-logos { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #7d8390; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.selected-home .trust-logos span:nth-child(2) { font-size: 25px; font-weight: 600; }
.selected-home .trust-logos span:nth-child(3) { font-size: 17px; font-weight: 700; }
.selected-home .trust-logos span:nth-child(4) { font-size: 12px; letter-spacing: .14em; }
.selected-home .trust-logos span:nth-child(5) { font-size: 19px; font-weight: 600; }
.selected-home .trust-logos span:nth-child(6) { font-size: 14px; letter-spacing: .08em; }

.selected-home .feature-section, .selected-home .showcase-section, .selected-home .selected-section { padding: 118px 0; }
.selected-home .feature-section { background: #ffffff; }
.selected-home .selected-heading { max-width: 720px; margin-bottom: 42px; }
.selected-home .selected-heading .eyebrow, .selected-home .showcase-copy .eyebrow, .selected-home .demo-copy .eyebrow { display: inline-block; margin-bottom: 14px; color: #5664f4; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.selected-home .selected-heading h2, .selected-home .showcase-copy h2, .selected-home .demo-copy h2 { margin: 0 0 15px; color: var(--selected-ink); font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -.045em; }
.selected-home .selected-heading p, .selected-home .showcase-copy > p, .selected-home .demo-copy > p { max-width: 650px; margin: 0; color: var(--selected-muted); font-size: 16px; line-height: 1.7; }
.selected-home .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.selected-home .feature-tile { position: relative; min-height: 470px; overflow: hidden; padding: 28px; border: 1px solid transparent; border-radius: 22px; }
.selected-home .feature-tile-blue { background: linear-gradient(145deg, #f1f1ff, #f8f7ff); border-color: #dedfff; }
.selected-home .feature-tile-green { background: linear-gradient(145deg, #edfbf7, #f7fffd); border-color: #d6f1ea; }
.selected-home .feature-tile-coral { background: linear-gradient(145deg, #fff4f1, #fffaf9); border-color: #f7ddd6; }
.selected-home .feature-icon { display: grid; width: 46px; height: 46px; margin-bottom: 22px; place-items: center; color: #ffffff; border-radius: 13px; background: var(--selected-blue); font-size: 24px; font-weight: 900; }
.selected-home .feature-tile-green .feature-icon { background: #15bd91; }
.selected-home .feature-tile-coral .feature-icon { background: #fa684d; }
.selected-home .feature-tile h3 { margin: 0 0 10px; color: var(--selected-blue); font-size: 27px; letter-spacing: -.04em; }
.selected-home .feature-tile-green h3 { color: #10a77e; }
.selected-home .feature-tile-coral h3 { color: #f0654e; }
.selected-home .feature-tile p { max-width: 270px; margin: 0 0 18px; color: #59657d; font-size: 14px; line-height: 1.55; }
.selected-home .feature-tile a { position: relative; z-index: 2; color: var(--selected-blue); font-size: 13px; font-weight: 800; text-decoration: none; }
.selected-home .feature-tile-green a { color: #10a77e; }
.selected-home .feature-tile-coral a { color: #f0654e; }
.selected-home .feature-tile img { position: absolute; right: -8%; bottom: -7%; width: 82%; height: 45%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 16px 20px rgba(36,48,96,.13)); transition: transform 500ms ease; }
.selected-home .feature-tile:hover img { transform: translateY(-8px) scale(1.04); }

.selected-home .showcase-section { background: #f5f8ff; }
.selected-home .showcase-layout { display: grid; grid-template-columns: .74fr 1.26fr; gap: 70px; align-items: center; }
.selected-home .showcase-copy .check-list { display: grid; gap: 14px; margin: 28px 0 32px; padding: 0; list-style: none; color: #354362; font-size: 14px; font-weight: 700; }
.selected-home .showcase-copy .check-list li::before { display: inline-grid; width: 20px; height: 20px; margin-right: 9px; place-items: center; content: '✓'; color: #ffffff; background: #18b889; border-radius: 50%; font-size: 11px; }
.selected-home .showcase-frame { overflow: hidden; border: 1px solid #dae1f1; border-radius: 17px; background: #ffffff; box-shadow: 0 28px 60px rgba(30,44,95,.16); }
.selected-home .browser-bar { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; color: #8a94aa; border-bottom: 1px solid #e7eaf4; font-size: 11px; }
.selected-home .browser-bar i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #fa8d7d; }
.selected-home .browser-bar i:nth-child(2) { background: #f5c855; }.selected-home .browser-bar i:nth-child(3) { background: #44ca93; }
.selected-home .browser-bar span { margin-left: 10px; }
.selected-home .showcase-frame img { display: block; width: 100%; height: auto; }

.selected-home .workflow-section { background: #ffffff; }
.selected-home .workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--selected-line); border-bottom: 1px solid var(--selected-line); }
.selected-home .workflow-grid article { min-height: 190px; padding: 28px 24px 26px 0; border-right: 1px solid var(--selected-line); }.selected-home .workflow-grid article:not(:first-child) { padding-left: 24px; }.selected-home .workflow-grid article:last-child { border-right: 0; }
.selected-home .workflow-grid article > span { color: #8d98af; font-size: 12px; font-weight: 900; }.selected-home .workflow-grid h3 { margin: 18px 0 8px; font-size: 20px; }.selected-home .workflow-grid p { margin: 0; color: var(--selected-muted); font-size: 13px; line-height: 1.55; }

.selected-home .industry-section { background: #f7f8ff; }.selected-home .industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }.selected-home .industry-grid a { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; color: #263451; background: #ffffff; border: 1px solid var(--selected-line); border-radius: 14px; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform 220ms ease, box-shadow 220ms ease; }.selected-home .industry-grid a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(30,44,95,.1); }.selected-home .industry-grid a span { color: var(--selected-blue); font-size: 18px; }

.selected-home .pricing-section { background: #ffffff; }.selected-home .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.selected-home .selected-price { position: relative; padding: 30px; border: 1px solid var(--selected-line); border-radius: 18px; background: #ffffff; }.selected-home .selected-price-featured { border-color: #5965ff; box-shadow: 0 20px 48px rgba(48,64,245,.15); }.selected-home .selected-price h3 { margin: 0 0 10px; font-size: 22px; }.selected-home .selected-price p { min-height: 42px; margin: 0 0 24px; color: var(--selected-muted); font-size: 14px; line-height: 1.5; }.selected-home .selected-price strong { display: block; margin-bottom: 22px; font-size: 26px; }.selected-home .selected-price strong small { color: var(--selected-muted); font-size: 12px; font-weight: 600; }.selected-home .selected-price .button { width: 100%; min-height: 44px; border-radius: 10px; }.selected-home .selected-price ul { display: grid; gap: 11px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--selected-line); list-style: none; color: #4c5872; font-size: 13px; }.selected-home .selected-price li::before { margin-right: 8px; content: '✓'; color: #18b889; font-weight: 900; }.selected-home .price-badge { position: absolute; top: 18px; right: 20px; padding: 6px 9px; color: #ffffff; background: var(--selected-blue); border-radius: 999px; font-size: 10px; font-weight: 800; }

.selected-home .selected-demo { padding: 118px 0; background: linear-gradient(135deg, #2836e7, #4735dc); color: #ffffff; }.selected-home .selected-demo .demo-layout { display: grid; grid-template-columns: .84fr 1.16fr; gap: 70px; align-items: center; }.selected-home .selected-demo .demo-copy .eyebrow { color: #aeb8ff; }.selected-home .selected-demo .demo-copy h2 { color: #ffffff; }.selected-home .selected-demo .demo-copy > p { color: #d9ddff; }.selected-home .demo-points { display: grid; gap: 13px; margin-top: 28px; color: #ffffff; font-size: 14px; font-weight: 700; }.selected-home .demo-form-wrap { padding: 30px; background: #ffffff; border-radius: 20px; box-shadow: 0 26px 60px rgba(10,17,97,.3); }.selected-home .demo-form { display: grid; gap: 14px; }.selected-home .demo-form .form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }.selected-home .demo-form .form-heading h3 { margin: 0; color: var(--selected-ink); font-size: 24px; }.selected-home .demo-form .form-heading span, .selected-home .optional-label { color: #7b86a0; font-size: 11px; }.selected-home .demo-form label { display: grid; gap: 6px; color: #33405d; font-size: 12px; font-weight: 800; }.selected-home .demo-form input, .selected-home .demo-form select, .selected-home .demo-form textarea { width: 100%; min-height: 43px; padding: 10px 12px; color: #253250; background: #fbfcff; border: 1px solid #dfe4f0; border-radius: 9px; font: inherit; font-weight: 500; }.selected-home .demo-form textarea { min-height: 85px; resize: vertical; }.selected-home .demo-form input:focus, .selected-home .demo-form select:focus, .selected-home .demo-form textarea:focus { outline: 3px solid rgba(48,64,245,.14); border-color: #6670ff; }.selected-home .demo-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.selected-home .demo-form .submit-button { justify-content: center; min-height: 47px; border-radius: 10px; }.selected-home .privacy-note { margin: 0; color: #7b86a0; font-size: 11px; }

.selected-home .faq-section { background: #f7f8ff; }.selected-home .faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }.selected-home .faq-list { display: grid; gap: 10px; }.selected-home .faq-item { overflow: hidden; background: #ffffff; border: 1px solid var(--selected-line); border-radius: 12px; }.selected-home .faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: #283653; background: transparent; border: 0; font: inherit; font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; }.selected-home .faq-item button span { color: var(--selected-blue); font-size: 20px; }.selected-home .faq-answer { display: none; padding: 0 20px 18px; color: var(--selected-muted); font-size: 13px; line-height: 1.65; }.selected-home .faq-item.open .faq-answer { display: block; }.selected-home .faq-answer p { margin: 0; }

.selected-home .selected-footer { padding: 72px 0 24px; color: #cad1ff; background: #111d58; }.selected-home .selected-footer .footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 44px; }.selected-home .selected-footer .footer-brand img { width: 150px; margin-bottom: 16px; }.selected-home .selected-footer .footer-brand p { max-width: 270px; margin: 0; color: #aeb8df; font-size: 13px; line-height: 1.65; }.selected-home .selected-footer h3 { margin: 0 0 16px; color: #ffffff; font-size: 13px; }.selected-home .selected-footer a { display: block; margin-bottom: 10px; color: #c7cff4; font-size: 12px; text-decoration: none; }.selected-home .selected-footer a:hover { color: #ffffff; }.selected-home .selected-footer .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 18px; color: #9da8d3; border-top: 1px solid rgba(255,255,255,.14); font-size: 11px; }

@media (max-width: 980px) {
  .selected-home .selected-header { grid-template-columns: 1fr auto; height: 70px; padding: 0 22px; }.selected-home .selected-header .main-nav { position: absolute; top: 70px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #ffffff; border: 1px solid var(--selected-line); border-radius: 12px; box-shadow: 0 18px 44px rgba(30,44,95,.16); }.selected-home .selected-header .main-nav.open { display: flex; }.selected-home .selected-header .main-nav a { padding: 13px 14px; }.selected-home .selected-header .nav-demo { display: block; color: #ffffff; background: var(--selected-blue); border-radius: 8px; text-align: center; }.selected-home .selected-header .header-actions .button, .selected-home .selected-header .header-actions .text-link { display: none; }.selected-home .selected-header .menu-button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: var(--selected-ink); background: #ffffff; border: 1px solid var(--selected-line); border-radius: 10px; font-size: 20px; }
  .selected-home .hero { height: auto; min-height: 0; grid-template-columns: 1fr; }.selected-home .hero-copy { width: min(700px, calc(100% - 48px)); margin: 0 auto; padding: 84px 0 52px; text-align: center; }.selected-home .availability, .selected-home .hero h1, .selected-home .hero-description { margin-right: auto; margin-left: auto; }.selected-home .hero-actions, .selected-home .hero-proof { justify-content: center; }.selected-home .hero-visual { min-height: 620px; }.selected-home .trust-strip { margin-top: 0; }.selected-home .showcase-layout, .selected-home .selected-demo .demo-layout, .selected-home .faq-layout { grid-template-columns: 1fr; gap: 44px; }.selected-home .showcase-copy { max-width: 700px; }.selected-home .feature-grid, .selected-home .pricing-grid { grid-template-columns: 1fr; max-width: 700px; }.selected-home .feature-tile { min-height: 420px; }.selected-home .industry-grid { grid-template-columns: repeat(2, 1fr); }.selected-home .selected-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .selected-home .selected-wrap { width: calc(100% - 32px); }.selected-home .hero-copy { width: calc(100% - 32px); padding: 60px 0 42px; }.selected-home .hero h1 { font-size: 46px; }.selected-home .hero-tagline { font-size: 18px; }.selected-home .hero-description { font-size: 15px; }.selected-home .hero-actions { display: grid; }.selected-home .hero-actions .button { width: 100%; }.selected-home .hero-visual { min-height: 480px; }.selected-home .trust-strip { width: 100%; padding: 22px 16px; border-radius: 0; }.selected-home .trust-logos { flex-wrap: wrap; justify-content: center; gap: 13px 24px; font-size: 17px; }.selected-home .feature-section, .selected-home .showcase-section, .selected-home .selected-section, .selected-home .selected-demo { padding: 78px 0; }.selected-home .selected-heading h2, .selected-home .showcase-copy h2, .selected-home .demo-copy h2 { font-size: 34px; }.selected-home .feature-tile { min-height: 400px; }.selected-home .workflow-grid { grid-template-columns: 1fr 1fr; }.selected-home .workflow-grid article, .selected-home .workflow-grid article:not(:first-child) { min-height: 170px; padding: 22px 16px; border-right: 1px solid var(--selected-line); }.selected-home .workflow-grid article:nth-child(2n) { border-right: 0; }.selected-home .workflow-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--selected-line); }.selected-home .industry-grid { grid-template-columns: 1fr; }.selected-home .demo-form-wrap { padding: 20px; }.selected-home .demo-form .form-row { grid-template-columns: 1fr; }.selected-home .selected-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }.selected-home .selected-footer .footer-brand { grid-column: 1 / -1; }.selected-home .selected-footer .footer-bottom { display: grid; gap: 8px; }
}

/* ── Reduced motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Admin Mobile Navigation Drawer & Responsiveness ── */
.admin-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--line, #e2e8f0);
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.admin-mobile-toggle:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

@media (max-width: 700px) {
  .admin-mobile-toggle {
    display: inline-flex;
  }
  .admin-content {
    padding: 16px 12px;
  }
}

.admin-mobile-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  width: min(300px, 85vw);
  height: calc(100vh - 60px);
  background: #ffffff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.14);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-right: 1px solid var(--line, #e2e8f0);
  overflow-y: auto;
}

.admin-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line, #e2e8f0);
  margin-bottom: 12px;
}

.admin-mobile-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  color: #64748b;
}

.admin-mobile-close-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.admin-mobile-drawer-nav {
  flex: 1;
  overflow-y: auto;
}

.admin-mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease;
  margin-bottom: 2px;
}

.admin-mobile-link:hover,
.admin-mobile-link.active {
  background: rgba(79, 70, 245, 0.08);
  color: #4f46e5;
}

.admin-mobile-drawer-footer {
  padding-top: 12px;
  border-top: 1px solid var(--line, #e2e8f0);
}

/* ── Ensure zero horizontal scroll overflow across viewports ── */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.admin-shell {
  max-width: 100vw;
  overflow-x: hidden;
}

.admin-main {
  max-width: 100%;
  overflow-x: hidden;
}
