/* X-Rav download page — доп. стили (база: main.css) */
.page-app .bg-stage {
  position: fixed;
}

.page-app #particle-canvas {
  display: none;
}

.page-app .site-header .logo {
  cursor: pointer;
}

.app-hero {
  padding: clamp(2.5rem, 10vw, 5rem) 0 2rem;
  text-align: center;
}

.app-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.app-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.app-hero h1 .grad {
  background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-hero__lead {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.app-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.app-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.app-hero__meta i {
  color: var(--accent-teal);
}

/* --- Phone mockups (визуализация UI, не рендер эмулятора) --- */
.phones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 2rem;
}

.phone-shell {
  width: min(280px, 100%);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #0c1020 0%, #070814 45%, #05070c 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.phone-shell__cap {
  height: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.phone-shell__body {
  padding: 0 14px 12px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.phone-caption {
  text-align: center;
  margin-top: 1rem;
  max-width: 280px;
}

.phone-caption h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.phone-caption p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.phone-tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--border);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.phone-tabs span.is-active {
  color: var(--accent-teal);
}

.phone-smart {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  text-align: center;
}

.phone-smart__hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 220px;
  margin-bottom: 1.25rem;
}

.phone-smart__orb {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(0, 212, 255, 0.25), transparent 55%),
    linear-gradient(145deg, rgba(0, 212, 255, 0.15), rgba(157, 78, 221, 0.12));
  border: 2px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.phone-smart__orb-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-teal), var(--accent-blue));
  opacity: 0.9;
}

.phone-smart__status {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.phone-list {
  flex: 1;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-row {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.75rem;
}

.phone-row__title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.phone-row__sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.phone-row--accent {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
}

.phone-sub {
  flex: 1;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-field {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 12px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.phone-field label {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.phone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.phone-chip {
  font-size: 0.6rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-teal);
  font-weight: 600;
}

.screens-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 2rem auto 0;
  line-height: 1.55;
}

.download-panel {
  margin: 3rem 0;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(157, 78, 221, 0.08) 100%),
    rgba(20, 26, 38, 0.75);
  border: 1px solid rgba(0, 212, 255, 0.2);
  text-align: center;
}

.download-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 0.65rem;
}

.download-panel > p {
  color: var(--text-secondary);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.download-filename {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: ui-monospace, monospace;
}

.protocol-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.protocol-pills span {
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.steps-app {
  max-width: 640px;
  margin: 0 auto;
}

.app-legal {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 44rem;
  margin: 2.5rem auto 0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(20, 25, 35, 0.35);
}
