/* ===== Variables ===== */
:root {
  --primary: #7B01F7;
  --primary-dark: #5B01BA;
  --primary-hover: #6915DB;
  --primary-light: #C4B5FD;
  --accent-cyan: #94A3B8;
  --accent-cyan-dim: rgba(148, 163, 184, 0.12);
  --accent-muted: #64748B;
  --primary-glow: rgba(123, 1, 247, 0.35);
  --accent-surface: rgba(123, 1, 247, 0.1);
  --accent-surface-hover: rgba(123, 1, 247, 0.16);
  --gradient-hero: linear-gradient(180deg, #050508 0%, #0A0A10 55%, #08080E 100%);
  --bg-deep: #050508;
  --bg-base: #0A0A10;
  --bg-elevated: #111118;
  --bg-surface: #14141C;
  --glass-bg: rgba(16, 16, 24, 0.72);
  --glass-border: rgba(123, 1, 247, 0.18);
  --glass-border-hover: rgba(123, 1, 247, 0.38);
  --success-bg: rgba(34, 211, 238, 0.08);
  --error-bg: rgba(239, 68, 68, 0.08);
  --error-light: rgba(239, 68, 68, 0.15);
  --text: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(148, 163, 184, 0.1);
  --bg-gray: #0E0E14;
  --bg-light: #12121A;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --shadow-purple: 0 8px 32px rgba(123, 1, 247, 0.2);
  --shadow-glow: 0 0 32px rgba(123, 1, 247, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: 1200px;
  --header-height: 76px;
  --transition: 0.25s ease;
  --font-heading: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 12% 8%, rgba(123, 1, 247, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul { list-style: none; }

address { font-style: normal; }

/* ===== Utilities ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.hero__title .text-primary,
.page-hero__title .text-primary,
.section-header h2 .text-primary,
.stats__content h2 .text-primary,
.contact-section__info h3 .text-primary,
.about-section__heading .text-primary {
  color: var(--primary-light);
}

/* ===== Top Bar / Promo ===== */
.top-bar {
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 101;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 0;
}

.promo-bar {
  position: relative;
  width: 100%;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-bar__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  white-space: nowrap;
  padding: 0 8px;
}

.promo-bar__item--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.promo-bar__dot {
  color: var(--primary-light);
  margin-right: 8px;
  font-size: 0.5rem;
}

.promo-bar__item strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 32px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: block;
  opacity: 0.95;
  transition: opacity var(--transition);
}

.logo:hover .logo__img {
  opacity: 1;
}

.logo__img--footer {
  height: 30px;
  opacity: 0.85;
}

.logo--footer:hover .logo__img {
  opacity: 1;
}

.hero__badge-icon {
  width: 18px;
  height: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-switch::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: var(--primary);
  border-radius: 999px;
  transition: transform 0.15s ease;
  box-shadow: 0 2px 8px var(--primary-glow);
  z-index: 0;
}

.lang-switch:has(.lang-switch__btn:last-child.lang-switch__btn--active)::before {
  transform: translateX(100%);
}

.lang-switch__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color var(--transition);
}

.lang-switch__btn:hover {
  color: var(--text-secondary);
}

.lang-switch__btn--active {
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 4px 14px var(--primary-glow);
}

.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 20px var(--primary-glow);
}

.btn--primary:active {
  transform: translateY(0);
  background: var(--primary-dark);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--primary);
  background: rgba(123, 1, 247, 0.08);
  box-shadow: 0 0 20px rgba(123, 1, 247, 0.15);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--glass-border);
  background: rgba(123, 1, 247, 0.1);
}

