/*
 * Ariya brand refinements for the landing/front pages.
 * The primary gold (#b0893a) is applied through the SCSS theme; this file only
 * layers a few luxury touches on top and can be extended as the brand evolves.
 */

:root {
  --ariya-gold: #b0893a;
  --ariya-gold-light: #d4b36a;
  --ariya-gold-dark: #8f6e2c;
  --ariya-charcoal: #221f1c;
  --ariya-bone: #f3eee6;
}

/* Warm, subtle gradient behind the hero to echo the brand's luxury feel */
.landing-hero {
  background-image: linear-gradient(180deg, rgba(176, 137, 58, 0.06) 0%, rgba(176, 137, 58, 0) 60%);
}

/* Big product name in the hero; underline comes from the shared
   .section-title brush icon (like the other section headings). */
.hero-brand {
  color: var(--ariya-gold);
  line-height: 1.4;
}
.hero-brand .section-title {
  padding-bottom: 0.5rem;
}

/* Gold gradient sweep on primary call-to-action buttons */
.landing-navbar .btn-primary,
.landing-hero-btn .btn-primary,
.landing-cta .btn-primary {
  background-image: linear-gradient(135deg, var(--ariya-gold-light) 0%, var(--ariya-gold) 48%, var(--ariya-gold-dark) 100%);
  border-color: var(--ariya-gold-dark);
}

/* Slightly stronger emphasis for the active/featured pricing card border */
.landing-pricing .card.border-primary,
.pricing-plans .card.border-primary {
  box-shadow: 0 12px 32px -8px rgba(176, 137, 58, 0.18);
}

.pricing-plans .card.border-primary {
  background-color: rgba(176, 137, 58, 0.08);
}

.dark-style .pricing-plans .card.border-primary {
  background-color: rgba(176, 137, 58, 0.14);
}

.ariya-price-was {
  color: var(--ariya-charcoal);
  opacity: 0.55;
}

.dark-style .ariya-price-was {
  color: #d8d2c8;
  opacity: 0.7;
}

/* Wide comparison tables stay inside the page on small screens.
   In RTL, a scrollable table still stretches the document unless the
   page itself clips that leftover overflow. clip does not turn the
   other axis into a scroll container. */
html {
  overflow-x: clip;
}

#template-customizer {
  display: none !important;
}

.row:has(> .col-12 > .table-responsive) {
  min-width: 0;
}

.row:has(> .col-12 > .table-responsive) > .col-12 {
  min-width: 0;
  max-width: 100%;
}

/* Features rail. Same gold, bone, and charcoal as the rest of the landing. */
.landing-features .container { text-align: center; }
.fs-group {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(176, 137, 58, 0.14);
  color: var(--ariya-gold-dark);
  font-weight: 500;
}
.fs-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 24px calc(50% - 48px) 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.fs-rail::-webkit-scrollbar { display: none; }
.fs-tab {
  flex: none;
  width: 96px;
  min-height: 44px;
  scroll-snap-align: center;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  --k: calc(1 - var(--d, 1));
  opacity: calc(0.35 + 0.65 * var(--k));
  transform: scale(calc(0.9 + 0.22 * var(--k)));
}
.fs-tab:focus-visible { outline: 2px solid var(--ariya-gold); outline-offset: 2px; }
.fs-slot { width: 72px; height: 72px; display: grid; place-items: center; }
.fs-tile {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--ariya-bone);
  color: var(--ariya-charcoal);
  display: grid;
  place-items: center;
  transform: scale(0.778);
  transition: background 0.2s, transform 0.2s;
}
.fs-tile svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fs-tab[aria-selected="true"] .fs-tile {
  background: var(--ariya-charcoal);
  color: #fff;
  transform: scale(1);
}
.fs-tab[aria-selected="true"] .fs-label { font-weight: 500; color: var(--ariya-charcoal); }
.fs-label { font-size: 15px; line-height: 1.4; color: #6b6560; text-align: center; }
.fs-caption { max-width: 40rem; margin: 12px auto 20px; text-align: center; }
.fs-caption h3 { margin: 0 0 8px; }
.fs-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 1040px;
  margin-inline: auto;
  overflow: hidden;
  background: #f6f3ee;
  border: 1px solid rgba(176, 137, 58, 0.28);
  border-radius: 1.25rem;
}
.js .fs-panel { position: absolute; inset: 0; }
.js .fs-panel[hidden] { display: none !important; }
.fs-panel img.fs-shot { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.js .fs-panel:not([hidden]) { animation: fs-in 0.25s ease-out; }
@keyframes fs-in { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 640px) {
  .fs-stage { aspect-ratio: 4 / 5; }
  .fs-slot, .fs-tile { width: 64px; height: 64px; }
  .fs-tab:not([aria-selected="true"]) .fs-tile { transform: scale(0.75); }
}
@media (prefers-reduced-motion: reduce) {
  .fs-panel:not([hidden]) { animation: none; }
  .fs-tile { transition: none; }
}
html:not(.js) .fs-stage {
  aspect-ratio: auto;
  -webkit-mask-image: none;
  mask-image: none;
  height: auto;
}
html:not(.js) .fs-panel { position: relative; margin-bottom: 28px; }
html:not(.js) .fs-panel img.fs-shot { height: auto; }
