@import url("theme.css");

.hidden {
  display: none !important;
}

/* —— Homepage — institutional dark (aligned with dashboard) —— */
.fx-home {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #e5e7eb;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background: #000;
  min-height: 100vh;
}

.fx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(76, 194, 191, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 194, 191, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #020621 0%, #000 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

.fx-container-wide {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

.fx-container-narrow {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

/* Nav */
.fx-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(76, 194, 191, 0.12);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fx-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.85rem clamp(1.25rem, 5vw, 3rem);
  box-sizing: border-box;
}

.fx-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.fx-logo-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000;
  background: var(--fx-teal-light);
}

.fx-logo-mark--sm {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.6rem;
  border-radius: 6px;
}

.fx-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f9fafb;
  letter-spacing: -0.02em;
}

.fx-logo-supper {
  color: var(--fx-teal-light);
  font-weight: 800;
}

.fx-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.35rem;
  border: 1px solid rgba(76, 194, 191, 0.2);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.fx-nav-toggle-bar {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: #9ca3af;
}

.fx-nav-content {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: #0c0c0c;
  border: 1px solid rgba(76, 194, 191, 0.15);
}

@media (min-width: 1024px) {
  .fx-nav-toggle {
    display: none;
  }

  .fx-nav-content {
    display: flex !important;
    align-items: center;
    gap: 0.25rem;
    width: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
  }

  .fx-nav-content.hidden {
    display: flex !important;
  }
}

.fx-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .fx-nav-links {
    flex-direction: row;
    margin-right: 0.75rem;
  }
}

.fx-nav-link {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.fx-nav-link:hover,
.fx-nav-link--active {
  color: #f3f4f6;
  background: rgba(255, 255, 255, 0.05);
}

.fx-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

@media (min-width: 1024px) {
  .fx-nav-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 0;
    margin-left: 0.25rem;
  }
}

.fx-user-chip {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fx-teal-light);
  padding: 0 0.35rem;
}

/* Buttons */
.fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.fx-btn--lg {
  padding: 0.7rem 1.35rem;
  font-size: 0.9375rem;
}

.fx-btn--primary {
  color: #000;
  background: var(--fx-teal-light);
  border-color: var(--fx-teal-light);
}

.fx-btn--primary:hover {
  background: #2bc4c4;
  border-color: #2bc4c4;
}

.fx-btn--secondary {
  color: #e5e7eb;
  background: transparent;
  border-color: rgba(76, 194, 191, 0.35);
}

.fx-btn--secondary:hover {
  background: rgba(51, 213, 213, 0.08);
  border-color: rgba(51, 213, 213, 0.55);
}

.fx-btn--outline {
  color: #e5e7eb;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.fx-btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
}

.fx-btn--ghost {
  color: #d1d5db;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.fx-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.fx-btn--text {
  background: transparent;
  border-color: transparent;
  font-weight: 500;
  color: #9ca3af;
}

.fx-btn--text:hover {
  color: #e5e7eb;
}

/* Hero */
.fx-hero {
  position: relative;
  z-index: 1;
  padding: calc(5rem + env(safe-area-inset-top, 0)) 0 2.5rem;
}

.fx-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .fx-hero-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
  }
}

.fx-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fx-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-teal);
}

.fx-eyebrow--dark {
  color: var(--fx-teal);
}

.fx-hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 2.875rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #f9fafb;
}

.fx-accent {
  color: var(--fx-teal-light);
}

.fx-hero-desc {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #9ca3af;
  font-weight: 400;
}

.fx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.fx-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fx-trust-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
}

.fx-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-teal);
}

/* Hero — iPhone mockup + app preview */
.fx-hero-panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.fx-phone-stage {
  position: relative;
  --phone-w: clamp(12.5rem, 15vw, 15.5rem);
  width: var(--phone-w);
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.fx-phone-glow {
  position: absolute;
  inset: 0 -20% -10%;
  background:
    radial-gradient(ellipse 60% 55% at 55% 42%, rgba(51, 213, 213, 0.22), transparent 68%),
    radial-gradient(ellipse 40% 35% at 30% 70%, rgba(51, 213, 213, 0.08), transparent 70%);
  filter: blur(32px);
  pointer-events: none;
}

.fx-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  transform: rotate(10deg);
  transform-origin: center center;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5));
}

.fx-phone-key {
  position: absolute;
  z-index: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #5c5c5e, #3a3a3c 45%, #2c2c2e);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.4);
}

.fx-phone-key--silent {
  left: -0.14rem;
  top: 18%;
  width: 0.12rem;
  height: 1.1rem;
}

