/* Live Trade Signals landing: colors of the app (lib/view/common/theme.dart and style.dart) */

@font-face { font-family: Inter; src: url(assets/fonts/Inter-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(assets/fonts/Inter-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0B0F17;
  --bg-low: #10151F;
  --card: #151B27;
  --card-high: #1B2230;
  --line: #222A3A;
  --text: #E8ECF4;
  --muted: #9AA4B8;
  --accent: #5C7CFA;
  --accent-strong: #4C6EF5;
  --buy: #26A69A;
  --sell: #EF5350;
  --radius: 18px;
  --wrap: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left)); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--accent); padding: 8px 14px; border-radius: 8px; }

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-primary { background: var(--accent-strong); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border: 1px solid var(--line); background: var(--card); }
.btn-ghost:hover { border-color: var(--accent); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 190px; padding: 11px 20px 11px 16px;
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--card); text-decoration: none;
  transition: transform .15s, border-color .15s, background .15s;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: flex; flex-direction: column; font-weight: 600; font-size: 1.08rem; line-height: 1.15; }
.store-btn small { font-weight: 400; font-size: .72rem; color: var(--muted); }
/* the store of the visitor's device, set by main.js */
.store-btn.recommended { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; box-shadow: 0 10px 30px -10px rgba(76, 110, 245, .7); }
.store-btn.recommended small { color: rgba(255, 255, 255, .8); }
/* official badge loaded: the image replaces the text button */
.store-btn.has-badge { padding: 0; min-width: 0; border: 0; background: none; box-shadow: none; }
.store-btn.has-badge img { height: 54px; width: auto; }

/* ─── Navigation ──────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(11, 15, 23, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--text); }

/* ─── Hero ────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 0; overflow: hidden; }
.glow {
  position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 70% 30%, rgba(76, 110, 245, .28), transparent 70%),
    radial-gradient(30% 40% at 85% 60%, rgba(38, 166, 154, .18), transparent 70%),
    radial-gradient(30% 40% at 20% 10%, rgba(239, 83, 80, .10), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(38, 166, 154, .12); color: #7fd8cf;
  font-size: .88rem; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--buy); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(38, 166, 154, .7); } 70% { box-shadow: 0 0 0 9px rgba(38, 166, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(38, 166, 154, 0); } }
.hero h1 { margin-top: 18px; }
.buy { color: var(--buy); }
.sell { color: var(--sell); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.lead strong { color: var(--text); }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .92rem; }
.reassure li::before { content: "✓"; color: var(--buy); font-weight: 700; margin-right: 7px; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(21, 27, 39, .9); border: 1px solid var(--line);
  backdrop-filter: blur(8px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  font-size: .92rem; animation: float 6s ease-in-out infinite;
}
.float-card div { display: flex; flex-direction: column; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: .78rem; }
.card-buy { top: 12%; left: -4%; }
.card-why { bottom: 26%; right: -6%; flex-direction: column; align-items: flex-start; gap: 2px; max-width: 220px; animation-delay: -2s; }
.card-why b { font-weight: 500; }
.card-sell { bottom: 6%; left: 2%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.badge { padding: 4px 9px; border-radius: 7px; font-weight: 700; font-size: .78rem; letter-spacing: .03em; color: #fff; }
.badge-buy { background: var(--buy); }
.badge-sell { background: var(--sell); }

/* ─── Image slots: placeholder until the file exists (main.js) ─── */
.phone {
  width: min(300px, 78vw); padding: 10px; border-radius: 46px;
  background: linear-gradient(160deg, #2a3243, #121722);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .06);
  margin-inline: auto;
}
.slot {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 12px, transparent 12px 24px),
    var(--bg-low);
  border: 1px dashed #34405a; color: var(--muted); text-align: center;
}
.slot-phone { aspect-ratio: 1290 / 2796; border-radius: 37px; }
.slot-wide { aspect-ratio: 2560 / 1600; border-radius: 10px; }
.slot-label { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; padding: 12px; }
.slot-label small { opacity: .7; }
.slot.filled { border: 0; background: none; }
.slot.filled img, .slot.filled video { width: 100%; height: 100%; object-fit: cover; display: block; }

.laptop {
  padding: 12px 12px 18px; border-radius: 18px;
  background: linear-gradient(160deg, #2a3243, #121722);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .06);
}

/* ─── Assets strip ────────────────────────────────────── */
.marquee {
  position: relative; margin-top: 24px; padding: 18px 0; overflow: hidden;
  border-block: 1px solid var(--line); background: var(--bg-low);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { color: var(--muted); font-weight: 600; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ─── Numbers ─────────────────────────────────────────── */
.stats { padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-grid div { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.stats-grid b { display: block; font-size: 2.1rem; letter-spacing: -.02em; }
.stats-grid span { color: var(--muted); font-size: .93rem; }

/* ─── Sections ────────────────────────────────────────── */
.section { padding: 88px 0; }
.kicker { color: var(--accent); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 40px 0 0; list-style: none; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-n {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px;
  border-radius: 12px; background: rgba(76, 110, 245, .16); color: var(--accent); font-weight: 700;
}

.features .wrap { display: grid; gap: 110px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy p { color: var(--muted); font-size: 1.08rem; }
.checks { padding: 0; margin: 22px 0 0; list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(38, 166, 154, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2326A69A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.trust { background: var(--bg-low); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

.platforms-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.platforms p { color: var(--muted); font-size: 1.08rem; }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 36px; }

.cta { padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 70% at 50% 100%, rgba(76, 110, 245, .3), transparent 70%);
}
.cta-inner { position: relative; }
.cta p { color: var(--muted); font-size: 1.15rem; }
.cta .stores { justify-content: center; }

/* ─── Footer ──────────────────────────────────────────── */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.footer-top .brand { color: var(--text); }
.footer nav { display: flex; gap: 22px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }
.disclaimer { max-width: 60em; font-size: .85rem; }
.copy { margin: 0; font-size: .85rem; }

/* ─── Scroll reveal (main.js) ─────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid, .feature, .platforms-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .hero { padding-top: 40px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero .stores, .reassure { justify-content: center; }
  .stats-grid, .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .features .wrap { gap: 80px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .stores { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; }
  .stats-grid, .cards { grid-template-columns: 1fr; }
  .card-buy { left: 0; }
  .card-why { right: 0; }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Text pages: privacy, terms, support, legal notice ─── */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2.2em; }
.doc p, .doc li { color: #c9d0de; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc a { color: var(--accent); }
.doc .updated { color: var(--muted); font-size: .92rem; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; }
.doc .table-scroll { overflow-x: auto; }
/* information the publisher must fill in before going live */
.todo { background: rgba(255, 183, 77, .18); color: #ffcc80; padding: 1px 6px; border-radius: 5px; font-style: normal; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
