:root {
  --bg: #0f1d24;
  --surface: rgba(20, 35, 43, 0.76);
  --surface-strong: #162830;
  --surface-soft: #13242c;
  --line: rgba(164, 203, 211, 0.12);
  --line-strong: rgba(164, 203, 211, 0.2);
  --text: #e8f1f3;
  --muted: #9bb1b7;
  --vendor: #5dc0dd;
  --customer: #f0986f;
  --entry: #57c39e;
  --accent: #e8f1f3;
  --glow-a: rgba(93, 192, 221, 0.16);
  --glow-b: rgba(87, 195, 158, 0.14);
  --glow-c: rgba(240, 152, 111, 0.11);
  --shadow: 0 26px 70px rgba(3, 8, 11, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, var(--glow-a), transparent 24%),
    radial-gradient(circle at 88% 18%, var(--glow-c), transparent 24%),
    radial-gradient(circle at 48% 92%, var(--glow-b), transparent 28%),
    linear-gradient(180deg, #0f1d24 0%, #12242d 50%, #0d1a21 100%);
  font-family: "Plus Jakarta Sans", sans-serif;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  overflow: clip;
}

.topbar,
section,
.footer {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(18, 34, 42, 0.74);
  border: 1px solid rgba(164, 203, 211, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(3, 8, 11, 0.25);
  animation: topbarFloat 0.8s ease both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: cover;
  border-radius: 14px;
}

.brand span {
  display: grid;
  gap: 0.12rem;
}

.brand strong {
  font-size: 0.96rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: inline-flex;
  gap: 1.4rem;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.93rem;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--vendor);
}

.top-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.top-cta,
.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #156f8c, #1d8b70);
  box-shadow: 0 12px 28px rgba(21, 111, 140, 0.18);
}

.top-cta {
  padding: 0.82rem 1.15rem;
  font-weight: 700;
}

.button {
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.button:hover,
.top-cta:hover {
  transform: translateY(-1px);
}

.button.secondary,
.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  box-shadow: none;
}

.button.ghost {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.34rem auto;
  background: var(--text);
  transition: transform 180ms ease;
}

main {
  padding-bottom: 7rem;
}

section {
  padding: 4.75rem 0 0;
  scroll-margin-top: 6rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  align-items: center;
  gap: 2.5rem;
  min-height: calc(100vh - 7rem);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  color: #f2f7f8;
}

.hero h1 span {
  display: block;
  margin-top: 0.4rem;
  color: #7ed2e6;
  font-size: clamp(1.35rem, 2.8vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.hero-text,
.section-heading p,
.overview-card p,
.explore-card p,
.panel-copy p,
.workflow-step p,
.demo-note,
.demo-info p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 57ch;
  margin: 1.3rem 0 0;
}

.hero-copy > .eyebrow {
  animation: fadeRise 0.55s ease both;
}

.hero-copy > h1 {
  animation: fadeRise 0.65s 0.08s ease both;
}

.hero-copy > .hero-text {
  animation: fadeRise 0.65s 0.16s ease both;
}

.hero-copy > .hero-actions {
  animation: fadeRise 0.65s 0.24s ease both;
}

.hero-actions,
.card-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 1.8rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics article,
.overview-card,
.explore-card,
.experience-shell,
.workflow-step,
.demo-info,
.demo-form {
  background: var(--surface);
  border: 1px solid rgba(164, 203, 211, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-metrics article {
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: transform 220ms ease, box-shadow 220ms ease;
  animation: fadeRise 0.7s ease both;
}

.hero-metrics article:nth-child(1) {
  animation-delay: 0.22s;
}

.hero-metrics article:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-metrics article:nth-child(3) {
  animation-delay: 0.38s;
}

.hero-metrics article:hover,
.overview-card:hover,
.explore-card:hover,
.workflow-step:hover,
.demo-info:hover,
.demo-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(23, 52, 59, 0.12);
}

.hero-metrics strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 0.3rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-stage {
  display: flex;
  justify-content: center;
}

.stage-card {
  width: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(22, 40, 48, 0.96), rgba(19, 36, 44, 0.92));
  border: 1px solid rgba(164, 203, 211, 0.12);
  box-shadow: 0 24px 60px rgba(3, 8, 11, 0.3);
  animation: floatCard 5.5s ease-in-out infinite;
}

.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.stage-chip,
.overview-label,
.panel-kicker,
.meta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-chip {
  color: #dff2f7;
  background: rgba(93, 192, 221, 0.12);
}

.stage-head strong {
  font-size: 0.94rem;
}

.stage-list {
  display: grid;
  gap: 1rem;
}

.stage-list article {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  position: relative;
  animation: fadeRise 0.7s ease both;
}

.stage-list article:nth-child(1) {
  animation-delay: 0.16s;
}

.stage-list article:nth-child(2) {
  animation-delay: 0.24s;
}

.stage-list article:nth-child(3) {
  animation-delay: 0.32s;
}

.stage-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.stage-list h3,
.overview-card h3,
.explore-card h3,
.workflow-step h3,
.demo-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.stage-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.section-heading {
  max-width: 46rem;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  color: #edf6f7;
}

.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}

.split > * {
  flex: 1;
}

.overview-grid,
.explore-grid,
.workflow-grid,
.form-grid {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.8rem;
}

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

.overview-card,
.explore-card,
.workflow-step,
.demo-info,
.demo-form {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.overview-label.vendor {
  color: var(--vendor);
  background: rgba(46, 119, 208, 0.1);
}

.overview-label.customer {
  color: var(--customer);
  background: rgba(184, 123, 19, 0.1);
}

.overview-label.entry {
  color: var(--entry);
  background: rgba(23, 131, 95, 0.1);
}

.explore-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.explore-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--vendor), var(--entry), var(--customer));
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: opacity 220ms ease, transform 220ms ease;
}

