:root {
  color-scheme: dark;
  --bg: #030605;
  --text: #f6f8f7;
  --muted: #a5afaa;
  --line: rgba(255, 255, 255, 0.13);
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --accent: #19d6cf;
  --accent-soft: rgba(25, 214, 207, 0.14);
  --accent-blue: #7b7cf2;
  --accent-warm: #ff2ea3;
  --link-bg: #101315;
  --link-text: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(16, 255, 93, 0.14), transparent 26%),
    linear-gradient(135deg, rgba(25, 214, 207, 0.09), rgba(9, 11, 12, 0) 34%),
    linear-gradient(215deg, rgba(255, 46, 163, 0.08), rgba(9, 11, 12, 0) 34%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body.home-page {
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 10px;
  padding: clamp(14px, 3vh, 38px) 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 72%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 72%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 34%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.62) 68%),
    linear-gradient(to bottom, rgba(3, 6, 5, 0.18), rgba(3, 6, 5, 0.62));
}

#matrix-rain {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: #030605;
  opacity: 0.72;
  pointer-events: none;
}

.audio-toggle {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(25, 214, 207, 0.28);
  border-radius: 999px;
  background: rgba(5, 8, 7, 0.56);
  color: rgba(246, 248, 247, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease,
    background 150ms ease;
}

.audio-toggle:hover,
.audio-toggle.active {
  border-color: rgba(25, 214, 207, 0.58);
  background: rgba(8, 20, 16, 0.72);
  color: #ffffff;
  transform: translateY(-1px);
}

.audio-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.profile {
  position: relative;
  z-index: 1;
  align-self: start;
  width: min(720px, calc(100% - 40px));
  height: fit-content;
  margin: 0 auto;
  padding: 24px 0 24px;
  isolation: isolate;
}

.profile::before {
  position: absolute;
  inset: 10px -28px 10px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(5, 8, 7, 0.34);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(25, 214, 207, 0.08);
  content: "";
}

.intro {
  text-align: center;
  position: relative;
}

h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
}

.intro h1 {
  position: relative;
  display: inline-flex;
  padding: 11px 24px 13px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.022)),
    rgba(5, 9, 8, 0.22);
  -webkit-backdrop-filter: blur(20px) saturate(155%);
  backdrop-filter: blur(20px) saturate(155%);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(25, 214, 207, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(25, 214, 207, 0.055);
  color: #ffffff;
  text-shadow:
    0 0 18px rgba(25, 214, 207, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.08);
}

.intro h1::before,
.intro h1::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.intro h1::before {
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 0%, rgba(25, 214, 207, 0.08), transparent 32%),
    radial-gradient(circle at 84% 100%, rgba(255, 46, 163, 0.055), transparent 34%),
    linear-gradient(90deg, rgba(25, 214, 207, 0.055), transparent 24% 76%, rgba(255, 46, 163, 0.045));
  opacity: 0.58;
}

.intro h1::after {
  top: 1px;
  bottom: 1px;
  left: -58%;
  width: 56%;
  z-index: 1;
  border-radius: 999px;
  background: linear-gradient(
    115deg,
    transparent 0 25%,
    rgba(255, 255, 255, 0.02) 34%,
    rgba(255, 255, 255, 0.2) 48%,
    rgba(25, 214, 207, 0.08) 56%,
    transparent 72% 100%
  );
  opacity: 0;
  transform: translateX(0) skewX(-12deg);
  animation: titleGlassScan 11.5s ease-in-out infinite;
}

