:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --focus: rgba(59, 130, 246, 0.35);
  /* Same horizontal inset for header, hero, sections, footer */
  --page-pad: 16px;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}
html, body { height: 100%; }
main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 700px at 10% -10%, rgba(99, 102, 241, 0.12), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(14, 165, 233, 0.12), transparent 55%),
    /* Seamless horizontal ambience (repeat-x without visible seams) */
    linear-gradient(
      90deg,
      rgba(99, 102, 241, 0.00) 0%,
      rgba(99, 102, 241, 0.06) 28%,
      rgba(99, 102, 241, 0.00) 56%,
      rgba(14, 165, 233, 0.05) 78%,
      rgba(14, 165, 233, 0.00) 100%
    ),
    linear-gradient(
      90deg,
      rgba(14, 165, 233, 0.00) 0%,
      rgba(14, 165, 233, 0.05) 22%,
      rgba(14, 165, 233, 0.00) 50%,
      rgba(99, 102, 241, 0.05) 74%,
      rgba(99, 102, 241, 0.00) 100%
    );
  background-repeat: no-repeat, no-repeat, repeat-x, repeat-x;
  background-size: auto, auto, 720px 100%, 980px 100%;
  background-position: 0 0, 0 0, 0 0, 240px 0;
  animation: bg-drift 18s linear infinite;
}

@keyframes bg-drift {
  from { background-position: 0 0, 0 0, 0 0, 240px 0; }
  to { background-position: 0 0, 0 0, 720px 0, calc(240px + 980px) 0; }
}

/* Content column: same width for hero, sections, footer. Header bar is full-bleed; nav uses this. */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(var(--page-pad), env(safe-area-inset-left));
  padding-right: max(var(--page-pad), env(safe-area-inset-right));
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  backdrop-filter: blur(10px);
  background: rgba(246, 247, 251, 0.75);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text);
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
  max-width: 100%;
}

.brand-text {
  line-height: 1.05;
  font-size: 18px;
}

.brand-subtext {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.25px;
  color: rgba(15, 23, 42, 0.55);
  margin-top: 4px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.nav {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

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

.hero {
  padding: 56px 0 28px;
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Must not set max-width: 100% here — it overrides .container and stretches hero to full viewport. */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: stretch;
  min-height: 240px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: visible;
}

.hero-inner > * {
  min-width: 0;
}

.hero-text {
  max-width: 100%;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero-text p {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(14, 165, 233, 0.95));
  color: white;
}

.btn:hover { transform: translateY(-1px); transition: transform 160ms ease; }

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

.logo-mark {
  width: 160px;
  height: 160px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: white;
  background: radial-gradient(120px 100px at 20% 20%, rgba(255,255,255,0.35), transparent 60%),
    linear-gradient(135deg, rgba(17, 94, 233, 0.95), rgba(124, 58, 237, 0.95));
  box-shadow: var(--shadow);
}

.section { padding: 40px 0; }
.section.alt { background: rgba(255, 255, 255, 0.40); border-top: 1px solid rgba(15, 23, 42, 0.04); border-bottom: 1px solid rgba(15, 23, 42, 0.04); }

.about-band {
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.75);
}

.about-band-inner {
  padding: 28px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.about-band-copy {
  display: grid;
  gap: 6px;
}

.about-band-media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: stretch;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  line-height: 0;
}

.about-band-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  vertical-align: top;
}

.about-band-kicker {
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.62);
}

.about-band-title {
  font-weight: 950;
  letter-spacing: -0.2px;
  font-size: 18px;
  color: rgba(15, 23, 42, 0.92);
}

.about-band-text {
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.75;
  font-size: 14px;
}

.about-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  margin-bottom: 12px;
}

.about-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

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

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head p {
  margin: 0;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card--more {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-inner {
  height: auto;
  min-height: 0;
  display: grid;
  place-items: center;
}

.more-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}


.more-plus {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.85);
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.more-title {
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(15, 23, 42, 0.92);
}

.more-sub {
  font-size: 13px;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

.product-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.product-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

.product-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.product-cta {
  flex: 0 0 auto;
  margin-left: auto;
}

.product-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  aspect-ratio: 1 / 1;
  color: white;
  font-weight: 900;
  background:
    radial-gradient(16px 12px at 25% 20%, rgba(255,255,255,0.45), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 90%, #fff 10%), var(--accent));
}

.product-icon--text {
  /* Keep the original gradient badge background for text fallback */
}

.product-icon--img {
  background: transparent;
  border: none;
  padding: 0;
  overflow: hidden;
}

.product-icon--img .product-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

/* Fallback for environments that do not support `color-mix`. */
@supports not (background: color-mix(in srgb, red 50%, blue 50%)) {
  .product-icon {
    background:
      radial-gradient(16px 12px at 25% 20%, rgba(255,255,255,0.45), transparent 60%),
      linear-gradient(135deg, var(--accent), rgba(0,0,0,0.15));
  }

  /* Keep image badges clean even when we fall back from `color-mix`. */
  .product-icon--img {
    background: transparent;
  }
}

.product-icon--img {
  background: transparent;
}

.product-name {
  font-weight: 850;
  line-height: 1.2;
}

.product-tag { margin-top: 6px; font-size: 13px; line-height: 1.4; }

/* product-bottom removed (CTA moved to the right of text) */

.package {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 65%;
}

.pill {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(15, 23, 42, 0.9);
}

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

.info-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.info-card h3 { margin: 0 0 8px; font-size: 16px; }
.info-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: start;
}

.contact-card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-card h3 { margin: 0 0 10px; }

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.label {
  font-weight: 800;
  color: rgba(15, 23, 42, 0.75);
  min-width: 46px;
}

.contact-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 800;
}
.contact-link:hover { text-decoration: underline; }

