/* FeeLab — enterprise / CN */
:root {
  --fl-bg: #050505;
  --fl-card: rgba(255, 255, 255, 0.035);
  --fl-line: rgba(255, 255, 255, 0.1);
  --fl-text: #fafafa;
  --fl-muted: #a3a3a3;
  --fl-dim: #737373;
  --fl-a: #ea580c;
  --fl-b: #22d3ee;
  --fl-r: 16px;
  --fl-font: "Inter", "Noto Sans SC", system-ui, sans-serif;
  --fl-serif: "Noto Serif SC", Georgia, serif;
}
.fl-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fl-font), "Noto Sans", "Noto Naskh Arabic", "Noto Sans Devanagari", sans-serif;
  background: var(--fl-bg);
  color: var(--fl-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.fl-read {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 100;
  pointer-events: none;
  background: linear-gradient(90deg, #ea580c, #fb923c, #22d3ee);
}
.fl-shell { width: min(100% - 2rem, 920px); margin-inline: auto; }
.fl-main { padding-bottom: 4rem; }

.fl-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fl-top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.fl-top__end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.fl-lang__select {
  appearance: auto;
  max-width: min(10rem, 32vw);
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fl-text);
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}
.fl-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html[dir="rtl"] .fl-top__row {
  flex-direction: row-reverse;
}
html[dir="rtl"] .fl-top__end {
  flex-direction: row-reverse;
}
html[dir="rtl"] .fl-tabs {
  flex-direction: row-reverse;
}
.fl-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.fl-brand span { display: flex; flex-direction: column; }
.fl-brand strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.fl-brand small { font-size: 0.7rem; color: var(--fl-dim); max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .fl-brand small { display: none; } }

.fl-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  cursor: pointer;
}
.fl-burger span { display: block; width: 20px; height: 2px; background: var(--fl-text); border-radius: 1px; }

.fl-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.fl-nav a {
  color: var(--fl-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}
.fl-nav a:hover { color: #e5e5e5; }
.fl-nav__cta {
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 40%, #0ea5e9 100%);
  color: #050505 !important;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
@media (max-width: 820px) {
  .fl-burger { display: flex; }
  .fl-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 64px;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 0.65rem;
  }
  .fl-nav.fl-nav--open { display: flex; }
  .fl-nav__cta { text-align: center; }
}

.fl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  padding: 0.45rem 0 0.65rem;
  font-size: 0.75rem;
}
.fl-tab {
  color: var(--fl-dim);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
}
.fl-tab:hover { color: #e5e5e5; background: rgba(255, 255, 255, 0.04); }

.fl-hero {
  padding: 0.5rem 0 2.5rem;
  text-align: center;
}
.fl-hero__title {
  font-size: clamp(1.6rem, 5vw, 2.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin: 0 0 1.35rem;
  color: #fff;
}
.fl-hero__title .fl-grad {
  background: linear-gradient(105deg, #fb923c 0%, #ea580c 35%, #22d3ee 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fl-lead {
  font-family: var(--fl-serif);
  color: #a3a3a3;
  font-size: 1.0625rem;
  font-weight: 400;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  text-align: justify;
  text-align-last: center;
  text-justify: inter-ideograph;
}
.fl-hero .fl-btn--pri {
  padding: 0.9rem 2rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 45%, #0ea5e9 100%);
  color: #050505 !important;
  border: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 12px 40px rgba(234, 88, 12, 0.15);
}
.fl-hero .fl-btn--pri:hover { filter: brightness(1.05); }

.fl-section {
  margin-top: 2.75rem;
  scroll-margin-top: 88px;
}
.fl-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #f5f5f5;
}
.fl-sub { color: var(--fl-muted); margin: 0 0 1.25rem; max-width: 44rem; }

.fl-card {
  background: var(--fl-card);
  border: 1px solid var(--fl-line);
  border-radius: var(--fl-r);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.fl-slider {
  margin: 1rem 0;
}
.fl-slider label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.fl-slider input[type="range"] {
  width: 100%;
  height: 2rem;
  accent-color: var(--fl-a);
  cursor: pointer;
}
.fl-slider output, .fl-slider .fl-val {
  font-variant-numeric: tabular-nums;
  color: var(--fl-b);
}

.fl-outgrid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .fl-outgrid { grid-template-columns: repeat(3, 1fr); }
}
.fl-stat {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}
.fl-stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: #22d3ee;
  font-variant-numeric: tabular-nums;
}
.fl-stat span { font-size: 0.7rem; color: var(--fl-dim); letter-spacing: 0.06em; }

.fl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  color: var(--fl-text);
}
.fl-btn--pri {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 45%, #0ea5e9 100%);
  color: #050505;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
.fl-btn--ghost {
  border-color: var(--fl-line);
}
.fl-btn--sm { font-size: 0.82rem; padding: 0.4rem 0.75rem; }

.fl-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fl-cmp-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.fl-cmp-tabs button {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--fl-line);
  background: transparent;
  color: var(--fl-muted);
  font-family: inherit;
  cursor: pointer;
  font-size: 0.85rem;
}
.fl-cmp-tabs button.fl-on {
  border-color: var(--fl-b);
  color: var(--fl-text);
  background: rgba(34, 211, 238, 0.1);
}
.fl-cmp-panel { display: none; color: var(--fl-muted); font-size: 0.95rem; }
.fl-cmp-panel.fl-show { display: block; }

.fl-checklist { list-style: none; margin: 0; padding: 0; }
.fl-checklist li {
  margin-bottom: 0.5rem;
}
.fl-checklist button {
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--fl-line);
  background: rgba(12, 10, 9, 0.45);
  color: var(--fl-text);
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.fl-checklist button::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--fl-muted);
  flex-shrink: 0;
}
.fl-checklist button.fl-done {
  border-color: rgba(34, 211, 238, 0.5);
  color: var(--fl-muted);
}
.fl-checklist button.fl-done::before {
  background: var(--fl-b);
  border-color: var(--fl-b);
  box-shadow: inset 0 0 0 2px var(--fl-bg);
}
.fl-checkprog {
  font-size: 0.85rem;
  color: var(--fl-muted);
  margin-bottom: 1rem;
}