.fx-phone-key--vol-up {
  left: -0.14rem;
  top: 28%;
  width: 0.12rem;
  height: 1.75rem;
}

.fx-phone-key--vol-down {
  left: -0.14rem;
  top: 38%;
  width: 0.12rem;
  height: 1.75rem;
}

.fx-phone-key--power {
  right: -0.14rem;
  top: 24%;
  width: 0.12rem;
  height: 2.5rem;
}

.fx-phone-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  padding: 0.32rem;
  border-radius: 3rem;
  box-sizing: border-box;
  background:
    linear-gradient(
      155deg,
      #a1a1a6 0%,
      #7c7c80 6%,
      #636366 14%,
      #48484a 32%,
      #2c2c2e 55%,
      #1c1c1e 75%,
      #3a3a3c 92%,
      #8e8e93 100%
    );
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.28),
    0 0 0 1.5px rgba(0, 0, 0, 0.85),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    inset 2px 0 4px rgba(255, 255, 255, 0.06),
    inset -2px 0 6px rgba(0, 0, 0, 0.25);
}

.fx-phone-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 28%,
    transparent 72%,
    rgba(255, 255, 255, 0.06) 100%
  );
  pointer-events: none;
}

.fx-phone-bezel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 2.68rem;
  padding: 0.32rem 0.26rem 0.42rem;
  background: #000;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 0 20px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.fx-phone-island {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  z-index: 6;
  width: 5.4rem;
  height: 1.28rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 2px rgba(0, 0, 0, 0.8);
}

.fx-phone-island::before {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #2a2a4a 0%, #12121a 45%, #000 100%);
  box-shadow:
    inset 0 0 3px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.fx-phone-island::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #1a1a22, #050508);
  opacity: 0.85;
}

.fx-phone-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 2.15rem;
  overflow: hidden;
  background: #000;
}

.fx-phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  border-radius: inherit;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 18%,
    transparent 42%,
    transparent 100%
  );
  pointer-events: none;
}

.fx-phone-home {
  flex-shrink: 0;
  width: 5.75rem;
  height: 0.22rem;
  margin: 0.38rem auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

.fx-app-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(9px, 2.4vw, 10.5px);
  color: #e5e7eb;
  padding: 1.9em 0.55em 0.45em;
  box-sizing: border-box;
}

.fx-app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.35rem 0.35rem;
  font-size: 0.5625rem;
  font-weight: 600;
  color: #fff;
}

.fx-app-status-icons {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.fx-app-status-icons i {
  display: block;
  width: 3px;
  background: #fff;
  border-radius: 1px;
}

.fx-app-status-icons i:nth-child(1) { height: 3px; }
.fx-app-status-icons i:nth-child(2) { height: 5px; }
.fx-app-status-icons i:nth-child(3) { height: 7px; }

.fx-app-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0.4rem 0.45rem;
  border: 1px solid rgba(76, 194, 191, 0.2);
  border-radius: 10px;
  background: #0c0c0c;
}

.fx-app-brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.fx-app-mark {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 5px;
  font-size: 0.5rem;
  font-weight: 800;
  color: #000;
  background: var(--fx-teal-light);
}

.fx-app-brand-text strong {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.2;
  color: #f9fafb;
}

.fx-app-supper {
  color: var(--fx-teal-light);
}

.fx-app-brand-text > span {
  display: block;
  font-size: 0.5rem;
  font-weight: 500;
  color: #6b7280;
}

.fx-app-top-right {
  text-align: right;
  flex-shrink: 0;
}

.fx-app-spot span {
  display: block;
  font-size: 0.45rem;
  color: var(--fx-teal-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fx-app-spot strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.fx-app-live {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.2rem;
  font-size: 0.45rem;
  font-weight: 700;
  color: #4ade80;
}

.fx-app-live i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4ade80;
  animation: fx-app-pulse 1.6s ease-in-out infinite;
}

@keyframes fx-app-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.fx-app-card {
  margin-bottom: 0.4em;
  padding: 0.45em;
  border: 1px solid rgba(76, 194, 191, 0.15);
  border-radius: 10px;
  background: #0c0c0c;
  flex-shrink: 0;
}

.fx-app-card--chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.fx-app-card--signal {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.fx-app-medallion {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1.5px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.2);
}

.fx-app-signal-info {
  flex: 1;
  min-width: 0;
}

.fx-app-signal-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.45rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-teal-dim);
}