.title {
  max-width: 540px;
  margin: 14px auto 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

.role-line {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.typed-role {
  display: inline-block;
  color: #ffffff;
  text-align: center;
}

.typing-caret {
  width: 2px;
  height: 1.15em;
  display: inline-block;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(25, 214, 207, 0.8);
  vertical-align: -0.16em;
  animation: caretBlink 860ms steps(1) infinite;
}

.links,
.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.links {
  gap: 6px;
  margin: 24px 0 30px;
}

.links a,
.service-tags span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
  font-size: 14px;
  line-height: 1;
  transition:
    border-color 150ms ease,
    transform 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease,
  color 150ms ease;
}

.links a {
  min-height: 52px;
  gap: 10px;
  border-color: rgba(255, 255, 255, 0.12);
  padding: 5px 19px 5px 8px;
  background: rgba(5, 9, 8, 0.58);
  color: var(--link-text);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.links a[data-platform="email"] {
  border-color: rgba(25, 214, 207, 0.26);
  background: rgba(5, 9, 8, 0.58);
  color: var(--link-text);
}

.links a[data-platform="instagram"] {
  border-color: rgba(255, 46, 163, 0.36);
}

.links a[data-platform="tiktok"] {
  border-color: rgba(25, 214, 207, 0.26);
}

.links a[data-platform="youtube"] {
  border-color: rgba(25, 214, 207, 0.3);
}

.links a[data-platform="whatsapp"] {
  border-color: rgba(25, 214, 207, 0.32);
}

.links a:hover {
  border-color: rgba(25, 214, 207, 0.5);
  background: var(--surface-strong);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.links a:focus-visible,
.store-button:focus-visible,
.work-modal-trigger:focus-visible,
.work-modal-close:focus-visible {
  outline: 3px solid rgba(47, 125, 93, 0.24);
  outline-offset: 3px;
}

.links a span:last-child {
  color: inherit;
}

.icon-circle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #050607;
  color: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.links a[data-platform="email"] .icon-circle {
  background: #050607;
}

.links a[data-platform="instagram"] .icon-circle {
  background: #050607;
}

.links a[data-platform="tiktok"] .icon-circle {
  background: #050607;
  box-shadow:
    6px 0 0 -4px rgba(37, 244, 238, 0.8),
    -6px 0 0 -4px rgba(254, 44, 85, 0.8);
}

.links a[data-platform="youtube"] .icon-circle {
  background: #050607;
}

.links a[data-platform="whatsapp"] .icon-circle {
  background: #050607;
}

.icon-circle svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-circle img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.service-tags {
  gap: 6px;
  margin: 0 auto 14px;
}

.service-tags span {
  --tag-a: #19d6cf;
  --tag-b: #ff2ea3;
  position: relative;
  overflow: hidden;
  justify-content: flex-start;
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.12);
  padding: 5px 12px 5px 7px;
  background: rgba(5, 9, 8, 0.58);
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.service-tags span::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.11) 48%, transparent 58% 100%);
  content: "";
  opacity: 0;
  transform: translateX(-120%);
  animation: tagScan 6.4s ease-in-out infinite;
}

.service-tags span::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    radial-gradient(circle, #050607 0 46%, transparent 47%),
    conic-gradient(
      from 210deg,
      var(--tag-a) 0 32%,
      transparent 32% 45%,
      var(--tag-b) 45% 78%,
      transparent 78% 100%
    );
  box-shadow:
    0 0 16px color-mix(in srgb, var(--tag-a) 28%, transparent),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.service-tags span > * {
  position: relative;
  z-index: 1;
}

.service-tags span:nth-child(3n + 1) {
  --tag-a: #19d6cf;
  --tag-b: #2a9df4;
  border-color: rgba(25, 214, 207, 0.28);
}

.service-tags span:nth-child(3n + 2) {
  --tag-a: #2a9df4;
  --tag-b: #ff2ea3;
  border-color: rgba(123, 124, 242, 0.26);
}

.service-tags span:nth-child(3n) {
  --tag-a: #ff2ea3;
  --tag-b: #19d6cf;
  border-color: rgba(255, 46, 163, 0.24);
}

.service-tags span:nth-child(2)::after {
  animation-delay: 700ms;
}

.service-tags span:nth-child(3)::after {
  animation-delay: 1400ms;
}

.service-tags span:nth-child(4)::after {
  animation-delay: 2100ms;
}

.service-tags span:nth-child(5)::after {
  animation-delay: 2800ms;
}

.service-tags span:nth-child(6)::after {
  animation-delay: 3500ms;
}

.service-tags span:nth-child(7)::after {
  animation-delay: 4200ms;
}

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

.app-card {
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 122px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(5, 9, 8, 0.45);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  text-align: left;
  box-shadow: var(--shadow);
}

.app-card > div:first-child {
  min-width: 0;
}

.app-card-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  background: #050607;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 680;
}

.panel .app-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.store-links {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 7px;
}

.store-button {
  width: min(100%, 122px);
  display: block;
  border-radius: 999px;
  color: inherit;
  line-height: 0;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.26));
  transition:
    filter 150ms ease,
    transform 150ms ease;
}

.store-button:hover {
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.34));
  transform: translateY(-1px);
}