.btn--white {
  background: var(--white);
  color: var(--bg-deep);
  font-weight: 700;
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero--home {
  min-height: 600px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 64px max(24px, calc((100vw - var(--container)) / 2 + 24px));
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.hero__content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 1, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 1, 247, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
  pointer-events: none;
}

.hero__content > * {
  position: relative;
  z-index: 1;
}

.hero--status .hero__content {
  background: var(--success-bg);
}

.hero--error .hero__content {
  background: var(--error-bg);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: fit-content;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero__title--status {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.hero__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.hero__visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.hero__pixel-edge {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 3px,
    rgba(123, 1, 247, 0.06) 3px,
    rgba(123, 1, 247, 0.06) 4px
  );
  pointer-events: none;
}

.hero__pixel-edge--error {
  background: repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(239, 68, 68, 0.08) 3px, rgba(239, 68, 68, 0.08) 4px);
}

.hero__status-icon {
  font-size: 4rem;
}

.hero--bunlabs .hero__content {
  background: transparent;
}

.hero__visual--terminal {
  padding: 32px 32px 32px 0;
  min-height: 400px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orb-drift 8s ease-in-out infinite;
}

.hero-orb--1 {
  width: 280px;
  height: 280px;
  top: 10%;
  right: 10%;
  background: radial-gradient(circle, rgba(123, 1, 247, 0.45) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 5%;
  background: radial-gradient(circle, rgba(123, 1, 247, 0.2) 0%, transparent 70%);
  animation-delay: -4s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.95); }
}

.hero-terminal {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: rgba(8, 8, 14, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(123, 1, 247, 0.12);
  overflow: hidden;
}

.hero-terminal__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(20, 20, 28, 0.95);
  border-bottom: 1px solid var(--border);
}

.hero-terminal__chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
}