.fx-app-signal-row strong {
  font-size: 0.625rem;
  color: #fff;
  text-transform: none;
}

.fx-app-bar {
  height: 3px;
  margin: 0.25rem 0 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.fx-app-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgb(0, 136, 79), var(--fx-teal-light));
}

.fx-app-tags {
  display: flex;
  gap: 0.2rem;
}

.fx-app-tags span {
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-size: 0.4375rem;
  font-weight: 600;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.05);
}

.fx-app-chart-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.45rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fx-teal-dim);
}

.fx-app-chart-live {
  color: #4ade80;
  font-size: 0.5rem;
}

.fx-app-chart {
  position: relative;
  flex: 1;
  min-height: 3.5em;
  border-radius: 6px;
  background: #000;
  border: 1px solid rgba(76, 194, 191, 0.1);
  overflow: hidden;
}

.fx-app-chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 194, 191, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 194, 191, 0.06) 1px, transparent 1px);
  background-size: 100% 0.9rem, 0.9rem 100%;
}

.fx-app-candles {
  position: absolute;
  inset: 0.35rem 0.3rem 0.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
}

.fx-app-candle {
  flex: 1;
  max-width: 8px;
  height: var(--h, 50%);
  min-height: 8%;
  border-radius: 1px;
}

.fx-app-candle--up { background: #22c55e; }
.fx-app-candle--down { background: #ef4444; }

.fx-app-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}

.fx-app-level {
  padding: 0.3rem 0.15rem;
  border-radius: 6px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.fx-app-level span {
  display: block;
  font-size: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6b7280;
}

.fx-app-level strong {
  display: block;
  font-size: 0.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #e5e7eb;
}

.fx-app-level--e { border-color: rgba(51, 213, 213, 0.3); }
.fx-app-level--e span { color: #33d5d5; }
.fx-app-level--s { border-color: rgba(239, 68, 68, 0.3); }
.fx-app-level--s span { color: #f87171; }
.fx-app-level--t { border-color: rgba(34, 197, 94, 0.3); }
.fx-app-level--t span { color: #4ade80; }

.fx-app-analyze {
  display: block;
  width: 100%;
  padding: 0.45rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #000;
  background: linear-gradient(135deg, #5eead4, var(--fx-teal-light));
  box-shadow: 0 4px 14px rgba(51, 213, 213, 0.35);
}

@media (max-width: 959px) {
  .fx-hero-panel {
    margin-top: 0.75rem;
  }

  .fx-phone {
    transform: rotate(5deg);
    filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.5));
  }

  .fx-phone-stage {
    --phone-w: clamp(11.5rem, 58vw, 13.5rem);
  }

  .fx-phone-key {
    display: none;
  }
}

@media (min-width: 960px) {
  .fx-phone-stage {
    --phone-w: clamp(13rem, 14vw, 16rem);
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-app-live i {
    animation: none;
  }

  .fx-phone {
    transform: none;
  }
}

/* Stats */
.fx-stats {
  position: relative;
  z-index: 1;
  padding: 0 0 3rem;
}

.fx-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid rgba(76, 194, 191, 0.12);
  border-radius: 12px;
  background: #0c0c0c;
  overflow: hidden;
}

@media (min-width: 768px) {
  .fx-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fx-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(76, 194, 191, 0.08);
}

@media (min-width: 768px) {
  .fx-stat {
    border-bottom: none;
    border-right: 1px solid rgba(76, 194, 191, 0.08);
  }

  .fx-stat:last-child {
    border-right: none;
  }
}

@media (max-width: 767px) {
  .fx-stat:nth-child(odd) {
    border-right: 1px solid rgba(76, 194, 191, 0.08);
  }

  .fx-stat:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

.fx-stat strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fx-teal-light);
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.fx-stat span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.4;
}

/* Sections */
.fx-section {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
  background: transparent;
  border-top: 1px solid rgba(76, 194, 191, 0.08);
}

.fx-section--dark {
  background: transparent;
  border-top: 1px solid rgba(76, 194, 191, 0.08);
}

.fx-section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.75rem;
}

.fx-section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #f9fafb;
}

.fx-section-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #6b7280;
  font-weight: 400;
}

.fx-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .fx-feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.fx-feature-card {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(76, 194, 191, 0.12);
  background: #0c0c0c;
  transition: border-color 0.2s ease;
}

.fx-feature-card:hover {
  border-color: rgba(76, 194, 191, 0.28);
}

.fx-feature-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: var(--fx-teal-light);
  background: rgba(51, 213, 213, 0.08);
  border: 1px solid rgba(76, 194, 191, 0.15);
}