.store-badge-image {
  display: block;
  width: 100%;
  height: auto;
}

.work-modal-trigger {
  position: relative;
  width: min(100%, 640px);
  min-height: 52px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(25, 214, 207, 0.34);
  border-radius: 999px;
  padding: 10px 14px 10px 18px;
  background:
    linear-gradient(145deg, rgba(25, 214, 207, 0.1), rgba(255, 46, 163, 0.045)),
    rgba(5, 9, 8, 0.58);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  backdrop-filter: blur(18px) saturate(155%);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.23),
    0 0 0 1px rgba(255, 46, 163, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.work-modal-trigger:hover {
  border-color: rgba(255, 46, 163, 0.42);
  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(25, 214, 207, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.work-modal-trigger::after {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(25, 214, 207, 0.32);
  border-radius: 999px;
  background: #050607;
  color: var(--accent);
  content: "+";
  font-size: 20px;
  line-height: 1;
  box-shadow:
    0 0 16px rgba(25, 214, 207, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.work-modal-trigger span:first-child {
  font-size: 16px;
  font-weight: 720;
  line-height: 1.2;
}

.work-modal-trigger span:nth-child(2) {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

.modal-open {
  overflow: hidden;
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 26px;
}

.work-modal[hidden] {
  display: none;
}

.work-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(25, 214, 207, 0.12), transparent 40%),
    rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.work-modal-panel {
  position: relative;
  width: min(780px, 100%);
  max-height: min(760px, calc(100vh - 52px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(4, 8, 7, 0.72);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.work-modal-panel:focus {
  outline: none;
}

.work-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 9, 8, 0.74);
  color: var(--text);
  cursor: pointer;
}

.work-modal-close span,
.work-modal-close span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.work-modal-close span {
  transform: translate(-50%, -50%) rotate(45deg);
}

.work-modal-close span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.work-modal h2 {
  padding-right: 44px;
}

.work-modal p {
  max-width: 620px;
  margin: 12px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  text-align: left;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.work-list span {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(25, 214, 207, 0.2);
  border-radius: 16px;
  padding: 10px 12px;
  background: rgba(5, 9, 8, 0.55);
  color: rgba(246, 248, 247, 0.92);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.work-list span::before {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 12px rgba(25, 214, 207, 0.38);
  content: "";
}

.work-list span:nth-child(3n + 2) {
  border-color: rgba(123, 124, 242, 0.22);
}

.work-list span:nth-child(3n + 2)::before {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
}

.work-list span:nth-child(3n) {
  border-color: rgba(255, 46, 163, 0.2);
}

.work-list span:nth-child(3n)::before {
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-blue));
}

.panel {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  text-align: center;
}

.panel::before {
  position: absolute;
  top: -2px;
  left: 50%;
  width: min(180px, 46%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), var(--accent-warm));
  content: "";
  transform: translateX(-50%);
}

h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 620;
}

.panel p {
  max-width: 560px;
  margin: 9px auto 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

footer {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-page {
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 14px;
  padding: clamp(18px, 3vh, 42px) 0;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1060px, calc(100% - 52px));
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(5, 8, 7, 0.38);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(25, 214, 207, 0.08);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.app-topbar a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(5, 9, 8, 0.52);
  color: var(--text);
  font-size: 13px;
  font-weight: 720;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.app-hero {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}

.app-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  font-weight: 760;
}

.app-hero p:not(.app-eyebrow) {
  max-width: 540px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.app-download-list {
  display: grid;
  gap: 16px;
}

.app-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 24px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 12, 12, 0.68);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-download-card-primary {
  border-color: rgba(25, 214, 207, 0.32);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 46, 163, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-download-info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
}

.app-download-icon {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.11);
}

.app-download-rank {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(25, 214, 207, 0.22);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(25, 214, 207, 0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 780;
}

.app-download-card h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 780;
}

.app-download-card p {
  max-width: 460px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.app-download-actions {
  display: grid;
  justify-items: stretch;
  gap: 10px;
}

.app-download-actions .store-button {
  width: 100%;
  min-height: 58px;
}

.app-download-actions .store-badge-image {
  width: 100%;
}

.buy-page {
  grid-template-rows: auto auto;
  align-content: center;
  row-gap: 14px;
  padding: clamp(18px, 3vh, 42px) 0;
}

.buy-shell {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 52px));
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(5, 8, 7, 0.38);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(25, 214, 207, 0.08);
}

.buy-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}

.buy-topbar a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(5, 9, 8, 0.52);
  color: var(--text);
  font-size: 13px;
  font-weight: 720;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.buy-hero {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.buy-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.buy-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  font-weight: 760;
}

.buy-hero p:not(.buy-eyebrow) {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.pricing-card {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 12, 12, 0.68);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pricing-card-featured {
  border-color: rgba(25, 214, 207, 0.32);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 46, 163, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.pricing-card h2 {
  font-size: 23px;
  font-weight: 760;
}

.pricing-card-header span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(25, 214, 207, 0.22);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(25, 214, 207, 0.1);
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  white-space: nowrap;
}

.pricing-price {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 780;
}

.pricing-price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 680;
}

.pricing-note {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.amount-field {
  margin: 0 0 8px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.amount-input-wrap {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(25, 214, 207, 0.22);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(3, 6, 5, 0.44);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.amount-input-wrap input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 780;
}

.amount-input-wrap input::placeholder {
  color: rgba(246, 248, 247, 0.38);
}

.amount-hint {
  min-height: 18px;
  margin: 0 0 18px;
  color: rgba(165, 175, 170, 0.82);
  font-size: 12px;
  line-height: 1.35;
}

.pricing-card ul {
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
}

.pricing-card li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 800;
}

.pricing-action {
  min-height: 44px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0 18px;
  background: #f6f8f7;
  color: #030605;
  font-size: 14px;
  font-weight: 820;
}

.buy-support {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(25, 214, 207, 0.22);
  border-radius: 18px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(25, 214, 207, 0.09), rgba(255, 46, 163, 0.04)),
    rgba(5, 9, 8, 0.54);
}

.buy-support h2 {
  font-size: 20px;
}

.buy-support p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.buy-support-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.buy-support-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
}

.text-page {
  max-width: 700px;
  padding-top: 84px;
}

.text-page h1 {
  font-size: 44px;
  line-height: 1.08;
  margin-bottom: 28px;
}

.text-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.text-page h2 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.text-page ul {
  margin: 12px 0 22px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.text-page ol {
  margin: 12px 0 22px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.ytube-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 30px;
}

.ytube-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.primary-action {
  background: var(--accent);
  border-color: var(--accent) !important;
  color: #03100f !important;
}

.secondary-action {
  background: transparent;
  color: var(--text) !important;
}

.ytube-panel {
  margin: 30px 0 34px;
  padding: 22px 24px;
  border: 1px solid rgba(29, 33, 30, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.ytube-panel h2 {
  margin-top: 0;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.policy-nav a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-page p a,
.back-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .app-page {
    display: block;
    padding: 14px 0 20px;
  }

  .app-shell {
    width: min(calc(100% - 28px), 480px);
    padding: 16px;
    border-radius: 24px;
  }

  .app-topbar {
    margin-bottom: 20px;
  }

  .app-topbar a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .app-hero {
    margin-bottom: 18px;
  }

  .app-hero h1 {
    font-size: clamp(34px, 13vw, 48px);
  }

  .app-hero p:not(.app-eyebrow) {
    font-size: 14px;
    line-height: 1.45;
  }

  .app-download-list {
    gap: 12px;
  }

  .app-download-card {
    grid-template-columns: 1fr;
    gap: 16px;
    border-radius: 18px;
    padding: 16px;
  }

  .app-download-info {
    align-items: flex-start;
    gap: 12px;
  }

  .app-download-icon {
    width: 66px;
    height: 66px;
    border-radius: 17px;
  }

  .app-download-card h2 {
    font-size: 27px;
  }

  .app-download-card p {
    font-size: 13.5px;
    line-height: 1.38;
  }

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

  .app-download-actions .store-button {
    min-height: 54px;
  }

  .buy-page {
    display: block;
    padding: 14px 0 20px;
  }

  .buy-shell {
    width: min(calc(100% - 28px), 480px);
    padding: 16px;
    border-radius: 24px;
  }

  .buy-topbar {
    margin-bottom: 20px;
  }

  .buy-topbar a {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .buy-hero {
    margin-bottom: 18px;
  }

  .buy-hero h1 {
    font-size: clamp(34px, 13vw, 48px);
  }

  .buy-hero p:not(.buy-eyebrow) {
    font-size: 14px;
    line-height: 1.45;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pricing-card {
    min-height: auto;
    border-radius: 16px;
    padding: 18px;
  }

  .pricing-card h2 {
    font-size: 21px;
  }

  .pricing-price {
    font-size: 25px;
  }

  .pricing-card ul {
    gap: 9px;
    margin-bottom: 20px;
    font-size: 13px;
  }

  .buy-support {
    display: grid;
    gap: 14px;
    border-radius: 16px;
    padding: 16px;
  }

  .buy-support-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body.home-page {
    grid-template-rows: 1fr auto;
    align-content: stretch;
    row-gap: 0;
    padding: 0;
  }

  body::after {
    background:
      radial-gradient(circle at 50% 32%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.38) 72%),
      linear-gradient(to bottom, rgba(3, 6, 5, 0.08), rgba(3, 6, 5, 0.36));
  }

  #matrix-rain {
    opacity: 0.94;
  }

  .audio-toggle {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .profile {
    width: min(calc(100% - 28px), 480px);
    padding: 12px 0 18px;
  }

  .profile::before {
    inset: 8px -4px 8px;
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
      rgba(5, 8, 7, 0.18);
    -webkit-backdrop-filter: blur(12px) saturate(145%);
    backdrop-filter: blur(12px) saturate(145%);
    box-shadow:
      0 24px 70px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(25, 214, 207, 0.06);
  }

  h1 {
    font-size: clamp(28px, 8.3vw, 34px);
  }

  .intro h1 {
    max-width: 100%;
    padding: 7px 13px 9px;
    border-radius: 18px;
  }

  .title {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.25;
  }

  .role-line {
    min-height: 20px;
  }

  .typed-role {
    max-width: 100%;
  }

  .links {
    margin: 14px 0 16px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .app-card {
    min-height: 92px;
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
  }

  .links a,
  .service-tags span {
    min-width: 0;
  }

  .links a {
    position: relative;
    min-height: 42px;
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .links a span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .icon-circle {
    width: 38px;
    height: 38px;
  }

  .icon-circle img {
    width: 36px;
    height: 36px;
  }

  .service-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 10px;
  }

  .service-tags span {
    min-height: 31px;
    width: 100%;
    gap: 6px;
    padding: 4px 8px 4px 5px;
    font-size: 10.5px;
  }

  .service-tags span::before {
    width: 18px;
    height: 18px;
  }

  .panel {
    padding-top: 18px;
  }

  h2 {
    font-size: 21px;
  }

  .panel p {
    margin: 7px auto 10px;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .store-links {
    gap: 5px;
  }

  .store-button {
    width: min(100%, 118px);
  }

  .app-card-heading {
    gap: 7px;
  }

  .app-icon {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }

  h3 {
    font-size: 15px;
  }

  .panel .app-card p {
    margin-top: 4px;
    font-size: 11.5px;
    line-height: 1.25;
  }

  .work-modal-trigger {
    min-height: 44px;
    margin-top: 10px;
    border-radius: 22px;
    padding: 8px 10px 8px 14px;
  }

  .work-modal-trigger span:first-child {
    font-size: 14px;
  }

  .work-modal-trigger span:nth-child(2) {
    font-size: 10px;
  }

  .work-modal {
    padding: 14px;
  }

  .work-modal-panel {
    max-height: calc(100vh - 28px);
    border-radius: 22px;
    padding: 24px 16px 18px;
  }

  .work-modal h2 {
    font-size: 24px;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  .work-list span {
    min-height: 42px;
    font-size: 12px;
  }

  .text-page h1 {
    font-size: 36px;
  }

  footer {
    width: min(calc(100% - 28px), 480px);
    padding-bottom: 28px;
  }
}

@keyframes caretBlink {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0.15;
  }
}

@keyframes tagScan {
  0%,
  28% {
    opacity: 0;
    transform: translateX(-120%);
  }

  38% {
    opacity: 1;
  }

  54% {
    opacity: 0;
    transform: translateX(120%);
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes titleGlassScan {
  0%,
  30% {
    opacity: 0;
    transform: translateX(0) skewX(-12deg);
  }

  42% {
    opacity: 0.72;
  }

  58% {
    opacity: 0;
    transform: translateX(290%) skewX(-12deg);
  }

  100% {
    opacity: 0;
    transform: translateX(290%) skewX(-12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .typing-caret,
  .service-tags span::after,
  .intro h1::after {
    animation: none;
  }
}