.hero-terminal__chrome span:nth-child(1) { background: #EF4444; }
.hero-terminal__chrome span:nth-child(2) { background: #F59E0B; }
.hero-terminal__chrome span:nth-child(3) { background: #22C55E; }

.hero-terminal__title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-terminal__body {
  padding: 20px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  overflow-x: auto;
}

.hero-terminal__body code {
  font-family: inherit;
}

.tok-keyword { color: #C084FC; }
.tok-name { color: #22D3EE; }
.tok-fn { color: #A78BFA; }
.tok-key { color: #94A3B8; }
.tok-str { color: #86EFAC; }
.tok-comment { color: #64748B; font-style: italic; }

.hero-terminal__cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--primary-light);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-blink 1s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__visual--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  min-height: 320px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  margin: 24px 24px 24px 0;
}

.hero__visual--brand::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(123, 1, 247, 0.25) 0%, transparent 68%);
  pointer-events: none;
}

.hero__visual--brand::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -40px;
  background: radial-gradient(circle, rgba(123, 1, 247, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.hero__brand-block {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 32px;
}

.hero__brand-logo {
  width: min(240px, 70%);
  height: auto;
  margin: 0 auto 16px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.hero__brand-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== Features ===== */
.features {
  padding: 80px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-purple);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.feature-card__icon img {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== Modules Grid ===== */
.modules-section {
  padding: 80px 0;
  background: transparent;
  position: relative;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.module-card {
  padding: 28px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
  border-color: var(--glass-border-hover);
}

.module-card:hover::before {
  opacity: 1;
}

.module-card h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.module-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ===== Products Section ===== */
.products-section {
  padding: 80px 0;
  background: transparent;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.products-groups {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.products-group__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.products-group__title--page {
  font-size: 1.375rem;
  margin-bottom: 24px;
}

.products-section__footer {
  margin-top: 48px;
  text-align: center;
}

.products-section--page {
  padding-top: 16px;
}

.page-hero--projects {
  text-align: center;
  padding: 56px 0 48px;
}

.page-hero--projects .page-hero__desc {
  margin: 0 auto;
  max-width: 760px;
}

.product-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-purple), 0 0 30px rgba(123, 1, 247, 0.15);
}

.product-card__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.product-card__logo {
  display: block;
  max-height: 64px;
  max-width: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.product-card__logo--wide {
  max-height: 48px;
  max-width: min(100%, 240px);
}

.product-card__body {
  padding: 20px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  background: var(--accent-surface);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  margin-bottom: 12px;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.product-card__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.product-card__links--text {
  gap: 10px;
  padding-top: 4px;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: rgba(123, 1, 247, 0.08);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.product-card__link:hover {
  color: var(--primary-light);
  border-color: var(--glass-border-hover);
  background: rgba(123, 1, 247, 0.14);
}

.product-card__link:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.product-card__store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  animation: store-btn-float 3s ease-in-out infinite;
}

.product-card__links .product-card__store-btn:nth-child(1) { animation-delay: 0s; }
.product-card__links .product-card__store-btn:nth-child(2) { animation-delay: 0.4s; }
.product-card__links .product-card__store-btn:nth-child(3) { animation-delay: 0.8s; }

.product-card__store-btn:hover {
  animation: none;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.product-card__store-btn:active {
  transform: translateY(-1px) scale(0.94);
  transition-duration: 0.1s;
}

.product-card__store-btn:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

.product-card__store-btn--web {
  background: #2563EB;
  border: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.product-card__store-btn--web:hover {
  background: #1D4ED8;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  color: #fff;
}

.product-card__store-btn--apple {
  background: #1E1E28;
  color: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-card__store-btn--apple:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.product-card__store-btn--play {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-card__store-btn--play:hover {
  border-color: rgba(123, 1, 247, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.product-card__store-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card__store-btn:hover .product-card__store-svg {
  transform: scale(1.12);
}

.product-card__store-svg--play {
  width: auto;
  height: 22px;
  max-width: 20px;
}

@keyframes store-btn-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.04); }
}

/* ===== Stats ===== */
.stats-section {
  padding: 80px 0;
  background: transparent;
}

.stats__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.stats__content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.stats__content p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  padding: 28px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-purple);
}

.stat-item__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 64px 0;
  position: relative;
  background: var(--bg-base);
}

.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 56px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.cta-banner__text {
  flex: 1;
  min-width: 0;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.cta-banner p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

.cta-banner__btn {
  flex-shrink: 0;
}

/* ===== Page Hero ===== */
.page-hero {
  padding: 72px 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 1, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 1, 247, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero--legal {
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.page-hero--with-image {
  padding: 64px 0;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-hero__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-hero__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.page-hero__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

.page-hero--with-image .page-hero__desc {
  max-width: none;
}

.page-hero--about {
  padding: 64px 0;
}

.page-hero--contact {
  text-align: center;
  padding: 56px 0 48px;
}

.page-hero--contact .page-hero__desc {
  margin: 0 auto;
  max-width: 520px;
}

.contact-hero__eyebrow {
  display: none;
}

.page-hero__image-wrap--brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  min-height: 240px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.page-hero__brand-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* ===== Contact Hub ===== */
.contact-hub {
  padding: 0 0 72px;
  background: var(--bg-base);
}

.contact-hub__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

.contact-hub__header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-hub__header p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-channel {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  min-height: 100%;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-channel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-sm);
}

.contact-channel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 24px 0;
}

.contact-channel__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--primary-light);
}

.contact-channel__svg {
  width: 20px;
  height: 20px;
}

.contact-channel__label {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.contact-channel__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
  padding: 12px 24px 0;
  flex: 1;
}

.contact-channel__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.contact-channel__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-light);
  word-break: break-all;
  transition: color var(--transition);
}

.contact-channel__value:hover {
  color: var(--white);
}

.contact-channel__address {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: normal;
}

.contact-channel__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.contact-channel__btn {
  width: 100%;
  margin-top: 4px;
}

.contact-hub__meta {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 24px;
}

.contact-topics {
  padding: 72px 0 80px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.contact-topics__title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
  color: var(--text);
}

.contact-topics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-topic {
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.contact-topic h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-topic p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ===== Contact Section (legacy) ===== */
.contact-section {
  padding: 80px 0;
  background: var(--bg-base);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-section__info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-section__info > p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
}

.office-info {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
}

.office-info--support {
  margin-bottom: 0;
}

.office-info h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.office-info p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 8px;
}

.office-info__note {
  font-size: 0.875rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
}

.office-info address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.6;
}

.office-info address svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-light);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-cards--inline {
  flex-direction: row;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-purple);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 4px;
}

.contact-card__icon--whatsapp,
.contact-card__icon--mail {
  background: var(--accent-surface);
  border: 1px solid var(--glass-border);
}

.contact-card__label {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.contact-card__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 8px;
}

.contact-card__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-light);
  transition: color var(--transition);
}

.contact-card__value:hover {
  color: var(--white);
}

.contact-form-section {
  padding: 80px 0;
  background: var(--bg-deep);
}

.contact-form-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form-section__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-form-section__text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.contact-form-section__image {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
}

.contact-card__icon img {
  width: 28px;
  height: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123, 1, 247, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===== FAQ ===== */
.page-hero--faq {
  text-align: center;
  padding: 56px 0 48px;
}

.page-hero--faq .page-hero__desc {
  margin: 0 auto;
  max-width: 760px;
}

.faq-section {
  padding: 16px 0 80px;
  background: var(--bg-base);
}

.faq-section__inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  line-height: 1.45;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary-light);
  border-bottom: 2px solid var(--primary-light);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform var(--transition);
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item__answer {
  padding: 0 24px 20px;
}

.faq-item__answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.faq-cta {
  margin-top: 48px;
  padding: 32px;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.faq-cta h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-cta p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 20px;
}

/* ===== Legal Content ===== */
.legal-content {
  padding: 64px 0 80px;
  background: var(--bg-base);
}

.legal-content__inner {
  max-width: 800px;
}

.legal-article {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 48px;
  backdrop-filter: blur(12px);
}

.legal-article h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.legal-notice {
  background: var(--accent-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.legal-notice p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.legal-list {
  margin: 12px 0 20px 20px;
  list-style: disc;
}

.legal-list li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-list a,
.legal-article a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-list a:hover,
.legal-article a:hover {
  color: var(--primary-light);
}

/* ===== About Page ===== */
.about-section {
  padding: 80px 0;
  background: var(--bg-deep);
}

.about-section--company {
  background: var(--bg-base);
}

.about-section--intro {
  padding-bottom: 48px;
}

.about-section__intro {
  max-width: 760px;
}

.about-section__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.about-section__intro p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-section__intro p:last-child {
  margin-bottom: 0;
}

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-section__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.about-block {
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.about-block:hover {
  transform: translateY(-2px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-purple);
}

.about-section__inner {
  max-width: 720px;
}

.about-block h2,
.about-block h3,
.about-company h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.about-block p,
.about-company > p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-company__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-company .office-info {
  margin-top: 20px;
}

/* ===== Support Section ===== */
.support-section {
  padding: 80px 0;
  background: var(--bg-base);
}

.support-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.support-section__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.support-section__text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--primary);
  opacity: 0.2;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding: 64px 24px;
}

.footer__brand p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 16px;
  max-width: 280px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 360px;
  margin-left: auto;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--primary-light);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.footer__bottom a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: var(--primary-light);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--primary-glow);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s ease;
}

.toast--visible {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Trust / Premium / Download ===== */
.trust-section {
  padding: 48px 0;
  background: var(--bg-base);
}

.trust-section--compact {
  padding: 32px 0;
}

.trust-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 8px 24px;
  margin-bottom: 24px;
}

.trust-box__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.trust-box__item:last-child {
  border-bottom: none;
}

.trust-box__emoji {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-box__item strong {
  color: var(--text);
}

.value-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--accent-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.value-highlight__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-highlight p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.value-highlight strong {
  color: var(--primary-light);
}

.premium-section {
  padding: 64px 0;
  background: var(--bg-deep);
}

.premium-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 8px 0;
  box-shadow: var(--shadow-sm);
}

.premium-list__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.premium-list__item:last-child {
  border-bottom: none;
}

.premium-list__check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--primary-light);
  background: var(--accent-surface);
  border-radius: 50%;
  padding: 3px;
}

.download-top {
  padding: 56px 0 64px;
  background: var(--gradient-hero);
}

.download-top__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.download-top__header .download-hero__icon {
  margin: 0 auto 20px;
}

.download-top__header .download-hero__desc {
  margin-bottom: 0;
}

.download-top__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.download-top__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
}

