/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000;
  --fg: #fff;
  --fg-muted: rgba(255,255,255,0.55);
  --accent: #e38629;
  --footer-bg: #e38629;
  --glass-border: rgba(255,255,255,0.12);
  --font-display: 'Barlow Condensed', sans-serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 720px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  background-image: radial-gradient(ellipse 100% 45% at 50% 0%, rgba(227, 134, 41, 0.22) 0%, transparent 100%);
  background-attachment: fixed;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── Scroll Progress ────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.08s linear;
  border-radius: 0 3px 3px 0;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 28px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 28px 52px;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 13vw, 5.5rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-headline .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin-top: -8px;
}

.hero-logo {
  width: clamp(100px, 28vw, 140px);
  height: clamp(100px, 28vw, 140px);
  object-fit: contain;
  border-radius: 28px;
  display: block;
}

.btn-appstore {
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-appstore:hover  { opacity: 0.85; transform: scale(1.03); }
.btn-appstore:active { opacity: 0.7;  transform: scale(0.97); }

.appstore-img {
  height: 52px;
  width: auto;
  display: block;
}

.appstore-hint {
  display: none;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-bottom: -10px;
}

@media (max-width: 768px) {
  .appstore-hint { display: block; }
}

/* ─── Entrance animation ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Ticker ─────────────────────────────────────────────────── */
.ticker-wrap {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  padding: 18px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.tick-sep {
  color: var(--accent);
  font-weight: 700;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq {
  padding: 56px 0 88px;
}

.faq-header {
  margin-bottom: 40px;
  text-align: center;
}

.faq-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 10vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  margin-bottom: 24px;
}

.faq-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-tab {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.65);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.faq-tab:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

.faq-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-item.hidden {
  display: none;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  font-weight: 700;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.faq-q:hover { opacity: 0.65; }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-a p {
  padding-bottom: 24px;
  font-size: 0.97rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.faq-a a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--footer-bg);
  padding: 44px 28px 0;
  overflow: hidden;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 44px;
}

.footer-copy {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 0.5; }

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-social a {
  color: #000;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.footer-social a:hover { opacity: 0.5; }

.footer-brand-wrap {
  overflow: hidden;
  line-height: 1;
  text-align: center;
}

.footer-brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 24vw, 14rem);
  color: #000;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.82;
  white-space: nowrap;
  text-align: center;
}

/* ─── Legal Pages ────────────────────────────────────────────── */
.legal-page {
  min-height: 100svh;
  padding: 80px 24px 100px;
}

.legal-header {
  margin-bottom: 60px;
  text-align: left;
  max-width: var(--max-w);
  margin-inline: auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 40px;
  transition: color 0.2s;
}

.legal-back:hover { color: var(--fg); }
.legal-back svg { width: 16px; height: 16px; }

.legal-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 12px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.legal-body {
  max-width: var(--max-w);
  margin: 0 auto;
}

.legal-body h2 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 48px 0 14px;
}

.legal-body h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin: 28px 0 10px;
}

.legal-body p {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 0 0 14px 0;
  padding-left: 0;
  list-style: none;
}

.legal-body li {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.75;
  padding: 4px 0 4px 20px;
  position: relative;
}

.legal-body li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.35);
}

.legal-body a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.8;
}

.legal-body a:hover { opacity: 1; }

/* ─── Support Page ───────────────────────────────────────────── */
.support-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 28px;
  position: relative;
}

.support-back {
  position: absolute;
  top: 32px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.support-back:hover { color: var(--fg); }

.support-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 400px;
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.support-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.support-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
}

.support-intro {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 44px;
}

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 36px;
}

.support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 24px;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  position: relative;
}

.support-btn:hover  { opacity: 0.82; transform: translateY(-1px); }
.support-btn:active { opacity: 0.7;  transform: translateY(0); }

.support-btn--primary {
  background: var(--accent);
  color: #000;
}

.support-btn--secondary {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: #fff;
}

.support-btn--danger {
  background: rgba(200, 50, 50, 0.1);
  border: 1.5px solid rgba(220, 70, 70, 0.28);
  color: #ff7070;
}

.support-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 520px) {
  .hero-inner { padding: 60px 20px 40px; }

  .footer { padding: 36px 20px 0; }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .container { padding: 0 20px; }

  .faq-tabs { gap: 8px; }
}
