/*
Theme Name: XenForo Mobile
Theme URI: https://xenforomobile.app
Author: XenForo Mobile
Author URI: https://xenforomobile.app
Description: Minimal, Apple-style landing page + blog theme for the XenForo Mobile app product. Build-free (no Node/Tailwind step), fast Core Web Vitals, SEO-ready with JSON-LD schema.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xenforomobile
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #e8e8ed;
  --alt: #fafafc;
  --navy: #314666;
  --white: #ffffff;
  --container: 1152px;
  --pad: 24px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Helvetica, Arial, sans-serif;
}

/* ============================================================
   Base reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  display: block;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  width: 100%;
  background: var(--white);
}
.section--alt {
  background: var(--alt);
}
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 160px) var(--pad);
}
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0;
}
.eyebrow--navy {
  color: var(--navy);
}
.h1 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(44px, 7.5vw, 88px);
}
.h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(32px, 4.5vw, 56px);
}
.h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(18px, 2.2vw, 20px);
  color: var(--muted);
}
.body {
  font-size: 18px;
  color: var(--muted);
}
.measure {
  max-width: 42rem;
}
.measure-sm {
  max-width: 28rem;
}
.mt-3 {
  margin-top: 12px;
}
.mt-6 {
  margin-top: 24px;
}

/* ============================================================
   Buttons & links
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
}
.btn:active {
  transform: scale(0.98);
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--navy {
  background: var(--navy);
  color: #fff;
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn:hover {
  opacity: 0.9;
}
.btn--sm {
  height: 32px;
  padding: 0 16px;
  font-size: 13px;
}
.text-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  transition: opacity 0.2s ease;
}
.text-link:hover {
  opacity: 0.7;
}

/* ============================================================
   Navbar
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.nav.is-solid {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 56px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav__brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 13px;
  color: rgba(29, 29, 31, 0.8);
  transition: color 0.2s ease;
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 9999px;
  color: var(--ink);
  cursor: pointer;
}
.nav__toggle:hover {
  background: rgba(29, 29, 31, 0.05);
}
.nav__mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
}
.nav__mobile.is-open {
  display: block;
}
.nav__mobile-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  flex-direction: column;
}
.nav__mobile a {
  padding: 12px 0;
  font-size: 15px;
  color: rgba(29, 29, 31, 0.9);
}
@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  text-align: center;
  padding: clamp(132px, 18vw, 210px) 0 clamp(80px, 10vw, 128px);
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 640px;
  height: 640px;
  max-width: 90vw;
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    closest-side,
    rgba(49, 70, 102, 0.14),
    rgba(49, 70, 102, 0.04) 60%,
    transparent 75%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero .h1 {
  max-width: 56rem;
  margin: 24px auto 0;
}
.hero__lead {
  max-width: 40rem;
  margin: 24px auto 0;
}
.hero__cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.hero__phone {
  margin: clamp(72px, 10vw, 112px) auto 0;
  width: 100%;
  max-width: 360px;
}

/* ============================================================
   Phone mockup
   ============================================================ */
.phone {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19;
  border-radius: 2.75rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
  box-shadow: 0 40px 80px -30px rgba(17, 24, 39, 0.18);
}
.phone__notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 112px;
  height: 24px;
  border-radius: 9999px;
  background: var(--ink);
  z-index: 10;
}
.phone__screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2.25rem;
  background: var(--alt);
}
.phone__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone__label {
  position: absolute;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ============================================================
   Split (alternating media + text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .split--reverse .split__media {
    order: 2;
  }
}

/* ============================================================
   Feature grid
   ============================================================ */
.feature-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--navy);
  background: #eef1f6;
  background: color-mix(in srgb, var(--navy) 9%, #fff);
  border: 1px solid #e4e9f1;
  border: 1px solid color-mix(in srgb, var(--navy) 16%, #fff);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}
.feature:hover .feature__icon {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--navy) 15%, #fff);
}
.feature__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.feature h3 {
  margin-top: 20px;
}
.feature p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   White-label flags (toggle switches)
   ============================================================ */
.flags {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .flags {
    grid-template-columns: repeat(4, 1fr);
  }
}
.flag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: box-shadow 0.2s ease;
}
.flag:hover {
  box-shadow: 0 18px 40px -28px rgba(17, 24, 39, 0.25);
}
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 40px;
  height: 24px;
  flex: none;
  border-radius: 9999px;
  background: var(--navy);
}
.switch::after {
  content: "";
  position: absolute;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   Coming soon / roadmap
   ============================================================ */
.roadmap {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .roadmap {
    grid-template-columns: 1fr 1fr;
  }
  /* If the count is odd, let the last card span the full width so there is
     never an empty gap — no matter how many items you add or remove. */
  .roadmap__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
.roadmap__card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.roadmap__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -42px rgba(17, 24, 39, 0.25);
}
.roadmap__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
  background: #eef1f6;
  background: color-mix(in srgb, var(--navy) 9%, #fff);
  border: 1px solid #e4e9f1;
  border: 1px solid color-mix(in srgb, var(--navy) 16%, #fff);
  padding: 5px 11px;
  border-radius: 9999px;
}
.roadmap__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  animation: xfm-ping 1.8s ease-out infinite;
}
.roadmap__card h3 {
  margin-top: 16px;
}
.roadmap__card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  .roadmap__dot {
    animation: none;
  }
}

