:root {
  --background: #f4f0e6;
  --foreground: #15211e;
  --ink: #15211e;
  --muted: #62716b;
  --line: rgba(21, 33, 30, 0.14);
  --panel: rgba(255, 252, 242, 0.78);
  --panel-strong: #fffaf0;
  --sage: #3f7d72;
  --moss: #a8c256;
  --copper: #c7834a;
  --gold: #e2b84f;
  --cream: #f4f0e6;
  --deep: #172521;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 33, 30, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(21, 33, 30, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 76% 8%, rgba(168, 194, 86, 0.22), transparent 32rem),
    radial-gradient(circle at 12% 34%, rgba(199, 131, 74, 0.15), transparent 28rem),
    var(--background);
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: clip;
}

body::selection {
  background: var(--deep);
  color: var(--cream);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}

.skip-link {
  background: var(--deep);
  color: white;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: fixed;
  top: -4rem;
  z-index: 100;
}

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

.nav {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(244, 240, 230, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: 50%;
  max-width: min(1120px, calc(100% - 32px));
  padding: 0.55rem;
  position: fixed;
  top: 1rem;
  transform: translateX(-50%);
  width: 100%;
  z-index: 40;
}

.brand {
  align-items: center;
  display: flex;
  min-height: 3rem;
  padding-left: 0.9rem;
}

.brand img {
  display: block;
  height: auto;
  max-height: 2.45rem;
  object-fit: contain;
  width: clamp(8.5rem, 14vw, 11.2rem);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a,
.nav-cta {
  border-radius: 999px;
  color: rgba(21, 33, 30, 0.72);
  font-size: 0.85rem;
  font-weight: 650;
  padding: 0.7rem 1rem;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.nav-links a:hover,
.nav-cta:hover {
  background: rgba(21, 33, 30, 0.07);
  color: var(--ink);
}

.nav-cta {
  background: var(--deep);
  color: var(--cream);
  justify-self: end;
}

.nav-cta:hover {
  background: var(--sage);
  color: white;
  transform: translateY(-1px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(290px, 0.5fr);
  min-height: 100vh;
  padding: clamp(7rem, 12vw, 10rem) clamp(1rem, 4vw, 4rem) 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  background:
    linear-gradient(153deg, #bbd2cdc2 0%, #33685a94 40%, #0c14122e 72%, #2051456b 100%),
    linear-gradient(#53cdae52 0%, #0c141214 52%, #f4f0e6fa 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-image {
  background-image: url("login-foto-1785934075823.png");
  background-position: center center;
  background-size: cover;
  inset: 0;
  position: absolute;
  left: 520px;
  transform: scale(1.01);
  z-index: 0;
}

.hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage);
  display: inline-flex;
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.5rem 0.75rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.85rem, 5.8vw, 6.4rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.88;
  margin-top: 1.15rem;
  max-width: 920px;
}

.hero h1 {
  color: #fffaf0;
  text-wrap: balance;
}

.hero .eyebrow {
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 240, 0.14);
  border-color: rgba(255, 250, 240, 0.28);
  color: #edf6da;
}

.hero-copy p,
.modules-intro p,
.migration > p,
.final-cta p {
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.35rem);
  line-height: 1.65;
  margin-top: 1.3rem;
  max-width: 680px;
}

.hero .hero-copy p {
  color: rgba(255, 250, 240, 0.84);
  max-width: 620px;
}

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

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.25rem;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--deep);
  box-shadow: 0 18px 50px rgba(21, 33, 30, 0.22);
  color: var(--cream);
}

.button.primary:hover {
  background: var(--sage);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero .button.secondary {
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 240, 0.12);
  border-color: rgba(255, 250, 240, 0.32);
  color: #fffaf0;
}

.hero-status {
  align-self: end;
  min-height: 12rem;
  position: relative;
  z-index: 2;
}

