/* ============================================
   Armorstandart Landing — Design System
   ============================================ */

/* --- Tokens --- */
:root {
  --bg: oklch(0.985 0.002 240);
  --surface: oklch(1 0 0);
  --ink: oklch(0.22 0.005 240);
  --ink-muted: oklch(0.5 0.005 240);
  --border: oklch(0.89 0.004 240);
  --accent: oklch(0.28 0.005 240);
  --accent-hover: oklch(0.2 0.005 240);
  --accent-soft: oklch(0.94 0.004 240);
  --accent-mid: oklch(0.7 0.004 240);
  --success: oklch(0.5 0.1 155);
  --danger: oklch(0.5 0.15 25);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: clamp(3rem, 5vw, 4rem);
  --space-2xl: clamp(4rem, 8vw, 8rem);

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-card: 12px;
  --radius-phone: 24px;
  --radius-pill: 999px;

  --z-dropdown: 10;
  --z-header: 20;
  --z-backdrop: 30;
  --z-modal: 40;
  --z-toast: 50;
  --z-tooltip: 60;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    system-ui,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3 {
  text-wrap: balance;
  color: var(--ink);
}

p {
  text-wrap: pretty;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 3vw, 3rem);
  padding-right: clamp(1.25rem, 3vw, 3rem);
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg);
  transition: box-shadow 0.2s var(--ease-out-smooth);
}

.header--scrolled {
  box-shadow: 0 1px 0 var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
  min-width: 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.header__logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.header__logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color 0.25s var(--ease-out-smooth);
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease-out);
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--ink);
}

.header__nav-link:hover::after,
.header__nav-link--active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.25s var(--ease-out),
    opacity 0.2s;
}

/* ============================================
   Language Switcher
   ============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
}

.lang-switcher__select {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 28px 6px 10px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2373727A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  min-height: 36px;
  transition: border-color 0.2s var(--ease-out-smooth);
}

.lang-switcher__select:hover,
.lang-switcher__select:focus-visible {
  border-color: var(--ink-muted);
}

.lang-switcher__select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   Mobile Nav
   ============================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-backdrop);
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0s 0.3s,
    opacity 0.3s var(--ease-out);
}

.mobile-nav--open {
  visibility: visible;
  opacity: 1;
  transition:
    visibility 0s,
    opacity 0.3s var(--ease-out);
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0.22 0.01 240 / 0.54);
}

.mobile-nav__panel {
  position: absolute;
  top: 10px;
  right: 10px;
  width: min(360px, calc(100vw - 20px));
  height: calc(100dvh - 20px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: var(--space-md);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav--open .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.mobile-nav__brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mobile-nav__brand-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mobile-nav__brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-nav__close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  transition: color 0.2s;
}

.mobile-nav__close:hover {
  color: var(--ink);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav__link {
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0.875rem 1rem;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  transition:
    color 0.2s,
    background-color 0.2s var(--ease-out-smooth),
    border-color 0.2s var(--ease-out-smooth);
}

.mobile-nav__link:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: var(--border);
}

.mobile-nav__lang {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--space-sm);
}

.mobile-nav__lang-label {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--ink);
}

.mobile-lang-select {
  position: relative;
}

.mobile-lang-select::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  pointer-events: none;
  background: currentColor;
  color: var(--ink-muted);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.mobile-lang-select__control {
  width: 100%;
  min-height: 52px;
  padding: 0 2.75rem 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    background-color 0.2s var(--ease-out-smooth),
    border-color 0.2s var(--ease-out-smooth),
    color 0.2s var(--ease-out-smooth);
}

.mobile-lang-select__control:hover {
  border-color: var(--accent-mid);
}

.mobile-lang-select__control:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  transition:
    background-color 0.2s var(--ease-out-smooth),
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
  min-height: 48px;
}

.btn--primary {
  background: var(--accent);
  color: var(--surface);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--secondary:hover {
  background: var(--accent-soft);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding-top: calc(var(--space-xl) + 22px);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: 0;
}

.hero__eyebrow {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.01em;
}

.hero__title {
  font-size: clamp(1.875rem, 2.8vw + 0.5rem, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

.hero__text {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 52ch;
  margin-bottom: var(--space-lg);
}

.hero__cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

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

.hero__blob {
  position: absolute;
  width: clamp(180px, 25vw, 340px);
  height: clamp(180px, 25vw, 340px);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    oklch(0.85 0.004 240 / 0.2) 0%,
    oklch(0.7 0.004 240 / 0.08) 60%,
    transparent 80%
  );
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   Phone Mockup
   ============================================ */
