@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --background: 210 40% 98%;
  --foreground: 222 47% 11%;
  --muted: 210 40% 93%;
  --muted-foreground: 215 16% 47%;
  --border: 214 32% 88%;
  --card: 0 0% 100%;
  --primary: 190 80% 38%;
  --primary-foreground: 0 0% 100%;
  --shadow: 222 47% 11%;
  --radius: 8px;
}

.dark {
  color-scheme: dark;
  --background: 224 71% 4%;
  --foreground: 213 31% 91%;
  --muted: 223 47% 11%;
  --muted-foreground: 215 20% 65%;
  --border: 216 34% 17%;
  --card: 222 47% 7%;
  --primary: 190 90% 50%;
  --primary-foreground: 224 71% 4%;
  --shadow: 0 0% 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: hsl(var(--background));
}

body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

html:not(.dark) body[data-page="tecnologia"],
html:not(.dark) body[data-page="tecnologia"] .page-hero,
html:not(.dark) body[data-page="tecnologia"] .section {
  background: #fff;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  padding: 22px 0;
  transition: padding 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-visible {
  padding: 14px 0;
  border-color: hsl(var(--border) / 0.55);
  background: hsl(var(--background) / 0.82);
  box-shadow: 0 22px 60px hsl(var(--shadow) / 0.24);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: var(--radius);
  background: url("../assets/ems-gritecc.png") center / cover no-repeat;
  box-shadow: 0 0 24px hsl(var(--primary) / 0.35);
}

.brand-mark::after {
  content: "";
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: hsl(var(--primary));
  transition: width 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: hsl(var(--foreground));
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.theme-toggle,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--foreground) / 0.04);
  border: 1px solid hsl(var(--border));
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.theme-toggle:hover,
.menu-toggle:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.6);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: 126px 0 86px;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 30%, hsl(var(--primary) / 0.16), transparent 34%),
    radial-gradient(circle at 72% 68%, hsl(var(--primary) / 0.08), transparent 30%),
    linear-gradient(hsl(var(--primary) / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary) / 0.035) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 45%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 24px;
  padding: 7px 12px;
  border: 1px solid hsl(var(--primary) / 0.32);
  border-radius: 999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 0 18px hsl(var(--primary) / 0.16);
}

.hero h1,
.page-hero h1,
.section-title {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.4rem, 4.2vw, 4.05rem);
}

.page-hero h1 {
  max-width: 680px;
  font-size: clamp(2.4rem, 4.2vw, 4.05rem);
}

.section-title {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, hsl(var(--primary)), #60a5fa);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  text-align: justify;
}

.lead .gradient-text {
  font-size: 1.08em;
  font-weight: 700;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 26px hsl(var(--primary) / 0.28);
}

.button-primary:hover {
  box-shadow: 0 0 36px hsl(var(--primary) / 0.42);
}

.button-secondary {
  color: hsl(var(--foreground));
  background: hsl(var(--foreground) / 0.055);
  border: 1px solid hsl(var(--foreground) / 0.12);
  backdrop-filter: blur(14px);
}

.button-secondary:hover {
  background: hsl(var(--foreground) / 0.095);
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.12);
  filter: blur(70px);
}

.dashboard-wrap {
  position: relative;
  width: min(100%, 520px);
  animation: floatLarge 5s ease-in-out infinite;
}

.dashboard-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(var(--primary) / 0.22);
  border-radius: 18px;
  background: hsl(var(--background) / 0.7);
  box-shadow: 0 0 60px hsl(var(--primary) / 0.12), 0 30px 80px hsl(var(--shadow) / 0.4);
  backdrop-filter: blur(18px);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border-bottom: 1px solid hsl(var(--foreground) / 0.06);
  background: hsl(var(--foreground) / 0.025);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot-red {
  background: #f87171;
}

.dot-yellow {
  background: #facc15;
}

.dot-green {
  background: #4ade80;
}

.browser-address {
  flex: 1;
  height: 22px;
  margin-left: 10px;
  padding: 3px 9px;
  border: 1px solid hsl(var(--foreground) / 0.05);
  border-radius: 6px;
  background: hsl(var(--foreground) / 0.05);
  color: hsl(var(--muted-foreground) / 0.75);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
}

.dashboard-frame img {
  width: 100%;
  height: auto;
}