.live-panel {
  backdrop-filter: blur(20px);
  background: rgba(23, 37, 33, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  bottom: 0;
  color: var(--cream);
  display: grid;
  gap: 0.8rem;
  left: 0;
  min-width: min(330px, calc(100% - 2.8rem));
  padding: 1rem;
  position: absolute;
}

.live-label {
  align-items: center;
  color: rgba(244, 240, 230, 0.7);
  display: flex;
  font-family: monospace;
  font-size: 0.72rem;
  gap: 0.5rem;
  text-transform: uppercase;
}

.live-label span {
  animation: pulse 1.4s ease-in-out infinite;
  background: var(--moss);
  border-radius: 999px;
  height: 0.55rem;
  width: 0.55rem;
}

.live-event {
  animation: liftIn 360ms ease both;
  display: grid;
  gap: 0.15rem;
}

.live-event strong {
  font-size: 1.04rem;
}

.live-event span,
.live-panel time {
  color: rgba(244, 240, 230, 0.64);
  font-family: monospace;
  font-size: 0.82rem;
}

.metrics {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 1rem clamp(1rem, 4vw, 2rem) 7rem;
}

.metric {
  align-items: center;
  background: rgba(255, 250, 240, 0.56);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 230px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  position: relative;
  text-align: center;
}

.metric strong {
  color: var(--ink);
  display: block;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: 760;
  line-height: 0.86;
}

.metric span {
  color: var(--muted);
  display: block;
  line-height: 1.45;
  margin-top: 1.3rem;
  max-width: 14rem;
}

.metric:nth-child(2) span {
  margin-top: 0.65rem;
}

.mini-tiles {
  bottom: 1rem;
  display: flex;
  gap: 0.3rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.mini-tiles i,
.tile {
  background: var(--sage);
  border-radius: 2px;
  display: block;
  height: 0.9rem;
  width: 0.9rem;
}

.mini-tiles i:nth-child(2n),
.tile:nth-child(3n) {
  background: var(--gold);
}

.mini-tiles i:nth-child(3n),
.tile:nth-child(4n) {
  background: var(--moss);
}

.modules-intro,
.migration,
.final-cta {
  margin: 0 auto;
  max-width: 1180px;
  padding: 7rem clamp(1rem, 4vw, 2rem);
}

.modules-intro h2,
.migration h2,
.final-cta h2 {
  font-size: clamp(2.4rem, 5vw, 5.6rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 0.98;
  margin-top: 1rem;
  max-width: 930px;
}

.module-section {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  min-height: 92vh;
  padding: 5rem clamp(1rem, 4vw, 4rem);
  perspective: 1200px;
}

.module-copy span {
  color: var(--sage);
  display: block;
  font-family: monospace;
  font-size: 0.84rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.module-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4.8rem);
  font-weight: 730;
  letter-spacing: 0;
  line-height: 1;
}

.module-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1.2rem;
  max-width: 610px;
}

.module-copy ul {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.module-copy li {
  align-items: center;
  color: rgba(21, 33, 30, 0.82);
  display: flex;
  gap: 0.75rem;
}

.module-copy li::before {
  background: var(--gold);
  content: "";
  display: block;
  height: 0.62rem;
  rotate: 45deg;
  width: 0.62rem;
}

.system-ui,
.portal-pair {
  background: rgba(255, 250, 240, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(21, 33, 30, 0.14);
  min-height: 420px;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.5rem);
  position: relative;
}

.system-ui::before {
  background: linear-gradient(90deg, transparent, rgba(63, 125, 114, 0.22), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 4rem;
  width: 100%;
}

.ui-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.ui-head span {
  color: var(--ink);
  font-weight: 760;
}

.ui-head b {
  background: rgba(63, 125, 114, 0.12);
  border-radius: 999px;
  color: var(--sage);
  font-size: 0.75rem;
  padding: 0.4rem 0.55rem;
}

.student-row,
.finance-row,
.timeline-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto auto;
  min-height: 4rem;
}

.student-row i,
.finance-row i {
  color: var(--muted);
  font-style: normal;
}

.student-row b,
.finance-row b {
  color: var(--sage);
}

.flow-tabs,
.bar-stack,
.library-shelf {
  bottom: 1.3rem;
  display: flex;
  gap: 0.6rem;
  left: 1.3rem;
  position: absolute;
  right: 1.3rem;
}

.flow-tabs span,
.library-shelf span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  flex: 1;
  font-size: 0.78rem;
  padding: 0.65rem;
  text-align: center;
}

.bar-stack {
  align-items: end;
  height: 120px;
}

.bar-stack span {
  animation: barRise 2.8s ease-in-out infinite alternate;
  background: var(--sage);
  flex: 1;
  min-height: 45%;
}

.bar-stack span:nth-child(2) {
  animation-delay: 200ms;
  background: var(--gold);
  min-height: 78%;
}

.bar-stack span:nth-child(3) {
  animation-delay: 420ms;
  background: var(--copper);
  min-height: 58%;
}

.timeline-row {
  grid-template-columns: auto 1fr;
}

.timeline-row em {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
}

.library-shelf {
  flex-direction: column;
}

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

.mini-portal {
  min-height: 310px;
}

.mini-portal p {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  margin: 0;
  padding: 0.75rem 0;
}

.portal-pair > strong {
  align-self: end;
  background: var(--deep);
  border-radius: 8px;
  color: var(--cream);
  grid-column: 1 / -1;
  padding: 1rem;
  text-align: center;
}

.integration {
  align-items: center;
  background: var(--deep);
  color: var(--cream);
  display: grid;
  gap: 3rem;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 96vh;
  padding: 6rem clamp(1rem, 4vw, 4rem);
}

.integration-grid {
  display: grid;
  gap: 0.8rem;
}

.data-piece {
  border: 1px solid rgba(244, 240, 230, 0.18);
  border-radius: 8px;
  color: rgba(244, 240, 230, 0.8);
  font-family: monospace;
  padding: 1rem;
  text-transform: uppercase;
}

.integration-core {
  align-content: center;
  display: grid;
  min-height: 500px;
  position: relative;
}

.integration-line {
  background: linear-gradient(90deg, var(--gold), var(--moss), var(--sage));
  height: 2px;
  margin-bottom: 2rem;
  width: 100%;
}

.integration-core span {
  color: rgba(244, 240, 230, 0.68);
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
}

.integration-core strong {
  display: block;
  font-size: clamp(3rem, 8vw, 8rem);
  letter-spacing: 0;
  line-height: 0.9;
  margin-top: 0.7rem;
}

.integration-core b {
  color: var(--gold);
  font-family: monospace;
  margin-top: 2rem;
  text-transform: uppercase;
}

.migration-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
}