.site-footer {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  z-index: 9998;
  padding: 24px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(246, 247, 251, 0.65);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

.footer-inner > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-muted { color: var(--muted); font-weight: 600; }

.lang-switcher {
  position: relative;
  flex-shrink: 0;
  z-index: 9999;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.78);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lang-switcher-btn:hover {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 2px 0 rgba(99, 102, 241, 0.12);
}

.lang-switcher-btn:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.45);
  outline-offset: 2px;
}

.lang-switcher-label {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.45);
}

.lang-switcher-current {
  color: rgba(15, 23, 42, 0.88);
}

.lang-switcher-panel {
  position: fixed;
  left: 0;
  top: 0;
  min-width: 220px;
  max-height: min(52vh, 380px);
  overflow-y: auto;
  padding: 6px 0;
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.35);
  z-index: 10000;
}

.lang-switcher-panel[hidden] {
  display: none !important;
}

.lang-switcher-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: #f1f5f9;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.35;
}

.lang-switcher-option:hover {
  background: rgba(255, 255, 255, 0.07);
}

.lang-switcher-option[aria-selected="true"] {
  background: rgba(99, 102, 241, 0.28);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .about-inner { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { grid-template-columns: 1fr; }
  .about-band-inner { grid-template-columns: 1fr; }
  .about-band-media {
    max-width: 100%;
    justify-self: stretch;
  }
}

.hero-media {
  display: grid;
  place-items: center;
  justify-self: stretch;
  align-self: stretch;
  min-height: 260px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 8px 4px;
  box-sizing: border-box;
}

.hero-brand-motion {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  user-select: none;
  overflow: visible;
}

.hero-dev-scene {
  --hero-beat: 3s;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 280px;
  margin: 0;
  overflow: visible;
  box-sizing: border-box;
}

.hero-ai-nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-ai-node {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), #6366f1 62%);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.22), 0 0 8px rgba(99, 102, 241, 0.28);
  animation: hero-ai-node-breathe 2.2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation-delay: calc(var(--p) * 0.35s);
}

.hero-ai-nodes .hero-ai-node:nth-child(2),
.hero-ai-nodes .hero-ai-node:nth-child(4) {
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), #f43f5e 62%);
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.22), 0 0 8px rgba(244, 63, 94, 0.26);
  animation-name: hero-ai-node-breathe-rose;
}

.hero-ai-nodes .hero-ai-node:nth-child(1) {
  top: 12%;
  left: 16%;
}
.hero-ai-nodes .hero-ai-node:nth-child(2) {
  top: 22%;
  right: 12%;
}
.hero-ai-nodes .hero-ai-node:nth-child(3) {
  bottom: 38%;
  left: 8%;
}
.hero-ai-nodes .hero-ai-node:nth-child(4) {
  bottom: 30%;
  right: 10%;
}
@keyframes hero-ai-node-breathe {
  0%,
  100% {
    transform: scale(0.78);
    opacity: 0.42;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2), 0 0 5px rgba(99, 102, 241, 0.2);
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.32), 0 0 16px rgba(99, 102, 241, 0.48);
  }
}

@keyframes hero-ai-node-breathe-rose {
  0%,
  100% {
    transform: scale(0.78);
    opacity: 0.42;
    box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.2), 0 0 5px rgba(244, 63, 94, 0.22);
  }
  50% {
    transform: scale(1.14);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.3), 0 0 16px rgba(244, 63, 94, 0.45);
  }
}

.hero-dev-glyph {
  position: absolute;
  z-index: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(71, 85, 105, 0.58);
  text-shadow: none;
  pointer-events: none;
  animation: hero-dev-glyph-flash 1.35s steps(1, end) infinite;
  animation-delay: calc(var(--n) * 0.12s);
}

