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

:root {
  --bg: #06070f;
  --bg-soft: #0b0d1a;
  --bg-elevated: #101324;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f7;
  --muted: #9aa1b8;
  --violet: #8b5cf6;
  --magenta: #e11d8f;
  --coral: #ff6b6b;
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --gradient: linear-gradient(110deg, #8b5cf6 0%, #e11d8f 55%, #ff6b6b 100%);
  --gradient-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(225, 29, 143, 0.12));
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --container: 1200px;
  --radius: 20px;
  --radius-sm: 13px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(800px 500px at 92% 8%, rgba(225, 29, 143, 0.08), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

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

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul,
ol {
  list-style: none;
}

::selection {
  color: #fff;
  background: rgba(225, 29, 143, 0.85);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg);
  border-radius: 99px;
  background: #2b2f45;
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3f5c;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.015em;
}

h4 {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

strong {
  color: var(--text);
  font-weight: 600;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--edge {
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.gradient-text {
  background: var(--gradient);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 9s ease infinite;
}

.lead {
  max-width: 60ch;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-head h2 {
  margin: 1rem 0 1rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.6rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn--primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 14px 40px rgba(225, 29, 143, 0.28);
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.65s var(--ease);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 55px rgba(225, 29, 143, 0.4);
}

.btn--primary:hover::after {
  left: 130%;
}

.btn--ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.1);
}

.btn--small {
  padding: 0.7rem 1.15rem;
  font-size: 0.83rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.62rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 0.7rem 1.1rem;
  transform: translateY(-180%);
  border-radius: 10px;
  color: #fff;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

[data-reveal="left"] {
  transform: translateX(-30px);
}

[data-reveal="right"] {
  transform: translateX(30px);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  width: 0;
  height: 3px;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(225, 29, 143, 0.6);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.preloader img {
  width: 104px;
  animation: float 2.6s ease-in-out infinite;
}

.preloader-bar {
  width: 190px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.preloader-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
  animation: loadbar 1.15s ease-in-out infinite;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid transparent;
  background: rgba(6, 7, 15, 0.55);
  backdrop-filter: blur(0px);
  transition: background-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled::before {
  border-color: var(--border);
  background: rgba(6, 7, 15, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand img {
  width: clamp(138px, 15vw, 172px);
}

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

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

.nav-link {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gradient);
  transition: transform 0.35s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
}

.nav-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

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

.nav-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + 3rem) 4rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero::before {
  top: -12%;
  left: -8%;
  width: 36rem;
  height: 36rem;
  background: rgba(139, 92, 246, 0.18);
}

.hero::after {
  right: -10%;
  bottom: -20%;
  width: 32rem;
  height: 32rem;
  background: rgba(225, 29, 143, 0.12);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy h1 {
  margin: 1.3rem 0 1.2rem;
}

.hero-rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  color: var(--muted);
}

.rotator {
  position: relative;
  display: inline-flex;
  min-width: 15ch;
  height: 1.6em;
  overflow: hidden;
  vertical-align: bottom;
}

.rotator span {
  position: absolute;
  inset: 0;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.rotator span.is-current {
  opacity: 1;
  transform: none;
}

.rotator span.is-leaving {
  opacity: 0;
  transform: translateY(-110%);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  padding: 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.panel-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.73rem;
  color: var(--muted);
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14);
  animation: pulse-dot 2s ease-in-out infinite;
}

.panel-badge {
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  background: rgba(52, 211, 153, 0.08);
}

.panel-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding-block: 1.1rem;
}

.metric {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.metric > span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric strong {
  display: block;
  margin: 0.2rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.meter {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.meter span {
  display: block;
  width: var(--w, 80%);
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.terminal {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(3, 4, 10, 0.9);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  line-height: 1.9;
  color: #c9cede;
}

.terminal .prompt {
  color: var(--cyan);
}

.terminal .ok {
  color: var(--green);
}

.terminal .cursor {
  color: var(--magenta);
  animation: blink 1.1s step-end infinite;
}

.hero-orb {
  position: absolute;
  top: -5.5rem;
  right: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding: 3px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 20px 50px rgba(225, 29, 143, 0.35);
  animation: float 6s ease-in-out infinite;
}

.hero-orb img {
  width: 100%;
  height: 100%;
  padding: 0.7rem;
  border-radius: 50%;
  object-fit: contain;
  background: var(--bg-soft);
}

.floating-chip {
  position: absolute;
  z-index: 4;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  background: rgba(11, 13, 26, 0.9);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  animation: float 5s ease-in-out infinite;
}

.floating-chip::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--gradient);
}

.chip-cloud {
  top: 16%;
  left: -1.4rem;
  animation-delay: -1.2s;
}

.chip-sec {
  right: -1rem;
  bottom: 24%;
  animation-delay: -2.4s;
}

.chip-ai {
  bottom: -1rem;
  left: 10%;
  animation-delay: -3.6s;
}

.tech-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.15rem;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.8rem;
  animation: marquee 38s linear infinite;
}

.tech-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.8rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

.marquee-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.7);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.solution-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(139, 92, 246, 0.2), transparent 62%);
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.42);
  background: rgba(255, 255, 255, 0.05);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 14px;
  background: var(--gradient-soft);
  color: var(--violet);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}

.solution-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card:hover .solution-icon {
  transform: scale(1.06) rotate(-3deg);
  color: var(--cyan);
}

.solution-card h3 {
  margin-bottom: 0.65rem;
}

.solution-card p {
  margin-bottom: 1.2rem;
  font-size: 0.91rem;
}

.solution-card .tags {
  margin-top: auto;
  padding-top: 0.2rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.card-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.card-link:hover {
  color: var(--cyan);
}

.card-link:hover svg {
  transform: translateX(4px);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.55), rgba(225, 29, 143, 0.55), transparent);
}

.process-step {
  position: relative;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-soft);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.process-step:hover .step-num {
  border-color: rgba(225, 29, 143, 0.6);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(225, 29, 143, 0.1), 0 12px 32px rgba(225, 29, 143, 0.18);
}

.process-step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.08rem;
}