.migration-step {
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 280px;
  padding: 1.2rem;
}

.migration-step strong {
  color: var(--gold);
  font-family: monospace;
  font-size: 2rem;
}

.migration-step h3 {
  font-size: 1.35rem;
  margin-top: 1.2rem;
}

.migration-step p {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 1rem;
}

.final-cta {
  align-items: center;
  display: grid;
  gap: 4rem;
  grid-template-columns: 320px minmax(0, 0.92fr) minmax(340px, 0.82fr);
  min-height: 86vh;
}

.final-mosaic {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(6, 1fr);
  overflow: clip;
}

.final-mosaic .tile {
  aspect-ratio: 1;
  border-radius: 4px;
  height: auto;
  width: 100%;
}

.demo-form {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(21, 33, 30, 0.12);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

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

.demo-form label {
  color: rgba(21, 33, 30, 0.82);
  display: grid;
  font-size: 0.86rem;
  font-weight: 720;
  gap: 0.45rem;
}

.demo-form input,
.demo-form textarea {
  background: rgba(255, 252, 242, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  width: 100%;
}

.demo-form textarea {
  line-height: 1.45;
  min-height: 7.5rem;
  resize: vertical;
}

.demo-form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.whatsapp-float {
  align-items: center;
  background: var(--moss);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  bottom: 1.25rem;
  box-shadow: 0 18px 44px rgba(21, 33, 30, 0.28);
  display: flex;
  height: clamp(4.1rem, 7vw, 5.2rem);
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 1.25rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
  width: clamp(4.1rem, 7vw, 5.2rem);
  z-index: 60;
}

.whatsapp-float:hover {
  box-shadow: 0 22px 56px rgba(21, 33, 30, 0.34);
  transform: translateY(-3px);
}

.whatsapp-float img {
  animation: whatsappSpin 5s ease-in-out infinite;
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  width: 100%;
}

.whatsapp-float span {
  background: var(--deep);
  border-radius: 999px;
  bottom: calc(100% + 0.75rem);
  box-shadow: 0 16px 42px rgba(21, 33, 30, 0.24);
  color: var(--cream);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.2;
  opacity: 0;
  padding: 0.72rem 0.9rem;
  pointer-events: none;
  position: absolute;
  right: 0;
  text-align: center;
  transform: translateY(0.35rem);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.whatsapp-float:hover span,
.whatsapp-float:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}

footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr auto;
  padding: 2rem clamp(1rem, 4vw, 4rem);
}

footer strong {
  display: block;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.footer-logo {
  display: block;
  height: auto;
  max-width: min(18rem, 100%);
}

footer p,
footer small {
  color: var(--muted);
  display: block;
  line-height: 1.5;
  margin-top: 0.5rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: end;
}

footer a {
  color: var(--muted);
}

footer small {
  grid-column: 1 / -1;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(168, 194, 86, 0.18);
  }
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes barRise {
  to {
    transform: scaleY(0.72);
  }
}

@keyframes whatsappSpin {
  0%,
  82% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .module-section,
  .integration,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-status {
    align-self: start;
    min-height: 10rem;
  }

  .metrics,
  .migration-steps,
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-section {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav {
    max-width: calc(100% - 20px);
    top: 0.6rem;
  }

  .brand {
    min-height: 2.6rem;
    padding-left: 0.65rem;
  }

  .brand img {
    max-height: 2.05rem;
    width: 7.4rem;
  }

  .nav-cta {
    font-size: 0.78rem;
    padding: 0.65rem 0.72rem;
  }

  .hero {
    min-height: auto;
    gap: 1.5rem;
    padding-top: 5.8rem;
  }

  .hero-image {
    background-position: 58% center;
    left: 0;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    line-height: 0.94;
  }

  .hero-copy p,
  .modules-intro p,
  .migration > p,
  .final-cta p {
    font-size: 1rem;
    line-height: 1.55;
  }

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

  .hero-status {
    min-height: 11rem;
  }

  .metrics,
  .migration-steps,
  .portal-pair,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    padding-bottom: 3rem;
  }

  .metric {
    min-height: 190px;
  }

  .modules-intro,
  .migration,
  .final-cta {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }

  .module-section {
    padding-bottom: 4rem;
    padding-top: 4rem;
  }

  .system-ui,
  .portal-pair {
    min-height: 360px;
  }

  .student-row,
  .finance-row {
    grid-template-columns: 1fr auto;
  }

  .student-row i,
  .finance-row i {
    display: none;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer nav {
    justify-content: start;
  }

  .whatsapp-float {
    bottom: 0.9rem;
    right: 0.9rem;
  }

  .whatsapp-float span {
    font-size: 0.76rem;
    max-width: calc(100vw - 2rem);
    white-space: normal;
    width: max-content;
  }
}

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

  [data-reveal] {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


