/* ==========================================================================
   SintecOS — marketing site
   Horizontal slide-deck layout on a deep navy canvas.
   Shared by index / sobre / solucoes / precos / contacto.
   ========================================================================== */

:root {
  /* ── surface ── */
  --bg: #050914;
  --bg2: #070D1B;
  --panel: #0B1426;
  --panel2: #101B31;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(120, 170, 255, 0.22);

  /* ── ink ── */
  --ink: #F4F7FD;
  --dim: #97A5BF;
  --faint: #5C6980;

  /* ── accent ── */
  --cyan: #22D3EE;
  --blue: #3B82F6;
  --brand: #1D6EF5;
  --violet: #8B7CF6;
  --mint: #34D399;
  --grad: linear-gradient(120deg, #22D3EE 0%, #3B82F6 45%, #8B7CF6 100%);
  --grad-soft: linear-gradient(120deg, rgba(34, 211, 238, .16), rgba(139, 124, 246, .16));

  /* ── type ── */
  --display: 'Sora', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;

  /* ── metrics ── */
  --header-h: 68px;
  --slide-h: calc(100vh - var(--header-h));
  --container: 1240px;
  --r: 18px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

@supports (height: 100dvh) {
  :root { --slide-h: calc(100dvh - var(--header-h)); }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* The ASCEND-style ambient glow: a cool navy wash that never scrolls away. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(29, 110, 245, .20), transparent 62%),
    radial-gradient(760px 560px at 88% 6%, rgba(34, 211, 238, .11), transparent 60%),
    radial-gradient(1100px 700px at 50% 112%, rgba(139, 124, 246, .13), transparent 64%),
    linear-gradient(180deg, #050914 0%, #071022 48%, #050912 100%);
}

/* Faint technical grid — reads as "platform" without competing with content. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, #000 25%, transparent 78%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { stroke-width: 1.4; }
::selection { background: rgba(139, 124, 246, .38); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--panel);
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 9, 20, .74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 3.5vw, 2.4rem);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 14px rgba(59, 130, 246, .5));
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.logo-text strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -.4px;
}
.logo-text strong em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-text span {
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 2rem);
}
.nav-links > a {
  font-size: 14.5px;
  color: var(--dim);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav-links > a:hover { color: var(--ink); }
.nav-links > a.active { color: var(--ink); font-weight: 600; }
.nav-links > a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(34, 211, 238, .8);
}
/* The contact CTA already reads as current; it needs no underline. */
.nav-links > a.btn.active::after { display: none; }

.nav-tools { display: flex; align-items: center; gap: .6rem; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--dim);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.lang-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.lang-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .28s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -.8px; }
.nav-toggle span::before { content: ''; top: -6px; left: 0; transform: none; }
.nav-toggle span::after { content: ''; top: 6px; left: 0; transform: none; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 89;
  background: rgba(6, 11, 24, .97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-102%);
  opacity: 0;
  visibility: hidden;
  transition: transform .38s var(--ease), opacity .28s, visibility .38s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.6rem;
}
.mobile-inner a {
  padding: 13px 4px;
  font-size: 16px;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
}
.mobile-inner a.active { color: var(--cyan); font-weight: 600; }
.mobile-inner .btn { margin-top: 1rem; justify-content: center; }

/* ==========================================================================
   Deck
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  height: 2px;
  width: 0;
  z-index: 95;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(34, 211, 238, .7);
  transition: width .35s var(--ease);
}

main.deck {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: var(--slide-h);
  margin-top: var(--header-h);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
main.deck::-webkit-scrollbar { display: none; }

.slide {
  flex: 0 0 100vw;
  width: 100vw;
  height: var(--slide-h);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: clamp(.6rem, 1.6vh, 1.4rem) clamp(1.1rem, 3.5vw, 2.4rem) 4.2rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.slide > .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

/* Long-copy panels shrink to the slide and scroll inside themselves rather
   than making the whole slide taller than the viewport. */
.slide > .container > .prose-cols {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 100%;
}

/* A statement sitting above a grid on a merged slide. */
.statement + .grid { margin-top: clamp(1.2rem, 3.2vh, 2.2rem); }

/* Two-column slides once there is room for them. */
@media (min-width: 940px) {
  .slide > .container.split {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    gap: clamp(1.4rem, 3.4vw, 3rem);
    align-items: center;
  }
  .slide > .container.split.wide-right { grid-template-columns: .94fr 1.06fr; }
  .slide > .container.split > * { min-width: 0; }
  .slide > .container.split .page-head { text-align: left; margin-inline: 0; }
  .slide > .container.split .actions,
  .slide > .container.split .chip-row { justify-content: flex-start; }
}

/* ── floating control pill ── */
.slide-controls {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 85;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: rgba(9, 16, 32, .9);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .58);
}
.slide-nav-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(59, 130, 246, .14);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.slide-nav-btn:hover:not(:disabled) {
  background: var(--grad);
  color: #04101f;
  transform: scale(1.1);
}
.slide-nav-btn:disabled { opacity: .32; cursor: default; }
.slide-nav-btn svg {
  width: .95rem;
  height: .95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slide-dots { display: flex; align-items: center; gap: .45rem; }
.slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.slide-dot.active {
  background: var(--cyan);
  transform: scale(1.4);
  box-shadow: 0 0 12px var(--cyan);
}
.slide-counter {
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cyan);
  min-width: 3.4rem;
  text-align: center;
}