.dashboard-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(to top, hsl(var(--background) / 0.82), transparent);
}

.stat-card {
  position: absolute;
  z-index: 3;
  min-width: 142px;
  padding: 13px 16px;
  border: 1px solid hsl(var(--primary) / 0.22);
  border-radius: 12px;
  background: hsl(var(--background) / 0.82);
  box-shadow: 0 18px 40px hsl(var(--shadow) / 0.24);
  backdrop-filter: blur(18px);
}

.stat-left {
  left: -22px;
  bottom: -22px;
  animation: floatSmall 3.8s ease-in-out infinite;
}

.stat-right {
  top: -22px;
  right: -22px;
  border-color: hsl(var(--border));
  animation: floatSmall 4.4s ease-in-out 600ms infinite;
}

.stat-label {
  margin: 0 0 2px;
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
}

.stat-value {
  margin: 0;
  color: hsl(var(--primary));
  font-family: "Outfit", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-border {
  border-top: 1px solid hsl(var(--foreground) / 0.06);
}

.section-muted {
  background: hsl(var(--foreground) / 0.025);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 58px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-hero-heading {
  max-width: 850px;
  margin: 0 auto 58px;
  text-align: center;
}

.about-hero-heading .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.about-hero-heading h1 {
  max-width: 680px;
  margin: 0 auto;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 4.05rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

.kicker {
  margin: 0 0 12px;
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.muted-title {
  color: hsl(var(--muted-foreground));
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.feature-card,
.contact-panel,
.module-card {
  border: 1px solid hsl(var(--foreground) / 0.09);
  border-radius: 16px;
  background: hsl(var(--foreground) / 0.035);
}

.info-card,
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.info-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  top: -54px;
  right: -54px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.08);
  filter: blur(36px);
  transition: background 180ms ease;
}

.info-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--primary) / 0.25);
  background: hsl(var(--foreground) / 0.055);
}

.info-card:hover::before,
.feature-card:hover::before {
  background: hsl(var(--primary) / 0.18);
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid hsl(var(--foreground) / 0.11);
  border-radius: 12px;
  background: hsl(var(--foreground) / 0.055);
  color: hsl(var(--primary));
}

.info-card h3,
.feature-card h3,
.module-card h3,
.split-copy h2,
.contact-copy h1 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  line-height: 1.15;
  letter-spacing: 0;
}

.info-card h3 {
  font-size: 1.35rem;
  font-weight: 650;
}

.info-card p,
.feature-card p,
.module-card p,
.split-copy p,
.contact-copy p:not(.eyebrow) {
  color: hsl(var(--muted-foreground));
}

.info-card p,
.feature-card p {
  margin: 14px 0 0;
  font-size: 0.95rem;
  text-align: justify;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  align-items: center;
  gap: 56px;
}

.split-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.split-copy p {
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.deploy-card {
  padding: 30px;
  text-align: center;
}

.deploy-card .card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border-color: hsl(var(--primary) / 0.22);
  background: hsl(var(--primary) / 0.1);
}

.deploy-card h3 {
  font-size: 1.25rem;
}

.page-hero {
  position: relative;
  padding: 154px 0 86px;
  overflow: hidden;
}

.page-hero .lead {
  max-width: 790px;
}

.value-hero .lead {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.value-hero .metrics-grid {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.metric {
  padding: 24px;
  border: 1px solid hsl(var(--foreground) / 0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, hsl(var(--foreground) / 0.06), transparent);
}

.metric strong {
  display: block;
  color: hsl(var(--primary));
  font-family: "Outfit", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
}

.about-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.55rem;
  font-weight: 550;
}

.module-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(135deg, hsl(var(--primary) / 0.12), transparent);
  border-color: hsl(var(--primary) / 0.24);
}

.module-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 170px;
  height: 170px;
  border-radius: 28px;
  border: 1px solid hsl(var(--primary) / 0.2);
  transform: rotate(18deg);
  opacity: 0.35;
}

.module-card h3 {
  font-size: 1.55rem;
}

.module-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.module-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--foreground) / 0.92);
  font-size: 0.95rem;
  font-weight: 650;
}

.module-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: hsl(var(--primary));
  box-shadow: 0 0 12px hsl(var(--primary) / 0.9);
}

.tech-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: center;
  gap: 0;
}

