/* ==========================================================================
   PikoApps — shared stylesheet
   Ported from the Pikoapps_Landing design kit. Loaded by every page
   (home, download-app, privacy, terms). Sections ordered generic to specific.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */

:root {
  --accent: #2c6bed;
  --accent-soft: #e7eefd;
  --accent-border: #c0d3f8;
  --accent-shadow: rgba(44, 107, 237, 0.45);
  --accent-dark: #234fb8;

  /* text */
  --color-text: #16161a;
  --color-text-muted: #4a4a52;
  --color-copy: #5f5f68;
  --color-copy-alt: #5c5c66;
  --color-faint: #8a8a95;
  --color-faint-2: #9a9aa2;
  --color-faint-3: #7a7a83;
  --color-badge-text: #6b6b73;

  /* surfaces */
  --color-bg: #fbfbfc;
  --color-surface: #fff;
  --color-surface-alt: #fafafb;
  --color-surface-muted: #f4f4f7;
  --color-surface-hover: #f2f2f4;

  /* borders */
  --color-border: #eeeef0;
  --color-border-strong: #ecebf0;
  --color-divider: #ececef;
  --color-border-button: #e6e6ea;
}

/* ---- Reset & base -------------------------------------------------------- */

.page * { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

.page {
  min-height: 100vh;
  font-family: var(--font-family-primary);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

/* Single source of truth for RTL: Vuetify's <v-app> wrapper forces
   direction: ltr on itself (via its v-locale--is-ltr class), which would
   otherwise cancel the direction: rtl inherited from <html dir="rtl">.
   Setting it here, directly on .page, overrides that and lets every
   flex/grid child reverse itself naturally — no per-component
   flex-direction/grid-column hacks needed. */
[dir="rtl"] .page {
  direction: rtl;
  text-align: right;
}

.page a {
  text-decoration: none;
  color: inherit;
}

.btn--primary {
  color: #fff !important;
}

.btn--primary:visited,
.btn--primary:link,
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active {
  color: #fff !important;
}

.page summary { list-style: none; }
.page summary::-webkit-details-marker { display: none; }

/* ---- Layout --------------------------------------------------------------- */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.container--legal { max-width: 720px; }
.container--faq { max-width: 760px; }

@media (max-width: 640px) {
  .container { padding: 0 18px; }
}

/* ---- Eyebrow label (small uppercase mono caption) ------------------------- */

.eyebrow {
  font-family: var(--font-family-mono);
  font-weight: 500;
  text-transform: uppercase;
}

.eyebrow--accent { color: var(--accent); }
.eyebrow--faint { color: var(--color-faint); }
.eyebrow--faint-2 { color: var(--color-faint-2); }

.eyebrow--sm { font-size: 12px; letter-spacing: 0.14em; }
.eyebrow--category { font-size: 12px; letter-spacing: 0.1em; }

/* ---- Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 12px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(44, 107, 237, 0.3);
}
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active {
  color: #fff;
  background: var(--accent-dark);
}

.btn--secondary {
  color: #26262e;
  background: var(--color-surface);
  border: 1px solid var(--color-border-button);
}
.btn--secondary:hover {
  border-color: #c9c9d0;
  background: var(--color-surface-alt);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(44, 107, 237, 0.28);
}

.btn--lg { padding: 13px 26px; font-size: 16px; }

/* ---- Site nav ---------------------------------------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 252, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-nav__bar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__logo { display: flex; align-items: center; }
.site-nav__logo img { display: block; height: 25px; width: auto; }

.site-nav__right { display: flex; align-items: center; gap: 8px; }
.site-nav__links { display: flex; align-items: center; gap: 4px; }
.site-nav__right > .btn { margin-inline-start: 8px; }

.nav-link {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: var(--color-surface-hover); color: var(--color-text); }

.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 9px;
  transition: background .15s ease, color .15s ease;
}
.back-link:hover { background: var(--color-surface-hover); color: var(--color-text); }

/* ---- Mobile nav toggle ---------------------------------------------------------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle--open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle--open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav__right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 20px 22px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px -12px rgba(20, 20, 40, 0.18);
  }
  .site-nav__right--open { display: flex; }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-link { padding: 12px 8px; }

  .site-nav__right > .btn { margin-inline-start: 0; width: 100%; }
  .lang-switcher { align-self: flex-start; margin-inline-start: 0; }
}

/* ---- Language switcher (index nav) --------------------------------------------- */

.lang-switcher { position: relative; margin-inline-start: 4px; }

.lang-switcher__button {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: 8px;
  border: 1px solid var(--color-border-button);
  background: var(--color-surface);
  transition: background .15s ease, color .15s ease;
}
.lang-switcher__button:hover { background: var(--color-surface-hover); color: var(--color-text); }

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  box-shadow: 0 12px 32px -12px rgba(20, 20, 40, 0.24);
  padding: 6px;
  z-index: 60;
}
[dir="rtl"] .lang-switcher__menu {
  right: auto;
  left: 0;
}

/* On mobile the switcher hugs the start edge of the stacked panel (see .lang-switcher
   align-self override above), so anchor the dropdown to that same start edge instead of
   the desktop's right:0 — otherwise a 170px-wide menu overflows past the viewport edge. */
@media (max-width: 900px) {
  .site-nav__right .lang-switcher__menu { left: 0; right: auto; }
  [dir="rtl"] .site-nav__right .lang-switcher__menu { left: auto; right: 0; }
}

.lang-switcher__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: #26262e;
  transition: background .15s ease;
}
.lang-switcher__item:hover { background: var(--color-surface-hover); }

