:root {
  --bg: #040714;
  --bg-2: #09101f;
  --text: #f8fbff;
  --text-soft: #b7c5df;
  --text-dark: #0a1323;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(6, 12, 24, 0.08);
  --cyan: #2ac8ff;
  --blue: #3d74ff;
  --orange: #ff8d3b;
  --mint: #65f0c7;
  --gold: #ffd166;
  --rose: #ff5f7d;
  --shadow: 0 40px 100px rgba(2, 6, 18, 0.48);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(42, 200, 255, 0.12), transparent 22%),
    radial-gradient(circle at 88% 16%, rgba(255, 95, 125, 0.1), transparent 20%),
    radial-gradient(circle at 50% 72%, rgba(101, 240, 199, 0.08), transparent 20%),
    linear-gradient(180deg, #030612 0%, #07101f 36%, #0d1730 72%, #08111f 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.tech-canvas,
.tech-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.tech-canvas {
  z-index: 0;
  opacity: 0.85;
}

.tech-shell {
  z-index: 1;
  overflow: hidden;
  perspective: 1400px;
}

.tech-grid {
  position: absolute;
  inset: auto -10% -16% -10%;
  height: 72vh;
  background-image:
    linear-gradient(rgba(42, 200, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 200, 255, 0.14) 1px, transparent 1px);
  background-size: 88px 88px;
  transform: rotateX(78deg) scale(1.45);
  transform-origin: center bottom;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.24) 18%, rgba(0, 0, 0, 1) 56%);
  opacity: 0.52;
}

.tech-orb,
.tech-ring,
.tech-panel,
.tech-pulse {
  position: absolute;
}

.tech-orb {
  border-radius: 50%;
  filter: blur(4px);
}

.tech-orb-a {
  width: 520px;
  height: 520px;
  top: -90px;
  left: -120px;
  background: radial-gradient(circle, rgba(42, 200, 255, 0.34) 0%, rgba(42, 200, 255, 0.08) 44%, transparent 72%);
}

.tech-orb-b {
  width: 620px;
  height: 620px;
  top: -120px;
  right: -160px;
  background: radial-gradient(circle, rgba(255, 95, 125, 0.24) 0%, rgba(61, 116, 255, 0.1) 38%, transparent 72%);
}

.tech-ring {
  border-radius: 50%;
  border: 1px solid rgba(135, 226, 255, 0.16);
  box-shadow: inset 0 0 80px rgba(42, 200, 255, 0.08);
}

.tech-ring-a {
  width: 760px;
  height: 760px;
  top: -210px;
  right: -170px;
}

.tech-ring-b {
  width: 420px;
  height: 420px;
  top: 300px;
  left: -100px;
}

.tech-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(16px);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.tech-panel-a {
  width: 180px;
  height: 180px;
  top: 18%;
  left: 60%;
  transform: rotate(18deg);
}

.tech-panel-b {
  width: 120px;
  height: 120px;
  top: 56%;
  left: 16%;
  transform: rotate(-22deg);
}

.tech-pulse {
  border-radius: 50%;
  border: 1px solid rgba(101, 240, 199, 0.18);
  animation: pulse 7s ease-in-out infinite;
}

.tech-pulse-a {
  width: 180px;
  height: 180px;
  top: 24%;
  right: 18%;
}

.tech-pulse-b {
  width: 120px;
  height: 120px;
  top: 64%;
  right: 34%;
  animation-delay: -3s;
}

.page-shell { position: relative; z-index: 2; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(3, 6, 18, 0.9), rgba(3, 6, 18, 0.56));
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  perspective: 900px;
  position: relative;
}

.brand img {
  height: 62px;
  width: auto;
  transform-style: preserve-3d;
  transform-origin: center center;
  animation: logoSpin3d 8s ease-in-out infinite, logoGlowPulse 4.2s ease-in-out infinite;
  filter: drop-shadow(0 10px 24px rgba(42, 200, 255, 0.16));
  will-change: transform, filter;
}