.fl-quiz-q { font-weight: 600; margin: 1rem 0 0.5rem; }
.fl-quiz label { display: block; margin: 0.35rem 0; color: var(--fl-muted); cursor: pointer; }
.fl-quiz input { margin-right: 0.5rem; accent-color: var(--fl-a); }

.fl-scen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}
.fl-scen input[type="text"] {
  flex: 1;
  min-width: 140px;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--fl-line);
  background: rgba(12, 10, 9, 0.6);
  color: var(--fl-text);
  font-family: inherit;
}
.fl-scen-list { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fl-chip {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--fl-line);
  background: transparent;
  color: var(--fl-muted);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}
.fl-chip:hover { color: var(--fl-b); border-color: var(--fl-b); }

.fl-disclaimer {
  font-size: 0.78rem;
  color: var(--fl-muted);
  margin-top: 1rem;
  line-height: 1.5;
}

.fl-cta {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--fl-r);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
}
.fl-cta p { color: var(--fl-muted); margin: 0 0 1rem; }

.fl-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
  background: #030303;
}
.fl-foot__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .fl-foot__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.fl-foot__h {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fl-dim);
  margin: 0 0 0.65rem;
}
.fl-foot__ul { list-style: none; margin: 0; padding: 0; }
.fl-foot__ul a { color: var(--fl-text); text-decoration: none; font-size: 0.9rem; }
.fl-foot__ul a:hover { color: var(--fl-a); }
.fl-foot__txt { font-size: 0.88rem; color: var(--fl-muted); margin: 0; line-height: 1.55; }
.fl-foot__bar {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--fl-muted);
}

.fl-legal h1 { font-size: 1.65rem; font-weight: 600; margin: 1rem 0 0.5rem; }
.fl-legal .fl-lead { margin-bottom: 2rem; }
.fl-legal h2 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }
.fl-legal p, .fl-legal li { color: var(--fl-muted); font-size: 0.95rem; }

.fl-form label { display: block; font-weight: 600; font-size: 0.85rem; margin: 1rem 0 0.35rem; }
.fl-form input, .fl-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--fl-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fl-text);
  font-family: inherit;
}
.fl-form textarea { min-height: 120px; }

@media (max-width: 639px) {
  .fl-top {
    padding-top: env(safe-area-inset-top, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }
  .fl-shell {
    width: min(100% - 1.25rem, 920px);
    max-width: 100%;
  }
  .fl-main {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom, 0));
  }
  .fl-nav.fl-nav--open a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .fl-nav__cta { min-height: 48px; }
  .fl-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
    padding: 0.45rem 0 0.65rem;
  }
  .fl-tabs::-webkit-scrollbar { display: none; }
  .fl-tab {
    flex: 0 0 auto;
    padding: 0.5rem 0.8rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
  }
  .fl-hero { padding: 0.25rem 0 2rem; }
  .fl-hero__title {
    font-size: clamp(1.26rem, 6.8vw, 1.85rem);
    line-height: 1.3;
    word-break: break-word;
  }
  .fl-lead {
    font-size: 0.96rem;
    line-height: 1.72;
    text-align: left;
    text-align-last: left;
    margin-bottom: 1.5rem;
  }
  .fl-hero .fl-btn--pri {
    width: 100%;
    max-width: 22rem;
    min-height: 48px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }
  .fl-section {
    margin-top: 2.1rem;
    scroll-margin-top: 96px;
  }
  .fl-section h2 { font-size: 1.06rem; }
  .fl-sub { font-size: 0.9rem; line-height: 1.68; }
  .fl-card { padding: 1.05rem; }
  .fl-slider label { font-size: 0.84rem; flex-wrap: wrap; gap: 0.25rem; }
  .fl-outgrid { grid-template-columns: 1fr; }
  .fl-stat { padding: 0.85rem; }
  .fl-presets {
    flex-direction: column;
    align-items: stretch;
  }
  .fl-presets .fl-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    box-sizing: border-box;
  }
  .fl-scen {
    flex-direction: column;
    align-items: stretch;
  }
  .fl-scen input[type="text"] {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    font-size: 16px;
    box-sizing: border-box;
  }
  .fl-scen .fl-btn--pri {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .fl-cmp-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.45rem;
    padding-bottom: 0.25rem;
  }
  .fl-cmp-tabs::-webkit-scrollbar { display: none; }
  .fl-cmp-tabs button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0.5rem 1rem;
  }
  .fl-cmp-panel { font-size: 0.9rem; line-height: 1.65; }
  .fl-checklist button {
    min-height: 52px;
    padding: 0.9rem 1rem;
  }
  .fl-quiz label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.65rem 0;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .fl-quiz input { margin: 0.2rem 0 0; flex-shrink: 0; width: 1.1rem; height: 1.1rem; }
  .fl-quiz .fl-btn--pri {
    width: 100%;
    min-height: 48px;
    margin-top: 0.5rem;
  }
  .fl-chip {
    min-height: 44px;
    padding: 0.4rem 0.85rem;
    display: inline-flex;
    align-items: center;
  }
  .fl-cta .fl-btn--pri {
    width: 100%;
    max-width: 22rem;
    min-height: 48px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }
  .fl-form input, .fl-form textarea {
    font-size: 16px;
    min-height: 48px;
  }
  .fl-form textarea { min-height: 140px; }
}
