:root {
  --background: #050810;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: #97a6b8;
  --soft: #c9d6e3;
  --accent: #5eead4;
  --orange: #fb923c;
  --danger: #ff5b6a;
  --max: 1280px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  font-family: "Geist", Arial, sans-serif;
  background:
    radial-gradient(circle at 22% 45%, rgba(94, 234, 212, 0.14), transparent 24rem),
    radial-gradient(circle at 75% 38%, rgba(94, 234, 212, 0.12), transparent 28rem),
    linear-gradient(180deg, #050810 0%, #060b14 100%);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

::selection {
  background: rgba(94, 234, 212, 0.28);
  color: #fff;
}

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: #050810;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-mark {
  position: relative;
  width: min(88vw, 640px);
  height: 152px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.46);
  border-radius: 999px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(94, 234, 212, 0.22), transparent 58%),
    rgba(7, 12, 23, 0.94);
  box-shadow: 0 0 80px rgba(94, 234, 212, 0.24);
}

.loading-mark::before {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background: conic-gradient(from 180deg, transparent, rgba(94, 234, 212, 0.24), transparent, rgba(251, 146, 60, 0.12), transparent);
  animation: terminalAura 4.8s linear infinite;
}

.loading-mark::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.2), transparent);
  transform: translateY(-140%);
  animation: titleCompileScan 2.8s ease-in-out infinite;
}

.loading-mark span {
  position: relative;
  z-index: 2;
  color: var(--accent);
  font-size: clamp(3rem, 9vw, 7.2rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  text-shadow: 0 0 34px rgba(94, 234, 212, 0.62), 0 0 90px rgba(94, 234, 212, 0.18);
  animation: introLogoPulse 2.3s ease-in-out infinite;
}

.header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 36px), var(--max));
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(6, 10, 18, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
  transition: top 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.header.is-scrolled {
  top: 10px;
  background: rgba(6, 10, 18, 0.9);
  border-color: rgba(94, 234, 212, 0.22);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 236px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 900;
}

.brand-orb {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(94, 234, 212, 0.45);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.2), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 25% 22%, rgba(255, 255, 255, 0.75) 0 3px, transparent 4px),
    #07111d;
  box-shadow:
    inset 0 0 22px rgba(94, 234, 212, 0.12),
    0 0 34px rgba(94, 234, 212, 0.26);
  transform: rotate(-6deg);
}

.brand-orb::before {
  content: "HD";
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(94, 234, 212, 0.6);
}

.brand-orb::after {
  content: "</>";
  position: absolute;
  right: -9px;
  bottom: -8px;
  padding: 3px 6px;
  border: 1px solid rgba(94, 234, 212, 0.4);
  border-radius: 999px;
  background: #050810;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  transform: rotate(6deg);
}

.brand span:last-child {
  position: relative;
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #dffdf8 44%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.22rem;
  letter-spacing: 0.14em;
  text-shadow: 0 0 22px rgba(94, 234, 212, 0.2);
}

.brand span:last-child::after {
  content: "SOFTWARE";
  position: absolute;
  left: 1px;
  top: 21px;
  color: rgba(151, 166, 184, 0.92);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-shadow: none;
}

.header-ticker {
  position: relative;
  flex: 1 1 220px;
  min-width: 140px;
  max-width: 330px;
  height: 38px;
  margin: 0 14px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(94, 234, 212, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(94, 234, 212, 0.1), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.025);
  color: rgba(229, 255, 250, 0.92);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-ticker::before,
.header-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 34px;
  pointer-events: none;
}

.header-ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(6, 10, 18, 0.96), transparent);
}

.header-ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(6, 10, 18, 0.96), transparent);
}

.header-ticker-track {
  position: absolute;
  top: 50%;
  left: 100%;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  transform: translateY(-50%);
  animation: headerTickerLeft var(--ticker-duration, 18s) linear infinite;
  will-change: transform;
}