.brand::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 190px;
  height: 84px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(42, 200, 255, 0.72) 0%, rgba(42, 200, 255, 0.34) 24%, rgba(255, 95, 125, 0.28) 46%, rgba(255, 141, 59, 0.16) 58%, rgba(42, 200, 255, 0) 78%);
  filter: blur(28px);
  opacity: 1;
  animation: logoAura 3.4s ease-in-out infinite;
  pointer-events: none;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  color: rgba(248, 251, 255, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(2, 6, 18, 0.24);
}

.nav-indicator {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 0;
  height: calc(100% - 16px);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(42, 200, 255, 0.22), rgba(255, 141, 59, 0.14)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(42, 200, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 18px rgba(42, 200, 255, 0.18);
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
  pointer-events: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Oxanium", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 84%;
  height: 60%;
  transform: translate(-50%, -50%) scale(0.86);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(42, 200, 255, 0.18), rgba(255, 141, 59, 0.18));
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: -1;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(42, 200, 255, 0.12), rgba(255, 255, 255, 0.05));
  border-color: rgba(42, 200, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(42, 200, 255, 0.06);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.site-nav a.nav-clicked {
  animation: navFlash 0.48s ease;
}

.site-nav a.is-active {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), #3ea8ff 58%, var(--mint));
  color: #03111f;
  font-weight: 700;
  box-shadow: 0 22px 48px rgba(42, 200, 255, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 58px rgba(42, 200, 255, 0.34);
}

.button-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: none;
}

.button-large { min-height: 60px; padding: 0 30px; }

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 44px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d9e5fa;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.section-eyebrow-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #d8e5fb;
}

.hero h1,
.section h2,
.service-card h3,
.software-copy h3,
.showcase-content h3,
.highlight-card h3,
.contact-copy h2,
.stage-card strong {
  font-family: "Sora", sans-serif;
}

.hero h1 {
  margin: 18px 0;
  max-width: 12ch;
  font-size: clamp(3.3rem, 6vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 56ch;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1.08rem;
}

.hero-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-ribbon span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8e7ff;
}

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

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

.hero-metrics div {
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.hero-metrics span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
}

.hero-highlights {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  padding-left: 10px;
  padding-right: 40px;
}

.hero-highlights .hero-metrics {
  margin-top: 18px;
}

.hero-glow {
  position: absolute;
  inset: 40px 10px 100px 10px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 20% 18%, rgba(42, 200, 255, 0.18), transparent 32%),
    radial-gradient(circle at 78% 12%, rgba(255, 141, 59, 0.18), transparent 24%),
    radial-gradient(circle at 46% 82%, rgba(101, 240, 199, 0.12), transparent 28%);
  filter: blur(20px);
}

.hero-stage {
  position: relative;
  min-height: 540px;
  margin-bottom: 72px;
}