.phone-mockup {
  position: relative;
  z-index: 1;
  border: 3px solid var(--ink);
  border-radius: var(--radius-phone);
  overflow: hidden;
  background: var(--surface);
  width: clamp(200px, 16vw, 240px);
  aspect-ratio: 9 / 19.5;
  box-shadow: 0 8px 24px oklch(0.22 0.01 240 / 0.08);
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.phone-mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-mockup--float {
  animation: float 4s ease-in-out infinite;
  transform: rotate(-3deg);
}

.phone-mockup--float-sm {
  animation: float-sm 4s ease-in-out infinite;
  transform: rotate(5deg);
}

.phone-mockup--float-lg {
  animation: float-lg 4s ease-in-out infinite;
}

.phone-mockup:hover {
  animation-play-state: paused;
  transform: scale(1.03) rotate(0deg);
  transition: transform 0.3s var(--ease-out-smooth);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
}

@keyframes float-sm {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }
  50% {
    transform: translateY(-6px) rotate(5deg);
  }
}

@keyframes float-lg {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ============================================
   Metrics
   ============================================ */
.metrics {
  background: var(--accent-soft);
  padding: var(--space-xl) 0;
  width: 100%;
}

.metrics__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.metrics__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  flex: 1;
}

.metrics__number {
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.metrics__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-align: center;
}

.metrics__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================
   Section Base
   ============================================ */
.section {
  padding: var(--space-2xl) 0;
  width: 100%;
}

.section__header {
  max-width: 680px;
  margin-bottom: var(--space-xl);
}

.section__eyebrow {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section__title {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.section__text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 60ch;
}

/* ============================================
   Audiences
   ============================================ */
.audiences__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.25rem, 2vw, 2rem);
  transition:
    border-color 0.25s var(--ease-out-smooth),
    transform 0.25s var(--ease-out-smooth),
    box-shadow 0.25s var(--ease-out-smooth);
}

.audience-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px oklch(0.22 0.01 240 / 0.06);
}

.audience-card--featured {
  grid-column: span 2;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}

.audience-card--featured .audience-card__icon {
  background: oklch(1 0 0 / 0.15);
  color: var(--surface);
}

.audience-card--featured .audience-card__title {
  color: var(--surface);
}

.audience-card--featured .audience-card__text {
  color: oklch(0.82 0.015 240);
}

.audience-card--featured:hover {
  border-color: var(--accent);
  background: var(--accent-hover);
}

.audience-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.audience-card__title {
  font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
}

.audience-card__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ============================================
   Features
   ============================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.25rem, 2vw, 2rem);
  transition:
    border-color 0.25s var(--ease-out-smooth),
    transform 0.25s var(--ease-out-smooth),
    box-shadow 0.25s var(--ease-out-smooth);
}

.feature-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px oklch(0.22 0.01 240 / 0.06);
}

.feature-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.feature-card__title {
  font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-xs);
}

.feature-card__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ============================================
   Screens Showcase
   ============================================ */
.screens__showcase {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-lg);
}

.screens__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.screens__item--side .phone-mockup {
  width: clamp(150px, 14vw, 200px);
}

.screens__item--center .phone-mockup {
  width: clamp(190px, 20vw, 270px);
}

.screens__label {
  text-align: center;
  max-width: 240px;
}

.screens__label-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.screens__label-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ============================================
   Steps
   ============================================ */
.steps__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.steps__item {
  display: flex;
  gap: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xl);
}

.steps__item:last-child {
  padding-bottom: 0;
}

.steps__item::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.steps__item:last-child::before {
  display: none;
}

.steps__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.steps__content {
  padding-top: var(--space-xs);
}

.steps__item-title {
  font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}

.steps__item-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  position: relative;
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  min-width: 0;
}

.faq__intro {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  min-width: 0;
}

.faq__intro .section__title,
.faq__intro .section__text {
  max-width: 520px;
}

.faq__badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.875rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  color: var(--ink);
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 700;
}

.faq__stamp {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm);
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin-top: var(--space-xs);
  padding: var(--space-sm);
  border-radius: var(--radius-card);
  background: var(--accent);
  color: var(--surface);
}