.tech-block {
  position: relative;
  overflow: hidden;
  padding: 38px 46px;
  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  background: linear-gradient(180deg, hsl(var(--background) / 0.98), hsl(var(--background) / 0.94));
  box-shadow: 0 24px 70px hsl(var(--shadow) / 0.08);
  text-align: center;
}

.tech-block::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.08);
  filter: blur(44px);
  pointer-events: none;
}

.tech-block h3 {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.tech-block h3 .card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.tech-block p {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto 26px;
  color: hsl(var(--muted-foreground));
}

.chip-list {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 6px;
}

.logo-carousel {
  position: relative;
  isolation: isolate;
  width: min(calc(100vw - 64px), 1480px);
  margin: 0 auto 58px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 2%, #000 90%, transparent 100%);
}

.logo-track {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  gap: 14px;
  animation: logoCarousel 28s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-carousel .logo-card {
  flex: 0 0 268px;
}

.logo-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 102px;
  place-items: center;
  padding: 16px 22px;
  border: 1px solid hsl(var(--primary) / 0.16);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, hsl(var(--primary) / 0.08), transparent 58%),
    hsl(0 0% 100%);
  box-shadow: 0 8px 20px hsl(var(--shadow) / 0.06);
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, hsl(var(--foreground) / 0.08), transparent 52%);
  pointer-events: none;
}

.dark .logo-card {
  border-color: hsl(190 70% 78% / 0.5);
  background:
    radial-gradient(circle at 50% 0%, hsl(190 85% 78% / 0.18), transparent 58%),
    hsl(0 0% 100% / 0.97);
  box-shadow:
    0 0 30px hsl(201 100% 62% / 0.2),
    0 0 56px hsl(196 100% 68% / 0.12),
    0 10px 28px hsl(190 70% 72% / 0.24),
    0 18px 44px hsl(0 0% 0% / 0.22);
}

.dark .logo-card::before {
  background: linear-gradient(135deg, hsl(190 80% 92% / 0.45), transparent 52%);
}

.dark .logo-card:hover {
  border-color: hsl(195 100% 88% / 1);
  box-shadow:
    0 0 0 2px hsl(195 100% 90% / 0.95),
    0 0 24px hsl(196 100% 86% / 0.75),
    0 0 54px hsl(199 100% 64% / 0.42),
    0 14px 34px hsl(190 70% 72% / 0.26),
    0 18px 44px hsl(0 0% 0% / 0.28);
  transform: translateY(-2px);
}

.logo-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  max-height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px hsl(var(--shadow) / 0.22));
  transition: transform 180ms ease;
}

.logo-card:hover img {
  transform: scale(1.04);
}

.logo-card-n3uron:hover img,
.logo-card-claude:hover img {
  transform: scale(1.4);
}

.logo-card-n3uron img {
  max-width: 430px;
  max-height: 78px;
}

.logo-card-claude img {
  max-width: 106px;
  max-height: 80px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: 999px;
  background: hsl(var(--foreground) / 0.05);
  color: hsl(var(--foreground) / 0.9);
  font-size: 0.92rem;
  font-weight: 650;
}

.chip-primary {
  border-radius: var(--radius);
  border-color: hsl(var(--primary) / 0.25);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.note {
  max-width: 920px;
  margin: 28px auto 0;
  padding: 12px 18px;
  border: 1px solid hsl(var(--primary) / 0.16);
  border-radius: 10px;
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
}

.protocol-note-section {
  padding-top: 0;
  margin-top: -98px;
}

.protocol-note {
  margin-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: 58px;
}

.contact-copy h1 {
  max-width: 680px;
  font-size: clamp(2.4rem, 4.2vw, 4.05rem);
}

.contact-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background: hsl(var(--background));
  box-shadow: 0 26px 80px hsl(var(--shadow) / 0.28);
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 270px;
  height: 270px;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.07);
  filter: blur(48px);
}

.contact-form {
  position: relative;
  z-index: 1;
}

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

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: hsl(var(--foreground) / 0.82);
  font-size: 0.9rem;
  font-weight: 650;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: var(--radius);
  outline: none;
  background: hsl(var(--foreground) / 0.05);
  color: hsl(var(--foreground));
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: hsl(var(--foreground) / 0.34);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: hsl(var(--primary) / 0.7);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.16);
  background: hsl(var(--foreground) / 0.065);
}