.stage-card {
  position: absolute;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(160deg, rgba(12, 21, 40, 0.96), rgba(8, 15, 28, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stage-card-main {
  inset: 0 40px 90px 10px;
  padding: 22px;
  transform: rotateX(10deg) rotateY(-12deg);
}

.stage-card-side {
  padding: 18px 20px;
  max-width: 220px;
  color: var(--text);
}

.stage-card-a { top: 42px; right: 0; transform: rotate(8deg); }
.stage-card-b { bottom: 42px; left: 0; transform: rotate(-7deg); }

.stage-card-side small,
.stage-stats small,
.window-copy small,
.software-copy small,
.highlight-card small {
  display: block;
  margin-bottom: 8px;
  color: #bfd0ec;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.stage-logo {
  margin-top: 24px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-preview {
  position: relative;
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(2, 8, 20, 0.32);
  isolation: isolate;
}

.stage-preview-track {
  position: relative;
  min-height: 168px;
}

.stage-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  filter: saturate(1.1) brightness(0.8) blur(6px);
  opacity: 0;
  transform: translate3d(42px, 0, 0) scale(1.12) rotateY(-10deg);
  transform-origin: center center;
  transition:
    opacity 0.75s ease,
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s ease;
}

.stage-preview img.is-active {
  position: relative;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
  filter: saturate(1.08) brightness(0.88) blur(0);
}

.stage-preview img.is-leaving {
  opacity: 0;
  transform: translate3d(-46px, 0, 0) scale(0.96) rotateY(8deg);
  filter: saturate(0.92) brightness(0.7) blur(4px);
}

.stage-preview::before {
  content: "";
  position: absolute;
  inset: -10% auto -10% -24%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg) translateX(-180%);
  z-index: 2;
  pointer-events: none;
}

.stage-preview.is-animating::before {
  animation: previewSweep 0.95s ease;
}

.stage-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 28, 0.08), rgba(8, 14, 28, 0.4)),
    radial-gradient(circle at 20% 30%, rgba(42, 200, 255, 0.18), transparent 24%),
    radial-gradient(circle at 78% 24%, rgba(255, 141, 59, 0.16), transparent 22%);
  pointer-events: none;
}

.stage-preview-glow {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -18px;
  height: 48px;
  background: linear-gradient(90deg, rgba(42, 200, 255, 0.38), rgba(255, 141, 59, 0.34), rgba(101, 240, 199, 0.32));
  filter: blur(18px);
  opacity: 0.95;
  animation: previewWave 4.2s ease-in-out infinite;
}

.stage-preview-dots {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  gap: 8px;
}

.stage-preview-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stage-preview-dots span.is-active {
  background: rgba(42, 200, 255, 0.96);
  transform: scale(1.18);
  box-shadow: 0 0 12px rgba(42, 200, 255, 0.45);
}

.stage-logo img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.stage-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.stage-stats div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-graph {
  margin-top: 18px;
  min-height: 220px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='500' viewBox='0 0 900 500'%3E%3Cpath d='M0 360 Q100 290 210 308 T430 248 T630 180 T900 96' fill='none' stroke='%232ac8ff' stroke-width='11' stroke-linecap='round'/%3E%3Cpath d='M0 404 Q160 380 260 334 T520 264 T760 214 T900 194' fill='none' stroke='%23ff8d3b' stroke-width='9' stroke-linecap='round' opacity='.92'/%3E%3Ccircle cx='760' cy='214' r='13' fill='%2365f0c7'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.window-bar {
  display: flex;
  gap: 8px;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.section { position: relative; padding: 96px 0; }
.section.section-flash::before,
.hero.section-flash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(42, 200, 255, 0.18), rgba(255, 141, 59, 0.08) 42%, transparent 70%);
  animation: sectionFlash 0.7s ease;
  pointer-events: none;
}
.section-light {
  background:
    radial-gradient(circle at 20% 0%, rgba(42, 200, 255, 0.06), transparent 18%),
    radial-gradient(circle at 84% 100%, rgba(255, 141, 59, 0.06), transparent 16%),
    linear-gradient(180deg, rgba(6, 12, 24, 0.34), rgba(7, 14, 28, 0.24));
}
.section-glass { padding-top: 10px; padding-bottom: 24px; }

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

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

.highlight-card {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.highlight-card h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.highlight-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.section-grid {
  display: grid;
  gap: 28px;
}

.section-heading {
  max-width: 820px;
  color: var(--text);
}

.section-heading-light { color: var(--text); }

.section-heading h2,
.contact-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-heading p,
.contact-copy p,
.service-card p {
  color: var(--text-soft);
  line-height: 1.74;
}

.section-heading-light p,
.software-copy p {
  color: var(--text-soft);
}

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

.section-dark {
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 141, 59, 0.12), transparent 22%),
    radial-gradient(circle at 80% 70%, rgba(42, 200, 255, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(4, 7, 20, 0.86), rgba(4, 7, 20, 0.94));
}