.header-ticker-track span {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  padding-inline: 14px;
}

.header-ticker--pulse .header-ticker-track {
  left: 50%;
  animation: headerTickerPulse var(--ticker-duration, 18s) ease-in-out infinite;
}

.header-ticker--typewriter .header-ticker-track,
.header-ticker--typewriter.header-ticker--right .header-ticker-track {
  left: 18px;
  right: auto;
  width: max-content;
  min-width: 0;
  max-width: 0;
  overflow: hidden;
  border-right: 2px solid var(--accent);
  animation: headerTickerTypewriter var(--ticker-duration, 7s) steps(42, end) infinite;
}

.header-ticker--typewriter .header-ticker-track span {
  position: relative;
  padding-inline: 0 10px;
  overflow: hidden;
  text-overflow: clip;
}

.header-ticker--right .header-ticker-track {
  left: auto;
  right: 100%;
  animation-name: headerTickerRight;
}

.header-ticker--static .header-ticker-track {
  left: 50%;
  animation: none;
  transform: translate(-50%, -50%);
}

.header-ticker:hover .header-ticker-track {
  animation-play-state: paused;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.25s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.nav-menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.18), rgba(255, 255, 255, 0.04));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  border-color: rgba(94, 234, 212, 0.28);
  background: rgba(94, 234, 212, 0.09);
  box-shadow: 0 10px 28px rgba(94, 234, 212, 0.1);
  transform: translateY(-1px);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  opacity: 1;
}

.nav-menu a.active {
  color: #041016;
  border-color: rgba(94, 234, 212, 0.72);
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(94, 234, 212, 0.22);
}

@keyframes headerTickerLeft {
  from {
    transform: translate(0, -50%);
  }

  to {
    transform: translate(calc(-100% - 360px), -50%);
  }
}

@keyframes headerTickerRight {
  from {
    transform: translate(0, -50%);
  }

  to {
    transform: translate(calc(100% + 360px), -50%);
  }
}

@keyframes headerTickerPulse {
  0%,
  100% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.015);
  }
}

@keyframes headerTickerTypewriter {
  0%,
  12% {
    max-width: 0;
    border-color: var(--accent);
    opacity: 0.88;
  }

  58%,
  82% {
    max-width: calc(100% - 36px);
    border-color: var(--accent);
    opacity: 1;
  }

  100% {
    max-width: 0;
    border-color: transparent;
    opacity: 0.88;
  }
}

.landing-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 126px 24px 44px;
  overflow: hidden;
}

.landing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  pointer-events: none;
}

.landing-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 42%,
    rgba(94, 234, 212, 0.055) 48%,
    rgba(94, 234, 212, 0.015) 52%,
    transparent 58%,
    transparent 100%
  );
  opacity: 0.65;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: pageCompileScan 8s ease-in-out infinite;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.76;
  mix-blend-mode: screen;
  pointer-events: none;
}

.landing-glow {
  position: absolute;
  z-index: 1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.42;
  pointer-events: none;
}

.glow-a {
  left: 8%;
  top: 28%;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.28), transparent 64%);
}

.glow-b {
  right: 7%;
  bottom: 14%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.18), transparent 64%);
}

.landing-grid {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: minmax(460px, 1.05fr) minmax(300px, 420px) minmax(300px, 0.7fr);
  align-items: center;
  gap: 24px;
}

.landing-intro p,
.landing-info p {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-intro h1 {
  position: relative;
  margin: 12px 0 38px;
  color: #fff;
  font-size: clamp(3.25rem, 6.6vw, 7rem);
  line-height: 0.86;
  font-weight: 900;
  transform: translateX(-24px);
  text-shadow: 0 0 34px rgba(94, 234, 212, 0.12);
  animation: titlePulse 6s ease-in-out infinite;
}

.landing-intro h1::before {
  content: "npm run build -- --premium";
  position: absolute;
  left: 8px;
  bottom: -20px;
  color: rgba(94, 234, 212, 0.78);
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 20px rgba(94, 234, 212, 0.38);
}

.landing-intro h1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 8%;
  top: 0;
  height: 16%;
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.12), transparent);
  transform: translateY(-120%);
  animation: titleCompileScan 5.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

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

