/*
  NOVO Landing Pages · Shared Design System
  Pure Vanilla HTML/CSS/JS · Hostinger-ready
*/

:root {
  --color-white: #ffffff;
  --color-black: #1d1d1f;
  --color-gray: #6e6e73;
  --color-gray-2: #86868b;
  --color-hairline: #d2d2d7;
  --color-surface: #f5f5f7;
  --color-provider: #1e3a5f;
  --color-buyer: #0071e3;
  --color-success: #34c759;
  --radius-pill: 980px;
  --radius-card: 18px;
  --max-width: 980px;
  --gutter: 20px;
  --nav-height: 48px;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-reveal: 700ms;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--color-white);
  color: var(--color-black);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.011em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(0, 113, 227, 0.16);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.section-tight {
  padding: 72px 0;
}

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

.section-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent, var(--color-provider));
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-muted {
  color: var(--color-gray);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-indicator::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  content: "";
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.12);
}

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

.hero-title {
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.section-title {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.cta-title {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.subline {
  margin-inline: auto;
  max-width: 620px;
  color: var(--color-gray);
  font-size: clamp(19px, 2.4vw, 21px);
  font-weight: 300;
  letter-spacing: -0.016em;
  line-height: 1.6;
}

.body-copy {
  color: var(--color-gray);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

.small-copy {
  color: var(--color-gray);
  font-size: 13px;
  line-height: 1.45;
}

.micro-copy {
  color: var(--color-gray);
  font-size: 11px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: opacity 200ms ease, transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.85;
}

.btn:active {
  transform: scale(0.985);
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-provider {
  background: var(--color-provider);
  color: var(--color-white);
}

.btn-buyer {
  background: var(--color-buyer);
  color: var(--color-white);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-light-blue {
  background: var(--color-white);
  color: var(--color-buyer);
}

.btn-secondary {
  border: 0.5px solid var(--color-black);
  background: transparent;
  color: var(--color-black);
}

.btn-secondary-light {
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--color-white);
}

.btn-small {
  min-height: 34px;
  padding: 10px 18px;
  font-size: 13px;
}

.novo-mark {
  width: 32px;
  height: 32px;
  color: var(--accent, var(--color-provider));
}

.novo-mark-small {
  width: 22px;
  height: 22px;
  color: var(--accent, var(--color-provider));
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav-height);
  border-bottom: 0.5px solid rgba(210, 210, 215, 0.8);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  width: min(calc(100% - 40px), 1120px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-gray);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: var(--color-black);
  font-size: 13px;
  font-weight: 400;
  opacity: 0.78;
  transition: opacity 200ms ease;
}

.nav-link:hover {
  opacity: 1;
}

.hero-section {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--nav-height));
  align-items: center;
  padding: 86px 0 80px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.inline-stats {
  margin-top: 24px;
  color: var(--color-gray);
  font-size: 13px;
  line-height: 1.5;
}

.hero-visual {
  width: min(100%, 840px);
  margin: 54px auto 0;
}

.card {
  border: 0.5px solid var(--color-hairline);
  border-radius: var(--radius-card);
  background: var(--color-white);
}

.card-padded {
  padding: 28px;
}

.grid {
  display: grid;
  gap: var(--gutter);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
  text-align: center;
}

.stat-number {
  margin-bottom: 8px;
  color: var(--color-black);
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  color: var(--color-gray);
  font-size: 13px;
  line-height: 1.35;
}

.step-card,
.feature-card,
.testimonial-card,
.use-card,
.pricing-card {
  min-height: 100%;
  padding: 30px;
}

.card-kicker {
  margin-bottom: 18px;
  color: var(--accent, var(--color-provider));
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.card-title {
  margin-bottom: 10px;
  color: var(--color-black);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.card-copy {
  margin-bottom: 0;
  color: var(--color-gray);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.icon-line {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--accent, var(--color-provider));
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.notice-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--color-gray);
  font-size: 13px;
}

.notice-line svg {
  width: 17px;
  height: 17px;
  color: var(--accent, var(--color-provider));
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.footer {
  border-top: 0.5px solid rgba(210, 210, 215, 0.72);
  padding: 26px 0;
  background: var(--color-white);
}

.footer-inner {
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  color: var(--color-gray);
  font-size: 13px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer a:hover {
  color: var(--color-black);
}

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition: opacity var(--duration-reveal) var(--ease-standard), transform var(--duration-reveal) var(--ease-standard);
  will-change: opacity, transform;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.word-reveal span {
  display: inline-block;
  transform: translateY(18px);
  opacity: 0;
  animation: wordIn 760ms var(--ease-standard) forwards;
}

@keyframes wordIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

/* Split Entry Page */
.entry-page {
  min-height: 100svh;
  overflow: hidden;
  background: var(--color-white);
}

.entry-shell {
  position: relative;
  display: flex;
  min-height: 100svh;
}

.entry-shell::before {
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: 3;
  width: 0.5px;
  background: var(--color-hairline);
  content: "";
  transform: translateX(-0.25px);
}

.entry-wordmark {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  padding: 6px 14px;
  color: var(--color-black);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1;
}

.entry-panel {
  position: relative;
  display: grid;
  flex: 1 1 50%;
  min-width: 0;
  place-items: center;
  padding: 72px 32px 44px;
  background: var(--color-white);
  opacity: 0;
  transition: flex-basis 400ms ease, background-color 400ms ease, opacity 800ms var(--ease-standard), transform 800ms var(--ease-standard);
  will-change: flex-basis, background-color, transform, opacity;
}

.entry-panel-left {
  transform: translateX(-30px);
}

.entry-panel-right {
  transform: translateX(30px);
}

.entry-page.is-loaded .entry-panel {
  transform: translateX(0);
  opacity: 1;
}

.entry-shell:hover .entry-panel-left:hover {
  flex-basis: 55%;
  background: #f5f5f7;
}

.entry-shell:hover .entry-panel-left:hover + .entry-panel-right {
  flex-basis: 45%;
}

.entry-shell:hover .entry-panel-left:has(+ .entry-panel-right:hover) {
  flex-basis: 45%;
}

.entry-shell:hover .entry-panel-right:hover {
  flex-basis: 55%;
  background: #f0f4ff;
}

.entry-card {
  display: flex;
  min-height: min(72vh, 620px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.entry-kicker {
  margin-bottom: 22px;
  color: var(--color-gray);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.entry-card .novo-mark {
  margin-bottom: 28px;
}

.entry-title {
  max-width: 440px;
  margin-bottom: 16px;
  color: var(--color-black);
  font-size: clamp(38px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.entry-subline {
  max-width: 360px;
  margin-bottom: 34px;
  color: var(--color-gray);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
}

.entry-note {
  position: absolute;
  bottom: 34px;
  left: 50%;
  width: calc(100% - 64px);
  transform: translateX(-50%);
  color: var(--color-gray);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* Generic dark code block */
.code-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-black);
  color: #f5f5f7;
  text-align: left;
}

.copy-button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  border: 0.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  padding: 8px 13px;
  font-size: 12px;
  transition: opacity 200ms ease, background-color 200ms ease;
}

.copy-button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.code-panel pre {
  margin: 0;
  overflow-x: auto;
  padding: 28px;
  padding-top: 58px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
}

.code-keyword { color: #ff7ab2; }
.code-string { color: #fc6a5d; }
.code-comment { color: #6c7986; }
.code-property { color: #9cdcfe; }

@media (max-width: 1024px) {
  .section {
    padding: 96px 0;
  }

  .hero-section {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .container,
  .nav-inner,
  .footer-inner {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .section {
    padding: 78px 0;
  }

  .section-tight {
    padding: 58px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 76px 0 68px;
  }

  .button-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    max-width: 340px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .nav-link {
    display: none;
  }

  .grid-3,
  .grid-2,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .entry-shell {
    flex-direction: column;
  }

  .entry-shell::before {
    inset: 50% 0 auto;
    width: auto;
    height: 0.5px;
    transform: translateY(-0.25px);
  }

  .entry-wordmark {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .entry-panel {
    flex: 0 0 50svh;
    min-height: 50svh;
    padding: 54px 20px 34px;
    transition: background-color 250ms ease, opacity 800ms var(--ease-standard), transform 800ms var(--ease-standard);
  }

  .entry-shell:hover .entry-panel,
  .entry-shell:hover .entry-panel-left:hover,
  .entry-shell:hover .entry-panel-left:hover + .entry-panel-right,
  .entry-shell:hover .entry-panel-left:has(+ .entry-panel-right:hover),
  .entry-shell:hover .entry-panel-right:hover {
    flex-basis: 50svh;
  }

  .entry-card {
    min-height: auto;
  }

  .entry-kicker {
    margin-bottom: 12px;
  }

  .entry-card .novo-mark {
    width: 26px;
    height: 26px;
    margin-bottom: 16px;
  }

  .entry-title {
    margin-bottom: 10px;
    font-size: 32px;
  }

  .entry-subline {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .entry-note {
    position: static;
    width: auto;
    transform: none;
    margin-top: 18px;
    font-size: 11px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal,
  .word-reveal span,
  .entry-panel {
    transform: none !important;
    opacity: 1 !important;
  }
}
