/*--------------------------------------------------------------
# Osonia Home V2
# Ordered homepage
--------------------------------------------------------------*/

body.home-v2-page {
  --home-bg: var(--background-color, #f2f7fb);
  --home-band: #f4f9fd;
  --home-surface: #ffffff;
  --home-surface-soft: #f8fbfd;
  --home-ink: #10263b;
  --home-text: #223548;
  --home-muted: #496078;
  --home-border: rgba(16, 38, 59, 0.12);
  --home-border-strong: rgba(47, 142, 255, 0.28);
  --home-blue: var(--brand-blue-soft, #2f8eff);
  --home-magenta: var(--brand-magenta, #d600ff);
  --home-dark: var(--brand-blue-deep, #07111a);
  --home-dark-2: #10263b;
  --home-video-bg: #0a1420;
  --home-video-core: #031532;
  --home-shadow: 0 18px 42px rgba(11, 29, 49, 0.12);
  --home-shadow-soft: 0 10px 26px rgba(11, 29, 49, 0.08);
  background: var(--home-bg);
  color: var(--home-text);
}

body.home-v2-page .main {
  overflow: hidden;
}

body.home-v2-page section {
  overflow: visible;
}

.home-v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-v2-btn:hover {
  transform: translateY(-2px);
}

.home-v2-btn-primary {
  color: #ffffff;
  background: linear-gradient(120deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  text-shadow: 0 1px 10px rgba(2, 12, 22, 0.34);
  box-shadow: 0 14px 30px rgba(27, 73, 215, 0.22);
}

.home-v2-btn-primary:hover {
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(214, 0, 255, 0.26);
}

.home-v2-btn-secondary,
.home-v2-btn-ghost {
  color: #edfaff;
  border: 1px solid rgba(205, 232, 245, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.home-v2-btn-secondary:hover,
.home-v2-btn-ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.14);
}

.home-v2-section-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.home-v2-section-head-wide {
  max-width: 900px;
}

.home-v2-section-head > p,
.home-v2-split-head > div > p,
.method-copy > p,
.trust-copy > p,
.proof-copy > p {
  margin: 0 0 12px;
  color: var(--home-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-v2-section-head h1,
.home-v2-section-head h2,
.home-v2-split-head h2,
.method-copy h2,
.trust-copy h2,
.proof-copy h2,
.final-shell h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

.home-v2-section-head > span,
.home-v2-split-head > span,
.method-copy > span,
.trust-copy > span,
.proof-copy > span,
.final-shell p {
  display: block;
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--home-muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

/* Hero */
.home-v2-hero {
  position: relative;
  padding: 122px 0 54px;
  color: rgba(238, 250, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(8, 18, 30, 0.22), rgba(8, 18, 30, 0.08)),
    linear-gradient(135deg, #07111a 0%, #0d1726 56%, #10263b 100%);
}

.home-v2-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: linear-gradient(180deg, rgba(245, 247, 251, 0), var(--home-bg));
  pointer-events: none;
}

.home-v2-hero .container {
  position: relative;
  z-index: 2;
}

.home-v2-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.96fr);
  gap: 38px;
  align-items: center;
}

.home-v2-copy {
  max-width: 700px;
}

.home-v2-eyebrow {
  margin: 0 0 16px;
  color: #79d6ff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: uppercase;
}

.home-v2-copy h1 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 3.55rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.03;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.home-v2-lead {
  margin: 22px 0 0;
  max-width: 670px;
  color: rgba(232, 245, 255, 0.86);
  font-size: 1.07rem;
  line-height: 1.64;
}

.home-v2-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.home-v2-orbit-hero {
  display: flex;
  align-items: center;
  min-height: 760px;
  padding: 112px 0 58px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 28%, var(--home-video-core) 0%, #061b38 16%, var(--home-video-bg) 34%, var(--home-video-bg) 100%);
}

.home-v2-orbit-hero::after {
  z-index: 3;
  height: 88px;
}

.home-v2-spline-hero .container {
  z-index: 4;
}

.home-v2-star-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.82;
  background-image:
    radial-gradient(circle, rgba(232, 248, 255, 0.92) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(121, 214, 255, 0.7) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(214, 0, 255, 0.32) 0 1px, transparent 1.6px);
  background-position:
    18px 24px,
    74px 91px,
    132px 46px;
  background-size:
    142px 118px,
    211px 173px,
    287px 229px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 66%, transparent 94%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 66%, transparent 94%);
  animation: homeStarDrift 28s linear infinite;
}

.home-v2-star-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(47, 142, 255, 0.5) 0 1px, transparent 1.5px);
  background-position:
    46px 74px,
    118px 28px;
  background-size:
    251px 199px,
    331px 263px;
  opacity: 0.56;
}

.home-v2-spline-scene {
  position: absolute;
  top: 88px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 430px;
  pointer-events: none;
}

.home-v2-hero-video {
  display: block;
  width: clamp(180px, 16vw, 230px);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  background: var(--home-video-bg);
  filter: saturate(1.12) contrast(1.04);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, #000 52%, rgba(0, 0, 0, 0.72) 62%, transparent 73%);
  mask-image: radial-gradient(circle at center, #000 0%, #000 52%, rgba(0, 0, 0, 0.72) 62%, transparent 73%);
}

.home-v2-meteor-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.home-v2-meteor-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.home-v2-orbit-shell {
  display: grid;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.home-v2-spline-hero .home-v2-orbit-shell {
  max-width: 1060px;
  padding-top: 310px;
}

.home-v2-orbit-shell .home-v2-eyebrow {
  margin-bottom: 14px;
  color: var(--home-blue);
}

.home-v2-orbit-shell h1 {
  margin: 0;
  max-width: 880px;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.home-v2-spline-hero .home-v2-orbit-shell h1 {
  max-width: 1030px;
  font-size: 4.05rem;
  line-height: 1.02;
}

.home-v2-orbit-shell .home-v2-lead {
  max-width: 760px;
  margin-top: 18px;
  margin-right: auto;
  margin-left: auto;
}

.home-v2-orbit-shell .home-v2-actions {
  justify-content: center;
}

.home-v2-orbit-shell .home-v2-actions {
  margin-top: 22px;
}

@keyframes homeStarDrift {
  from {
    background-position:
      18px 24px,
      74px 91px,
      132px 46px;
  }

  to {
    background-position:
      -124px 142px,
      -137px 264px,
      -155px 275px;
  }
}

.hero-console {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(205, 232, 245, 0.24);
  background: linear-gradient(145deg, rgba(14, 37, 53, 0.96), rgba(7, 18, 31, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.hero-console-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid rgba(205, 232, 245, 0.14);
  padding: 16px 18px;
}

.hero-console-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.hero-console-dots span:nth-child(1) { background: #ff7a8a; }
.hero-console-dots span:nth-child(2) { background: var(--brand-action-end, #d600ff); }
.hero-console-dots span:nth-child(3) { background: #18d29f; }

.hero-console-topbar strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.hero-console-topbar em {
  border-radius: 999px;
  border: 1px solid rgba(214, 0, 255, 0.34);
  padding: 6px 9px;
  color: #ff8adf;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.hero-console-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.hero-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.hero-flow-card,
.hero-flow-core {
  border-radius: 8px;
  border: 1px solid rgba(205, 232, 245, 0.16);
  background: rgba(255, 255, 255, 0.07);
  padding: 15px;
}

.hero-flow-card span,
.hero-flow-core span {
  display: block;
  margin-bottom: 10px;
  color: #79d6ff;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-flow-card strong {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(239, 249, 255, 0.9);
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 700;
}

.hero-flow-card strong + strong {
  margin-top: 9px;
}

.hero-flow-card i {
  flex: 0 0 auto;
  color: #79d6ff;
  margin-top: 1px;
}

.hero-flow-output i {
  color: var(--home-blue);
}

.hero-flow-core {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 156px;
  border-color: rgba(214, 0, 255, 0.28);
  background: rgba(5, 17, 27, 0.56);
  text-align: center;
}

.core-ring {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  box-shadow: 0 18px 34px rgba(214, 0, 255, 0.22);
}

.hero-flow-core i {
  color: #ffffff;
  font-size: 1.9rem;
  text-shadow: 0 1px 10px rgba(2, 12, 22, 0.34);
}

.hero-flow-core span {
  margin: 12px 0 0;
  color: #ffffff;
  text-transform: none;
  font-size: 0.92rem;
}

.hero-console-main {
  display: grid;
  gap: 12px;
}

.hero-doc-card,
.hero-answer-card,
.hero-trace-grid span {
  border: 1px solid rgba(205, 232, 245, 0.16);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 8px;
}

.hero-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.hero-doc-card span {
  display: block;
  margin-bottom: 6px;
  color: #79d6ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-doc-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.32;
}

.hero-doc-card > i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  text-shadow: 0 1px 10px rgba(2, 12, 22, 0.34);
}

.hero-answer-card {
  padding: 16px;
  background: rgba(47, 142, 255, 0.11);
}

.hero-answer-card p {
  margin: 0;
  color: rgba(239, 249, 255, 0.92);
  line-height: 1.62;
}

.hero-ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.hero-ai-tags span {
  border: 1px solid rgba(47, 142, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 249, 255, 0.88);
  padding: 6px 8px;
  font-size: 0.74rem;
  font-weight: 900;
}

.hero-trace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-trace-grid span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(232, 245, 255, 0.84);
  padding: 13px;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-trace-grid i {
  color: var(--home-blue);
}

/* Shared sections */
.home-v2-order-section,
.home-v2-demo-lab,
.home-v2-pain-section,
.home-v2-sector-section,
.home-v2-build-section,
.home-v2-method-section,
.home-v2-trust-section,
.home-v2-proof-section,
.home-v2-stack-section,
.home-v2-case-section {
  padding: 76px 0;
}

/* Order */
.home-v2-order-section {
  padding-top: 64px;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.order-card {
  position: relative;
  min-height: 100%;
  display: grid;
  align-content: start;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow-soft);
  overflow: hidden;
  padding: 22px 22px 24px;
}

.order-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  opacity: 0.7;
}

.order-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.order-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  border-radius: 999px;
  color: var(--home-blue);
  background: rgba(47, 142, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
}

.order-card i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  font-size: 1.18rem;
  text-shadow: 0 1px 10px rgba(2, 12, 22, 0.34);
}

.order-card h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.25;
}

.order-card p {
  margin: 8px 0 0;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

/* Demo lab */
.home-v2-demo-lab {
  background: var(--home-band);
}

.demos-page .demo-page-lab {
  padding: 142px 0 78px;
}

.demos-page .home-v2-section-head h1 {
  max-width: 860px;
  margin: 0 auto;
}

.demo-lab-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 18px;
  align-items: stretch;
}

.demo-tabs {
  display: grid;
  gap: 10px;
}

.demo-tab {
  appearance: none;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 12px;
  align-items: start;
  width: 100%;
  text-align: left;
  border: 1px solid var(--home-border);
  border-left: 4px solid transparent;
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow-soft);
  padding: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.demo-tab:hover,
.demo-tab.is-active {
  transform: translateY(-2px);
  border-color: var(--home-border-strong);
  border-left-color: var(--home-magenta);
  background: #ffffff;
  box-shadow: var(--home-shadow);
}

.demo-tab i {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  font-size: 1.08rem;
  text-shadow: 0 1px 10px rgba(2, 12, 22, 0.34);
}

.demo-tab span,
.demo-tab strong {
  grid-column: 2;
  min-width: 0;
}

.demo-tab span {
  color: var(--home-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.demo-tab strong {
  color: var(--home-ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.demo-stage,
.demo-pane-copy,
.demo-mockup {
  min-width: 0;
}

.demo-pane {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  min-height: 100%;
  border-radius: 12px;
  border: 1px solid rgba(205, 232, 245, 0.18);
  background: linear-gradient(145deg, #07111a, #10263b);
  box-shadow: 0 26px 62px rgba(8, 18, 30, 0.2);
  padding: 22px;
  color: rgba(233, 247, 255, 0.86);
}

.demo-pane[hidden] {
  display: none !important;
}

.demo-pane-copy {
  align-self: center;
  padding: 4px;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(214, 0, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ff8adf;
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.demo-pane-copy h2,
.demo-pane-copy h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.demo-pane-copy p {
  margin: 14px 0 0;
  color: rgba(226, 243, 253, 0.76);
  line-height: 1.66;
}

.demo-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.demo-chip-row span {
  border: 1px solid rgba(47, 142, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(238, 249, 255, 0.88);
  padding: 7px 9px;
  font-size: 0.78rem;
  font-weight: 900;
}

.demo-mockup {
  border-radius: 8px;
  border: 1px solid rgba(205, 232, 245, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.demo-mockup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(205, 232, 245, 0.13);
  padding-bottom: 13px;
}

.demo-mockup-top strong {
  color: #ffffff;
}

.demo-mockup-top span {
  border-radius: 999px;
  background: rgba(214, 0, 255, 0.14);
  color: #ff8adf;
  padding: 6px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.demo-question,
.demo-answer {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  border-radius: 8px;
  padding: 15px;
  margin-top: 13px;
}

.demo-question {
  background: rgba(255, 255, 255, 0.075);
}

.demo-answer {
  background: rgba(47, 142, 255, 0.11);
}

.demo-question i,
.demo-answer i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: #79d6ff;
}

.demo-answer i {
  color: var(--home-blue);
}

.demo-question p,
.demo-answer p {
  margin: 0;
  color: rgba(239, 249, 255, 0.9);
  line-height: 1.58;
}

.demo-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
}

.demo-output-grid div {
  border: 1px solid rgba(205, 232, 245, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 13px;
}

.demo-output-grid span {
  display: block;
  color: #79d6ff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.demo-output-grid strong {
  display: block;
  margin-top: 7px;
  color: #ffffff;
  line-height: 1.34;
}

.demo-trace-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 13px;
  border-radius: 8px;
  background: rgba(6, 17, 29, 0.56);
  color: rgba(226, 243, 253, 0.72);
  padding: 13px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.demo-trace-line i {
  color: var(--home-blue);
  margin-top: 2px;
}

/* Pain */
.home-v2-split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.home-v2-split-head > span {
  margin: 0;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pain-card,
.build-card,
.trust-card,
.proof-card,
.stack-item {
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow-soft);
}

.pain-card,
.trust-card {
  padding: 22px;
}

.pain-card i,
.trust-card i,
.build-card > i,
.sector-v2-card-head i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  font-size: 1.12rem;
  text-shadow: 0 1px 10px rgba(2, 12, 22, 0.34);
}

.pain-card i,
.trust-card i {
  margin-bottom: 17px;
}

.pain-card h3,
.sector-v2-card h3,
.build-card h3,
.method-step h3,
.trust-card h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.pain-card p,
.sector-v2-card p,
.build-card p,
.method-step p,
.trust-card p {
  margin: 10px 0 0;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

/* Sectors */
.home-v2-sector-section {
  background: var(--home-band);
}

.sector-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sector-v2-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 8px;
  border: 1px solid var(--home-border);
  background: var(--home-surface);
  box-shadow: var(--home-shadow-soft);
  padding: 22px;
}

.sector-v2-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.sector-v2-card-head span {
  border-radius: 999px;
  border: 1px solid rgba(47, 142, 255, 0.18);
  color: var(--home-blue);
  background: rgba(47, 142, 255, 0.1);
  padding: 6px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sector-v2-card ul {
  display: grid;
  gap: 8px;
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
}

.sector-v2-card li {
  position: relative;
  color: var(--home-text);
  font-size: 0.88rem;
  line-height: 1.42;
  padding-left: 16px;
}

.sector-v2-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-magenta);
}

.sector-v2-card a,
.build-card > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--home-blue);
  font-weight: 900;
}

/* Build */
.build-shell {
  padding: 0;
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.build-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.build-card:hover {
  transform: translateY(-3px);
  border-color: var(--home-border-strong);
  box-shadow: var(--home-shadow);
}

.build-card > i {
  margin-bottom: 17px;
}

/* Method */
.home-v2-method-section {
  color: rgba(232, 245, 255, 0.82);
  background: linear-gradient(135deg, #07111a, #10263b);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(400px, 1.12fr);
  gap: 18px 34px;
  align-items: center;
}

.method-copy > p,
.method-copy h2,
.method-copy > span {
  color: #ffffff;
}

.method-copy > p {
  color: #79d6ff;
}

.method-copy > span {
  color: rgba(226, 243, 253, 0.74);
  margin-left: 0;
}

.method-steps {
  display: grid;
  gap: 12px;
}

.method-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  border: 1px solid rgba(205, 232, 245, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.method-step > strong {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  font-weight: 900;
  text-shadow: 0 1px 10px rgba(2, 12, 22, 0.34);
}

.method-step h3 {
  color: #ffffff;
}

.method-step p {
  color: rgba(226, 243, 253, 0.74);
}

.method-guard {
  grid-column: 2;
  border: 1px solid rgba(205, 232, 245, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.method-guard > strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
}

.method-guard > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
}

.method-guard span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border-radius: 8px;
  background: rgba(6, 17, 29, 0.36);
  color: rgba(226, 243, 253, 0.84);
  padding: 9px 10px;
  font-size: 0.84rem;
  font-weight: 800;
}

.method-guard i {
  color: var(--home-blue);
}

/* Trust */
.trust-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
}

.trust-copy > span {
  margin-left: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Proof */
.home-v2-proof-section {
  background: var(--home-band);
}

.proof-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
}

.proof-copy > span {
  margin-left: 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-card {
  padding: 22px;
}

.proof-card strong {
  display: block;
  color: var(--home-ink);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.proof-card span {
  display: block;
  margin-top: 8px;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

/* Stack */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.stack-item {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 112px;
  padding: 16px 10px;
}

.stack-item img {
  max-width: 62px;
  max-height: 40px;
  object-fit: contain;
}

.stack-item span {
  color: var(--home-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

/* Cases */
.home-v2-case-section {
  background: var(--home-band);
}

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

.case-v2-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  background: var(--home-surface);
  box-shadow: var(--home-shadow-soft);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.case-v2-card:hover {
  transform: translateY(-3px);
  border-color: var(--home-border-strong);
  box-shadow: var(--home-shadow);
}

.case-v2-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.case-v2-card i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-action-start, #2f8eff), var(--brand-action-end, #d600ff));
  font-size: 1.12rem;
  text-shadow: 0 1px 10px rgba(2, 12, 22, 0.34);
}

.case-v2-card strong {
  color: var(--home-ink);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.case-v2-card h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.24;
}

.case-v2-card p {
  margin: 12px 0 0;
  color: var(--home-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.case-v2-card > span,
.case-v2-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--home-blue);
  font-weight: 900;
}

.case-v2-card > span {
  margin-top: auto;
  padding-top: 20px;
}

.case-v2-all {
  margin-top: 22px;
}

/* Final */
.home-v2-final {
  padding: 70px 0 92px;
}

.final-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(205, 232, 245, 0.18);
  background: linear-gradient(135deg, #07111a, #10263b);
  box-shadow: 0 26px 62px rgba(8, 18, 30, 0.2);
  padding: 44px;
}

.final-shell h2 {
  max-width: 820px;
  color: #ffffff;
}

.final-shell p {
  margin-left: 0;
  color: rgba(226, 243, 253, 0.74);
}

.final-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 230px;
}

/* Responsive */
@media (max-width: 1199px) {
  .home-v2-hero {
    padding-top: 118px;
  }

  .home-v2-orbit-hero {
    min-height: 710px;
  }

  .home-v2-orbit-shell h1 {
    max-width: 820px;
    font-size: 3.05rem;
  }

  .home-v2-spline-scene {
    height: 390px;
  }

  .home-v2-spline-hero .home-v2-orbit-shell {
    padding-top: 284px;
  }

  .home-v2-spline-hero .home-v2-orbit-shell h1 {
    max-width: 930px;
    font-size: 3.5rem;
  }

  .home-v2-hero-grid,
  .demo-lab-shell,
  .demo-pane,
  .method-grid,
  .trust-shell,
  .proof-shell,
  .final-shell {
    grid-template-columns: 1fr;
  }

  .home-v2-copy {
    max-width: 880px;
  }

  .hero-console {
    max-width: 940px;
  }

  .order-grid,
  .pain-grid,
  .sector-v2-grid,
  .build-grid,
  .case-v2-grid,
  .stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-guard {
    grid-column: auto;
  }

  .final-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 991px) {
  .home-v2-copy h1 {
    font-size: 3.05rem;
  }

  .home-v2-orbit-shell h1 {
    font-size: 2.72rem;
  }

  .home-v2-spline-scene {
    height: 340px;
  }

  .home-v2-meteor-canvas {
    opacity: 0.62;
  }

  .home-v2-spline-hero .home-v2-orbit-shell {
    padding-top: 252px;
  }

  .home-v2-spline-hero .home-v2-orbit-shell h1 {
    font-size: 3rem;
  }

  .home-v2-section-head h1,
  .home-v2-section-head h2,
  .home-v2-split-head h2,
  .method-copy h2,
  .trust-copy h2,
  .proof-copy h2,
  .final-shell h2 {
    font-size: 2.18rem;
  }
}

@media (max-width: 767px) {
  .home-v2-hero {
    padding: 96px 0 38px;
  }

  .home-v2-orbit-hero {
    min-height: auto;
    padding: 96px 0 48px;
  }

  .home-v2-spline-scene {
    top: 78px;
    height: 210px;
  }

  .home-v2-hero-video {
    width: 148px;
  }

  .home-v2-orbit-shell {
    max-width: 440px;
  }

  .home-v2-spline-hero .home-v2-orbit-shell {
    padding-top: 190px;
  }

  .home-v2-orbit-shell h1 {
    max-width: 100%;
    font-size: 2.08rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .home-v2-spline-hero .home-v2-orbit-shell h1 {
    font-size: 2.22rem;
  }

  .home-v2-meteor-canvas {
    display: none;
  }

  .home-v2-orbit-shell .home-v2-actions {
    width: 100%;
    max-width: 340px;
  }

  .home-v2-copy h1 {
    font-size: 2.36rem;
    line-height: 1.06;
  }

  .home-v2-copy,
  .home-v2-copy h1,
  .home-v2-lead,
  .home-v2-section-head,
  .home-v2-section-head h2,
  .home-v2-split-head h2 {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .home-v2-lead {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .home-v2-actions {
    margin-top: 22px;
  }

  .home-v2-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-v2-btn {
    width: 100%;
  }

  .hero-console {
    display: none;
  }

  .hero-console,
  .demo-pane,
  .final-shell {
    border-radius: 10px;
  }

  .hero-console-topbar {
    grid-template-columns: 1fr;
  }

  .hero-console-dots {
    order: -1;
  }

  .hero-flow,
  .hero-trace-grid,
  .demo-output-grid,
  .order-grid,
  .pain-grid,
  .sector-v2-grid,
  .build-grid,
  .case-v2-grid,
  .method-guard > div,
  .trust-grid,
  .proof-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .hero-flow-core {
    min-height: 132px;
  }

  .home-v2-order-section,
  .demos-page .demo-page-lab,
  .home-v2-demo-lab,
  .home-v2-pain-section,
  .home-v2-sector-section,
  .home-v2-build-section,
  .home-v2-method-section,
  .home-v2-trust-section,
  .home-v2-proof-section,
  .home-v2-stack-section,
  .home-v2-case-section {
    padding: 56px 0;
  }

  .home-v2-section-head {
    text-align: left;
  }

  .demos-page .demo-page-lab {
    padding-top: 104px;
  }

  .home-v2-section-head h1,
  .home-v2-section-head h2,
  .home-v2-split-head h2,
  .method-copy h2,
  .trust-copy h2,
  .proof-copy h2,
  .final-shell h2 {
    font-size: 1.9rem;
  }

  .home-v2-split-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .demo-tab {
    grid-template-columns: 42px 1fr;
  }

  .demo-tab i {
    width: 42px;
    height: 42px;
  }

  .method-step {
    grid-template-columns: 1fr;
  }

  .final-shell {
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .home-v2-orbit-hero {
    padding: 90px 0 42px;
  }

  .home-v2-spline-scene {
    top: 72px;
    height: 190px;
  }

  .home-v2-hero-video {
    width: 138px;
  }

  .home-v2-spline-hero .home-v2-orbit-shell {
    padding-top: 178px;
  }

  .home-v2-orbit-shell h1 {
    font-size: 1.92rem;
  }

  .home-v2-spline-hero .home-v2-orbit-shell h1 {
    font-size: 2rem;
  }

  .home-v2-eyebrow,
  .home-v2-section-head > p,
  .home-v2-split-head > div > p,
  .method-copy > p,
  .trust-copy > p,
  .proof-copy > p {
    font-size: 0.68rem;
  }

  .hero-console-body,
  .demo-pane,
  .order-card,
  .pain-card,
  .sector-v2-card,
  .build-card,
  .case-v2-card,
  .trust-card,
  .proof-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2-btn,
  .demo-tab,
  .build-card,
  .case-v2-card,
  .home-v2-star-layer,
  .home-v2-meteor-canvas {
    transition: none !important;
    animation: none !important;
  }

  .home-v2-meteor-canvas {
    display: none;
  }
}