.hero-btn.primary {
  background: var(--accent);
  color: #041016;
  box-shadow: 0 14px 40px rgba(94, 234, 212, 0.24);
}

.hero-btn.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.social-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  gap: 10px;
}

.social-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(94, 234, 212, 0.45);
  border-radius: 999px;
  color: #041016;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(135deg, #16a34a, #5eead4);
  box-shadow: 0 18px 44px rgba(22, 163, 74, 0.28), 0 0 34px rgba(94, 234, 212, 0.18);
}

.instagram-float {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 26%),
    linear-gradient(135deg, #f97316, #db2777 45%, #7c3aed);
  color: #fff;
  box-shadow: 0 18px 44px rgba(219, 39, 119, 0.28), 0 0 34px rgba(124, 58, 237, 0.18);
}

.social-button span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: #0f7a3e;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.instagram-float span {
  color: #be185d;
}

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

.whatsapp-float:hover {
  box-shadow: 0 24px 58px rgba(22, 163, 74, 0.36), 0 0 44px rgba(94, 234, 212, 0.26);
}

.instagram-float:hover {
  box-shadow: 0 24px 58px rgba(219, 39, 119, 0.36), 0 0 44px rgba(124, 58, 237, 0.26);
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(94, 234, 212, 0.24), transparent 62%),
    linear-gradient(135deg, rgba(94, 234, 212, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 80px rgba(94, 234, 212, 0.1), 0 0 120px rgba(94, 234, 212, 0.12);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.orbit-one {
  width: 420px;
  height: 180px;
  transform: rotate(-18deg);
}

.orbit-two {
  width: 240px;
  height: 420px;
  animation-direction: reverse;
  transform: rotate(22deg);
}

.terminal-model {
  position: relative;
  z-index: 2;
  width: min(86vw, 360px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(5, 9, 17, 0.86);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.48),
    0 0 70px rgba(94, 234, 212, 0.18);
  transform: rotateX(8deg) rotateY(-14deg);
  animation: float 6s ease-in-out infinite;
}

.terminal-model::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, transparent 0%, rgba(94, 234, 212, 0.08) 48%, transparent 52%);
  transform: translateY(-120%);
  animation: terminalScan 3.8s ease-in-out infinite;
  pointer-events: none;
}

.terminal-model::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 1;
  background: conic-gradient(
    from 180deg,
    transparent,
    rgba(94, 234, 212, 0.16),
    transparent,
    rgba(251, 146, 60, 0.09),
    transparent
  );
  opacity: 0.42;
  animation: terminalAura 9s linear infinite;
  pointer-events: none;
}

.terminal-top {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 7px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.terminal-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
}

.terminal-top span:nth-child(2) {
  background: var(--orange);
}

.terminal-top span:nth-child(3) {
  background: var(--accent);
}

.terminal-body {
  position: relative;
  z-index: 3;
  min-height: 250px;
  padding: 28px 24px;
}

.terminal-body::before {
  content: "deploy: online";
  position: absolute;
  right: 24px;
  top: 24px;
  color: rgba(94, 234, 212, 0.72);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(94, 234, 212, 0.32);
}

.terminal-line {
  margin-bottom: 18px;
  color: #d9fff8;
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 800;
  text-shadow: 0 0 18px rgba(94, 234, 212, 0.2);
  animation: codeBreathe 4s ease-in-out infinite;
}

.terminal-line.active {
  color: var(--accent);
  animation-delay: -0.7s;
}

.terminal-line.muted {
  color: var(--muted);
  animation-delay: -1.4s;
}

