/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 100px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 78%);
}
.hero__map {
  position: absolute;
  inset: -10% -5%;
  width: 110%; height: 120%;
  opacity: 0.12;
  filter: sepia(80%) hue-rotate(-10deg) saturate(120%);
  background: url("../img/world-map-antique.svg") center / cover no-repeat;
  will-change: transform;
}
.hero__motif {
  position: absolute;
  width: 220px; height: 220px;
  opacity: 0.18;
  mix-blend-mode: screen;
  will-change: transform;
}
.hero__motif--1 { top: 12%; left: 8%; }
.hero__motif--2 { top: 18%; right: 10%; width: 180px; height: 180px; }
.hero__motif--3 { bottom: 16%; left: 12%; width: 160px; height: 160px; }
.hero__motif--4 { bottom: 10%; right: 6%; width: 200px; height: 200px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 12px;
  background: rgba(241, 255, 75, 0.08);
  border: 1px solid rgba(241, 255, 75, 0.28);
  border-radius: var(--radius-pill);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: var(--s-5);
}
.hero__kicker::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -1.6px;
  line-height: 0.98;
  font-size: clamp(44px, 7.5vw, 88px);
}
.hero__title .l1 { display: block; color: var(--text); }
.hero__title .l2 { display: block; }

.hero__body {
  margin-top: var(--s-5);
  max-width: 540px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  line-height: 1.6;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.store-badge {
  position: relative;
  display: inline-block;
  transition: transform var(--dur) var(--ease-out), filter var(--dur) var(--ease-out);
}
.store-badge img { height: 52px; width: auto; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge[aria-disabled="true"] { pointer-events: none; filter: grayscale(20%); }
.store-badge[aria-disabled="true"]::after {
  content: attr(data-soon);
  position: absolute;
  top: -8px; right: -8px;
  background: var(--accent);
  color: var(--bg-deepest);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
}

.hero__scroll {
  position: absolute;
  bottom: var(--s-6);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  z-index: 3;
  animation: bob 2.4s ease-in-out infinite;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* Phone mockup */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone {
  position: relative;
  width: clamp(260px, 30vw, 340px);
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  background: linear-gradient(135deg, #2A2B31, #191A1D);
  border: 1px solid var(--outline);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform: rotate(-3deg);
  animation: phone-float 7s var(--ease-in-out) infinite alternate;
  will-change: transform;
}
.phone::before {
  content: "";
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.phone__screen {
  position: absolute;
  inset: 8px;
  border-radius: 36px;
  background: #232325;
  overflow: hidden;
}
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(241, 255, 75, 0.15), transparent 60%);
  filter: blur(20px);
  z-index: -1;
}

@keyframes phone-float {
  0%   { transform: rotate(-3deg)   scale(1); }
  50%  { transform: rotate(-1.8deg) scale(1.012) translateY(-6px); }
  100% { transform: rotate(-3deg)   scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--s-8); }
}

/* Features */
.features { background: var(--bg); }
.features__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-7);
}
.features__head .h2 { margin-bottom: var(--s-3); }
.features__head .body { color: var(--text-muted); }

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .features__grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-5);
  background: linear-gradient(135deg, var(--card-grad-from) 0%, var(--card-grad-mid) 50%, var(--card-grad-to) 100%);
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
  isolation: isolate;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(241, 255, 75, 0.0), transparent 60%);
  transition: background var(--dur) var(--ease-out);
  z-index: -1;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(241, 255, 75, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(241, 255, 75, 0.18);
}
.feature-card:hover::before {
  background: radial-gradient(ellipse at top right, rgba(241, 255, 75, 0.18), transparent 65%);
}

.feature-card__media {
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: #2A2B31;
  position: relative;
}
.feature-card__media svg,
.feature-card__media img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-card__media svg { aspect-ratio: 16 / 10; }

.feature-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #E8E5E7;
  letter-spacing: -0.4px;
  line-height: 1.25;
}
.feature-card__body {
  font-size: 13.5px;
  color: rgba(232, 229, 231, 0.72);
  line-height: 1.5;
}
.feature-card__arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(241, 255, 75, 0.14);
  color: var(--accent);
  align-self: flex-start;
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.feature-card:hover .feature-card__arrow {
  background: var(--accent);
  color: var(--bg-deepest);
  transform: translateX(3px);
}
[dir="rtl"] .feature-card:hover .feature-card__arrow { transform: translateX(-3px); }

/* How it works */
.how { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deepest) 100%); }
.how__head {
  text-align: center;
  margin-bottom: var(--s-8);
}
.how__steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 900px) {
  .how__steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-7); }
  .how__steps::before {
    content: "";
    position: absolute;
    top: 36px; left: 12%; right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
    opacity: 0.4;
  }
}