.hero-dev-glyph--a { --n: 0; top: 6%; left: 2%; }
.hero-dev-glyph--b { --n: 1; top: 8%; right: 4%; }
.hero-dev-glyph--c { --n: 2; bottom: 22%; left: 6%; }
.hero-dev-glyph--d { --n: 3; bottom: 28%; right: 2%; }
.hero-dev-glyph--f {
  --n: 5;
  top: 34%;
  left: 2%;
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 0;
  color: rgba(99, 102, 241, 0.42);
}
.hero-dev-glyph--g {
  --n: 6;
  top: 34%;
  right: 4%;
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 0;
  color: rgba(99, 102, 241, 0.42);
}
.hero-dev-glyph--h {
  --n: 7;
  bottom: 8%;
  left: 10%;
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.2em;
  color: rgba(51, 65, 85, 0.42);
}
.hero-dev-glyph--i {
  --n: 8;
  bottom: 16%;
  right: 8%;
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(79, 70, 229, 0.38);
}
.hero-dev-glyph--e {
  --n: 4;
  top: 0;
  left: 50%;
  color: rgba(51, 65, 85, 0.48);
  animation: hero-dev-glyph-center-flash 1.35s steps(1, end) infinite;
  animation-delay: calc(var(--n) * 0.12s);
}

@keyframes hero-dev-glyph-flash {
  0%,
  74% {
    opacity: 0.24;
    transform: translateY(0) scale(1);
    filter: brightness(0.92);
    text-shadow: none;
  }
  75%,
  100% {
    opacity: 1;
    transform: translateY(-8px) scale(1.08);
    filter: brightness(1.18);
    text-shadow: 0 0 18px rgba(99, 102, 241, 0.55);
  }
}

@keyframes hero-dev-glyph-center-flash {
  0%,
  74% {
    opacity: 0.22;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: brightness(0.92);
    text-shadow: none;
  }
  75%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px) scale(1.08);
    filter: brightness(1.16);
    text-shadow: 0 0 18px rgba(99, 102, 241, 0.5);
  }
}

.hero-dev-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 44px 10px 4px;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-brand-ume {
  margin: 0;
  line-height: 1;
  max-width: 100%;
}

.hero-ume-shimmer {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(48px, 7.8vw, 84px);
  font-weight: 950;
  letter-spacing: 0.06em;
  background: linear-gradient(
    110deg,
    #6366f1 0%,
    #0ea5e9 25%,
    #6366f1 50%,
    #0ea5e9 75%,
    #6366f1 100%
  );
  background-size: 340% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hero-ume-flow 8s linear infinite;
  filter: drop-shadow(0 12px 34px rgba(99, 102, 241, 0.38))
    drop-shadow(0 0 48px rgba(14, 165, 233, 0.22));
}

@keyframes hero-ume-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero-brand-dev {
  margin: 0;
  font-size: clamp(16px, 1.95vw, 22px);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: rgba(15, 23, 42, 0.45);
  animation: hero-dev-line-idle 3.6s ease-in-out infinite;
}

@keyframes hero-dev-line-idle {
  0%,
  100% {
    color: rgba(15, 23, 42, 0.4);
    text-shadow: none;
  }
  50% {
    color: rgba(15, 23, 42, 0.62);
    text-shadow: 0 0 24px rgba(99, 102, 241, 0.12);
  }
}

.hero-dev-cli {
  margin: 6px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(14, 165, 233, 0.72);
}

.hero-dev-prompt {
  margin-right: 8px;
  color: rgba(225, 29, 72, 0.72);
}

.hero-dev-typed {
  margin-right: 2px;
  color: rgba(15, 23, 42, 0.5);
}

.hero-dev-cursor {
  display: inline-block;
  color: rgba(99, 102, 241, 0.85);
  animation: hero-dev-blink 0.72s steps(1, end) infinite;
}

.hero-dev-subcli {
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  max-width: min(26em, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: 0 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(71, 85, 105, 0.88);
  line-height: 1.45;
  text-wrap: balance;
}

.hero-dev-subcli-line {
  display: block;
  width: 100%;
  text-align: center;
}

.hero-dev-subcli-line:first-child::before {
  content: "// ";
  color: rgba(15, 23, 42, 0.22);
  font-weight: 600;
  letter-spacing: 0;
  user-select: none;
}

.hero-dev-build-line {
  color: rgba(51, 65, 85, 0.92);
  font-weight: 600;
}

.hero-dev-subnote {
  font-weight: 500;
  color: rgba(100, 116, 139, 0.82);
  letter-spacing: 0.02em;
}

.hero-dev-prompt-note {
  font-weight: 500;
  color: rgba(190, 24, 93, 0.48);
  letter-spacing: 0.02em;
}

@keyframes hero-dev-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .lang-switcher {
    align-self: flex-end;
  }
}

@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .package { max-width: 60%; }
  .why-inner { grid-template-columns: 1fr; }
  .product-cta { margin-left: 0; }
}

.why-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .product-card:hover { transform: none; transition: none; }
  body { animation: none; }
  .hero-ume-shimmer,
  .hero-brand-dev,
  .hero-dev-glyph,
  .hero-dev-cursor,
  .hero-ai-node {
    animation: none;
  }
  .hero-ume-shimmer {
    background: none;
    color: var(--text);
    -webkit-text-fill-color: currentColor;
    filter: none;
    transform: none;
  }
  .hero-brand-dev {
    text-shadow: none;
  }
  .hero-ai-node {
    opacity: 0.55;
    transform: none;
  }
}