.terminal-pulse {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 64%);
  opacity: 0.78;
  animation: pulse 2.4s ease-in-out infinite;
}

.model-base {
  position: absolute;
  bottom: 60px;
  width: 330px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(94, 234, 212, 0.32), transparent 68%);
  filter: blur(8px);
}

.landing-info {
  justify-self: end;
  max-width: 330px;
  text-align: right;
}

.landing-info h2 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(2.35rem, 4.25vw, 4.9rem);
  line-height: 0.92;
  font-weight: 900;
}

.landing-info h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(94, 234, 212, 0.7);
}

.landing-info h2 span.solid {
  color: #fff;
  -webkit-text-stroke: 0;
}

.inner-page {
  min-height: 100svh;
}

.page-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 150px 0 64px;
}

.page-hero {
  max-width: 900px;
  margin-bottom: 42px;
}

.page-hero span,
.glass-card > span,
.ready-card > span,
.contact-form label span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 14px 0 22px;
  color: #fff;
  font-size: clamp(2.35rem, 4.9vw, 5.2rem);
  line-height: 1;
  font-weight: 900;
}

.page-hero p {
  max-width: 780px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.8;
}

.ready-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 980px;
  margin-top: 26px;
}

.ready-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.ready-actions a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #041016;
  transform: translateY(-2px);
}

.glass-card,
.ready-card,
.contact-form {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(94, 234, 212, 0.12), transparent 42%),
    rgba(5, 9, 17, 0.78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.45fr) minmax(220px, 0.45fr);
  gap: 18px;
}

.glass-card {
  min-height: 240px;
  padding: 32px;
  border-radius: 30px;
}

.story-main h2,
.contact-info h2 {
  margin: 16px 0 18px;
  color: #fff;
  font-size: clamp(1.55rem, 2.8vw, 3rem);
  line-height: 1.08;
}

.story-main p,
.timeline-mini p,
.ready-card p,
.contact-info a {
  color: var(--muted);
  line-height: 1.75;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stat-card strong {
  color: #fff;
  font-size: clamp(2.45rem, 4.4vw, 4.4rem);
  line-height: 1;
}

.stat-card span {
  margin-top: 12px;
  color: var(--accent);
  font-weight: 900;
}

.timeline-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--line);
}

.timeline-mini article {
  min-height: 230px;
  padding: 30px;
  background: rgba(5, 9, 17, 0.82);
}

.timeline-mini span {
  color: var(--accent);
  font-weight: 900;
}

.timeline-mini h3,
.ready-card h2 {
  margin: 48px 0 14px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
}

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

.ready-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 30px;
  overflow: hidden;
}

.ready-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.12);
  filter: blur(4px);
}

.ready-card p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.ready-card a {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin-top: auto;
  padding: 12px 18px;
  border: 1px solid rgba(94, 234, 212, 0.34);
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.ready-card a:hover {
  background: var(--accent);
  color: #041016;
  transform: translateY(-2px);
}

.pricing-grid,
.bank-grid {
  display: grid;
  gap: 16px;
}

.pricing-page .page-hero,
.bank-page .page-hero {
  max-width: 880px;
  margin-bottom: 34px;
}

.pricing-page .page-hero h1,
.bank-page .page-hero h1 {
  font-size: clamp(2.15rem, 5vw, 4.6rem);
}

.pricing-page .page-hero p,
.bank-page .page-hero p {
  max-width: 760px;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
}

.bank-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(5, 9, 17, 0.64);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.2);
}

.pricing-card,
.bank-card {
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(5, 9, 17, 0.74);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.pricing-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
}

.pricing-image {
  width: 100%;
  height: 100%;
  min-height: 192px;
  display: block;
  object-fit: cover;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(94, 234, 212, 0.06);
  opacity: 0.82;
}

.pricing-card-body,
.bank-card {
  padding: 22px;
}

