:root {
  --bg: #08060a;
  --bg-elev: #100e14;
  --ink: #f7f3ee;
  --muted: #9b9188;
  --faint: #6a625a;
  --line: rgba(255, 236, 210, 0.09);
  --accent: #ff7a1a;
  --accent-2: #ffc14a;
  --accent-deep: #e84d0a;
  --ok: #3dd68c;
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.fx-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.fx-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

/* ---- Nav ---- */
.fx-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  width: min(1120px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 6, 10, 0.72);
  backdrop-filter: blur(18px);
}
.fx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}
.fx-brand img { border-radius: 9px; object-fit: contain; }
.fx-nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.fx-nav-links a:hover { color: var(--ink); }
.fx-nav-cta { display: flex; gap: 8px; }
.fx-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 0;
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-direction: column;
  justify-content: center;
}
.fx-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.fx-nav.is-open .fx-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.fx-nav.is-open .fx-nav-toggle span:nth-child(2) { opacity: 0; }
.fx-nav.is-open .fx-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.fx-nav-mobile-only { display: none; }

.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 650;
  font-size: 0.95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fx-btn:hover { transform: translateY(-1px); }
.fx-btn-lg { padding: 14px 22px; font-size: 1rem; }
.fx-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #1a0c04;
  box-shadow: 0 12px 36px rgba(255, 122, 26, 0.32);
}
.fx-btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

/* ---- Hero ---- */
.fx-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 0;
  overflow: hidden;
}
.fx-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255, 122, 26, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(255, 90, 20, 0.12), transparent 50%),
    linear-gradient(180deg, #120c08 0%, var(--bg) 70%);
}
.fx-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: fx-float 9s ease-in-out infinite;
}
.fx-hero-orb.o1 {
  width: 420px; height: 420px;
  left: 8%; top: 12%;
  background: rgba(255, 138, 42, 0.22);
}
.fx-hero-orb.o2 {
  width: 320px; height: 320px;
  right: 5%; top: 28%;
  background: rgba(255, 193, 74, 0.14);
  animation-delay: -3s;
}
.fx-hero-heat {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(8, 6, 10, 0.95));
}
@keyframes fx-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.04); }
}