.process-step p {
  font-size: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 24px;
  filter: saturate(0.85) contrast(1.05);
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  z-index: -1;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 24px;
  background: rgba(139, 92, 246, 0.05);
}

.about-badge {
  position: absolute;
  right: -1rem;
  bottom: -1.4rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(11, 13, 26, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.about-badge strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-badge span {
  font-size: 0.73rem;
  line-height: 1.35;
  color: var(--muted);
}

.about-copy h2 {
  margin: 1rem 0 1.2rem;
}

.about-copy p + p {
  margin-top: 1rem;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 2rem;
}

.value {
  display: flex;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}

.value:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.value svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value h4 {
  margin-bottom: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
}

.value p {
  font-size: 0.76rem;
  line-height: 1.5;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.project-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(225, 29, 143, 0.12), transparent 65%);
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 29, 143, 0.36);
}

.project-card:hover::after {
  opacity: 1;
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0b14;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

.project-card:hover .project-media img {
  transform: scale(1.06);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 7, 15, 0.5));
}

.project-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.5rem;
}

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-top h3 {
  font-size: 1.22rem;
}

.project-body p {
  font-size: 0.89rem;
}

.project-body .tags {
  margin-top: auto;
  padding-top: 0.35rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: 0.4rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
}

.project-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.project-link:hover {
  color: var(--cyan);
}

.project-link:hover svg {
  transform: translate(2px, -2px);
}

.project-media--case {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem;
  background:
    radial-gradient(120% 115% at 100% 0%, var(--case-a, rgba(139, 92, 246, 0.38)), transparent 62%),
    radial-gradient(120% 115% at 0% 100%, var(--case-b, rgba(225, 29, 143, 0.24)), transparent 58%),
    #0a0b14;
}