.download-top__panel .trust-box {
  margin-bottom: 0;
  flex: 1;
}

.download-top__advantages {
  display: flex;
  flex-direction: column;
}

.download-top__advantages .vizite-advantages {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.download-top__advantages .premium-list {
  flex: 1;
}

.vizite-advantages {
  width: 100%;
}

.vizite-advantages__title {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.vizite-advantages__desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.vizite-advantages .premium-list {
  max-width: none;
  margin: 0;
}

.download-cta-bottom__inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.download-hero__icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.download-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.download-hero__desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.download-cta-bottom {
  padding: 56px 0 72px;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
}

.download-cta-bottom h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.download-cta-bottom p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.download-minimal__buttons,
.download-cta-bottom__inner .download-minimal__buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.store-badge {
  display: inline-block;
  transition: transform var(--transition), opacity var(--transition);
}

.store-badge:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.store-badge img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  min-width: 200px;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--glass-border-hover);
}

.store-btn--google {
  background: var(--white);
  color: var(--bg-deep);
  border: 2px solid var(--border);
}

.store-btn--google:hover {
  background: #F1F5F9;
}

.store-btn--lg {
  min-width: 240px;
  padding: 16px 24px;
}

.store-btn__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn--lg .store-btn__icon {
  width: 32px;
  height: 32px;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn__text small {
  font-size: 0.6875rem;
  font-weight: 500;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.store-btn__text strong {
  font-size: 1rem;
  font-weight: 700;
}

.store-btn--lg .store-btn__text strong {
  font-size: 1.0625rem;
}

/* ===== Nav Mobile CTA ===== */
.nav > .nav__mobile-cta {
  display: none;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--fade {
  transform: none;
}

.reveal--left {
  transform: translateX(-20px);
}

.reveal--left.is-visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.98);
}

.reveal--scale.is-visible {
  transform: scale(1);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .product-card__store-btn {
    animation: none;
  }

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

  .product-card__store-btn:hover .product-card__store-svg {
    transform: none;
  }

  .hero-orb {
    animation: none;
  }

  .hero-terminal__cursor {
    animation: none;
  }
}

/* ===== Responsive: 1024px ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 48px 24px;
  }

  .hero__visual--terminal {
    padding: 0 24px 32px;
    min-height: auto;
  }

  .hero__pixel-edge {
    display: none;
  }

  .hero__image {
    min-height: 280px;
    max-height: 360px;
  }

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

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

  .stats__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-section__inner,
  .contact-form-section__inner,
  .support-section__inner,
  .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-cards--inline {
    flex-direction: column;
  }

  .download-top__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-section__grid,
  .about-section__grid--3 {
    grid-template-columns: 1fr;
  }

  .contact-channels,
  .contact-topics__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__links {
    max-width: none;
    margin-left: 0;
    width: 100%;
    gap: 32px;
  }

  .cta-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 36px 32px;
    gap: 24px;
  }

  .cta-banner p {
    max-width: none;
    margin-inline: auto;
  }

  .cta-banner__btn {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
}

/* ===== Responsive: 1025px+ grids ===== */
@media (min-width: 1025px) {
  .modules-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .modules-grid--5,
  .modules-grid--6 {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

/* ===== Responsive: 768px ===== */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 16px;
  }

  .top-bar__inner {
    min-height: 36px;
    padding: 6px 0;
  }

  .promo-bar__item {
    font-size: 0.6875rem;
    line-height: 1.4;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 6px;
    padding: 0 6px;
  }

  .promo-bar__dot {
    margin-right: 4px;
  }

  .logo__img,
  .logo__img--footer {
    height: 28px;
    padding: 0;
  }

  .header__inner {
    gap: 12px;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 16, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

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

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav__link:last-of-type {
    border-bottom: none;
  }

  .nav > .nav__mobile-cta {
    display: inline-flex;
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .header__actions .btn--outline {
    display: none;
  }

  .hero--home {
    min-height: auto;
  }

  .hero--bunlabs .hero__visual--brand {
    display: none;
  }

  .hero__content {
    order: 0;
    padding: 32px max(20px, env(safe-area-inset-left)) 24px max(20px, env(safe-area-inset-right));
    text-align: center;
    align-items: center;
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__desc {
    max-width: none;
    font-size: 1rem;
    margin-bottom: 24px;
    padding-inline: 4px;
  }

  .hero__title {
    font-size: clamp(1.625rem, 7vw, 2rem);
    padding-inline: 2px;
  }

  .hero__actions {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    padding-inline: 4px;
    justify-content: center;
  }

  .hero__visual--terminal {
    order: 1;
    padding: 0 max(20px, env(safe-area-inset-left)) 40px max(20px, env(safe-area-inset-right));
    min-height: auto;
  }

  .hero-terminal {
    max-width: 100%;
    transform: none;
    transform-origin: top center;
  }

  .hero-terminal__body {
    font-size: 0.75rem;
    padding: 16px;
  }

  .hero-orb--1 {
    width: 180px;
    height: 180px;
  }

  .hero-orb--2 {
    width: 140px;
    height: 140px;
  }

  .section-header {
    text-align: center;
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.375rem;
  }

  .modules-section,
  .products-section,
  .products-section--page,
  .stats-section,
  .about-section,
  .contact-section,
  .contact-hub,
  .contact-topics,
  .faq-section,
  .page-hero {
    padding: 40px 0;
  }

  .contact-hub {
    padding-bottom: 48px;
  }

  .contact-channel {
    padding: 0;
  }

  .contact-channel__head {
    padding: 20px 20px 0;
  }

  .contact-channel__desc {
    padding: 12px 20px 0;
  }

  .contact-channel__footer {
    padding: 16px 20px 20px;
  }

  .contact-hub__header {
    margin-bottom: 28px;
  }

  .contact-topics__title {
    margin-bottom: 24px;
  }

  .faq-item__question {
    padding: 18px 20px;
    font-size: 0.9375rem;
  }

  .faq-item__answer {
    padding: 0 20px 18px;
  }

  .faq-cta {
    margin-top: 36px;
    padding: 24px 22px;
  }

  .products-grid,
  .products-grid--3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .products-groups {
    gap: 36px;
  }

  .products-section__footer {
    margin-top: 36px;
  }

  .module-card,
  .product-card__body {
    padding: 20px;
  }

  .product-card__brand {
    min-height: 88px;
    padding: 20px;
  }

  .product-card__logo {
    max-height: 56px;
    max-width: 120px;
  }

  .product-card__logo--wide {
    max-height: 40px;
  }

  .footer__inner {
    padding: 40px max(20px, env(safe-area-inset-left)) 32px max(20px, env(safe-area-inset-right));
    gap: 28px;
  }

  .footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    max-width: none;
    margin-left: 0;
    width: 100%;
  }

  .footer__brand p {
    max-width: none;
  }

  .footer__bottom .container {
    padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
  }

  .page-hero__title {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  .page-hero__desc {
    font-size: 1rem;
  }

  .page-hero--with-image .page-hero__grid {
    gap: 24px;
  }

  .page-hero__image-wrap--brand {
    min-height: 180px;
    padding: 24px 16px;
  }

  .contact-section__inner {
    gap: 28px;
  }

  .contact-cards {
    gap: 16px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-channel:hover,
  .contact-topic:hover {
    transform: none;
  }

  .about-company__actions {
    flex-direction: column;
  }

  .about-company__actions .btn {
    width: 100%;
  }

  .cta-banner {
    padding: 40px 0;
  }

  .cta-banner .container {
    padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
  }

  .cta-banner__inner {
    padding: 28px 24px;
    gap: 20px;
  }

  .cta-banner h2 {
    font-size: 1.375rem;
    line-height: 1.25;
  }

  .cta-banner p {
    font-size: 0.9375rem;
  }

  .cta-banner__btn {
    max-width: none;
    width: 100%;
  }

  .legal-content {
    padding: 40px 0 48px;
  }

  .legal-article {
    padding: 28px 24px;
  }

  .legal-article h2 {
    font-size: 1.125rem;
  }

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

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

  /* —— Mobile polish —— */
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .header,
  .top-bar {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  .btn {
    min-height: 44px;
  }

  .lang-switch__btn {
    min-width: 42px;
    min-height: 36px;
  }

  .nav {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-hero--about .page-hero__image-wrap--brand {
    display: none;
  }

  .page-hero--about .page-hero__content,
  .page-hero--with-image .page-hero__content {
    text-align: center;
  }

  .page-hero--about .page-hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .about-section__heading {
    font-size: 1.375rem;
    margin-bottom: 16px;
  }

  .about-section__intro p {
    font-size: 1rem;
  }

  .about-block {
    padding: 24px 20px;
  }

  .about-section--intro {
    padding-bottom: 32px;
  }

  .about-section--intro .about-section__heading {
    text-align: center;
  }

  .product-card__links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .product-card__store-btn {
    animation: none;
    min-width: 44px;
    min-height: 44px;
  }

  .hero-orb {
    animation: none;
  }

  .module-card:hover,
  .about-block:hover,
  .stat-item:hover,
  .contact-card:hover,
  .feature-card:hover,
  .product-card:hover {
    transform: none;
  }

  .stat-item__value {
    font-size: 1.625rem;
  }

  .footer__bottom {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    text-align: center;
  }
}

/* ===== Responsive: 480px ===== */
@media (max-width: 480px) {
  .hero__content {
    padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right));
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual--terminal {
    padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right));
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom p {
    line-height: 1.5;
  }

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

  .stat-item {
    padding: 20px 16px;
  }

  .stat-item__value {
    font-size: 1.5rem;
  }

  .hero-terminal {
    transform: none;
    max-width: 100%;
  }

  .hero-terminal__body {
    font-size: 0.6875rem;
    padding: 14px;
    overflow-x: auto;
  }

  .hero__visual--terminal {
    padding-bottom: 32px;
  }

  .page-hero {
    padding: 32px 0;
  }

  .page-hero__title {
    font-size: clamp(1.375rem, 6vw, 1.75rem);
  }

  .product-card__links {
    justify-content: center;
  }

  .product-card__body p {
    font-size: 0.875rem;
  }

  .about-block h3 {
    font-size: 1.125rem;
  }

  .section-header p {
    font-size: 0.9375rem;
  }

  .promo-bar {
    min-height: 32px;
  }

  .container {
    padding: 0 14px;
  }

  .footer__inner {
    padding: 40px max(22px, env(safe-area-inset-left)) 32px max(22px, env(safe-area-inset-right));
  }

  .footer__bottom .container {
    padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right));
  }

  .cta-banner .container {
    padding-inline: max(22px, env(safe-area-inset-left)) max(22px, env(safe-area-inset-right));
  }

  .cta-banner__inner {
    padding: 24px 22px;
  }

  .cta-banner h2 {
    font-size: 1.25rem;
  }
}