.faq__stamp-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq__stamp-text {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.faq__grid {
  counter-reset: faq-item;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  min-width: 0;
}

.faq-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: var(--space-md);
  padding: clamp(1.25rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
  transition:
    border-color 0.25s var(--ease-out-smooth),
    color 0.25s var(--ease-out-smooth);
}

.faq-card::before {
  content: counter(faq-item, decimal-leading-zero);
  counter-increment: faq-item;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-card:hover {
  border-color: var(--accent-mid);
}

.faq-card:hover::before {
  background: var(--accent);
  color: var(--surface);
}

.faq-card__question {
  grid-column: 2;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--space-xs);
  min-width: 0;
  overflow-wrap: break-word;
}

.faq-card__answer {
  grid-column: 2;
  max-width: 62ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-muted);
  min-width: 0;
  overflow-wrap: break-word;
}

/* ============================================
   Download / QR
   ============================================ */
.download__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 720px;
}

.qr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(1.25rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  transition:
    border-color 0.25s var(--ease-out-smooth),
    transform 0.25s var(--ease-out-smooth);
}

.qr-card:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.qr-card__store {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.125rem;
  font-weight: 700;
}

.qr-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.qr-card__qr {
  padding: var(--space-sm);
  background: var(--bg);
  border-radius: var(--radius-md);
}

.qr-card__hint {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 1.125rem;
  font-weight: 700;
}

.footer__logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.footer__desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  max-width: 40ch;
  line-height: 1.5;
}

.footer__platforms {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--ink);
}

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

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

/* ============================================
   Reveal Animations
   Progressive enhancement: content is visible by default.
   Only when JS adds .js-anim class do we hide it for the reveal.
   ============================================ */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

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

.js-anim .reveal-stagger {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js-anim .reveal-stagger--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Language Transition
   ============================================ */
.i18n-fade {
  transition: opacity 0.15s ease-out;
}

.i18n-fade--out {
  opacity: 0;
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js-anim .reveal,
  .js-anim .reveal-stagger {
    opacity: 1;
    transform: none;
  }

  .phone-mockup--float,
  .phone-mockup--float-sm,
  .phone-mockup--float-lg {
    animation: none;
    transform: none;
  }

  .phone-mockup:hover {
    transform: none;
  }
}

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 1023px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .audience-card--featured {
    grid-column: span 2;
  }

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

  .features__grid .feature-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }

  .screens__item--side .phone-mockup {
    transform: none;
  }

  .screens__item--center .phone-mockup,
  .screens__item--side .phone-mockup {
    width: clamp(160px, 18vw, 220px);
  }

  .faq__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .faq__intro {
    position: static;
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 767px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header__actions > .lang-switcher {
    display: none;
  }

  .hero {
    padding-top: calc(var(--space-lg) + 20px);
    padding-bottom: var(--space-lg);
  }

  .hero__inner {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg);
  }

  .hero__visual {
    order: -1;
    min-height: auto;
    justify-content: center;
  }

  .hero__content,
  .hero__visual {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__text {
    max-width: 100%;
  }

  .phone-mockup {
    width: clamp(180px, 50vw, 240px);
  }

  .phone-mockup--float {
    transform: none;
    animation-name: float-mobile;
  }

  @keyframes float-mobile {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .metrics__inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  .metrics__divider {
    width: 48px;
    height: 1px;
  }

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

  .audience-card--featured {
    grid-column: span 1;
  }

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

  .features__grid .feature-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .screens__showcase {
    flex-direction: column;
    align-items: center;
  }

  .screens__item--side .phone-mockup,
  .screens__item--center .phone-mockup {
    width: clamp(200px, 60vw, 280px);
    transform: none;
  }

  .steps__item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .steps__item::before {
    display: none;
  }

  .faq-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: var(--space-sm);
  }

  .faq-card::before {
    width: 36px;
    height: 36px;
  }

  .faq__stamp {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .faq__stamp-mark {
    width: 44px;
    height: 44px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
  }
}

/* ============================================
   Responsive — Small Mobile
   ============================================ */
@media (max-width: 479px) {
  .header__logo-text {
    display: none;
  }

  .header__logo-img {
    width: 28px;
    height: 28px;
  }

  .header__inner {
    gap: var(--space-xs);
  }
}

@media (max-width: 389px) {
  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .section__title {
    font-size: clamp(1.375rem, 5.5vw, 1.75rem);
  }

  .phone-mockup {
    width: 180px;
  }
}