.project-media--case::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, #000 10%, transparent 92%);
  pointer-events: none;
}

.project-media--case::after {
  background: linear-gradient(180deg, transparent 48%, rgba(6, 7, 15, 0.62));
}

.project-media--fonte {
  --case-a: rgba(139, 92, 246, 0.42);
  --case-b: rgba(34, 211, 238, 0.24);
}

.project-media--telemed {
  --case-a: rgba(34, 211, 238, 0.32);
  --case-b: rgba(52, 211, 153, 0.24);
}

.project-media--zapflow {
  --case-a: rgba(52, 211, 153, 0.36);
  --case-b: rgba(34, 211, 238, 0.2);
}

.project-media--nfse {
  --case-a: rgba(251, 191, 36, 0.3);
  --case-b: rgba(255, 107, 107, 0.24);
}

.project-media--restaurant {
  --case-a: rgba(225, 29, 143, 0.36);
  --case-b: rgba(255, 107, 107, 0.24);
}

.project-media--swishdone {
  --case-a: rgba(56, 189, 248, 0.34);
  --case-b: rgba(99, 102, 241, 0.28);
}

.case-kicker,
.case-icon,
.case-caption {
  position: relative;
  z-index: 1;
}

.case-kicker {
  align-self: flex-start;
  padding: 0.32rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 7, 15, 0.48);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(8px);
}

.case-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-block: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  color: #fff;
  background: rgba(6, 7, 15, 0.52);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.case-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-caption {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
}

.case-status {
  flex: none;
  margin-top: 0.2rem;
  padding: 0.26rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.case-extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.case-extras-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.9rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.2rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.055);
}

.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.stars {
  display: inline-flex;
  gap: 0.16rem;
  color: var(--amber);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.testimonial blockquote {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--muted);
}

.person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.person img {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
}

.person strong {
  display: block;
  font-size: 0.87rem;
  line-height: 1.3;
}

.person span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.faq-intro h2 {
  margin: 1rem 0 1.1rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: rgba(34, 211, 238, 0.45);
  color: var(--cyan);
}

.faq-item p {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.88rem;
}

.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.4rem, 6vw, 4.2rem);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.18), rgba(225, 29, 143, 0.1));
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background: url(../imgs/bg-network.svg) no-repeat right center / 46%;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  max-width: 18ch;
  margin-bottom: 0.7rem;
}

.cta-band p {
  max-width: 46ch;
  font-size: 0.94rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-info h2 {
  margin: 1rem 0 1rem;
}

.info-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.info-card:hover {
  transform: translateX(4px);
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 11px;
  background: var(--gradient-soft);
  color: var(--violet);
}

.info-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
}

.info-card .copy-btn {
  margin-left: auto;
  padding: 0.3rem;
  border-radius: 6px;
  color: var(--muted);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.info-card .copy-btn:hover {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.05);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.form-head {
  margin-bottom: 1.3rem;
}

.form-head h3 {
  margin-bottom: 0.35rem;
}

.form-head p {
  font-size: 0.84rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6b7188;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--border-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.65);
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

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

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa1b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

.field select option {
  color: var(--text);
  background: var(--bg-elevated);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

.checkbox input {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.12rem;
  accent-color: var(--magenta);
}

.checkbox a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.2rem;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

.cf-turnstile {
  margin-block: 0.35rem;
}

.site-footer {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.045));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  width: 158px;
  margin-bottom: 1.1rem;
}

.footer-brand p {
  max-width: 32ch;
  font-size: 0.86rem;
}

.footer-col h4 {
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a,
.footer-col li {
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--text);
}

.socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.12);
  color: var(--text);
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.5rem;
  font-size: 0.76rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease);
}