/* ── vertical rail on the right (ASCEND detail) ── */
.dot-rail {
  position: fixed;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 84;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.dot-rail button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.dot-rail button.active {
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  transform: scale(1.5);
}
@media (max-width: 1100px) { .dot-rail { display: none; } }

.deck-footer {
  position: fixed;
  right: 1.2rem;
  bottom: 1.1rem;
  z-index: 80;
  font-size: 11px;
  color: var(--faint);
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(9, 16, 32, .7);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.deck-footer a { color: var(--dim); }
.deck-footer a:hover { color: var(--cyan); }
@media (max-width: 1100px) { .deck-footer { display: none; } }

/* ── reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  main.deck { scroll-behavior: auto; }
}

/* ==========================================================================
   Type & primitives
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.3rem); }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 700; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .9rem;
}
.eyebrow::after {
  content: '';
  width: clamp(24px, 4vw, 54px);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 7px 15px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #BFE3FF;
  background: rgba(29, 110, 245, .16);
  border: 1px solid rgba(96, 165, 250, .34);
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.lede {
  font-size: clamp(.98rem, 1.15vw, 1.12rem);
  color: var(--dim);
  max-width: 60ch;
}

.page-head { max-width: 74ch; }
.page-head p { color: var(--dim); margin-top: .7rem; }

.section-head {
  max-width: 68ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(1.2rem, 2.6vh, 2.2rem);
}
.section-head p { color: var(--dim); margin-top: .7rem; }
.section-head .eyebrow { justify-content: center; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 13px 24px;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #04101f;
  font-weight: 700;
  box-shadow: 0 8px 26px rgba(34, 211, 238, .24);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(59, 130, 246, .38); }
.btn-solid {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(29, 110, 245, .34);
}
.btn-solid:hover { transform: translateY(-2px); background: #2E7BFF; }
.btn-ghost {
  background: rgba(255, 255, 255, .045);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .08); }
.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--dim);
  padding: 10px 18px;
  font-size: 13px;
}
.btn-outline:hover { color: var(--ink); border-color: var(--line-strong); }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.2rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 7px 14px;
  font-size: 12.5px;
  color: var(--dim);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.chip svg { width: 14px; height: 14px; fill: none; stroke: var(--mint); stroke-width: 2; }

/* ==========================================================================
   Grids & cards
   ========================================================================== */

.grid { display: grid; gap: clamp(.7rem, 1.5vw, 1.1rem); }

/* Fixed column counts rather than auto-fit: auto-fit picks whatever number of
   columns happens to fit, which leaves ragged half-empty rows (6 cards laid out
   4 + 2). Stepping the count keeps every row full at every width. */
.grid-2,
.grid-3,
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 800px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative;
  padding: clamp(1rem, 1.8vw, 1.5rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  overflow: hidden;
  min-height: 0;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .55), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .45rem; }
.card p { font-size: 13.8px; color: var(--dim); }

.card-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  margin-bottom: .9rem;
}
.card-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--cyan); stroke-width: 1.6; }