.service-grid,
.software-grid,
.showcase-grid {
  display: grid;
  gap: 22px;
}

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

.service-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(9, 17, 33, 0.92), rgba(7, 14, 28, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(8, 17, 38, 0.18);
}

.service-tag {
  display: inline-flex;
  margin-bottom: 18px;
  color: #7ddfff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.08;
}

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

.software-hero-grid {
  align-items: start;
}

.software-detail-grid {
  align-items: center;
}

.software-detail-visual {
  position: relative;
  min-height: 500px;
}

.software-detail-glow {
  position: absolute;
  inset: 50px 40px 10px 40px;
  border-radius: 38px;
  filter: blur(24px);
  opacity: 0.9;
}

.software-detail-visual.accent-orange .software-detail-glow { background: radial-gradient(circle, rgba(255, 141, 59, 0.26), transparent 68%); }
.software-detail-visual.accent-blue .software-detail-glow { background: radial-gradient(circle, rgba(42, 200, 255, 0.28), transparent 68%); }
.software-detail-visual.accent-teal .software-detail-glow { background: radial-gradient(circle, rgba(101, 240, 199, 0.28), transparent 68%); }
.software-detail-visual.accent-gold .software-detail-glow { background: radial-gradient(circle, rgba(255, 209, 102, 0.3), transparent 68%); }
.software-detail-visual.accent-rose .software-detail-glow { background: radial-gradient(circle, rgba(255, 95, 125, 0.28), transparent 68%); }

.software-detail-shot {
  position: relative;
  width: min(100%, 540px);
  margin-left: auto;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 36px 90px rgba(2, 8, 20, 0.42);
  transform: perspective(1400px) rotateY(-16deg) rotateX(8deg) translateY(24px);
  animation: softwareHeroFloat 6s ease-in-out infinite;
  isolation: isolate;
}

.software-detail-shot::before {
  content: "";
  position: absolute;
  inset: -12% auto -12% -18%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-20deg);
  animation: softwareHeroSweep 4.8s ease-in-out infinite;
  z-index: 2;
}

.software-detail-shot::after {
  content: "";
  position: absolute;
  inset: auto 10% -18px 10%;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(42, 200, 255, 0.34), rgba(255, 141, 59, 0.3), rgba(101, 240, 199, 0.28));
  filter: blur(18px);
  opacity: 0.9;
}

.software-detail-shot img {
  width: 100%;
  display: block;
}

.software-detail-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  padding: 16px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.38), rgba(8, 14, 28, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.software-detail-badge strong {
  display: block;
  margin-top: 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
}

.software-hero-visual {
  position: relative;
  min-height: 580px;
}

.software-hero-shot {
  position: relative;
  width: min(100%, 580px);
  margin-left: auto;
  transform: perspective(1400px) rotateY(-18deg) rotateX(8deg) translateY(42px);
  animation: softwareHeroFloat 6s ease-in-out infinite;
  isolation: isolate;
}

.software-hero-shot::before {
  content: "";
  position: absolute;
  inset: -12% auto -12% -18%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  animation: softwareHeroSweep 4.8s ease-in-out infinite;
  z-index: 2;
}

.software-hero-shot::after {
  content: "";
  position: absolute;
  inset: auto 8% -18px 8%;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(42, 200, 255, 0.34), rgba(255, 141, 59, 0.3), rgba(101, 240, 199, 0.28));
  filter: blur(18px);
  opacity: 0.92;
}

.software-hero-stack {
  position: relative;
  min-height: 470px;
}

.software-hero-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 470px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 36px 90px rgba(2, 8, 20, 0.42);
  will-change: transform, opacity, filter;
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease,
    filter 0.8s ease;
}

.software-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 22, 0.02), rgba(4, 10, 22, 0.2));
  pointer-events: none;
}