.fx-feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #f3f4f6;
  letter-spacing: -0.01em;
}

.fx-feature-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #6b7280;
  font-weight: 400;
}

/* Steps */
.fx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fx-steps li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(76, 194, 191, 0.08);
}

.fx-steps li:last-child {
  border-bottom: none;
}

.fx-step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--fx-teal-light);
  background: rgba(51, 213, 213, 0.08);
  border: 1px solid rgba(76, 194, 191, 0.2);
}

.fx-steps strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #f3f4f6;
}

.fx-steps p {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.55;
}

/* CTA band */
.fx-cta-band {
  position: relative;
  z-index: 1;
  padding: 0 0 4rem;
}

.fx-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(76, 194, 191, 0.15);
  background: #0c0c0c;
}

@media (min-width: 768px) {
  .fx-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.fx-cta-inner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f9fafb;
}

.fx-cta-inner p {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
}

.fx-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Footer */
.fx-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(76, 194, 191, 0.08);
  background: #000;
}

.fx-footer-inner {
  text-align: center;
}

.fx-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #e5e7eb;
}

.fx-footer-disclaimer {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.55;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.fx-footer-meta {
  margin: 0;
  font-size: 0.6875rem;
  color: #374151;
  letter-spacing: 0.02em;
}

/* Auth modal on homepage */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.auth-modal.show {
  display: flex;
}

.auth-card {
  position: relative;
  width: min(420px, 100%);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(76, 194, 191, 0.2);
  border-radius: 14px;
  background: #0c0c0c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  color: #f3f4f6;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #33d5d5, rgb(0, 136, 79));
}

.auth-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.auth-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: transparent;
  color: #9ca3af;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.auth-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}

.auth-form--modal .auth-field {
  margin-bottom: 0.85rem;
}

.auth-form--modal .auth-input-wrap input {
  padding-right: 1rem;
}

/* —— Pricing page —— */
.fx-page-white {
  background: #fff;
  color: #1f2937;
  min-height: 100vh;
}

.gradient {
  background: linear-gradient(90deg, #33d5d5 0%, rgb(0, 136, 79) 100%);
}

.fx-btn-login {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  background: var(--fx-teal-light);
  color: #000;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.fx-btn-login:hover {
  background: #2bc4c4;
}

.fx-btn-login--sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
}

.fx-btn-cta {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  background: var(--fx-teal-light);
  color: #000;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.fx-btn-cta:hover {
  background: #2bc4c4;
}

.fx-btn-cta--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
}

/* —— Pricing page —— */
.fx-pricing .fx-pricing-page {
  position: relative;
  z-index: 1;
  padding: calc(5rem + env(safe-area-inset-top, 0)) 0 3rem;
  overflow-x: clip;
}

.fx-pricing-hero {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.fx-pricing-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f9fafb;
}

.fx-pricing-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #9ca3af;
  font-weight: 400;
}

.pricing-toggle {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  width: fit-content;
  margin: 0 auto 2.5rem;
  padding: 4px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(76, 194, 191, 0.18);
}

.pricing-toggle-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 7px;
  background: var(--fx-teal-light);
  box-shadow: 0 2px 12px rgba(51, 213, 213, 0.25);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.pricing-toggle.is-yearly .pricing-toggle-pill {
  transform: translateX(100%);
}

.pricing-toggle-btn {
  position: relative;
  z-index: 1;
  min-width: 7rem;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #9ca3af;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pricing-toggle-btn em {
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #4ade80;
  margin-left: 0.15rem;
}

.pricing-toggle-btn.active {
  color: #000;
}

.pricing-toggle.is-yearly .pricing-toggle-btn[data-cycle="year"].active em {
  color: #065f46;
}

.plan-amount {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #f9fafb;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.plan-price {
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.plan-price.is-flipping .plan-amount {
  transform: translateY(6px);
  opacity: 0;
}

.plan-unit {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6b7280;
}

.fx-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
  max-width: 32rem;
  margin: 0 0 3rem 0;
}

@media (min-width: 768px) {
  .fx-pricing-grid {
    max-width: 62rem;
    margin: 0 auto 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .fx-pricing-grid {
    max-width: 68rem;
    gap: 1.25rem;
  }
}

.fx-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(76, 194, 191, 0.12);
  background: #0c0c0c;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-plan-card:hover {
  border-color: rgba(76, 194, 191, 0.28);
}

.fx-plan-card::before {
  content: "";
  display: block;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(51, 213, 213, 0.4), rgba(51, 213, 213, 0.1));
  opacity: 0.6;
}

