/* ==========================================================================
   page-extras.css
   Extracted from the inline <style> block that used to live in index.html
   <head>. Contains: step-visual icon cards, languages grid, ambient bg-glow
   helpers, and the extra Play Store CTA spacing helpers. Self-contained —
   does not depend on variables.css, same as it was inline.
   ========================================================================== */

/* Lightweight step-icon visuals for guided steps that don't have a device
   screenshot yet. */
.step-visual {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 28px;
  background: linear-gradient(160deg, #16264a 0%, #0a1224 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  box-shadow: 0 18px 40px -12px rgba(10, 18, 36, 0.35);
}
.step-visual svg { width: 52px; height: 52px; color: #d4af37; }
.step-visual span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cdd6e8;
  text-align: center;
}

/* Languages section — self-contained so it doesn't depend on sections.css */
.lang-section {
  padding: 88px 0;
  background: #faf6ee;
}
.lang-section .section-head { margin-bottom: 44px; }
.lang-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.lang-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(22, 38, 74, 0.10);
  border-radius: 14px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: #16264a;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.lang-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px -12px rgba(22, 38, 74, 0.22);
  border-color: #d4af37;
}
.lang-chip__flag {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.lang-chip__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .lang-section { padding: 64px 0; }
  .lang-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
}

/* Ambient background touch — adds a soft glow + faint dot texture on top of
   whatever background-color each section already has. Does not override
   colours, only layers a subtle image behind the content. */
.bg-glow-a, .bg-glow-b {
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 22px 22px;
}
.bg-glow-a {
  background-image:
    radial-gradient(circle at 8% 8%, rgba(212,175,55,0.07), transparent 42%),
    radial-gradient(circle at 95% 92%, rgba(22,38,74,0.05), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1' fill='%2316264a' fill-opacity='0.05'/%3E%3C/svg%3E");
}
.bg-glow-b {
  background-image:
    radial-gradient(circle at 92% 10%, rgba(22,38,74,0.06), transparent 42%),
    radial-gradient(circle at 6% 94%, rgba(212,175,55,0.06), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1' fill='%2316264a' fill-opacity='0.05'/%3E%3C/svg%3E");
}

/* Spacing helper for the extra Google Play badges added throughout the page */
.section-playcta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}
.section-playcta--inline {
  justify-content: flex-start;
  margin-top: 24px;
}