.software-hero-card.is-prev {
  z-index: 1;
  opacity: 0.72;
  filter: brightness(0.72) saturate(0.9) blur(0.4px);
  transform: translate3d(-96%, 78px, 0) scale(0.82) rotateY(26deg);
}

.software-hero-card.is-active {
  z-index: 3;
  opacity: 1;
  filter: brightness(1) saturate(1.04);
  transform: translate3d(-50%, 0, 0) scale(1);
}

.software-hero-card.is-next {
  z-index: 2;
  opacity: 0.84;
  filter: brightness(0.84) saturate(0.96) blur(0.2px);
  transform: translate3d(-4%, 42px, 0) scale(0.9) rotateY(-20deg);
}

.software-hero-card img {
  width: 100%;
  height: auto;
  display: block;
}

.software-hero-dots {
  position: absolute;
  right: 18px;
  bottom: -6px;
  z-index: 4;
  display: inline-flex;
  gap: 8px;
}

.software-hero-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.3s ease, background 0.3s ease;
}

.software-hero-dots span.is-active {
  background: rgba(42, 200, 255, 0.96);
  transform: scale(1.18);
  box-shadow: 0 0 12px rgba(42, 200, 255, 0.45);
}

.software-slider {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.software-slider-track {
  position: absolute;
  inset: 0;
}

.software-slider-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translate3d(54px, 0, 0) scale(1.08) rotateY(-8deg);
  filter: saturate(1.08) brightness(0.68) blur(6px);
  transition:
    opacity 0.75s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s ease;
}

.software-slider-track img.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
  filter: saturate(1.08) brightness(0.78) blur(0);
}

.software-slider-track img.is-leaving {
  opacity: 0;
  transform: translate3d(-54px, 0, 0) scale(0.96) rotateY(8deg);
  filter: saturate(0.92) brightness(0.58) blur(4px);
}

.software-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 12, 24, 0.16), rgba(7, 12, 24, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(42, 200, 255, 0.16), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(255, 141, 59, 0.14), transparent 24%);
}

.software-slider::after {
  content: "";
  position: absolute;
  inset: -10% auto -10% -24%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-18deg) translateX(-180%);
  z-index: 2;
  pointer-events: none;
}

.software-slider.is-animating::after {
  animation: previewSweep 0.95s ease;
}

.software-slider-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
  padding: 34px;
}

.software-slider-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dbe8ff;
  font-family: "Oxanium", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.software-slider-copy h3 {
  margin: 16px 0 12px;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.software-slider-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.software-slider-dots {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  gap: 8px;
}

.software-slider-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 0.3s ease, background 0.3s ease;
}

.software-slider-dots span.is-active {
  background: rgba(42, 200, 255, 0.96);
  transform: scale(1.18);
  box-shadow: 0 0 12px rgba(42, 200, 255, 0.45);
}

.software-slider-glow {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -22px;
  z-index: 2;
  height: 52px;
  background: linear-gradient(90deg, rgba(42, 200, 255, 0.38), rgba(255, 141, 59, 0.3), rgba(101, 240, 199, 0.28));
  filter: blur(20px);
  opacity: 0.95;
  animation: previewWave 4.2s ease-in-out infinite;
}

.software-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.software-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 210px;
  opacity: 0.96;
}

.accent-orange::before { background: linear-gradient(135deg, rgba(255, 141, 59, 0.95), rgba(255, 209, 102, 0.22)); }
.accent-blue::before { background: linear-gradient(135deg, rgba(42, 200, 255, 0.95), rgba(77, 106, 255, 0.2)); }
.accent-teal::before { background: linear-gradient(135deg, rgba(101, 240, 199, 0.92), rgba(42, 200, 255, 0.18)); }
.accent-gold::before { background: linear-gradient(135deg, rgba(255, 209, 102, 0.95), rgba(255, 141, 59, 0.2)); }
.accent-rose::before { background: linear-gradient(135deg, rgba(255, 95, 125, 0.95), rgba(61, 116, 255, 0.18)); }