.card-num {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--faint);
  margin-bottom: .6rem;
  display: block;
}

/* Pillar card: 3D scene on top, copy below — the IFSHHE pillar pattern. */
.pillar {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.pillar-scene {
  position: relative;
  height: clamp(120px, 18vh, 178px);
  background:
    radial-gradient(circle at 50% 55%, rgba(29, 110, 245, .18), transparent 68%),
    rgba(255, 255, 255, .02);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.pillar-scene canvas { display: block; }
.pillar-tag {
  position: absolute;
  top: .65rem;
  left: .65rem;
  z-index: 2;
  padding: 4px 11px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(5, 9, 20, .74);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.pillar-body {
  padding: clamp(.9rem, 1.6vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.pillar-body p { font-size: 13.5px; color: var(--dim); flex: 1; }
.pillar-body .btn-outline { align-self: stretch; justify-content: center; margin-top: .3rem; }

/* ── metrics ── */
.metric {
  padding: clamp(.9rem, 1.6vw, 1.35rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: center;
}
.metric .value {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metric .label {
  margin-top: .5rem;
  font-size: 12.5px;
  color: var(--dim);
}
.metric .note { margin-top: .3rem; font-size: 11px; color: var(--faint); }

/* ── statement ── */
.statement {
  max-width: 64ch;
  margin-inline: auto;
  text-align: center;
}
.statement .quote {
  max-width: 30ch;
  margin-inline: auto;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.02em;
}
.statement .body {
  margin-top: 1rem;
  max-width: 58ch;
  margin-inline: auto;
  color: var(--dim);
}

/* ── callout ── */
.callout {
  padding: clamp(1.4rem, 3.4vw, 2.6rem);
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(29, 110, 245, .2), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  border-radius: 26px;
}
.callout p { color: var(--dim); margin-top: .6rem; }
.callout .actions { justify-content: center; }

/* ── process steps ── */
.step { position: relative; padding-top: 1.6rem; }
.step .n {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(120, 170, 255, .34);
}
.step h3 { margin-bottom: .35rem; }
.step p { font-size: 13.5px; color: var(--dim); }
.step::after {
  content: '';
  position: absolute;
  top: .55rem;
  left: 3.2rem;
  right: -1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(120, 170, 255, .3), transparent);
}
.step:last-child::after { display: none; }
/* The connector only makes sense while the steps sit on one row. */
@media (max-width: 1039px) { .step::after { display: none; } }

/* ── feature list ── */
.ticks { list-style: none; display: grid; gap: .5rem; margin-top: .9rem; }
.ticks li {
  display: flex;
  gap: .6rem;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.5;
}
.ticks li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .16);
  border: 1px solid rgba(52, 211, 153, .5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Excluded from a plan — kept visible so the tiers stay comparable. */
.ticks li.no { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .2); }
.ticks li.no::before {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6980' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}

/* ── pricing ── */
.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2vw, 1.7rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  border-radius: 22px;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.price-card.featured {
  border-color: rgba(96, 165, 250, .48);
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(29, 110, 245, .22), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  box-shadow: 0 20px 50px rgba(29, 110, 245, .18);
}
.price-card .tier {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.price-card .amount {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-top: .5rem;
  line-height: 1;
}
.price-card .amount small,
.price-card .amount span {
  font-size: .5em;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0;
}
.price-card > p { font-size: 13px; color: var(--dim); margin-top: .5rem; }
.price-card .ticks { flex: 1; }
.price-card .btn { margin-top: 1.1rem; justify-content: center; }
.badge-top {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #04101f;
  background: var(--grad);
  border-radius: 999px;
}

/* ==========================================================================
   3D scene frames
   ========================================================================== */

.scene-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(29, 110, 245, .2), transparent 68%),
    linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
}
.scene-wrap.framed::before,
.scene-wrap.framed::after {
  content: '';
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1.4px solid rgba(120, 170, 255, .4);
  pointer-events: none;
  z-index: 2;
}
.scene-wrap.framed::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
  border-radius: 10px 0 0 0;
}
.scene-wrap.framed::after {
  bottom: 12px;
  right: 12px;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 10px 0;
}
.scene-canvas {
  width: 100%;
  height: clamp(240px, 42vh, 420px);
  cursor: grab;
  touch-action: pan-y;
}
.scene-canvas:active { cursor: grabbing; }
.scene-canvas canvas { display: block; width: 100%; height: 100%; }
.scene-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 2rem;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}
.scene-hint {
  position: absolute;
  bottom: .8rem;
  left: .8rem;
  z-index: 3;
  padding: 5px 12px;
  font-size: 11px;
  color: var(--dim);
  background: rgba(5, 9, 20, .76);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.scene-controls {
  position: absolute;
  bottom: .8rem;
  right: .8rem;
  z-index: 3;
  display: flex;
  gap: .4rem;
}
.btn-3d {
  padding: 6px 13px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(5, 9, 20, .8);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all .2s var(--ease);
}
.btn-3d:hover { background: var(--grad); color: #04101f; border-color: transparent; }

/* ── fullscreen viewer ── */
.scene-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(3, 6, 14, .93);
  backdrop-filter: blur(14px);
}
.scene-modal.open { display: flex; flex-direction: column; }
.scene-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
.scene-modal-bar h3 { font-size: clamp(1rem, 2vw, 1.3rem); }
.scene-modal-bar p { font-size: 12.5px; color: var(--dim); margin-top: .2rem; }
.scene-modal-close {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.scene-modal-close:hover { background: var(--grad); color: #04101f; }
.scene-modal-stage { flex: 1; min-height: 0; position: relative; }
.scene-modal-stage .scene-canvas { height: 100%; }
.scene-modal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .8rem clamp(1rem, 4vw, 2.4rem) 1.2rem;
  justify-content: center;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form {
  padding: clamp(1.1rem, 2vw, 1.7rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .014));
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  gap: .7rem;
}
.fld { display: grid; gap: .3rem; }
.fld label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--faint);
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  background: rgba(5, 9, 20, .6);
  border: 1px solid var(--line);
  border-radius: 11px;
  transition: border-color .2s, box-shadow .2s;
}
.fld textarea { min-height: 84px; resize: vertical; }
.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, .6);
  box-shadow: 0 0 0 3px rgba(29, 110, 245, .16);
}
.fld input::placeholder,
.fld textarea::placeholder { color: var(--faint); }
.fld select option { background: var(--panel); }

.form-ok {
  display: none;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--mint);
  background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .34);
  border-radius: 11px;
}
.form-ok.show { display: block; }
.form-err {
  display: none;
  padding: 11px 14px;
  font-size: 13px;
  color: #FCA5A5;
  background: rgba(239, 68, 68, .1);
  border: 1px solid rgba(239, 68, 68, .34);
  border-radius: 11px;
}
.form-err.show { display: block; }

