/* IndicadoresPro — landing premium (navy + gold) */

:root {
  --navy: #0a192f;
  --navy-mid: #12243f;
  --navy-soft: #1a3358;
  --gold: #d4af37;
  --gold-bright: #f0d78c;
  --gold-deep: #b8942a;
  --gold-glow: rgba(212, 175, 55, 0.45);
  --gold-soft: rgba(212, 175, 55, 0.14);
  --ink: #0a192f;
  --ink-muted: #5a6a7e;
  --paper: #f4f6f9;
  --paper-2: #e9eef5;
  --white: #ffffff;
  --line: rgba(10, 25, 47, 0.1);
  --success: #0d7a4f;
  --danger: #b42318;
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 4px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 90% 0%, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(180deg, #eef1f6 0%, var(--paper) 45%, #f8f9fb 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 25, 47, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  padding-top: env(safe-area-inset-top);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
}

.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 16px var(--gold-glow);
}

.brand__pro {
  color: var(--gold);
}

.brand--footer .brand__text {
  color: var(--white);
}

.nav-cta {
  font-size: 0.875rem;
  padding: 0.55rem 1.1rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--primary {
  background-image: linear-gradient(
    120deg,
    var(--gold-deep) 0%,
    var(--gold) 18%,
    var(--gold-bright) 36%,
    var(--gold) 54%,
    var(--gold-deep) 72%,
    var(--gold) 86%,
    var(--gold-bright) 100%
  );
  background-size: 280% 280%;
  background-position: 0% 50%;
  animation: gold-gradient 10s ease-in-out infinite;
  color: var(--navy);
  padding: 0.95rem 1.6rem;
  box-shadow:
    0 8px 28px var(--gold-glow),
    0 0 0 1px rgba(240, 215, 140, 0.35);
}

.btn--primary:hover {
  color: var(--navy);
  transform: translateY(-2px);
  animation-duration: 7s;
  box-shadow:
    0 14px 36px rgba(212, 175, 55, 0.55),
    0 0 24px rgba(240, 215, 140, 0.35);
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.section .btn--ghost,
.closed .btn--ghost {
  color: var(--ink);
  border-color: var(--line);
}

.section .btn--ghost:hover,
.closed .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.btn--shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.btn--shimmer:hover::after {
  animation-duration: 5s;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(212, 175, 55, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(26, 51, 88, 0.8), transparent 50%),
    linear-gradient(165deg, var(--navy) 0%, #071222 50%, var(--navy-mid) 100%);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(4rem, 9vw, 6rem);
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  opacity: 0.7;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-drift 14s var(--ease) infinite alternate;
}

.hero__orb--1 {
  width: 340px;
  height: 340px;
  background: rgba(212, 175, 55, 0.2);
  top: -8%;
  left: 15%;
}

.hero__orb--2 {
  width: 280px;
  height: 280px;
  background: rgba(26, 51, 88, 0.9);
  bottom: 5%;
  right: 8%;
  animation-delay: -4s;
  animation-duration: 18s;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  justify-items: center;
  text-align: center;
}

.hero__brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: rise 0.9s var(--ease) both;
}

.hero__logo {
  width: clamp(96px, 18vw, 140px);
  height: clamp(96px, 18vw, 140px);
  object-fit: cover;
  border-radius: 16px;
  animation: logo-glow 3.8s ease-in-out infinite;
}

.hero__wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow: 0 0 40px var(--gold-glow);
}

.hero__wordmark span {
  color: var(--gold);
}

.hero__content {
  max-width: 40rem;
  animation: rise 1s var(--ease) 0.12s both;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  text-shadow: 0 0 20px var(--gold-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 1.15rem;
  overflow-wrap: break-word;
}

.hero__lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.hero__micro {
  margin-top: 1.15rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ——— Video ——— */
.video-plane {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 2.25rem;
  background: var(--navy);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 0 40px rgba(212, 175, 55, 0.18),
    0 24px 60px rgba(10, 25, 47, 0.35);
}

.video-plane iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.section--demo {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}

.section--demo h2 {
  max-width: 18ch;
}

/* ——— Sections ——— */
.section {
  padding: 4.5rem 0;
}

.section--ink {
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 55%, #0d1f38 100%);
  color: var(--white);
}

.section--ink .section__lead,
.section--ink .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section--band {
  background: linear-gradient(180deg, var(--paper-2), transparent);
  border-block: 1px solid var(--line);
}

.section__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 18px transparent;
}

.section--ink .section__label {
  color: var(--gold);
  text-shadow: 0 0 18px var(--gold-glow);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  max-width: 22ch;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.section__lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 40rem;
}

.section__lead + .section__lead {
  margin-top: 1rem;
}

.highlight {
  font-weight: 700;
  color: var(--ink);
}

.section--ink .highlight {
  color: var(--gold-bright);
}

/* Belief list */
.belief-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
  max-width: 36rem;
}

.belief-list li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 1.05rem;
}

.belief-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft), 0 0 12px var(--gold-glow);
}

/* Agitate */
.agitate-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .agitate-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.agitate-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.agitate-item p {
  color: var(--ink-muted);
}

/* Outcomes */
.outcomes {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.25rem;
}

@media (min-width: 700px) {
  .outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .outcomes {
    grid-template-columns: repeat(4, 1fr);
  }
}

.outcome {
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
  box-shadow: inset 0 8px 16px -12px var(--gold-glow);
}