.pricing-card span,
.bank-card > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.pricing-card h2,
.bank-card h2 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(1.16rem, 1.7vw, 1.55rem);
}

.pricing-card p {
  margin: 0 0 18px;
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.62;
}

.pricing-card strong {
  display: block;
  margin-top: auto;
  color: #fff;
  font-size: clamp(1.12rem, 2vw, 1.48rem);
  font-weight: 900;
}

.pricing-card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.09);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.pricing-card a:hover {
  background: var(--accent);
  color: #041016;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(94, 234, 212, 0.2);
}

.bank-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  background:
    radial-gradient(circle at 100% 0%, rgba(94, 234, 212, 0.1), transparent 42%),
    rgba(6, 10, 18, 0.76);
}

.account-line {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.032);
}

.account-line small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-line strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.iban-line strong {
  color: var(--accent);
}

.contact-page {
  padding-bottom: 74px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-info a {
  display: block;
  margin-top: 12px;
  color: #fff;
  font-weight: 800;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
  border-radius: 30px;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: conic-gradient(from 180deg, transparent, rgba(94, 234, 212, 0.42), transparent, rgba(251, 146, 60, 0.22), transparent);
  opacity: 0.62;
  animation: terminalAura 8s linear infinite;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.wide-field,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  padding: 16px 18px;
  resize: vertical;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(94, 234, 212, 0.72);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1), 0 0 34px rgba(94, 234, 212, 0.12);
  transform: translateY(-1px);
}

.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #041016;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 44px rgba(94, 234, 212, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(94, 234, 212, 0.32);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--accent);
  font-weight: 800;
}

.form-note.is-error {
  color: var(--danger);
}

.admin-shell {
  max-width: 1180px;
}

.admin-login {
  max-width: 520px;
  margin: 8vh auto 0;
}

.admin-login h1,
.admin-top h1 {
  margin: 14px 0 14px;
  color: #fff;
  font-size: clamp(1.75rem, 3.1vw, 3rem);
  line-height: 1.06;
}

.admin-login p,
.admin-top p {
  color: var(--muted);
  line-height: 1.75;
}

.admin-form,
.admin-grid {
  display: grid;
  gap: 16px;
}

.admin-form label,
.admin-grid label {
  display: grid;
  gap: 8px;
}

.admin-form label span,
.admin-grid label span {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-form input,
.admin-grid input,
.admin-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  padding: 14px 16px;
  resize: vertical;
}

.admin-grid textarea {
  min-height: 104px;
}

.admin-form input:focus,
.admin-grid input:focus,
.admin-grid textarea:focus {
  border-color: rgba(94, 234, 212, 0.7);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1);
}

.admin-form button,
.admin-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #041016;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}

.admin-actions .ghost-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.admin-panel {
  display: grid;
  gap: 22px;
}

.admin-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-tabs button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.active,
.admin-tabs button:hover {
  border-color: rgba(94, 234, 212, 0.42);
  background: var(--accent);
  color: #041016;
}

.admin-editor {
  display: grid;
  gap: 18px;
}

.admin-section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(5, 9, 17, 0.78);
  backdrop-filter: blur(18px);
}

.admin-section h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.5rem;
}

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

.admin-grid .wide-field {
  grid-column: 1 / -1;
}

.admin-status {
  padding: 0 6px 40px;
}

.messages-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.messages-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.messages-head .ghost-action {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}

.message-list {
  display: grid;
  gap: 12px;
}

.message-item {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.message-item div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.message-item strong {
  color: #fff;
}

.message-item span,
.message-item small,
.empty-messages {
  color: var(--muted);
}

.message-item p {
  margin: 0;
  color: var(--soft);
  line-height: 1.65;
}

@keyframes float {
  0%,
  100% {
    transform: rotateX(8deg) rotateY(-14deg) translateY(0);
  }
  50% {
    transform: rotateX(8deg) rotateY(-14deg) translateY(-18px);
  }
}

@keyframes spin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.12);
  }
}