.contact-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
}
.contact-row .ico svg { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 1.7; }
.contact-row .k {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-row .v { font-size: 14.5px; color: var(--ink); }

/* ==========================================================================
   Prose slides (story / long copy)
   ========================================================================== */

.prose { max-width: 78ch; }
.prose h3 { margin-bottom: .5rem; }
.prose p { font-size: 14px; color: var(--dim); margin-bottom: .8rem; }
.prose p:last-child { margin-bottom: 0; }
.prose b { color: var(--ink); }

/* Two equal columns, always two — never one wide column beside a narrow one. */
.prose-cols {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 0;
}
@media (min-width: 800px) {
  .prose-cols { grid-template-columns: repeat(2, 1fr); }
}

/* Carding the columns is what makes them symmetric: grid stretches every card
   to the tallest one, so unequal copy lengths stop reading as a ragged bottom
   edge. Overflow scrolls inside the card instead of pushing the slide. */
.prose-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line);
  border-radius: 20px;
}
.prose-card > h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .8rem;
  flex-shrink: 0;
}
.prose-card > h3::before {
  content: '';
  width: 3px;
  height: 1.05em;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--grad);
}
.prose-card .prose {
  max-width: none;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: .35rem;
}

/* ── slim inline CTA (closes a content slide without costing a whole slide) ── */
.mini-cta {
  margin-top: clamp(1rem, 2.4vh, 1.7rem);
  padding: clamp(.9rem, 1.7vw, 1.35rem) clamp(1.1rem, 2.2vw, 1.8rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background:
    radial-gradient(620px 200px at 50% 0%, rgba(29, 110, 245, .18), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .014));
  border: 1px solid var(--line);
  border-radius: 20px;
}
.mini-cta h3 { font-size: clamp(1.02rem, 1.7vw, 1.4rem); }
.mini-cta p { font-size: 13px; color: var(--dim); margin-top: .25rem; }
.mini-cta .actions { margin-top: 0; flex-shrink: 0; }
/* A split column is too narrow for the copy and the buttons side by side. */
.slide > .container.split .mini-cta { display: block; }
.slide > .container.split .mini-cta .actions { margin-top: .85rem; }
@media (max-width: 800px) {
  .mini-cta { justify-content: center; text-align: center; }
  .mini-cta .actions { justify-content: center; }
}