.outcome h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.outcome p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* How steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin-top: 2.5rem;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.step {
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  line-height: 1;
  text-shadow: 0 0 20px var(--gold-glow);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.step p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* ——— Closed test / form ——— */
.closed {
  padding: 4.5rem 0 5rem;
}

.closed__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .closed__layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.closed h2 {
  max-width: 16ch;
}

.closed__note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 28rem;
}

.form-panel {
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow:
    0 16px 40px rgba(10, 25, 47, 0.08),
    0 0 0 1px transparent;
  animation: pulse-gold 3.8s var(--ease) infinite;
}

.form-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.form-panel > p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin-bottom: 1.35rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.field__optional {
  font-weight: 400;
  color: var(--ink-muted);
}

.field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.field input[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-actions {
  margin-top: 1.25rem;
}

.form-actions .btn {
  width: 100%;
}

.form-hint {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.form-status {
  margin-top: 1rem;
  font-size: 0.92rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-visible {
  display: block;
  animation: fade-in 0.4s var(--ease);
}

.form-status--success {
  background: rgba(13, 122, 79, 0.1);
  color: var(--success);
}

.form-status--error {
  background: rgba(180, 35, 24, 0.08);
  color: var(--danger);
}

.form-status--error a {
  color: inherit;
  font-weight: 600;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 0 calc(2rem + env(safe-area-inset-bottom));
  font-size: 0.9rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ——— Motion ——— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes logo-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45))
      drop-shadow(0 0 28px rgba(212, 175, 55, 0.2));
    transform: translateY(0);
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(240, 215, 140, 0.7))
      drop-shadow(0 0 48px rgba(212, 175, 55, 0.35));
    transform: translateY(-4px);
  }
}

@keyframes shimmer {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@keyframes gold-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes orb-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(24px, 18px) scale(1.08);
  }
}

@keyframes pulse-gold {
  0%,
  100% {
    box-shadow:
      0 16px 40px rgba(10, 25, 47, 0.08),
      0 0 0 1px rgba(212, 175, 55, 0.15);
  }
  50% {
    box-shadow:
      0 16px 40px rgba(10, 25, 47, 0.08),
      0 0 0 1px rgba(212, 175, 55, 0.45),
      0 0 28px rgba(212, 175, 55, 0.2);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}

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

.reveal.is-in .outcome,
.reveal.is-in .step,
.reveal.is-in .agitate-item {
  animation: rise 0.7s var(--ease) both;
}

.reveal.is-in .outcome:nth-child(1),
.reveal.is-in .step:nth-child(1),
.reveal.is-in .agitate-item:nth-child(1) {
  animation-delay: 0.05s;
}
.reveal.is-in .outcome:nth-child(2),
.reveal.is-in .step:nth-child(2),
.reveal.is-in .agitate-item:nth-child(2) {
  animation-delay: 0.12s;
}
.reveal.is-in .outcome:nth-child(3),
.reveal.is-in .step:nth-child(3),
.reveal.is-in .agitate-item:nth-child(3) {
  animation-delay: 0.19s;
}
.reveal.is-in .outcome:nth-child(4),
.reveal.is-in .agitate-item:nth-child(4) {
  animation-delay: 0.26s;
}

/* ——— Mobile ——— */
@media (max-width: 640px) {
  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .site-nav__inner {
    padding: 0.6rem 0;
    gap: 0.65rem;
  }

  .brand {
    font-size: 0.95rem;
    gap: 0.5rem;
    min-width: 0;
  }

  .brand__logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .brand__text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.65rem 0.9rem;
    min-height: 44px;
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 3rem;
  }

  .hero__orb {
    display: none;
  }

  .hero__inner {
    gap: 1.5rem;
  }

  .hero__brand-block {
    gap: 0.75rem;
  }

  .hero__logo {
    width: clamp(72px, 22vw, 96px);
    height: clamp(72px, 22vw, 96px);
    border-radius: 12px;
  }

  .hero__wordmark {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    letter-spacing: 0.04em;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
    letter-spacing: 0;
    margin-bottom: 0.9rem;
  }

  .hero__eyebrow {
    margin-bottom: 0.85rem;
    letter-spacing: 0.1em;
  }

  .hero__lead {
    font-size: 1rem;
    margin-bottom: 1.35rem;
    line-height: 1.65;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__micro {
    margin-top: 1rem;
    font-size: 0.8125rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section h2 {
    letter-spacing: 0.01em;
    max-width: none;
  }

  .section__lead {
    font-size: 1rem;
  }

  .belief-list li {
    font-size: 1rem;
  }

  .closed {
    padding: 3rem 0 3.5rem;
  }

  .closed h2 {
    max-width: none;
  }

  .form-panel {
    padding: 1.35rem 1.15rem 1.25rem;
  }

  .field input {
    font-size: 16px;
  }

  .form-actions .btn {
    min-height: 48px;
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-meta {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (max-width: 400px) {
  .brand {
    font-size: 0.875rem;
  }

  .nav-cta {
    font-size: 0.75rem;
    padding: 0.6rem 0.75rem;
  }

  .hero__actions .btn {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__content,
  .hero__brand-block,
  .hero__logo,
  .hero__orb,
  .reveal,
  .form-panel,
  .btn--primary,
  .btn--shimmer::after,
  .reveal.is-in .outcome,
  .reveal.is-in .step,
  .reveal.is-in .agitate-item {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
    filter: none;
  }
}