.step {
  text-align: center;
  padding: var(--s-5);
  border-radius: var(--radius-card);
  background: rgba(42, 43, 49, 0.45);
  border: 1px solid var(--outline-soft);
  position: relative;
  backdrop-filter: blur(6px);
}
.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, var(--gradient-from), var(--gradient-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--s-4);
}
.step__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: var(--s-3);
}
.step__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}

/* FAQ */
.faq { background: var(--bg-deepest); }
.faq__head { text-align: center; margin-bottom: var(--s-7); }
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.faq-item {
  background: rgba(42, 43, 49, 0.5);
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius-soft);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out);
}
.faq-item[open] {
  border-color: rgba(241, 255, 75, 0.32);
  border-inline-start-width: 2px;
  border-inline-start-color: var(--accent);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease-out);
  color: var(--text-muted);
}
.faq-item[open] summary::after {
  transform: rotate(-135deg) translateY(2px);
  color: var(--accent);
}
.faq-item__answer {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: var(--bg-deepest);
  border-top: 1px solid var(--outline);
  padding: var(--s-8) 0 var(--s-5);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: var(--s-7); }
}
.footer-brand img { height: 26px; width: auto; margin-bottom: var(--s-3); }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 320px; line-height: 1.55; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-italic);
  margin-bottom: var(--s-4);
}
.footer-col ul li { margin-bottom: var(--s-3); }
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease-out);
}
.footer-col a:hover { color: var(--accent); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-5);
  border-top: 1px solid var(--outline-soft);
  font-size: 12px;
  color: var(--text-italic);
}
.site-footer__bottom .legal { display: flex; gap: var(--s-4); }
.site-footer__bottom .legal a { color: var(--text-italic); }
.site-footer__bottom .legal a:hover { color: var(--text-muted); }
/* Legal pages (terms, privacy) */

.container.container--narrow {
  max-width: 820px;
}

.legal-section {
  padding-top: clamp(110px, 16vh, 160px);
  padding-bottom: clamp(60px, 10vh, 100px);
  background:
    radial-gradient(ellipse at top, rgba(241, 255, 75, 0.04) 0%, transparent 50%),
    var(--bg);
  min-height: calc(100vh - 240px);
}

.legal-page {
  color: var(--text);
}

.legal-page__head {
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--outline-soft);
}

.legal-page__title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -1.1px;
  line-height: 1.05;
  font-size: clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, var(--gradient-from) 0%, var(--gradient-to) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-bottom: var(--s-4);
}

.legal-page__effective {
  font-size: 13px;
  color: var(--text-italic);
  letter-spacing: 0.2px;
  font-style: italic;
}

.legal-page__content {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
}

.legal-page__content > * + * {
  margin-top: var(--s-4);
}

.legal-page__content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text);
  margin-top: var(--s-7);
  margin-bottom: var(--s-3);
  padding-top: var(--s-3);
  scroll-margin-top: 100px;
}

.legal-page__content h2:first-child {
  margin-top: 0;
}

.legal-page__content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.3px;
  font-size: 17px;
  color: var(--accent-soft);
  margin-top: var(--s-5);
  margin-bottom: var(--s-3);
}

.legal-page__content p {
  color: var(--text);
  opacity: 0.92;
}

.legal-page__content ul {
  margin-top: var(--s-3);
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.legal-page__content ul li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text);
  opacity: 0.92;
}

.legal-page__content ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

[dir="rtl"] .legal-page__content ul li::before {
  inset-inline-start: auto;
  inset-inline-end: 4px;
}

.legal-page__content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(241, 255, 75, 0.32);
  transition: border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.legal-page__content a:hover {
  border-color: var(--accent);
}

.legal-callout {
  margin-top: var(--s-5);
  margin-bottom: var(--s-5);
  padding: var(--s-5);
  border: 1px solid rgba(241, 255, 75, 0.28);
  border-inline-start: 3px solid var(--accent);
  background: rgba(241, 255, 75, 0.04);
  border-radius: var(--radius-soft);
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.65;
}

.legal-contact {
  display: block;
  margin-top: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: rgba(42, 43, 49, 0.5);
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius-soft);
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-contact strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
}

.legal-copyright {
  margin-top: var(--s-7) !important;
  padding-top: var(--s-5);
  border-top: 1px solid var(--outline-soft);
  font-size: 12.5px;
  color: var(--text-italic);
  text-align: center;
  letter-spacing: 0.3px;
}

/* RTL adjustments */
[dir="rtl"] .legal-callout {
  border-inline-start: 1px solid rgba(241, 255, 75, 0.28);
  border-inline-end: 3px solid var(--accent);
}

@media (max-width: 640px) {
  .legal-page__content {
    font-size: 14.5px;
    line-height: 1.7;
  }
  .legal-callout {
    padding: var(--s-4);
    font-size: 13.5px;
  }
}