/* ── vertical numbered timeline (pairs with a 3D panel beside it) ── */
.page-head .step-list { margin-top: clamp(1rem, 2.4vh, 1.6rem); }
.step-list {
  list-style: none;
  display: grid;
  gap: clamp(.7rem, 1.6vh, 1.1rem);
}
.step-list li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: .9rem;
  align-items: start;
}
.step-list .n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--cyan);
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.step-list li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 18.5px;
  top: 42px;
  bottom: calc(-1 * clamp(.7rem, 1.6vh, 1.1rem));
  width: 1px;
  background: linear-gradient(180deg, rgba(120, 170, 255, .34), transparent);
}
.step-list h3 { font-size: clamp(1rem, 1.4vw, 1.15rem); margin-bottom: .2rem; }
.step-list p { font-size: 13.2px; color: var(--dim); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 940px) {
  :root { --header-h: 62px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .logo-text span { display: none; }
  .slide { padding-bottom: 4.6rem; }
  .scene-canvas { height: clamp(200px, 32vh, 300px); }
  .section-head { margin-bottom: 1.1rem; }
}

@media (max-width: 620px) {
  .slide-controls { gap: .6rem; padding: .35rem .7rem; }
  .slide-dots { display: none; }
  .statement .quote { font-size: 1.5rem; }
  .lang-btn span { display: none; }
}

/* Short viewports: let a dense slide scroll rather than clip. */
@media (max-height: 700px) {
  .scene-canvas { height: clamp(180px, 30vh, 260px); }
  .pillar-scene { height: clamp(100px, 15vh, 140px); }
  .section-head { margin-bottom: clamp(.8rem, 1.8vh, 1.2rem); }
  .statement + .grid { margin-top: 1rem; }
  .mini-cta { margin-top: .9rem; padding: .8rem 1.1rem; }
  .prose p { font-size: 13.4px; margin-bottom: .6rem; }
  .card, .prose-card { padding: .9rem 1rem; }
}
