:root {
  color-scheme: dark;
  --bg-0: #050814;
  --bg-1: #0a1025;
  --bg-2: #0d1738;
  --surface: rgba(11, 18, 40, 0.7);
  --surface-strong: rgba(17, 26, 56, 0.86);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2ff;
  --muted: #9ca7cb;
  --accent-a: #7c5cff;
  --accent-b: #2ed2ff;
  --accent-c: #43f0cc;
  --accent-d: #a970ff;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 18px 40px rgba(2, 8, 23, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --progress: 68%;
  --rotate-x: 0deg;
  --rotate-y: 0deg;
  --spotlight-x: 50%;
  --spotlight-y: 50%;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Satoshi", "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(46, 210, 255, 0.14), transparent 26%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.22), transparent 20%),
    radial-gradient(circle at 80% 10%, rgba(46, 210, 255, 0.16), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(67, 240, 204, 0.12), transparent 32%);
  pointer-events: none;
  animation: backgroundShift 16s ease-in-out infinite alternate;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(64px);
  opacity: 0.48;
  animation: drift 18s ease-in-out infinite alternate;
}

.aurora-one {
  width: 380px;
  height: 380px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.8), transparent 70%);
}

.aurora-two {
  width: 440px;
  height: 440px;
  right: -120px;
  top: 12%;
  background: radial-gradient(circle, rgba(46, 210, 255, 0.7), transparent 68%);
  animation-duration: 22s;
}

.aurora-three {
  width: 360px;
  height: 360px;
  left: 18%;
  bottom: -160px;
  background: radial-gradient(circle, rgba(67, 240, 204, 0.62), transparent 72%);
  animation-duration: 20s;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.75), transparent 78%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.75), transparent 78%);
  opacity: 0.35;
}

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.hero-shell {
  position: relative;
  width: min(1140px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 5vw, 44px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    var(--surface);
  -webkit-backdrop-filter: blur(26px);
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(124, 92, 255, 0.22), transparent 34%),
    linear-gradient(120deg, rgba(46, 210, 255, 0.08), transparent 50%),
    linear-gradient(300deg, rgba(67, 240, 204, 0.08), transparent 44%);
  pointer-events: none;
}

.hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(4px, 1vw, 12px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #e8ecff;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-c), var(--accent-b));
  box-shadow: 0 0 0 8px rgba(67, 240, 204, 0.08);
  animation: pulseDot 2.6s ease-in-out infinite;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
  background: linear-gradient(135deg, #f8fbff 0%, #d8e1ff 40%, #8ef3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtext {
  margin: 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.status-card,
.cta-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-md);
}

.status-card {
  flex-direction: column;
  align-items: stretch;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-pill {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(124, 92, 255, 0.16);
  color: #ddd7ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.status-line {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #f6f7ff;
  transition: opacity 180ms ease, transform 180ms ease;
}

.status-line.is-switching {
  opacity: 0.35;
  transform: translateY(4px);
}

.progress-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-track::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.4s linear infinite;
}

.progress-fill {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b), var(--accent-c));
  box-shadow: 0 0 18px rgba(46, 210, 255, 0.42);
  animation: progressEase 4.8s ease-in-out infinite;
  transition: width 400ms ease;
}

.status-dots {
  display: inline-flex;
  gap: 8px;
}

.status-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(46, 210, 255, 0.4));
  opacity: 0.35;
  animation: blinkDots 1.6s ease-in-out infinite;
}

.status-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.status-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.cta-card {
  justify-content: space-between;
}

.cta-copy {
  min-width: 0;
}

