:root {
  --bg: #08111f;
  --bg-soft: #0e1a2d;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: #a9b9d1;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #35e6ff;
  --violet: #9b5cff;
  --lime: #b8ff5c;
  --pink: #ff5ce1;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(53, 230, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(155, 92, 255, 0.2), transparent 28%),
    radial-gradient(circle at 48% 100%, rgba(184, 255, 92, 0.08), transparent 30%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav,
.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #05101e;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 0 30px rgba(53, 230, 255, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav-cta {
  color: var(--bg) !important;
  background: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 58px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(184, 255, 92, 0.7);
  animation: pulse 1.8s infinite;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  letter-spacing: -0.055em;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.9;
  max-width: 780px;
  margin-top: 22px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.75;
  max-width: 700px;
  margin: 28px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.primary {
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 18px 50px rgba(53, 230, 255, 0.26);
}

.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.large {
  min-width: 240px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.tag {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.8;
}

.orb-one {
  width: 260px;
  height: 260px;
  background: rgba(53, 230, 255, 0.22);
  top: 42px;
  right: 52px;
}

.orb-two {
  width: 280px;
  height: 280px;
  background: rgba(155, 92, 255, 0.22);
  bottom: 30px;
  left: 20px;
}

.dashboard-card {
  position: relative;
  z-index: 2;
  width: min(460px, 100%);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.main-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(53,230,255,.9), rgba(155,92,255,.25), rgba(184,255,92,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.card-header span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-grid article {
  border: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.52);
  border-radius: 22px;
  padding: 20px;
}

.metric-grid strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  color: var(--cyan);
}

.metric-grid small {
  color: var(--muted);
}

.code-card {
  margin-top: 16px;
  padding: 20px;
  border-radius: 22px;
  color: #d8efff;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(53, 230, 255, 0.22);
  line-height: 1.8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
}

.code-card span {
  color: var(--lime);
}

.floating-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.chip-one {
  left: 18px;
  top: 120px;
}

.chip-two {
  right: 0;
  bottom: 138px;
}

.chip-three {
  left: 72px;
  bottom: 86px;
}

.logos {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

section:not(.hero) {
  position: relative;
  z-index: 1;
  padding-top: 112px;
}

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

.section-heading h2,
.cta-section h2 {
  font-size: clamp(2.25rem, 4vw, 4.6rem);
  line-height: 0.98;
  margin-top: 14px;
}

.section-heading p,
.cta-section p,
.service-card p,
.product-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card,
.product-card,
.timeline-item,
.cta-section {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.service-card {
  padding: 26px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(53, 230, 255, 0.12);
  color: var(--cyan);
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.service-card h3,
.product-card h3,
.timeline-item h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 16px;
}

.product-card {
  min-height: 330px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}

.product-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  right: -70px;
  bottom: -80px;
  background: rgba(53, 230, 255, 0.13);
}

.product-card h3 {
  font-size: 2.4rem;
  margin: 26px 0 12px;
}

.product-card a {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 800;
}

.cromora {
  background: linear-gradient(145deg, rgba(53,230,255,.14), rgba(255,255,255,.055));
}

.entrego {
  background: linear-gradient(145deg, rgba(155,92,255,.16), rgba(255,255,255,.055));
}

.next {
  background: linear-gradient(145deg, rgba(184,255,92,.12), rgba(255,255,255,.055));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline-item {
  padding: 26px;
}

.timeline-item span {
  display: inline-flex;
  color: var(--lime);
  font-weight: 900;
  margin-bottom: 40px;
}

.cta-section {
  margin-top: 112px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, rgba(53,230,255,.14), rgba(155,92,255,.16));
}

.cta-section p {
  max-width: 760px;
  font-size: 1.05rem;
}

.footer {
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.footer a {
  color: var(--cyan);
  font-weight: 700;
}

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

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

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(184, 255, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(184, 255, 92, 0);
  }
}

@media (max-width: 980px) {
  .hero,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .service-grid,
  .timeline,
  .product-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-showcase .next {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nav,
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 86px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8, 17, 31, 0.96);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .floating-chip {
    font-size: 0.82rem;
  }

  .chip-one { left: 0; top: 76px; }
  .chip-two { right: 0; bottom: 84px; }
  .chip-three { left: 22px; bottom: 28px; }

  .service-grid,
  .timeline,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-showcase .next {
    grid-column: auto;
  }

  section:not(.hero) {
    padding-top: 78px;
  }

  .cta-section {
    margin-top: 78px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
