:root {
  --ink: #f8fafc;
  --ink-soft: #e5e7eb;
  --paper: #050505;
  --paper-strong: #101012;
  --blue: #6366f1;
  --cyan: #38bdf8;
  --sky: #111225;
  --gold: #a855f7;
  --rule: rgba(255, 255, 255, 0.11);
  --muted: #9ca3af;
  --gradient: linear-gradient(100deg, #6366f1 0%, #a855f7 52%, #38bdf8 100%);
  --radius: 1.25rem;
  --max: 1200px;
  --shadow: 0 25px 72px rgba(0, 0, 0, 0.56);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
}

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

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

p {
  margin: 0;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 700px;
  font-size: clamp(3.2rem, 5.8vw, 5.8rem);
  font-weight: 700;
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.45rem);
  font-weight: 700;
  line-height: 1.08;
}

h3 {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.15rem 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
}

.brand-logo {
  display: block;
  width: min(220px, 33vw);
  height: auto;
}

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

nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.button-small {
  min-height: 2.65rem;
  padding: 0.62rem 1.1rem;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: #8b8dff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 5rem;
}

.lead {
  max-width: 550px;
  margin: 1.7rem 0 2.2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-specs {
  display: flex;
  gap: 1.5rem;
  margin: 3.6rem 0 0;
}

.hero-specs div {
  flex: 1;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}

.hero-specs dt {
  margin-bottom: 0.35rem;
  font-size: 2rem;
  font-weight: 700;
}

.hero-specs dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  min-height: 650px;
}

.hero-video {
  width: 86%;
  height: 100%;
  margin-left: auto;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 48% center;
  box-shadow: var(--shadow);
}

.hero-screen {
  position: absolute;
  bottom: 3.7rem;
  left: 0;
  width: min(35%, 180px);
  border: 7px solid #12131a;
  border-radius: 0.6rem;
  box-shadow: var(--shadow);
}

.case-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.93);
  color: #a5b4fc;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product,
.journey,
.benefits,
.credential-feature,
.case-study,
.contact {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
}

.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding: 5.5rem 0;
  border-top: 1px solid var(--rule);
}

.product-grid {
  display: grid;
  gap: 0;
}

.product-grid article {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  column-gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}

.product-grid article:first-child {
  border-top: 1px solid var(--rule);
}

.product-grid .number {
  grid-row: span 2;
  color: var(--gold);
  font-size: 1.9rem;
  font-weight: 700;
}

.product-grid p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.journey {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 3rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-grid li {
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--paper-strong);
  border: 1px solid var(--rule);
}

.journey-grid img {
  width: 100%;
  aspect-ratio: 0.57 / 1;
  object-fit: cover;
}

.journey-grid div {
  min-height: 152px;
  padding: 1rem 0.9rem 1.1rem;
}

.journey-grid span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.journey-grid h3 {
  margin: 0.45rem 0 0.45rem;
}

.journey-grid p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.benefits {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  padding: 5.5rem 0;
  border-top: 1px solid var(--rule);
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.75rem;
}

.benefits-list article {
  border-top: 2px solid var(--blue);
  padding-top: 1rem;
}

.benefits-list p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.credential-feature {
  display: grid;
  grid-template-columns: 0.9fr 0.82fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
  padding: 5.5rem 0;
  border-top: 1px solid var(--rule);
}

.credential-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

.credential-badges span {
  padding: 0.6rem 0.82rem;
  border: 1px solid rgba(99, 102, 241, 0.45);
  border-radius: 999px;
  background: #101012;
  color: #e5e7eb;
  font-size: 0.84rem;
  font-weight: 600;
}

.credential-image {
  justify-self: end;
  width: min(100%, 410px);
  max-height: 700px;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.case-study {
  margin-top: 2rem;
  padding: clamp(3rem, 5vw, 4.5rem);
  border-radius: 1.7rem;
  background: radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.16), transparent 35%),
    #121947;
  color: white;
}

.case-head .eyebrow {
  color: #8ed7f2;
}

.case-head p:last-child {
  max-width: 650px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
}

.case-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.video-card {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  border-radius: 1rem;
  background: #07132f;
}

.video-card video {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
}

.video-pending {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.45rem;
  padding: 2.1rem;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(3, 10, 27, 0.88), transparent 57%);
}

.video-pending span {
  color: #8ed7f2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.video-pending strong {
  font-size: 1.7rem;
  font-weight: 700;
}

.video-pending p {
  color: rgba(255, 255, 255, 0.75);
}

.video-ready .video-pending {
  display: none;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 237px;
  border-radius: 0.8rem;
  object-fit: cover;
}

.gallery img:first-child {
  grid-column: span 2;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  max-width: 860px;
  padding: clamp(5rem, 9vw, 8rem) 0;
  text-align: center;
}

.contact .eyebrow {
  margin-bottom: 0;
}

.contact > p:not(.eyebrow):not(.config-note) {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact .button {
  margin-top: 1rem;
}

.config-note {
  color: var(--muted);
  font-size: 0.83rem;
}

.config-note code {
  color: var(--blue);
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 8;
  display: none;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: #1e9b5b;
  color: white;
  font-weight: 650;
  box-shadow: 0 10px 26px rgba(11, 45, 30, 0.24);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid var(--rule);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-logo {
  width: min(230px, 56vw);
  height: auto;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.84rem;
}

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

@media (max-width: 980px) {
  .site-header {
    gap: 1rem;
  }

  nav {
    display: none;
  }

  .hero,
  .product,
  .benefits,
  .credential-feature {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 580px;
  }

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

  .case-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(calc(100% - 2rem), var(--max));
  }

  .site-header .button {
    display: none;
  }

  .hero,
  .product,
  .journey,
  .benefits,
  .credential-feature,
  .case-study,
  .contact,
  .site-footer {
    width: min(calc(100% - 2rem), var(--max));
  }

  .hero {
    padding: 2.6rem 0 3.5rem;
  }

  .hero-specs {
    gap: 0.75rem;
  }

  .hero-specs dt {
    font-size: 1.45rem;
  }

  .hero-media {
    min-height: 485px;
  }

  .hero-video {
    width: 100%;
  }

  .hero-screen {
    bottom: 2.7rem;
    width: 31%;
  }

  .case-tag {
    right: 0.5rem;
    font-size: 0.61rem;
  }

  .product,
  .journey,
  .benefits,
  .credential-feature {
    padding: 3.75rem 0;
  }

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

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .case-study {
    padding: 2rem 1rem;
  }

  .video-card,
  .video-card video {
    min-height: 360px;
  }

  .gallery img {
    height: 160px;
  }

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

  .floating-whatsapp {
    display: inline-flex;
  }
}