/* ---- Footer (home — full 5-column) --------------------------------------------- */

.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); }

.site-footer__grid {
  padding: 56px 28px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px 24px;
}

.site-footer__brand p {
  margin: 16px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-faint-3);
  max-width: 260px;
}

.site-footer__heading {
  font-family: var(--font-family-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-faint-2);
}

.site-footer__links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  color: var(--color-text-muted);
}
.site-footer__links a:hover { color: var(--accent); }

/* Keep phone numbers reading in their original digit order inside RTL layouts */
.phone-number {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.site-footer__bottom { border-top: 1px solid var(--color-border); }

.site-footer__bottom-row {
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__copyright { font-size: 13.5px; color: var(--color-faint-2); }

.site-footer__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__legal-link {
  font-size: 13.5px;
  color: var(--color-faint-2);
  transition: color .15s ease;
}
.site-footer__legal-link:hover { color: var(--accent); }

.site-footer__tagline {
  font-family: var(--font-family-mono);
  font-size: 12.5px;
  color: var(--color-faint-2);
}

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Footer (product detail pages — single row) -------------------------------- */

.product-footer {
  margin-top: 64px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.product-footer__row {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.product-footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-footer__link {
  font-size: 13.5px;
  color: var(--color-faint-2);
  transition: color .15s ease;
}
.product-footer__link:hover { color: var(--accent); }

.product-footer__home {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

/* ---- Hero (home) ----------------------------------------------------------------- */

.hero {
  padding: 92px 28px 40px;
  text-align: center;
}

.eyebrow--lg { font-size: 13px; letter-spacing: 0.14em; }

.hero__title {
  margin: 20px auto 0;
  max-width: 900px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.48;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111116;
  text-align: center;
}

.hero__highlight {
  position: relative;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 0.12em 0.34em 0.2em;
  box-shadow: 0 8px 24px -12px var(--accent-shadow);
}

.hero__highlight-ghost {
  grid-area: 1 / 1;
  visibility: hidden;
  white-space: nowrap;
}

.hero__highlight-word {
  grid-area: 1 / 1;
  white-space: nowrap;
  text-align: center;
}

.hero__cursor {
  display: inline-block;
  width: 0.055em;
  height: 0.82em;
  margin-left: 0.05em;
  vertical-align: -0.04em;
  background: var(--accent);
  border-radius: 2px;
  transition: opacity .35s ease;
}

.hero__subtitle {
  margin: 22px auto 0;
  max-width: 600px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-copy-alt);
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero { padding: 64px 18px 32px; }
  .hero__subtitle { font-size: 17px; }
}

/* ---- Product cards (home) --------------------------------------------------------- */

.products-section { padding: 24px 28px 40px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card {
  cursor: pointer;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04), 0 12px 32px -18px rgba(20, 20, 40, 0.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04), 0 22px 44px -20px rgba(20, 20, 60, 0.28);
}

.product-card--static {
  cursor: default;
}
.product-card--static:hover {
  transform: none;
  box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04), 0 12px 32px -18px rgba(20, 20, 40, 0.18);
}

.product-card__head { display: flex; align-items: flex-start; justify-content: space-between; }

.product-card__icon {
  display: block;
  width: 66px;
  height: 66px;
  border-radius: 17px;
  border: 1px solid #eeeef1;
  box-shadow: 0 8px 20px -8px rgba(20, 20, 60, 0.28);
}

.status-pill {
  font-family: var(--font-family-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-badge-text);
  background: #f0f0f3;
  border-radius: 999px;
  padding: 6px 12px;
}

.product-card__category {
  font-family: var(--font-family-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-faint);
  margin-top: 22px;
}

.product-card__title {
  margin: 6px 0 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-card__desc {
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--color-copy);
}

.product-card__callout {
  margin-top: 16px;
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 2px 16px;
}

.product-card__callout-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
}

.product-card__callout-icon { flex: none; }

.product-card__callout-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.faq-plus {
  margin-inline-start: auto;
  flex: none;
  font-size: 18px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .2s ease;
}
details[open] .faq-plus { transform: rotate(45deg); }

.product-card__callout-body {
  margin: 0;
  padding: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.product-card__badges {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-link { display: inline-block; transition: transform .15s ease; }
.badge-link:hover { transform: translateY(-2px); }
.badge-link img { display: block; height: 42px; width: auto; }

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  transition: transform .15s ease, opacity .15s ease;
}
.store-link:hover { transform: translateY(-2px); }

.store-link__icon {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  flex: none;
}

.store-link__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.store-link__prefix {
  display: block;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.75;
}

.store-link__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.product-card__countdown {
  margin-top: 22px;
  background: var(--color-surface-muted);
  border-radius: 16px;
  padding: 16px 18px;
}

.countdown__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.countdown__label {
  font-family: var(--font-family-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-faint);
}

.countdown__date {
  font-family: var(--font-family-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--color-faint-2);
}

.countdown__value {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #3a3a42;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown__track {
  margin-top: 14px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.countdown__fill {
  height: 100%;
  border-radius: 999px;
  background: #b4b4bd;
  transition: width .4s ease;
}

.product-card--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-surface-alt);
  border: 1.5px dashed #dcdce2;
  border-radius: 22px;
  padding: 30px;
  min-height: 220px;
}

.product-card--placeholder__icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: #f0f0f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #b4b4bd;
  font-weight: 300;
}

.product-card--placeholder__title {
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #3a3a42;
}

.product-card--placeholder__desc {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--color-faint);
  max-width: 240px;
}