.form-status {
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid hsl(var(--primary) / 0.24);
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.09);
  color: hsl(var(--primary));
  font-size: 0.93rem;
  font-weight: 650;
}

.form-status.is-visible {
  display: block;
}

.cta-band {
  border-block: 1px solid hsl(var(--foreground) / 0.06);
  background:
    radial-gradient(circle at 76% 28%, hsl(var(--primary) / 0.13), transparent 28%),
    hsl(var(--foreground) / 0.025);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-content h2 {
  max-width: 680px;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
}

.cta-content p {
  max-width: 570px;
  color: hsl(var(--muted-foreground));
}

.site-footer {
  border-top: 1px solid hsl(var(--foreground) / 0.08);
  background: hsl(var(--background));
  padding: 58px 0 28px;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-top {
  align-items: flex-start;
  margin-bottom: 38px;
}

.footer-copy {
  max-width: 360px;
  margin: 14px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a,
.footer-bottom a,
.footer-bottom p {
  color: hsl(var(--muted-foreground));
  font-size: 0.86rem;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: hsl(var(--foreground));
}

.footer-bottom {
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid hsl(var(--foreground) / 0.06);
}

.legal-links {
  display: flex;
  gap: 18px;
}

.scattered-images {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.scatter-item {
  position: absolute;
  top: var(--top);
  left: var(--left);
  width: var(--width);
  opacity: var(--opacity);
  transform: rotate(var(--rotate));
  animation: scatterFloat var(--duration) ease-in-out var(--delay) infinite;
}

.scatter-item img {
  width: 100%;
  mix-blend-mode: screen;
  user-select: none;
}

.custom-cursor {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.cursor-visible .custom-cursor {
  opacity: 1;
}

.cursor-layer {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 999px;
  transform: translate3d(-500px, -500px, 0);
  mix-blend-mode: screen;
  will-change: transform, width, height;
  transition: width 220ms ease, height 220ms ease, background 220ms ease;
}

.cursor-glow {
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.12), hsl(var(--primary) / 0.05) 42%, transparent 70%);
}

.cursor-mid {
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.2), hsl(var(--primary) / 0.08) 38%, transparent 68%);
}

.cursor-core {
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  background: radial-gradient(circle, rgba(210, 250, 255, 0.56), hsl(var(--primary) / 0.22) 38%, transparent 68%);
}

.cursor-dot {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96), rgba(190, 248, 255, 0.7) 50%, transparent);
}

.cursor-hovering .cursor-glow {
  width: 700px;
  height: 700px;
  margin: -350px 0 0 -350px;
}

.cursor-hovering .cursor-mid {
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
}

.cursor-hovering .cursor-core {
  width: 90px;
  height: 90px;
  margin: -45px 0 0 -45px;
}

.cursor-hovering .cursor-dot {
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

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

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

@keyframes scatterFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 var(--float-y);
  }
}

@keyframes logoCarousel {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button,
  input,
  textarea,
  select,
  label {
    cursor: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid hsl(var(--border));
    border-radius: 16px;
    background: hsl(var(--background) / 0.95);
    box-shadow: 0 24px 70px hsl(var(--shadow) / 0.35);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 10px 4px;
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .theme-toggle {
    margin-top: 6px;
  }

  .hero-grid,
  .split,
  .about-grid,
  .tech-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    min-height: auto;
  }

  .dashboard-wrap {
    width: min(100%, 620px);
  }

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

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

}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    padding: 14px 0;
  }

  .hero {
    padding: 112px 0 72px;
  }

  .hero h1,
  .page-hero h1,
  .about-hero-heading h1,
  .contact-copy h1 {
    font-size: clamp(2.65rem, 14vw, 4.15rem);
  }

  .hero-actions,
  .section-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .cards-grid,
  .deploy-grid,
  .feature-grid,
  .metrics-grid,
  .value-hero .metrics-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric strong {
    font-size: clamp(1.55rem, 9vw, 2rem);
    overflow-wrap: anywhere;
  }

  .logo-carousel .logo-card {
    flex-basis: 220px;
  }

  .section {
    padding: 82px 0;
  }

  .page-hero {
    padding: 124px 0 70px;
  }

  .stat-card {
    position: static;
    margin-top: 12px;
  }

  .hero-visual::before,
  .custom-cursor {
    display: none;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links,
  .legal-links {
    gap: 14px;
  }
}