.fx-hero-inner {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 36px;
  text-align: center;
}
.fx-brand-mark {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
  color: #fff;
}
.fx-brand .brand-fyren,
.fx-brand-mark .brand-fyren,
.fx-dash-side .brand-fyren { color: #fff; }
.fx-brand .brand-pay,
.fx-brand-mark .brand-pay,
.fx-dash-side .brand-pay {
  background: linear-gradient(165deg, #ffc14a 0%, #ff8a2a 42%, #e84d0a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.fx-hero h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.fx-lead {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.12rem;
}
.fx-hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fx-hero-stage {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding-bottom: 0;
}
.fx-dash {
  border: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  background: rgba(14, 12, 16, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateX(8deg);
  transform-origin: center bottom;
  animation: fx-rise 1.1s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes fx-rise {
  from { opacity: 0; transform: perspective(1200px) rotateX(14deg) translateY(40px); }
  to { opacity: 1; transform: perspective(1200px) rotateX(8deg) translateY(0); }
}
.fx-dash-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.fx-dash-top .fx-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3a3530;
}
.fx-dash-top .fx-dot:nth-child(1) { background: #ff6b6b; }
.fx-dash-top .fx-dot:nth-child(2) { background: #f5c15a; }
.fx-dash-top .fx-dot:nth-child(3) { background: #3dd68c; }
.fx-dash-top em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fx-dash-body {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  min-height: 280px;
}
.fx-dash-side {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fx-dash-side b {
  font-family: var(--display);
  font-size: 13px;
  margin-bottom: 8px;
}
.fx-dash-side i {
  display: block;
  height: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
}
.fx-dash-side i.on {
  background: linear-gradient(90deg, rgba(255,138,42,0.5), rgba(255,138,42,0.15));
  box-shadow: 0 0 0 1px rgba(255,138,42,0.25);
}
.fx-dash-main { padding: 20px 22px; }
.fx-saldo span {
  display: block;
  font-size: 12px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.fx-saldo strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  color: var(--accent-2);
}
.fx-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  margin: 18px 0 16px;
}
.fx-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-deep));
  opacity: 0.85;
  animation: fx-bar 2.4s ease-in-out infinite alternate;
}
.fx-bars span:nth-child(odd) { animation-delay: -0.6s; }
@keyframes fx-bar {
  from { filter: brightness(0.85); }
  to { filter: brightness(1.15); }
}
.fx-tx { display: grid; gap: 8px; }
.fx-tx > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  font-size: 12.5px;
}
.fx-tx b { font-weight: 600; color: var(--muted); }
.fx-tx span { color: var(--ok); font-weight: 700; font-variant-numeric: tabular-nums; }
.fx-tx span.out { color: #ff8f8f; }
.fx-dash-qr {
  border-left: 1px solid var(--line);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.fx-qr-fake {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, #111 0 4px, #eee 4px 8px),
    repeating-linear-gradient(90deg, #111 0 4px, #eee 4px 8px);
  background-blend-mode: multiply;
  background-color: #fff;
  animation: fx-pulse 2.8s ease-in-out infinite;
}
@keyframes fx-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,138,42,0.0); }
  50% { box-shadow: 0 0 0 8px rgba(255,138,42,0.12); }
}
.fx-dash-qr strong { font-size: 1.05rem; color: var(--accent-2); }
.fx-dash-qr span { font-size: 11px; color: var(--faint); }

/* ---- Ticker ---- */
.fx-ticker {
  border-block: 1px solid var(--line);
  background: #0c0a0e;
  overflow: hidden;
  padding: 16px 0;
}
.fx-ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: fx-slide 32s linear infinite;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.fx-ticker-track span { white-space: nowrap; }
@keyframes fx-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Sections ---- */
.fx-section { padding: 88px 0; }
.fx-section-alt { background: linear-gradient(180deg, transparent, rgba(255,122,26,0.03), transparent); }
.fx-section-head { max-width: 560px; margin-bottom: 40px; }
.fx-section-head.fx-center { margin-inline: auto; text-align: center; }
.fx-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.fx-section h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.fx-muted { color: var(--muted); margin: 0; font-size: 1.05rem; }

.fx-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.fx-flow li {
  padding: 28px 22px 8px 0;
  border-right: 1px solid var(--line);
}
.fx-flow li:last-child { border-right: 0; padding-right: 0; }
.fx-flow span {
  display: block;
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.fx-flow h3 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.fx-flow p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.fx-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.fx-list {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.fx-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 500;
}
.fx-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

.fx-phone {
  width: min(280px, 100%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 36px;
  background: #16131a;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.fx-phone-notch {
  width: 96px; height: 10px;
  margin: 6px auto 14px;
  border-radius: 99px;
  background: #0a080c;
}
.fx-phone-screen {
  background: #0c0a0e;
  border-radius: 26px;
  padding: 22px 18px 28px;
  text-align: center;
}
.fx-phone-screen > p {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.fx-phone-qr {
  width: 140px; height: 140px;
  margin: 0 auto 14px;
  border-radius: 10px;
  background:
    repeating-conic-gradient(#111 0% 25%, #f4f4f4 0% 50%) 0 0 / 12px 12px;
  animation: fx-pulse 2.8s ease-in-out infinite;
}
.fx-phone-screen strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.fx-phone-screen button {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0c04;
  font-weight: 700;
  pointer-events: none;
}

.fx-price {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
  max-width: 860px;
  margin-inline: auto;
}
.fx-price-main {
  padding: 36px 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 138, 42, 0.35);
  background:
    radial-gradient(420px 200px at 10% 0%, rgba(255,138,42,0.2), transparent 60%),
    var(--bg-elev);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.fx-price-main > span { color: var(--muted); font-size: 0.95rem; }
.fx-price-main strong {
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.fx-price-main em {
  font-style: normal;
  color: var(--faint);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.fx-price-side {
  padding: 28px 8px;
  display: grid;
  align-content: center;
}
.fx-price-side p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.fx-faq-wrap { max-width: 720px; }
.fx-faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.fx-faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.05rem;
  list-style: none;
}
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after {
  content: "+";
  float: right;
  color: var(--accent-2);
  font-weight: 700;
}
.fx-faq details[open] summary::after { content: "−"; }
.fx-faq p { margin: 10px 0 0; color: var(--muted); }

.fx-cta {
  padding: 40px 0 100px;
  text-align: center;
}
.fx-cta .fx-wrap {
  padding: 64px 28px;
  border-radius: 32px;
  border: 1px solid rgba(255,138,42,0.28);
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(255,138,42,0.28), transparent 65%),
    #120e10;
}
.fx-cta h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.fx-cta p { margin: 0 0 24px; color: var(--muted); }

.fx-foot {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
}
.fx-foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.fx-foot-grid p { color: var(--muted); font-size: 0.92rem; max-width: 280px; }
.fx-foot-grid strong {
  display: block;
  color: var(--ink);
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.fx-foot-grid a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 8px;
}
.fx-foot-grid a:hover { color: var(--ink); }
.fx-foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .fx-dash, .fx-hero-orb, .fx-bars span, .fx-qr-fake, .fx-phone-qr, .fx-ticker-track {
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .fx-nav {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 10px 12px;
  }
  .fx-nav-toggle { display: inline-flex; }
  .fx-nav-cta { display: none; }
  .fx-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 10px 4px 4px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
  .fx-nav.is-open .fx-nav-links {
    display: flex;
  }
  .fx-nav-links a {
    padding: 12px 12px;
    border-radius: 12px;
    font-weight: 600;
  }
  .fx-nav-links a:hover {
    background: rgba(255,255,255,0.04);
  }
  .fx-nav-mobile-only { display: block; }
  .fx-nav-mobile-cta {
    margin-top: 4px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #1a0c04 !important;
    font-weight: 750;
  }
  .fx-dash-body { grid-template-columns: 1fr; }
  .fx-dash-side, .fx-dash-qr { display: none; }
  .fx-dash { transform: none; animation: none; }
  .fx-flow { grid-template-columns: 1fr 1fr; }
  .fx-flow li { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .fx-split, .fx-price, .fx-foot-grid { grid-template-columns: 1fr; }
  .fx-hero { min-height: auto; padding-top: 110px; }
  .fx-hero-inner { margin-bottom: 28px; }
}
@media (max-width: 560px) {
  .fx-flow { grid-template-columns: 1fr; }
  .fx-brand-mark { font-size: 1.35rem; }
}