.software-visual {
  position: relative;
  min-height: 210px;
  padding: 18px;
}

.mini-window {
  position: relative;
  z-index: 1;
  padding: 16px;
  border-radius: 24px;
  background: rgba(10, 17, 30, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.window-copy { margin-top: 18px; }

.window-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.window-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.window-lines span:nth-child(2) { width: 80%; }
.window-lines span:nth-child(3) { width: 58%; }

.software-copy {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.software-copy h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.software-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

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

.showcase-card {
  min-height: 440px;
  padding: 30px;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 17, 38, 0.12);
}

.showcase-content { max-width: 340px; }

.showcase-content h3 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.showcase-content p {
  margin: 0;
  color: rgba(248, 251, 255, 0.84);
  line-height: 1.7;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  padding: 42px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(42, 200, 255, 0.12), rgba(255, 141, 59, 0.12)),
    linear-gradient(180deg, rgba(10, 18, 35, 0.92), rgba(7, 14, 28, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 72px rgba(8, 17, 38, 0.24);
}

.contact-copy { color: var(--text); }

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.contact-note {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #12b851);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 20px 48px rgba(18, 184, 81, 0.34);
}

.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  font-weight: 800;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.18); opacity: 0.7; }
}

@keyframes previewWave {
  0%, 100% {
    transform: translateX(-4%) scaleX(0.96);
    opacity: 0.76;
  }
  50% {
    transform: translateX(4%) scaleX(1.04);
    opacity: 1;
  }
}

@keyframes previewSweep {
  0% {
    transform: skewX(-18deg) translateX(-180%);
    opacity: 0;
  }
  18% {
    opacity: 0.9;
  }
  100% {
    transform: skewX(-18deg) translateX(520%);
    opacity: 0;
  }
}

@keyframes softwareHeroFloat {
  0%, 100% {
    transform: perspective(1400px) rotateY(-18deg) rotateX(8deg) translateY(10px);
  }
  50% {
    transform: perspective(1400px) rotateY(-13deg) rotateX(5deg) translateY(-8px);
  }
}