@keyframes terminalScan {
  0%,
  22% {
    opacity: 0;
    transform: translateY(-120%);
  }
  38% {
    opacity: 1;
  }
  58%,
  100% {
    opacity: 0;
    transform: translateY(120%);
  }
}

@keyframes terminalAura {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes codeBreathe {
  0%,
  100% {
    opacity: 0.68;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

@keyframes pageCompileScan {
  0%,
  20% {
    transform: translateY(-100%);
    opacity: 0;
  }
  38% {
    opacity: 0.68;
  }
  62%,
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes titlePulse {
  0%,
  100% {
    text-shadow: 0 0 30px rgba(94, 234, 212, 0.1);
  }
  50% {
    text-shadow: 0 0 44px rgba(94, 234, 212, 0.22), 0 0 90px rgba(94, 234, 212, 0.08);
  }
}

@keyframes titleCompileScan {
  0%,
  18% {
    transform: translateY(-130%);
    opacity: 0;
  }
  36% {
    opacity: 0.8;
  }
  58%,
  100% {
    transform: translateY(620%);
    opacity: 0;
  }
}

@keyframes introLogoPulse {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.28);
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-canvas {
    display: none;
  }

  .terminal-model,
  .terminal-model::before,
  .terminal-model::after,
  .landing-section::after,
  .landing-intro h1,
  .landing-intro h1::after,
  .loading-mark::before,
  .loading-mark::after,
  .loading-mark span,
  .terminal-line,
  .orbit,
  .terminal-pulse {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .header-ticker {
    max-width: 260px;
  }

  .landing-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-info {
    justify-self: center;
    max-width: none;
    text-align: center;
  }

  .landing-intro h1 {
    transform: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .story-grid,
  .ready-grid,
  .contact-layout,
  .admin-top {
    grid-template-columns: 1fr;
  }

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

  .timeline-mini {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 780px) {
  :root {
    --header: 66px;
  }

  .header {
    top: 12px;
    width: calc(100% - 24px);
    padding: 0 12px 0 16px;
  }

  .brand {
    min-width: 188px;
    gap: 11px;
  }

  .brand-orb {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand span:last-child {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .brand span:last-child::after {
    top: 17px;
    font-size: 0.48rem;
    letter-spacing: 0.24em;
  }

  .menu-toggle {
    display: block;
  }

  .header-ticker {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(6, 10, 18, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

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

  .nav-menu a {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 18px;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: var(--accent);
    color: #041016;
  }

  .landing-section {
    padding-top: 112px;
  }

  .page-shell {
    width: min(calc(100% - 28px), var(--max));
    padding-top: 122px;
  }

  .page-hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.8rem);
  }

  .landing-intro h1 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  .landing-info h2 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

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

  .hero-visual::before,
  .orbit-one,
  .orbit-two {
    width: 270px;
    height: 270px;
  }

  .terminal-model {
    transform: none;
    animation: none;
  }

  .model-base {
    bottom: 36px;
    width: 240px;
  }

  .glass-card,
  .ready-card,
  .pricing-card-body,
  .bank-card,
  .contact-form {
    padding: 24px;
    border-radius: 24px;
  }

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

  .pricing-grid,
  .bank-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    grid-template-columns: 1fr;
  }

  .pricing-image {
    min-height: 142px;
    aspect-ratio: 16 / 7;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .ready-actions {
    grid-template-columns: 1fr;
  }

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

  .admin-actions {
    justify-content: flex-start;
  }

  .messages-head,
  .message-item div {
    display: grid;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    display: grid;
  }

  .hero-btn {
    width: 100%;
  }

  .loading-mark {
    height: 104px;
  }

  .social-float {
    right: 14px;
    bottom: 14px;
  }

  .social-button strong {
    display: none;
  }

  .loading-mark span {
    letter-spacing: 0.1em;
    padding-left: 0.1em;
  }
}