/* ============================================================
   Gallery
   ============================================================ */
.gallery__track {
  margin-top: 64px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 var(--pad) 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}
.gallery__track::-webkit-scrollbar {
  display: none;
}
.gallery__item {
  flex: none;
  width: 260px;
  scroll-snap-align: start;
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: center;
}
@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat__n {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(36px, 4vw, 56px);
}
.stat__l {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing {
  margin: 64px auto 0;
  max-width: 56rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}
.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(17, 24, 39, 0.12);
}
.price-card__name {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.price-card__price {
  margin-top: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-size: 56px;
}
.price-card__price span {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}
.price-card__desc {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}
.price-card ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.price-card li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.price-card li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(29, 29, 31, 0.4);
  flex: none;
}
.price-card__cta {
  margin-top: auto;
  padding-top: 40px;
}

/* ============================================================
   FAQ (native details/summary — no JS)
   ============================================================ */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 768px) {
  .faq__grid {
    grid-template-columns: 1fr 1.4fr;
  }
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  color: var(--muted);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
  content: "–";
}
.faq__answer {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   Final CTA & Footer
   ============================================================ */
.cta-final {
  background: #fff;
  text-align: center;
}
.cta-final__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(128px, 16vw, 160px) var(--pad);
}
.cta-final h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(40px, 6vw, 80px);
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--pad);
}
.site-footer__row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .site-footer__row {
    flex-direction: row;
    align-items: center;
  }
}
.site-footer__copy {
  font-size: 13px;
  color: var(--muted);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer__nav a:hover {
  color: var(--ink);
}
.site-footer__legal {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(110, 110, 115, 0.8);
}

/* ============================================================
   Blog
   ============================================================ */
.page-head {
  padding: clamp(120px, 16vw, 180px) 0 0;
  text-align: center;
}
.post-list {
  margin: 64px auto 0;
  max-width: var(--container);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
/* Single column: centered, vertical cards (image on top, then title + text) */
.post-list--cols-1 {
  max-width: 760px;
  gap: 56px;
}
@media (min-width: 768px) {
  .post-list--cols-2 {
    grid-template-columns: 1fr 1fr;
  }
  .post-list--cols-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .post-list--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.post-card {
  display: flex;
  flex-direction: column;
}
.post-card__thumb {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--alt);
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card__thumb img {
  transform: scale(1.03);
}

/* Generated cover (used when a post has no featured image) */
.gen-cover {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 22px;
  color: #fff;
}
.gen-cover__glyph {
  position: absolute;
  right: -14px;
  bottom: -22px;
  width: 132px;
  height: 132px;
  color: #fff;
  opacity: 0.18;
  pointer-events: none;
}
.gen-cover__glyph svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.25;
}
.gen-cover__tag,
.gen-cover__brand {
  position: relative;
  z-index: 1;
}
.gen-cover__tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.92;
}
.gen-cover__brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.single__cover .gen-cover {
  aspect-ratio: 16 / 7;
}
.post-card:hover .gen-cover {
  filter: brightness(1.04);
}
.post-meta {
  margin-top: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.post-card__title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.post-card__excerpt {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

/* Single post */
.single {
  padding-top: clamp(120px, 16vw, 180px);
}
.single__header {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.single__title {
  margin-top: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(34px, 5vw, 56px);
}
.single__cover {
  max-width: var(--container);
  margin: 56px auto 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.prose {
  max-width: 44rem;
  margin: 56px auto 0;
  font-size: 18px;
  line-height: 1.7;
  color: #2b2b2f;
}
.prose > * + * {
  margin-top: 24px;
}
.prose h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 48px;
}
.prose h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 36px;
}
.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose img {
  border-radius: 16px;
}
.prose blockquote {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--line);
  color: var(--muted);
}
.prose code {
  background: var(--alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose li + li {
  margin-top: 8px;
}

.pagination {
  max-width: var(--container);
  margin: 80px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9999px;
  font-size: 14px;
  color: var(--ink);
}
.pagination .page-numbers.current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============================================================
   Reveal-on-scroll animation
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes xfm-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.float {
  animation: xfm-float 6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   Extra effects & polish
   ============================================================ */
.hero__demo {
  margin: 20px auto 0;
  max-width: 32rem;
  font-size: 13px;
  color: var(--muted);
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Store buttons (live-demo links) */
.btn--store {
  gap: 8px;
}
.btn--store .store-ico {
  flex: none;
  margin-top: -1px;
}
.stores {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.stores__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.stores__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.stores__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: xfm-ping 1.8s ease-out infinite;
}
@keyframes xfm-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stores__dot {
    animation: none;
  }
}

/* Button hover lift */
.btn--dark:hover,
.btn--navy:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -14px rgba(17, 24, 39, 0.55);
}
.btn--ghost:hover {
  transform: translateY(-1px);
  border-color: #d6d6dd;
}

/* Card hover lifts */
.feature {
  transition: transform 0.3s ease;
}
.price-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 44px 72px -42px rgba(17, 24, 39, 0.22);
}

/* Gallery phones rise on hover */
.gallery__item .phone {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery__item:hover .phone {
  transform: translateY(-6px);
}

/* Eyebrow accent dash (skipped in the centered hero) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.hero .eyebrow::before {
  display: none;
}

/* Animated hero glow */
@keyframes xfm-pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}
.hero__glow {
  animation: xfm-pulse 9s ease-in-out infinite;
}

/* Tabular figures for animated stats */
.stat__n {
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow {
    animation: none;
  }
  .btn--dark:hover,
  .btn--navy:hover,
  .btn--ghost:hover,
  .price-card:hover,
  .gallery__item:hover .phone,
  .feature:hover .feature__icon {
    transform: none;
  }
}

/* ============================================================
   Tech / trust strip
   ============================================================ */
.techstrip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.techstrip .container {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.techstrip__label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.techstrip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
}
.techstrip__item {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #aab0bb;
  transition: color 0.2s ease;
}
.techstrip__item:hover {
  color: var(--navy);
}

/* ============================================================
   Native vs wrapper comparison
   ============================================================ */
.compare {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr 140px 140px;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.compare__row:first-child {
  border-top: 0;
}
.compare__row--head {
  background: var(--alt);
}
.compare__col {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.compare__col--native {
  color: var(--navy);
}
.compare__aspect {
  font-size: 15px;
  font-weight: 500;
}
.compare__cell {
  display: flex;
  justify-content: center;
}
.cmp-mark {
  display: inline-flex;
}
.cmp-mark svg {
  width: 20px;
  height: 20px;
}
.cmp-mark--yes {
  color: #1f9d57;
}
.cmp-mark--native {
  color: var(--navy);
}
.cmp-mark--no {
  color: #c9ccd2;
}
@media (max-width: 560px) {
  .compare__row {
    grid-template-columns: 1fr 60px 60px;
    padding: 14px 16px;
  }
  .compare__aspect {
    font-size: 14px;
  }
}

/* ============================================================
   Dark spotlight
   ============================================================ */
.spotlight {
  background: var(--navy);
  color: #fff;
}
.spotlight__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 150px) var(--pad);
}
.spotlight .h2 {
  color: #fff;
}
.spotlight__body {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
}
.eyebrow--light {
  color: rgba(255, 255, 255, 0.7);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.5);
}

/* Utility */
.center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