.fx-plan-card--featured {
  border-color: rgba(51, 213, 213, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.fx-plan-card--featured::before {
  background: linear-gradient(90deg, #33d5d5, rgb(0, 136, 79));
  opacity: 1;
}

.fx-plan-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  background: var(--fx-teal-light);
}

.fx-plan-card-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 1.45rem 1.25rem 1.35rem;
}

.fx-plan-head {
  margin-bottom: 1rem;
  text-align: left;
  flex-shrink: 0;
}

.fx-plan-head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f3f4f6;
}

.fx-plan-desc {
  margin: 0;
  min-height: 2.75em;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6b7280;
  font-weight: 400;
}

.fx-plan-features {
  list-style: none;
  margin: 0;
  padding: 0 0 1.25rem;
  flex: 1 1 auto;
  text-align: left;
}

.fx-plan-features li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #d1d5db;
  font-weight: 400;
}

.fx-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-teal);
}

.fx-plan-card--featured .fx-plan-features li::before {
  background: var(--fx-teal-light);
}

.fx-plan-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 2rem);
  align-self: flex-start;
  height: 46px;
  min-height: 46px;
  margin-top: auto;
  flex-shrink: 0;
  padding: 0 1rem;
  border-radius: 8px;
  border: 1px solid rgba(76, 194, 191, 0.3);
  background: transparent;
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fx-plan-btn:hover {
  background: rgba(51, 213, 213, 0.08);
  border-color: rgba(51, 213, 213, 0.5);
}

.fx-plan-btn--primary {
  color: #000;
  background: var(--fx-teal-light);
  border-color: var(--fx-teal-light);
}

.fx-plan-btn--primary:hover {
  background: #2bc4c4;
  border-color: #2bc4c4;
}

.fx-pricing-note {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(76, 194, 191, 0.12);
  background: rgba(12, 12, 12, 0.85);
  text-align: center;
}

.fx-pricing-note h2 {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #f3f4f6;
}

.fx-pricing-steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

@media (min-width: 640px) {
  .fx-pricing-steps {
    flex-direction: row;
    gap: 1rem;
  }

  .fx-pricing-steps li {
    flex: 1;
  }
}

.fx-pricing-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #9ca3af;
}

.fx-pricing-steps li span {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--fx-teal-light);
  background: rgba(51, 213, 213, 0.1);
  border: 1px solid rgba(76, 194, 191, 0.2);
}

.fx-pricing-steps strong {
  color: #e5e7eb;
  font-weight: 600;
}

.fx-pricing-disclaimer {
  margin: 0;
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.5;
}

.fx-footer-link {
  color: var(--fx-teal-light);
  text-decoration: none;
}

.fx-footer-link:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .fx-home {
    scroll-behavior: auto;
  }
}

@media (max-width: 1023px) {
  .fx-nav-bar {
    flex-wrap: wrap;
  }

  .fx-nav-content:not(.hidden) {
    order: 3;
    flex-basis: 100%;
  }
}

/* —— Landing (trang chủ) — trắng · xanh lá nhạt —— */
.fx-landing {
  --landing-accent: #3cb88a;
  --landing-accent-dark: #2a9d72;
  --landing-accent-light: #7dceb0;
  --landing-accent-pale: #f3fbf7;
  --landing-accent-soft: #e8f6ef;
  --landing-accent-border: #c5e6d4;
  --landing-bg: #ffffff;
  --landing-bg-soft: #f9fcfa;
  --landing-border: #e2ebe6;
  --landing-text: #1a2e28;
  --landing-text-soft: #3d5249;
  --landing-text-muted: #6b7f76;
  background: var(--landing-bg-soft);
  color: var(--landing-text-soft);
}

body.fx-landing {
  background-color: var(--landing-bg-soft);
  color: var(--landing-text-soft);
}

