:root {
  --bg: #f3f8fc;
  --surface: #ffffff;
  --text: #0f2233;
  --muted: #5f7386;
  --border: #d8e4ef;
  --primary: #0c3f66;
  --petroleum: #0e5a73;
  --teal: #1da58a;
  --gradient: linear-gradient(130deg, #0c3f66 0%, #0e5a73 50%, #1da58a 100%);
  --shadow: 0 16px 40px rgba(8, 34, 53, 0.08);
  --shadow-soft: 0 10px 24px rgba(10, 50, 78, 0.08);
  --shadow-strong: 0 22px 48px rgba(7, 42, 66, 0.18);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at 20% 10%, #eaf5fb, transparent 40%), var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section-padding {
  padding: 5.2rem 0;
}

.section-alt {
  background: #f8fbfe;
  border-top: 1px solid #e5eff7;
  border-bottom: 1px solid #e5eff7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.section-heading p {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.header {
  position: relative;
  z-index: 99;
  transition: all 0.3s ease;
  background: rgba(243, 248, 252, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e3edf6;
  box-shadow: var(--shadow-soft);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-img {
  width: 132px;
  height: 40px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav a {
  color: #244258;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, opacity 0.2s ease;
  position: relative;
}

.nav a:hover {
  color: var(--teal);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--petroleum), var(--teal));
  transition: transform 0.25s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.05);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 14px 28px rgba(13, 83, 109, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(13, 83, 109, 0.36);
}

.btn-secondary {
  border-color: #bfd5e5;
  background: #f8fcff;
  color: var(--primary);
}

.btn-large {
  padding-inline: 1.8rem;
}

.hero {
  padding-top: 3.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #20445e;
  margin-bottom: 0.85rem;
}

.hero-complement {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

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

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.badge-list span {
  background: #e9f8f5;
  color: #0f5f53;
  border: 1px solid #c5ebe3;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.badge-list i {
  margin-right: 0.25rem;
}

.dashboard-mockup {
  background: linear-gradient(170deg, #ffffff 20%, #f1f8fd 100%);
  border: 1px solid #d7e5f1;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dashboard-mockup:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e2edf7;
}

.window-dots {
  display: flex;
  gap: 0.3rem;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bfd0de;
  animation: dotPulse 2.2s ease-in-out infinite;
}

.window-dots span:nth-child(1) {
  background: #5cb4de;
  animation-delay: 0s;
}

.window-dots span:nth-child(2) {
  background: #4f87cc;
  animation-delay: 0.3s;
}

.window-dots span:nth-child(3) {
  background: #44c7a4;
  animation-delay: 0.6s;
}

@keyframes dotPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(76, 142, 194, 0);
    opacity: 0.9;
  }
  35% {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 0 6px rgba(76, 142, 194, 0.14);
    opacity: 1;
  }
  70% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(76, 142, 194, 0);
    opacity: 0.92;
  }
}

.mockup-header p {
  font-weight: 600;
  color: #2a4b64;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.mockup-kpis article {
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid #dce8f3;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mockup-kpis article:hover {
  transform: translateY(-3px);
  border-color: #bfd8ec;
  box-shadow: 0 12px 26px rgba(10, 61, 92, 0.12);
}

.mockup-kpis p {
  font-size: 0.82rem;
  color: var(--muted);
}

.mockup-kpis strong {
  font-size: 1.4rem;
  color: var(--primary);
}

.mockup-lists {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.8rem;
}

.mockup-lists article {
  border-radius: 14px;
  border: 1px solid #dce8f3;
  background: #fff;
  padding: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mockup-lists article:hover {
  transform: translateY(-3px);
  border-color: #bfd8ec;
  box-shadow: 0 12px 26px rgba(10, 61, 92, 0.12);
}

.mockup-lists h3 {
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  color: #23445d;
}

.mockup-lists ul {
  list-style: none;
}

.mockup-lists li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #3d5b70;
  padding: 0.42rem 0;
  border-bottom: 1px dashed #e0ebf5;
  font-size: 0.86rem;
}

.mockup-lists li:last-child {
  border-bottom: 0;
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

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

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

.info-card,
.module-card,
.validation-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(9, 42, 67, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card:hover,
.module-card:hover,
.validation-card:hover {
  transform: translateY(-6px);
  border-color: #bfd7e9;
  box-shadow: 0 18px 34px rgba(9, 42, 67, 0.16);
}

.info-card i {
  color: var(--petroleum);
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.info-card h3,
.module-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.info-card p,
.module-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.benefits-grid,
.saas-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.benefits-grid article,
.saas-features article {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #d8e5ef;
  border-radius: 14px;
  background: #fff;
  padding: 0.95rem;
  font-weight: 600;
  color: #2b4e67;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefits-grid article:hover,
.saas-features article:hover {
  transform: translateY(-4px);
  border-color: #bcd6e8;
  box-shadow: 0 14px 28px rgba(9, 55, 86, 0.12);
}

.benefits-grid i,
.saas-features i {
  color: var(--teal);
}

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

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

.pillars article {
  background: var(--gradient);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 14px 30px rgba(10, 69, 92, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillars article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 69, 92, 0.33);
}

.pillars i {
  font-size: 1.5rem;
}

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

.validation-card {
  font-weight: 600;
  color: #24465d;
}

.cta-final {
  background: linear-gradient(180deg, #edf6fc 0%, #f7fcff 100%);
}

.section-wireframe {
  background: linear-gradient(180deg, #f2f9fd 0%, #f7fcff 100%);
  border-top: 1px solid #e4eef7;
  border-bottom: 1px solid #e4eef7;
}

.wireframe-wrap {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.wireframe-wrap h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  color: #143a56;
  margin-bottom: 1rem;
}

.wireframe-card {
  appearance: none;
  width: 100%;
  background: #fff;
  border: 1px solid #d7e6f2;
  border-radius: 22px;
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
  text-align: initial;
}

.wireframe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.wireframe-image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 29, 45, 0.78);
  backdrop-filter: blur(3px);
}

.lightbox-dialog {
  position: relative;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #c9dceb;
  box-shadow: 0 26px 60px rgba(6, 27, 42, 0.45);
  background: #fff;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.lightbox.is-open .lightbox-dialog {
  transform: translateY(0) scale(1);
}

.lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d4e3ef;
  background: rgba(255, 255, 255, 0.92);
  color: #123c59;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
  background: #fff;
  transform: scale(1.06);
}

.cta-box {
  background: #fff;
  border: 1px solid #d5e4f0;
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(8, 46, 73, 0.16);
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.7rem;
}

.cta-box p {
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 1.2rem;
}

.footer {
  border-top: 1px solid #dbe8f3;
  background: #f2f8fc;
  padding: 2rem 0 2.2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-wrap h3 {
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.footer-brand {
  display: grid;
  gap: 0.2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer-logo .logo-img {
  width: 120px;
  height: 36px;
}

.footer-wrap p,
.footer-wrap small {
  color: #4a6477;
}

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

.footer-links a {
  color: #2f4f66;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: var(--teal);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .modules-grid,
  .grid-4,
  .benefits-grid,
  .saas-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  .section-padding {
    padding: 4.2rem 0;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-grid,
  .modules-grid,
  .grid-4,
  .grid-3,
  .benefits-grid,
  .saas-features,
  .pillars,
  .validation-grid,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-wrap {
    gap: 1.3rem;
    justify-content: initial;
    align-items: start;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 80px;
    left: 4%;
    right: 4%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border: 1px solid #d9e7f3;
    border-radius: 14px;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .nav a {
    width: 100%;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #edf3f9;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav.open {
    max-height: 340px;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .container {
    width: 94%;
  }

  .logo-img {
    width: 112px;
    height: 34px;
  }

  .footer-logo .logo-img {
    width: 108px;
    height: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .btn {
    padding: 0.78rem 1rem;
  }

  .section-heading h2 {
    font-size: clamp(1.45rem, 7vw, 1.8rem);
  }
}