/* ---- Why PikoApps (home) ---------------------------------------------------------- */

.why-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 56px;
}

.why-section__inner { padding: 88px 28px; }

@media (max-width: 640px) {
  .why-section__inner { padding: 56px 18px; }
}

.why-section__title {
  margin: 16px 0 0;
  max-width: 560px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.why-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 34px 30px;
}

.why-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-item__icon--bars { align-items: flex-end; gap: 3px; padding: 12px; }

.why-item__title {
  margin: 18px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.why-item__desc {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-copy);
}

.why-icon--mobile { width: 15px; height: 24px; border: 2.5px solid var(--accent); border-radius: 4px; }
.why-icon--desktop { width: 26px; height: 17px; border: 2.5px solid var(--accent); border-radius: 4px; }
.why-icon--pricing { width: 22px; height: 22px; border: 2.5px solid var(--accent); border-radius: 999px; }

.why-icon__bar { width: 4px; background: var(--accent); border-radius: 2px; }
.why-icon__bar--1 { height: 9px; }
.why-icon__bar--2 { height: 15px; }
.why-icon__bar--3 { height: 21px; }

/* ---- Desktop Console section (home) ------------------------------------------------ */

.console-section { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }

.console-section__inner {
  padding: 88px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.console-pill {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding-block: 9px;
  padding-inline: 12px 20px;
}

.console-pill__icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.console-pill__label { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; color: var(--color-text); }

.console-section__title {
  margin: 18px 0 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.console-section__desc {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-copy);
}

.console-feature-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.console-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.console-feature__icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.console-feature__text { margin: 0; font-size: 15px; line-height: 1.5; color: #3a3a42; }

.console-mock { display: flex; width: 100%; height: 100%; background: var(--color-surface); }

.console-mock__sidebar {
  width: 76px;
  flex: none;
  background: #f6f7fb;
  border-right: 1px solid #edeef3;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
[dir="rtl"] .console-mock__sidebar {
  border-right: none;
  border-left: 1px solid #edeef3;
}

.console-mock__logo { width: 22px; height: 22px; border-radius: 6px; background: var(--accent-border); }

.console-mock__nav-line {
  margin-top: 10px;
  width: 100%;
  height: 9px;
  border-radius: 4px;
  background: #e3e4ea;
}
.console-mock__nav-line--sm { width: 70%; height: 9px; border-radius: 4px; background: #e3e4ea; }
.console-mock__nav-line--md { width: 85%; height: 9px; border-radius: 4px; background: #e3e4ea; }
.console-mock__nav-line--lg { width: 60%; height: 9px; border-radius: 4px; background: #e3e4ea; }

.console-mock__main {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.console-mock__header { display: flex; align-items: center; justify-content: space-between; }
.console-mock__header-title { width: 120px; height: 14px; border-radius: 4px; background: #e3e4ea; }
.console-mock__header-action { width: 72px; height: 26px; border-radius: 7px; background: var(--accent-border); }

.console-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.console-mock__stat { height: 56px; border-radius: 10px; background: #f6f7fb; border: 1px solid #edeef3; }

.console-mock__panel {
  flex: 1;
  border-radius: 10px;
  background: #f6f7fb;
  border: 1px solid #edeef3;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}
.console-mock__panel-title { width: 35%; height: 10px; border-radius: 4px; background: #e3e4ea; }
.console-mock__panel-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.console-mock__panel-line { height: 8px; border-radius: 4px; background: #e9eaef; }

@media (max-width: 900px) {
  .console-section__inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 18px; }
}

/* ---- FAQ (home) --------------------------------------------------------------------- */

.faq-section { padding: 40px 28px 96px; }
.faq-section__head { text-align: center; }

.faq-section__title {
  margin: 16px 0 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}

@media (max-width: 640px) {
  .faq-section { padding: 28px 18px 64px; }
}

.faq-list { margin-top: 44px; border-top: 1px solid var(--color-divider); }

.faq-item { border-bottom: 1px solid var(--color-divider); }

.faq-item__summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  font-size: 17.5px;
  font-weight: 600;
}

.faq-item__summary .faq-plus { color: var(--color-faint-2); font-size: 24px; }

.faq-item__body {
  margin: 0;
  padding: 0 4px 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--color-copy);
}

/* ---- Product detail pages (DepoJet / FaturaJet) -------------------------------------- */

.shot-scroll::-webkit-scrollbar { display: none; }

.carousel-section { background: var(--color-surface-muted); border-bottom: 1px solid var(--color-border); }
.carousel-wrap { padding: 36px 0 40px; position: relative; }

.shot-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shot-card {
  flex: none;
  width: 250px;
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #e2e2e8;
  box-shadow: 0 20px 40px -20px rgba(20, 20, 40, 0.25);
  background: var(--color-surface);
  position: relative;
}
.shot-card--video { background: #111116; }

.shot-card__preview-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-text);
  color: #fff;
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.shot-card__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.shot-card__play-button {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.shot-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: var(--color-faint);
}

.shot-card--video .shot-card__placeholder { color: #6a6a76; }

.shot-card__placeholder-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-card__placeholder-text {
  font-size: 13px;
  line-height: 1.4;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border-button);
  box-shadow: 0 6px 18px rgba(20, 20, 40, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.carousel-nav--prev { left: 12px; }
.carousel-nav--next { right: 12px; }

@media (max-width: 640px) {
  .shot-card { width: 210px; height: 440px; }
  .carousel-nav { display: none; }
}

.product-hero {
  padding: 48px 28px 0;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-hero__head { display: flex; align-items: flex-start; gap: 18px; }

.product-hero__icon {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 19px;
  border: 1px solid #eeeef1;
  box-shadow: 0 8px 20px -8px rgba(20, 20, 60, 0.28);
  flex: none;
}

.product-hero__title { margin: 6px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -0.025em; }

.product-hero__tagline {
  margin: 8px 0 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--color-copy-alt);
  max-width: 480px;
}

.product-hero__about {
  margin-top: 36px;
  border-top: 1px solid var(--color-divider);
  padding-top: 32px;
}

.product-hero__about-title { margin: 0; font-size: 19px; font-weight: 700; }

.product-hero__about-text {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/*
  Checklist styling for dynamic app descriptions (blog.description, edited via the rich-text editor
  in the support panel). Any <ul><li> the admin authors there automatically renders with the same
  checkbox-checkmark look as the (still hardcoded, FaturaJet-only) .feature-list below — no per-app
  hardcoded markup needed for real, DB-backed apps.
*/
.product-hero__about-text ul {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-hero__about-text li {
  position: relative;
  padding-inline-start: 36px;
  font-size: 15px;
  line-height: 1.5;
  color: #3a3a42;
}

.product-hero__about-text li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--accent-soft);
}

.product-hero__about-text li::after {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.feature-list { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.feature-list__item { display: flex; gap: 12px; align-items: flex-start; }

.feature-list__icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.feature-list__text { margin: 0; font-size: 15px; line-height: 1.5; color: #3a3a42; }

.info-card {
  position: sticky;
  top: 92px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 1px 2px rgba(20, 20, 30, 0.04), 0 16px 36px -18px rgba(20, 20, 40, 0.18);
}

.info-card__badges { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
/* Only the static FaturaJet placeholder badges (plain <img> children) — not .store-link__icon,
   which is nested one level deeper and must keep its own 24x24 size to match ProductCard.vue. */
.info-card__badges > img { display: block; height: 44px; width: auto; }
.info-card__badges--disabled { opacity: 0.5; pointer-events: none; margin-top: 16px; }

.info-card__countdown { margin-top: 18px; background: var(--color-surface-muted); border-radius: 16px; padding: 16px 18px; }

.info-card__specs {
  margin-top: 22px;
  border-top: 1px solid var(--color-divider);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-card__spec-row { display: flex; justify-content: space-between; font-size: 14px; }
.info-card__spec-label { color: var(--color-faint); }
.info-card__spec-value { font-weight: 600; }
.info-card__spec-value--mono { font-weight: 600; font-family: var(--font-family-mono); }

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 18px 0; }
  .info-card { position: static; }
}
@media (max-width: 480px) {
  .product-hero__head { gap: 14px; }
  .product-hero__icon { width: 60px; height: 60px; }
  .product-hero__title { font-size: 27px; }
}

/* ---- Legal pages (Privacy Policy / Terms of Service) ---------------------------------- */

.legal-header { padding: 64px 28px 0; }
.legal-header__eyebrow { font-size: 13px; letter-spacing: 0.14em; }

.legal-header__title {
  margin: 14px 0 0;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.legal-header__updated { margin: 12px 0 0; font-size: 15px; color: var(--color-faint); }

@media (max-width: 640px) {
  .legal-header { padding: 44px 18px 0; }
}

.legal-content { padding: 36px 28px 96px; }

@media (max-width: 640px) {
  .legal-content { padding: 28px 18px 64px; }
}
.legal-content > p:first-child { font-size: 16px; line-height: 1.7; color: #3a3a42; }

.legal-content h2 {
  margin: 32px 0 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal-content h2:first-of-type { margin-top: 40px; }

.legal-content p {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.legal-content a { color: var(--accent); }
.legal-content a:hover { color: #1f4fb8; }

.legal-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); }

.legal-footer__row {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-footer__copyright { font-size: 13.5px; color: var(--color-faint-2); }

.legal-footer__links { display: flex; gap: 20px; font-size: 13.5px; }
.legal-footer__links a { color: var(--color-text-muted); }
.legal-footer__links a:hover { color: var(--accent); }

/* ---- Error / NotFound (pikoapps-specific, not in the original kit) ------------------- */

.pk-status-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 28px;
  gap: 10px;
}
.pk-status-page__code {
  font-family: var(--font-family-mono);
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
}
.pk-status-page__title { font-size: 22px; font-weight: 700; margin: 0; }
.pk-status-page__desc { font-size: 15.5px; color: var(--color-copy); margin: 0; max-width: 420px; }

/* ---- RTL-specific rules -------------------------------------------------- */

/* Rotate back arrow icon 180 degrees for RTL (transforms left-arrow to right-arrow) */
.back-link--rtl svg {
  transform: rotate(180deg);
}

/* Ensure all flex/grid containers in RTL properly reverse */
[dir="rtl"] .site-nav__bar,
[dir="rtl"] .site-nav__right,
[dir="rtl"] .site-nav__links,
[dir="rtl"] .lang-switcher__menu,
[dir="rtl"] .product-card__head,
[dir="rtl"] .product-card__callout-summary,
[dir="rtl"] .products-grid,
[dir="rtl"] .site-footer__grid,
[dir="rtl"] .site-footer__bottom-row {
  direction: rtl;
}

/* For grid layouts, ensure columns reverse in RTL */
[dir="rtl"] .site-footer__grid {
  grid-auto-flow: dense;
}
.pk-status-page__home { margin-top: 18px; }