.cta-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-number {
  color: var(--text);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.cta-number:hover {
  color: #bdf9eb;
}

.whatsapp-button {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 22px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(37, 211, 102, 0.98), rgba(23, 177, 85, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  box-shadow:
    0 16px 30px rgba(16, 132, 64, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 22px 36px rgba(16, 132, 64, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: saturate(1.12);
}

.whatsapp-button:focus-visible,
.cta-number:focus-visible {
  outline: 2px solid rgba(67, 240, 204, 0.9);
  outline-offset: 4px;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.visual-card {
  position: relative;
  width: min(100%, 520px);
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    var(--surface-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: auto 16px -32px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.45), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.visual-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: #eff3ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.visual-chip {
  position: absolute;
  z-index: 1;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-md);
}

.chip-one {
  width: 68px;
  height: 68px;
  right: 18px;
  top: 30px;
  transform: rotate(12deg);
  animation: floatCard 6s ease-in-out infinite;
}

.chip-two {
  width: 18px;
  height: 18px;
  left: 28px;
  bottom: 98px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(46, 210, 255, 0.45), rgba(124, 92, 255, 0.18));
  animation: bob 4.8s ease-in-out infinite;
}

.chip-three {
  width: 92px;
  height: 28px;
  right: 24px;
  bottom: 30px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(67, 240, 204, 0.28), rgba(46, 210, 255, 0.12));
  animation: floatCard 5.5s ease-in-out infinite reverse;
}

.visual-shine {
  position: absolute;
  inset: -30% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.scene-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.scene-glow {
  fill: rgba(67, 240, 204, 0.22);
  filter: blur(10px);
}

.orb {
  fill: rgba(103, 231, 255, 0.9);
}

.orb-two {
  fill: rgba(124, 92, 255, 0.72);
}

.orb-three {
  fill: rgba(67, 240, 204, 0.78);
}

.float-shape path,
.float-shape rect {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(103, 231, 255, 0.44);
  stroke-width: 2;
}

.cloud circle {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.08);
}

.monitor-card rect:first-child {
  stroke: rgba(103, 231, 255, 0.24);
  stroke-width: 2;
}

.monitor-card rect:not(:first-child) {
  fill: rgba(225, 236, 255, 0.62);
}

.halo-ring circle {
  fill: none;
  stroke: rgba(124, 92, 255, 0.24);
  stroke-width: 2;
  stroke-dasharray: 12 14;
}

.desk-group rect {
  fill: rgba(220, 230, 255, 0.1);
}

.tool-group rect {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(67, 240, 204, 0.28);
  stroke-width: 2;
}

.tool-group path {
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 3;
  stroke-linecap: round;
}

.character-shadow ellipse {
  fill: rgba(4, 10, 22, 0.54);
}

.leg-back,
.leg-front {
  fill: #111a36;
}

.body {
  fill: url(#bodyGradient);
}

.neck,
.head {
  fill: url(#skinGradient);
}

.hair {
  fill: url(#hairGradient);
}

.face-accent {
  fill: none;
  stroke: rgba(20, 30, 58, 0.44);
  stroke-width: 3;
  stroke-linecap: round;
}

.arm-back,
.arm-front {
  fill: url(#skinGradient);
}

.screen-reflection {
  fill: rgba(255, 255, 255, 0.04);
}

.code-line {
  fill: #6ef8e1;
}

.code-line-two {
  fill: #82b8ff;
}

.code-line-three {
  fill: #d1c4ff;
}

.keyboard-base {
  fill: rgba(217, 229, 255, 0.9);
}

.signal-group circle {
  fill: rgba(110, 248, 225, 0.88);
}

.spark path {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3;
  stroke-linecap: round;
}

.ambient-radial {
  opacity: 0.58;
}

.orb-one,
.float-a,
.cloud-one,
.monitor-card,
.spark-left {
  animation: floatLeft 6.6s ease-in-out infinite;
}

.orb-two,
.float-b,
.cloud-two,
.spark-right {
  animation: floatRight 7.2s ease-in-out infinite;
}

.orb-three,
.float-c,
.tool-group,
.signal-group {
  animation: bob 5.2s ease-in-out infinite;
}

.halo-ring {
  transform-origin: center;
  animation: rotateHalo 18s linear infinite;
}

.character {
  transform-origin: 220px 214px;
  animation: characterBreathe 4.4s ease-in-out infinite;
}

.arm-front {
  transform-origin: 255px 186px;
  animation: armMove 3.6s ease-in-out infinite;
}

.laptop-group {
  transform-origin: 292px 236px;
  animation: laptopTilt 4.8s ease-in-out infinite;
}

.code-line-one,
.code-line-two,
.code-line-three {
  transform-origin: left center;
  animation: codePulse 2.8s ease-in-out infinite;
}

.code-line-two {
  animation-delay: 0.3s;
}

.code-line-three {
  animation-delay: 0.5s;
}

.hero-shell:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.48);
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(67, 240, 204, 0.18);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 12px rgba(67, 240, 204, 0);
  }
}

@keyframes backgroundShift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, -22px, 0) scale(1.08);
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

@keyframes progressEase {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.2);
  }
}

@keyframes blinkDots {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(12deg);
  }
  50% {
    transform: translateY(-10px) rotate(18deg);
  }
}

@keyframes floatLeft {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-8px, -10px, 0);
  }
}

@keyframes floatRight {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(8px, -12px, 0);
  }
}

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

@keyframes rotateHalo {
  to {
    transform: rotate(360deg);
  }
}

@keyframes characterBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.01);
  }
}

@keyframes armMove {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-4deg);
  }
}

@keyframes laptopTilt {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(-1.6deg) translateY(-2px);
  }
}

@keyframes codePulse {
  0%,
  100% {
    transform: scaleX(0.92);
    opacity: 0.7;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .page {
    padding: 20px 14px;
  }

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

  .hero-copy {
    text-align: center;
    align-items: center;
  }

  .subtext {
    max-width: 24ch;
  }

  .status-card,
  .cta-card {
    width: min(100%, 540px);
  }

  .visual-card {
    width: min(100%, 560px);
  }
}

@media (max-width: 640px) {
  .hero-shell {
    padding: 18px;
    border-radius: 26px;
  }

  .eyebrow {
    margin-top: 8px;
  }

  .status-card,
  .cta-card {
    padding: 18px;
  }

  .status-row,
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy {
    gap: 18px;
  }

  .hero-copy,
  .status-card,
  .cta-card {
    text-align: left;
    align-items: stretch;
  }

  .visual-card {
    padding: 16px;
    border-radius: 24px;
  }

  .visual-badge {
    font-size: 0.74rem;
  }

  .whatsapp-button {
    width: 60px;
    height: 60px;
    border-radius: 20px;
  }
}

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

  .hero-shell {
    transform: none !important;
  }
}