.explore-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.card-actions {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.experience-shell {
  margin-top: 1.8rem;
  padding: 1.2rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(20, 35, 43, 0.9), rgba(16, 30, 36, 0.84));
}

.tab-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.tab-button {
  padding: 0.82rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.tab-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, #156f8c, #1d8b70);
  box-shadow: 0 10px 20px rgba(21, 111, 140, 0.15);
}

.experience-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.panel-copy,
.panel-visual {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.panel-copy h3 {
  margin: 0.9rem 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.16;
}

.panel-kicker,
.meta-label {
  background: rgba(93, 192, 221, 0.1);
  color: #9fdae9;
}

.panel-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.panel-meta strong {
  display: block;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.wireframe {
  border-radius: 20px;
  background: #112128;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.wireframe-top {
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.wireframe-top span {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(93, 192, 221, 0.1);
  color: #b4e4ef;
  font-size: 0.76rem;
  font-weight: 800;
}

.feature-stack {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.feature-row:hover {
  transform: translateX(4px);
  border-color: rgba(93, 192, 221, 0.24);
  box-shadow: 0 12px 24px rgba(3, 8, 11, 0.18);
}

.feature-row strong {
  display: block;
  font-size: 0.95rem;
}

.feature-row small {
  color: var(--muted);
  font-size: 0.8rem;
}

.feature-pill {
  padding: 0.34rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-row.vendor .feature-pill {
  color: var(--vendor);
  background: rgba(46, 119, 208, 0.1);
}

.feature-row.customer .feature-pill {
  color: var(--customer);
  background: rgba(184, 123, 19, 0.1);
}

.feature-row.entry .feature-pill {
  color: var(--entry);
  background: rgba(23, 131, 95, 0.1);
}

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

.workflow-step span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.demo-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.info-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.9;
}

.demo-form {
  background: rgba(255, 255, 255, 0.92);
}

.demo-info {
  background:
    linear-gradient(180deg, rgba(20, 35, 43, 0.86), rgba(18, 33, 40, 0.8));
}

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

.field {
  display: grid;
  gap: 0.5rem;
}

.field span {
  font-size: 0.88rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #156f8c;
  box-shadow: 0 0 0 3px rgba(21, 111, 140, 0.12);
}

.field-wide {
  grid-column: 1 / -1;
}

.form-actions {
  align-items: center;
  margin-top: 1.2rem;
}

.form-feedback {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-feedback.is-success {
  color: var(--entry);
}

.form-feedback.is-error {
  color: #b24f36;
}

.floating-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: grid;
  gap: 0.7rem;
}

.floating-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(23, 32, 51, 0.18);
}

.floating-link.call {
  background: linear-gradient(135deg, #156f8c, #194d61);
}

.floating-link.whatsapp {
  background: linear-gradient(135deg, #1d8b70, #27a76d);
}

.floating-link:hover {
  transform: translateY(-2px) scale(1.01);
}

.floating-link.whatsapp {
  animation: pulseSoft 2.8s ease-in-out infinite;
}

.floating-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.floating-icon svg {
  width: 100%;
  height: 100%;
}

.floating-text {
  font-size: 0.9rem;
  font-weight: 800;
}

.footer {
  padding: 3rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseSoft {
  0%,
  100% {
    box-shadow: 0 16px 38px rgba(23, 32, 51, 0.18);
  }
  50% {
    box-shadow: 0 20px 42px rgba(29, 139, 112, 0.26);
  }
}

@keyframes topbarFloat {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero,
  .experience-panel,
  .demo-layout,
  .split {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    gap: 1.6rem;
  }

  .stage-card {
    animation: none;
  }

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

@media (max-width: 760px) {
  body {
    padding-bottom: calc(5.8rem + env(safe-area-inset-bottom));
  }

  .topbar {
    top: 0.75rem;
    border-radius: 26px;
    flex-wrap: wrap;
    padding: 0.8rem 0.9rem;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .top-cta {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0.8rem 0.2rem 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  section {
    padding-top: 3.4rem;
  }

  .hero h1,
  .section-heading h2 {
    max-width: none;
  }

  .hero {
    gap: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.7rem);
  }

  .hero h1 span {
    font-size: clamp(1.15rem, 5vw, 1.55rem);
  }

  .hero-actions .button,
  .card-actions .button,
  .form-actions .button {
    width: 100%;
  }

  .hero-text,
  .section-heading p,
  .overview-card p,
  .explore-card p,
  .panel-copy p,
  .workflow-step p,
  .demo-note,
  .demo-info p {
    line-height: 1.62;
  }

  .hero-metrics,
  .overview-grid,
  .explore-grid,
  .workflow-grid,
  .panel-meta,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .tab-list {
    width: 100%;
    border-radius: 24px;
  }

  .tab-button {
    width: 100%;
  }

  .explore-card,
  .overview-card,
  .workflow-step,
  .demo-info,
  .demo-form,
  .experience-shell,
  .panel-copy,
  .panel-visual {
    border-radius: 20px;
  }

  .form-actions {
    align-items: flex-start;
  }

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

  .floating-contact {
    left: 50%;
    right: auto;
    bottom: calc(0.85rem + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    grid-auto-flow: column;
    gap: 0.75rem;
    width: min(calc(100% - 1.25rem), 25rem);
  }

  .floating-link {
    justify-content: center;
    flex: 1;
    padding: 0.9rem 0.95rem;
  }

  .floating-text {
    font-size: 0.84rem;
  }

  .floating-link.whatsapp {
    animation-duration: 3.4s;
  }
}