@keyframes softwareHeroSweep {
  0% {
    transform: skewX(-20deg) translateX(-180%);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  100% {
    transform: skewX(-20deg) translateX(520%);
    opacity: 0;
  }
}

@keyframes navFlash {
  0% {
    box-shadow: 0 0 0 rgba(42, 200, 255, 0);
    background: rgba(255, 255, 255, 0.04);
  }
  45% {
    box-shadow: 0 0 24px rgba(42, 200, 255, 0.34), 0 0 40px rgba(255, 141, 59, 0.18);
    background: linear-gradient(180deg, rgba(42, 200, 255, 0.24), rgba(255, 141, 59, 0.12));
  }
  100% {
    box-shadow: 0 0 0 rgba(42, 200, 255, 0);
    background: rgba(255, 255, 255, 0.04);
  }
}

@keyframes sectionFlash {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes logoSpin3d {
  0% {
    transform: translateZ(0) scale(1) rotateX(0deg) rotateY(0deg);
  }
  20% {
    transform: translateZ(14px) scale(1.02) rotateX(8deg) rotateY(18deg);
  }
  50% {
    transform: translateZ(-34px) scale(0.94) rotateX(2deg) rotateY(360deg);
  }
  70% {
    transform: translateZ(12px) scale(1.01) rotateX(-6deg) rotateY(342deg);
  }
  100% {
    transform: translateZ(0) scale(1) rotateX(0deg) rotateY(360deg);
  }
}

@keyframes logoGlowPulse {
  0%, 100% {
    filter:
      drop-shadow(0 10px 24px rgba(42, 200, 255, 0.24))
      drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  50% {
    filter:
      drop-shadow(0 22px 42px rgba(42, 200, 255, 0.48))
      drop-shadow(0 0 24px rgba(255, 141, 59, 0.42))
      drop-shadow(0 0 18px rgba(255, 95, 125, 0.24));
  }
}

@keyframes logoAura {
  0%, 100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.98);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand img {
    animation: logoSpin3dReduced 14s ease-in-out infinite, logoGlowPulse 5.6s ease-in-out infinite;
  }

  .brand::after {
    animation: logoAuraReduced 4.6s ease-in-out infinite;
  }
}

@keyframes logoSpin3dReduced {
  0% {
    transform: translateZ(0) scale(1) rotateX(0deg) rotateY(0deg);
  }
  35% {
    transform: translateZ(8px) scale(1.01) rotateX(3deg) rotateY(12deg);
  }
  50% {
    transform: translateZ(-12px) scale(0.98) rotateX(1deg) rotateY(180deg);
  }
  85% {
    transform: translateZ(6px) scale(1) rotateX(-2deg) rotateY(344deg);
  }
  100% {
    transform: translateZ(0) scale(1) rotateX(0deg) rotateY(360deg);
  }
}

@keyframes logoAuraReduced {
  0%, 100% {
    opacity: 0.76;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.94;
    transform: translate(-50%, -50%) scale(1.18);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .service-grid,
  .software-grid,
  .showcase-grid,
  .highlight-strip,
  .contact-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid { grid-template-columns: 1fr; }
  .software-detail-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 560px; }
  .hero-highlights {
    margin-top: 24px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 820px) {
  body {
    background:
      radial-gradient(circle at 20% 10%, rgba(42, 200, 255, 0.12), transparent 24%),
      radial-gradient(circle at 80% 18%, rgba(255, 141, 59, 0.1), transparent 20%),
      linear-gradient(180deg, #030612 0%, #07101f 50%, #08111f 100%);
  }

  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    flex-wrap: nowrap;
    border-radius: 18px;
    gap: 4px;
    padding: 5px;
  }

  .nav-indicator {
    display: none;
  }

  .site-nav a {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 6px;
    font-size: 0.68rem;
    letter-spacing: 0.015em;
    text-align: center;
  }

  .hero h1 { max-width: none; }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    order: 1;
  }

  .hero-metrics,
  .service-grid,
  .software-grid,
  .showcase-grid,
  .highlight-strip,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    order: 2;
    display: flex;
    flex-direction: column;
    margin-top: 18px;
  }

  .hero-highlights .highlight-strip {
    order: 1;
  }

  .hero-highlights .hero-metrics {
    order: 2;
    margin-top: 16px;
  }

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

  .software-detail-visual {
    min-height: auto;
  }

  .software-hero-shot {
    width: 100%;
    margin: 8px auto 0;
    transform: none;
    animation: none;
    overflow: visible;
  }

  .software-detail-shot {
    width: 100%;
    margin: 10px auto 0;
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(12px);
  }

  .software-hero-stack {
    min-height: 320px;
    padding-inline: 10px;
  }

  .software-hero-card {
    width: min(100%, 300px);
  }

  .software-hero-card.is-prev {
    transform: translate3d(-82%, 48px, 0) scale(0.8);
  }

  .software-hero-card.is-active {
    transform: translate3d(-50%, 0, 0) scale(1);
  }

  .software-hero-card.is-next {
    transform: translate3d(-18%, 26px, 0) scale(0.88);
  }

  .software-slider {
    min-height: 360px;
  }

  .software-slider-copy {
    padding: 24px;
  }

  .software-slider-copy h3 {
    max-width: none;
    font-size: 2rem;
  }

  .hero-visual {
    order: 2;
    min-height: auto;
  }
  .hero-stage { position: relative; min-height: 540px; }
  .stage-card-main {
    position: relative;
    inset: auto;
    transform: none;
  }
  .hero-highlights .highlight-strip {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