.footer-bottom a:hover {
  color: var(--text);
}

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.36);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37, 211, 102, 0.55);
  border-radius: 50%;
  animation: pulse-ring 2.6s var(--ease) infinite;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 45px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.whatsapp-float .tip {
  position: absolute;
  right: calc(100% + 12px);
  padding: 0.45rem 0.8rem;
  transform: translateX(6px);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: rgba(11, 13, 26, 0.96);
  font-size: 0.75rem;
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.whatsapp-float:hover .tip {
  opacity: 1;
  transform: none;
}

.back-top {
  position: fixed;
  right: 1.2rem;
  bottom: 5.3rem;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(11, 13, 26, 0.85);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  backdrop-filter: blur(10px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  border-color: rgba(139, 92, 246, 0.55);
}

.back-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(calc(100% - 2.4rem), 680px);
  padding: 1rem 1.2rem;
  transform: translate(-50%, 160%);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: rgba(11, 13, 26, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform 0.55s var(--ease);
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
}

.cookie-banner p {
  font-size: 0.78rem;
  line-height: 1.55;
}

.cookie-banner a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex: none;
  gap: 0.5rem;
}

.cookie-actions button {
  padding: 0.52rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 600;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.cookie-actions .accept {
  border-color: transparent;
  background: var(--gradient);
  color: #fff;
}

.cookie-actions .accept:hover {
  filter: brightness(1.1);
}

.cookie-actions .decline:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
}

.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 1rem);
  right: 1rem;
  z-index: 150;
  display: grid;
  gap: 0.6rem;
  width: min(calc(100% - 2rem), 360px);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  background: rgba(11, 13, 26, 0.97);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  color: var(--text);
  animation: toast-in 0.4s var(--ease);
}

.toast.is-error {
  border-left-color: var(--coral);
}

.toast svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast.is-error svg {
  stroke: var(--coral);
}

.toast.is-hiding {
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 7, 15, 0.85);
  backdrop-filter: blur(16px);
}

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

.legal-nav img {
  width: 150px;
}

.legal-page {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-shell {
  max-width: 800px;
  margin-inline: auto;
}

.legal-shell h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
}

.legal-updated {
  margin-bottom: 2.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.legal-shell h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.legal-shell p {
  font-size: 0.94rem;
}

.legal-shell ul {
  display: grid;
  gap: 0.5rem;
  margin: 0.6rem 0 1rem;
}

.legal-shell li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.legal-shell li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.legal-back svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.legal-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

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

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.05);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes loadbar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(340%);
  }
}

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

@media (max-width: 1080px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .process-grid::before {
    display: none;
  }

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

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: calc(var(--header-h) + 2.5rem) 1.5rem 2rem;
    transform: translateY(-100%);
    background: rgba(6, 7, 15, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-link {
    display: block;
    padding-block: 0.95rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
  }

  .nav-link::after {
    display: none;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 4rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 1.5rem;
  }

  .hero-panel {
    width: min(100%, 480px);
  }

  .hero-orb {
    display: none;
  }

  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(26px);
  }

  .chip-cloud {
    left: 0;
  }

  .chip-sec {
    right: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 560px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
  }

  .cta-band::before {
    background-size: 70%;
    opacity: 0.14;
  }

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

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

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

  .hero-meta {
    display: grid;
    gap: 0.5rem;
  }

  .hero-stats {
    gap: 1.1rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .values {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .about-media::before {
    inset: 0.8rem -0.7rem -0.7rem 0.8rem;
  }

  .about-badge {
    right: -0.4rem;
    bottom: -1rem;
    padding: 0.85rem 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .footer-brand,
  .footer-col:last-child {
    grid-column: auto;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions button {
    flex: 1;
  }

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

  .back-top {
    right: 0.9rem;
    bottom: 5rem;
  }

  .floating-chip {
    display: none;
  }

  .legal-nav .container {
    min-height: 64px;
  }

  .legal-nav img {
    width: 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .marquee-track {
    animation: none;
  }

  .hero-canvas {
    display: none;
  }
}