.fx-landing .fx-bg {
  background:
    linear-gradient(rgba(60, 184, 138, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 184, 138, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f7fbf9 50%, #eef8f2 100%);
  background-size: 56px 56px, 56px 56px, auto;
}

.fx-landing .fx-nav {
  border-bottom: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(42, 157, 114, 0.06);
}

@supports (-webkit-touch-callout: none) {
  .fx-landing.fx-home .fx-nav {
    background: linear-gradient(
      180deg,
      #ffffff 0,
      #ffffff calc(env(safe-area-inset-top, 0px) + 6px),
      rgba(255, 255, 255, 0.96) calc(env(safe-area-inset-top, 0px) + 6px)
    );
  }
}

.fx-landing .fx-logo-mark {
  color: #fff;
  background: linear-gradient(145deg, var(--landing-accent-light), var(--landing-accent-dark));
  box-shadow: 0 4px 14px rgba(60, 184, 138, 0.22);
}

.fx-landing .fx-logo-text {
  color: var(--landing-text);
}

.fx-landing .fx-logo-supper {
  color: var(--landing-accent-dark);
}

.fx-landing .fx-nav-toggle {
  border-color: var(--landing-accent-border);
  background: var(--landing-bg);
}

.fx-landing .fx-nav-toggle-bar {
  background: var(--landing-text-muted);
}

.fx-landing .fx-nav-content {
  background: var(--landing-bg);
  border-color: var(--landing-border);
  box-shadow: 0 10px 28px rgba(26, 46, 40, 0.07);
}

.fx-landing .fx-nav-link {
  color: var(--landing-text-muted);
}

.fx-landing .fx-nav-link:hover,
.fx-landing .fx-nav-link--active {
  color: var(--landing-accent-dark);
  background: var(--landing-accent-pale);
}

.fx-landing .fx-user-chip {
  color: var(--landing-accent-dark);
}

.fx-landing .fx-btn--primary {
  color: #fff;
  background: var(--landing-accent);
  border-color: var(--landing-accent);
  box-shadow: 0 4px 16px rgba(60, 184, 138, 0.22);
}

.fx-landing .fx-btn--primary:hover {
  background: var(--landing-accent-dark);
  border-color: var(--landing-accent-dark);
}

.fx-landing .fx-btn--secondary {
  color: var(--landing-accent-dark);
  background: var(--landing-accent-pale);
  border-color: var(--landing-accent-border);
}

.fx-landing .fx-btn--secondary:hover {
  background: var(--landing-accent-soft);
  border-color: #a8d9be;
}

.fx-landing .fx-btn--outline {
  color: var(--landing-text-soft);
  border-color: var(--landing-accent-border);
  background: var(--landing-bg);
}

.fx-landing .fx-btn--outline:hover {
  background: var(--landing-accent-pale);
  border-color: #a8d9be;
  color: var(--landing-text);
}

.fx-landing .fx-btn--ghost {
  color: var(--landing-text-soft);
  border-color: var(--landing-border);
  background: transparent;
}

.fx-landing .fx-btn--ghost:hover {
  background: var(--landing-accent-pale);
  border-color: var(--landing-accent-border);
  color: var(--landing-text);
}

.fx-landing .fx-btn--text {
  color: var(--landing-text-muted);
}

.fx-landing .fx-btn--text:hover {
  color: var(--landing-text);
}

.fx-landing .fx-eyebrow,
.fx-landing .fx-eyebrow--dark {
  color: var(--landing-accent-dark);
  letter-spacing: 0.14em;
}

.fx-landing .fx-hero h1 {
  color: var(--landing-text);
}

.fx-landing .fx-accent {
  color: var(--landing-accent);
}

.fx-landing .fx-hero-desc {
  color: var(--landing-text-muted);
}

.fx-landing .fx-trust-list li {
  color: var(--landing-text-muted);
}

.fx-landing .fx-trust-list li::before {
  background: var(--landing-accent-light);
  box-shadow: 0 0 0 2px var(--landing-accent-soft);
}

.fx-landing .fx-phone-glow {
  background:
    radial-gradient(ellipse 60% 55% at 55% 42%, rgba(125, 206, 176, 0.28), transparent 68%),
    radial-gradient(ellipse 40% 35% at 30% 70%, rgba(60, 184, 138, 0.12), transparent 70%);
}

.fx-landing .fx-stats-grid {
  border-color: var(--landing-accent-border);
  background: var(--landing-bg);
  box-shadow: 0 2px 20px rgba(42, 157, 114, 0.06);
}

.fx-landing .fx-stat {
  border-color: var(--landing-accent-border);
}

.fx-landing .fx-stat strong {
  color: var(--landing-accent-dark);
}

.fx-landing .fx-stat span {
  color: var(--landing-text-muted);
}

.fx-landing .fx-section {
  border-top-color: var(--landing-border);
}

.fx-landing .fx-section-title {
  color: var(--landing-text);
}

.fx-landing .fx-section-lead {
  color: var(--landing-text-muted);
}

.fx-landing .fx-feature-card {
  background: var(--landing-bg);
  border-color: var(--landing-border);
  box-shadow: 0 1px 8px rgba(42, 157, 114, 0.05);
}

.fx-landing .fx-feature-card:hover {
  border-color: var(--landing-accent-border);
  box-shadow: 0 6px 20px rgba(60, 184, 138, 0.1);
}

.fx-landing .fx-feature-icon {
  color: var(--landing-accent-dark);
  background: var(--landing-accent-pale);
  border-color: var(--landing-accent-border);
}

.fx-landing .fx-feature-card h3 {
  color: var(--landing-text);
}

.fx-landing .fx-feature-card p {
  color: var(--landing-text-muted);
}

.fx-landing .fx-section--dark {
  background: var(--landing-accent-pale);
  border-top-color: var(--landing-accent-border);
}

.fx-landing .fx-steps li {
  border-bottom-color: var(--landing-accent-border);
}

.fx-landing .fx-step-num {
  color: var(--landing-accent-dark);
  background: #fff;
  border-color: var(--landing-accent-border);
}

.fx-landing .fx-steps strong {
  color: var(--landing-text);
}

.fx-landing .fx-steps p {
  color: var(--landing-text-muted);
}

.fx-landing .fx-cta-inner {
  border: 1px solid var(--landing-accent-border);
  background: linear-gradient(135deg, #f8fdfb 0%, var(--landing-accent-soft) 100%);
  box-shadow: 0 8px 28px rgba(60, 184, 138, 0.1);
}

.fx-landing .fx-cta-inner h2 {
  color: var(--landing-text);
}

.fx-landing .fx-cta-inner p {
  color: var(--landing-text-muted);
}

.fx-landing .fx-cta-inner .fx-btn--primary {
  color: #fff;
  background: var(--landing-accent);
  border-color: var(--landing-accent);
  box-shadow: 0 4px 14px rgba(60, 184, 138, 0.22);
}

.fx-landing .fx-cta-inner .fx-btn--primary:hover {
  background: var(--landing-accent-dark);
  border-color: var(--landing-accent-dark);
}

.fx-landing .fx-cta-inner .fx-btn--outline {
  color: var(--landing-accent-dark);
  border-color: var(--landing-accent-border);
  background: var(--landing-bg);
}

.fx-landing .fx-cta-inner .fx-btn--outline:hover {
  background: var(--landing-accent-pale);
  border-color: #a8d9be;
}

.fx-landing .fx-footer {
  background: var(--landing-bg);
  border-top-color: var(--landing-border);
}

.fx-landing .fx-footer-brand {
  color: var(--landing-text);
}

.fx-landing .fx-footer-disclaimer {
  color: var(--landing-text-muted);
}

.fx-landing .fx-footer-meta {
  color: #8fa399;
}

.fx-landing .auth-modal {
  background: rgba(26, 46, 40, 0.35);
}

.fx-landing .auth-card {
  background: var(--landing-bg);
  border-color: var(--landing-border);
  color: var(--landing-text);
  box-shadow: 0 20px 56px rgba(26, 46, 40, 0.12);
}

.fx-landing .auth-card::before {
  background: linear-gradient(90deg, var(--landing-accent-light), var(--landing-accent-dark));
}

.fx-landing .auth-close {
  border-color: var(--landing-border);
  color: var(--landing-text-muted);
}

.fx-landing .auth-close:hover {
  background: var(--landing-accent-pale);
  color: var(--landing-text);
}

.fx-landing .auth-note {
  color: var(--landing-text-muted);
}

.fx-landing .auth-foot {
  color: var(--landing-text-muted);
}

.fx-landing .auth-foot a {
  color: var(--landing-accent-dark);
}

.fx-landing .auth-input-wrap input {
  background: var(--landing-bg-soft);
  border-color: var(--landing-border);
  color: var(--landing-text);
}

.fx-landing .auth-input-wrap input::placeholder {
  color: #9aada4;
}

.fx-landing .auth-input-wrap input:hover {
  border-color: var(--landing-accent-border);
}

.fx-landing .auth-input-wrap input:focus {
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 3px rgba(60, 184, 138, 0.14);
}

.fx-landing .auth-submit {
  background: var(--landing-accent);
  color: #fff;
}

.fx-landing .auth-submit:hover:not(:disabled) {
  background: var(--landing-accent-dark);
}

/* —— Landing PRO — corporate polish —— */
.fx-landing {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  font-feature-settings: "kern" 1, "liga" 1;
}

.fx-landing .fx-bg {
  background:
    radial-gradient(ellipse 70% 55% at 92% 8%, rgba(125, 206, 176, 0.14), transparent 58%),
    radial-gradient(ellipse 55% 45% at 4% 92%, rgba(232, 246, 239, 0.95), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #fafdfb 100%);
}

.fx-landing .fx-nav {
  border-bottom: 1px solid rgba(226, 235, 230, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: none;
}

.fx-landing .fx-nav-bar {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.95rem clamp(1.25rem, 4vw, 2rem);
}

.fx-landing .fx-logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  font-size: 0.65rem;
  box-shadow: none;
  background: var(--landing-accent);
}

.fx-landing .fx-logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.fx-landing .fx-logo-supper {
  font-weight: 800;
}

@media (min-width: 1024px) {
  .fx-landing .fx-nav-link {
    padding: 0.5rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 500;
  }

  .fx-landing .fx-nav-link:hover {
    background: transparent;
    color: var(--landing-text);
  }

  .fx-landing .fx-nav-link--active {
    background: transparent;
    color: var(--landing-accent-dark);
    font-weight: 600;
  }
}

.fx-landing .fx-btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.fx-landing .fx-btn--primary {
  box-shadow: none;
}

.fx-landing .fx-btn--primary:hover {
  box-shadow: 0 6px 20px rgba(60, 184, 138, 0.2);
}

.fx-landing .fx-landing-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--landing-accent-border);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--landing-accent-dark);
}

.fx-landing .fx-hero {
  padding-top: calc(5.5rem + env(safe-area-inset-top, 0));
  padding-bottom: 3.5rem;
}

.fx-landing .fx-hero h1 {
  max-width: 13em;
  font-size: clamp(2.125rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.fx-landing .fx-accent {
  font-weight: 800;
}

.fx-landing .fx-hero-desc {
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
}

.fx-landing .fx-trust-chips {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.fx-landing .fx-trust-chips li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--landing-text-soft);
}

.fx-landing .fx-trust-chips li::before {
  display: none;
}

.fx-landing .fx-phone {
  transform: rotate(0deg);
  filter: drop-shadow(0 24px 48px rgba(26, 46, 40, 0.1));
}

.fx-landing .fx-phone-glow {
  opacity: 0.65;
}

.fx-landing .fx-stats {
  padding-bottom: 4rem;
}

.fx-landing .fx-stats-grid {
  gap: 0.75rem;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

@media (min-width: 768px) {
  .fx-landing .fx-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.fx-landing .fx-stat {
  padding: 1.35rem 1rem;
  border: 1px solid var(--landing-border) !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(26, 46, 40, 0.04);
}

.fx-landing .fx-stat strong {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.fx-landing .fx-section {
  padding: 5rem 0;
  border-top: none;
}

.fx-landing .fx-section-head {
  margin-bottom: 3rem;
}

.fx-landing .fx-section-title {
  font-size: clamp(1.625rem, 2.8vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.fx-landing .fx-section-lead {
  font-size: 1rem;
  line-height: 1.7;
}

.fx-landing .fx-feature-card {
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(26, 46, 40, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fx-landing .fx-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--landing-accent-border);
  box-shadow: 0 16px 40px rgba(26, 46, 40, 0.07);
}

.fx-landing .fx-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  border: none;
  background: var(--landing-accent-soft);
}

.fx-landing .fx-feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fx-landing .fx-section--dark {
  background: linear-gradient(180deg, var(--landing-accent-pale) 0%, rgba(255, 255, 255, 0) 100%);
  border-top: none;
}

.fx-landing .fx-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .fx-landing .fx-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.fx-landing .fx-steps li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  background: #fff;
  border-bottom: 1px solid var(--landing-border);
  box-shadow: 0 1px 2px rgba(26, 46, 40, 0.04);
}

.fx-landing .fx-step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  font-size: 0.875rem;
  background: var(--landing-accent-soft);
  border: none;
}

.fx-landing .fx-cta-band {
  padding-bottom: 5rem;
}

.fx-landing .fx-cta-inner {
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  border-radius: 20px;
  border: 1px solid var(--landing-accent-border);
  background: #fff;
  box-shadow: 0 20px 50px rgba(26, 46, 40, 0.06);
}

.fx-landing .fx-cta-inner h2 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.fx-landing .fx-footer {
  padding: 2.5rem 0 3rem;
  background: var(--landing-bg-soft);
}

.fx-landing .fx-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.fx-landing .fx-footer-brand {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fx-landing .fx-footer-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.fx-landing .fx-footer-meta {
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

@media (max-width: 959px) {
  .fx-landing .fx-phone {
    transform: none;
  }
}
