/* ============================================================
   UCashier Portal
   Visual language aligned with the management console:
   Apex teal primary (oklch 160), dark header, 8/12 radius,
   sans headings, 1280px container.
   ============================================================ */

:root {
  --primary: oklch(48% 0.175 160);
  --primary-dark: oklch(42% 0.175 160);
  --primary-soft: oklch(48% 0.175 160 / 12%);
  --primary-fg: oklch(98.5% 0.002 230);
  --header-bg: oklch(14% 0 0);
  --bg: oklch(100% 0 0);
  --bg-secondary: oklch(96% 0.005 230);
  --primary-text: oklch(15.5% 0.015 230);
  --text-color: oklch(15.5% 0.015 230);
  --text-secondary: oklch(52% 0.015 230);
  --border-color: oklch(92.2% 0.005 230);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "PingFang SC",
    "Microsoft JhengHei", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--primary-text);
  text-align: center;
  margin-bottom: 48px;
}

.section-lead {
  text-align: center;
  color: var(--text-secondary);
  margin: -32px 0 48px;
  font-size: 16px;
}

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 11px 20px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  height: 44px;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-color);
  color: var(--primary-text);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   Header — zinc, white type, pill login
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--header-bg);
  /* 不要加 backdrop-filter / filter / transform：它们会把内部 position:fixed 的移动端菜单困在 64px 顶栏里，抽屉高度变成 0。 */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.brand-light .brand-name {
  color: var(--primary-text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  padding-left: 40px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.nav-item {
  position: relative;
}

.dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-item.open .dropdown-toggle::after {
  transform: rotate(225deg) translateY(1px);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  transform-origin: top center;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.2s;
}

.nav-item:hover .dropdown-panel,
.nav-item.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-group {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 12px 4px;
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  color: var(--text-color);
  font-size: 14px;
}

.dropdown-link:hover {
  background: rgba(79, 70, 229, 0.08);
}

.dropdown-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--text-secondary);
}

.dropdown-icon svg {
  width: 20px;
  height: 20px;
}

.dropdown-link:hover .dropdown-icon {
  color: var(--primary);
}

.dropdown-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.dropdown-link:hover .dropdown-title {
  color: var(--primary);
}

.dropdown-desc {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-panel {
  min-width: 160px;
  left: auto;
  right: 0;
}

.lang-option.is-active {
  background: rgba(79, 70, 229, 0.12);
  color: var(--primary);
  font-weight: 500;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}

.nav-mobile-actions {
  display: none;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 88px 0 72px;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-weight: 800;
  font-size: 56px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--primary-text);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-fee {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
  color: var(--primary-text);
  margin-bottom: 32px;
}

.fee-rate {
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.hero-cta {
  display: flex;
  gap: 14px;
}

.usecase-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* floating coins */

.hero-visual {
  display: flex;
  justify-content: center;
  min-height: 340px;
}

.orbit {
  position: relative;
  width: 340px;
  height: 340px;
}

.orbit-ring {
  position: absolute;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  inset: 50%;
}

.orbit-ring.r1 {
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
}

.orbit-ring.r2 {
  width: 240px;
  height: 240px;
  margin: -120px 0 0 -120px;
}

.orbit-ring.r3 {
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
}

.coin {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  box-shadow: 0 8px 24px rgba(20, 55, 43, 0.16);
}

.coin-core {
  width: 88px;
  height: 88px;
  left: 50%;
  top: 50%;
  margin: -44px 0 0 -44px;
  background: var(--primary);
  font-size: 15px;
}

.coin-trc {
  width: 64px;
  height: 64px;
  left: 8px;
  top: 46px;
  background: #18181b;
}

.coin-erc {
  width: 58px;
  height: 58px;
  right: 12px;
  top: 28px;
  background: #627eea;
}

.coin-usdc {
  width: 60px;
  height: 60px;
  left: 24px;
  bottom: 32px;
  background: #2775ca;
}

.coin-py {
  width: 62px;
  height: 62px;
  right: 28px;
  bottom: 36px;
  background: #0070ba;
}

.ops-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ops-step p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-text);
}

.price-table td:first-child {
  font-weight: 600;
  color: var(--primary-text);
  white-space: nowrap;
}

.price-note {
  margin: 28px 0 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.industry-chip {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-text);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 10px;
  background: #fff;
}

.industry-chip:nth-child(odd) {
  border-color: rgba(79, 70, 229, 0.35);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.industries-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 24px;
}

.hero-stats {
  margin-top: 72px;
}

.stats-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 16px;
}

.stat {
  text-align: center;
  padding: 8px 12px;
}

.stat-value {
  display: block;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--primary-text);
  font-variant-numeric: tabular-nums;
}

.stat-name {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ============================================================
   Editorial feature rows
   ============================================================ */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 56px 0;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy h3 {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--primary-text);
  margin-bottom: 16px;
}

.feature-copy p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.75;
}

.feature-visual > div {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(79, 70, 229, 0.08);
  padding: 28px;
}

.scene-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.scene-chip {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-text);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 18px 8px;
  background: var(--bg-secondary);
}

.scene-chip:nth-child(odd) {
  border-color: rgba(79, 70, 229, 0.35);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.orders-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13.5px;
}

.order-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--text-secondary);
}

.order-amt {
  font-weight: 600;
  color: var(--primary-text);
}

.order-status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.order-status.ok {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.order-status.pending {
  color: #b98900;
  background: #fdf6e3;
}

.risk-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.risk-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.risk-name {
  width: 72px;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.risk-bar {
  flex: 1;
  height: 10px;
  background: var(--bg-secondary);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.risk-bar i {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
}

.risk-bar .lv1 { background: #22c55e; }
.risk-bar .lv2 { background: #86efac; }
.risk-bar .lv3 { background: #f0c542; }
.risk-bar .lv4 { background: #f08c42; }
.risk-bar .lv5 { background: #e05252; }

/* ============================================================
   Experience 4-up (no heavy cards)
   ============================================================ */

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.exp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}

.exp-icon svg {
  width: 22px;
  height: 22px;
}

.exp-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-text);
  margin-bottom: 8px;
}

.exp-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   How — timeline
   ============================================================ */

.how-line {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: none;
}

.how-line li {
  position: relative;
  padding-top: 8px;
}

.how-line li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 56px;
  right: -12px;
  height: 1px;
  background: var(--border-color);
}

.how-index {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.how-line h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-text);
  margin-bottom: 8px;
}

.how-line p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   Assets
   ============================================================ */

.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.asset-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.asset-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(79, 70, 229, 0.08);
  transform: translateY(-2px);
}

.asset-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-text);
  margin-bottom: 10px;
}

.asset-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   Comparison
   ============================================================ */

.compare-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 15px 22px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border-color);
}

.compare-table thead th {
  background: var(--bg-secondary);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.compare-table thead th.col-us {
  color: var(--primary);
  font-size: 15px;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td.col-us {
  background: rgba(79, 70, 229, 0.045);
  font-weight: 600;
  color: var(--primary-text);
}

.compare-table td strong {
  color: var(--primary);
  font-size: 16px;
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.mark.yes {
  color: #fff;
  background: var(--primary);
}

.mark.no {
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

/* ============================================================
   Testimonials
   ============================================================ */

.ts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ts-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ts-card blockquote {
  font-size: 14.5px;
  color: var(--text-color);
  line-height: 1.75;
  flex: 1;
}

.ts-card blockquote::before {
  content: "“";
  display: block;
  font-size: 36px;
  font-weight: 700;
  line-height: 0.6;
  color: var(--primary);
  margin-bottom: 12px;
}

.ts-card figcaption {
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.ts-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-text);
}

.ts-meta {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-text);
  text-align: left;
  transition: color 0.15s ease;
}

.faq-q:hover {
  color: var(--primary);
}

.faq-arrow {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.faq-item.open .faq-arrow {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-a p {
  padding: 0 4px 20px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.faq-a p + p {
  margin-top: -8px;
}

.faq-a .usecase-links {
  margin-top: 0;
  padding: 4px 4px 22px;
}

/* ============================================================
   Bottom CTA
   ============================================================ */

.cta-card {
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 72px 32px;
  background: #fff;
}

.cta-card h2 {
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--primary-text);
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.float-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(20, 55, 43, 0.12);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-text);
}

.float-contact-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.float-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-contact-icon svg {
  width: 16px;
  height: 16px;
}

.float-contact-icon.tg {
  background: #2aabee;
  color: #fff;
}

.float-contact-icon.mail {
  background: var(--primary-soft);
  color: var(--primary);
}

/* ============================================================
   Legal pages
   ============================================================ */

.legal {
  padding-top: 48px;
}

.legal-wrap h1 {
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--primary-text);
  margin-bottom: 20px;
}

.legal-wrap h2 {
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-text);
  margin: 36px 0 12px;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 15.5px;
  color: var(--text-color);
  line-height: 1.8;
}

.legal-wrap p + p {
  margin-top: 12px;
}

.legal-wrap ul {
  padding-left: 22px;
  margin: 8px 0 16px;
}

.legal-wrap li + li {
  margin-top: 8px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  position: relative;
  background: var(--bg-secondary);
  padding: 60px 0 32px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.35), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 1fr);
  gap: 48px;
  padding-bottom: 40px;
}

.footer-slogan {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 400px;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact {
  align-items: stretch;
  width: 100%;
}

.footer-contact .footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.footer-contact .footer-contact-link.is-mail {
  white-space: nowrap;
}

.footer-contact .footer-contact-link::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--contact-icon) center / contain no-repeat;
  mask: var(--contact-icon) center / contain no-repeat;
}

.footer-contact .footer-contact-link.is-tg {
  --contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21.8 4.3 18.4 20.2c-.3 1.1-.9 1.4-1.9.9l-5.2-3.8-2.5 2.4c-.3.3-.5.5-1 .5l.4-5.3 9.6-8.7c.4-.4-.1-.6-.7-.2l-11.9 7.5-5.1-1.6c-1.1-.3-1.1-1.1.2-1.6L20.3 3.4c.9-.4 1.8.2 1.5.9z'/%3E%3C/svg%3E");
}

.footer-contact .footer-contact-link.is-mail {
  --contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.footer-contact .footer-contact-link.is-li {
  --contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4.98 3.5C4.98 4.88 3.88 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1s2.48 1.12 2.48 2.5zM.5 8.5h4V24h-4V8.5zM8.5 8.5h3.8v2.1h.05c.53-1 1.84-2.1 3.79-2.1 4.05 0 4.8 2.67 4.8 6.14V24h-4v-7.7c0-1.84-.03-4.2-2.56-4.2-2.56 0-2.95 2-2.95 4.06V24h-4V8.5z'/%3E%3C/svg%3E");
}

.footer-contact .footer-contact-link.is-x {
  --contact-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M18.24 2.25h3.31l-7.23 8.26 8.5 11.24h-6.66l-5.22-6.82-5.97 6.82H1.66l7.73-8.84L1.25 2.25h6.83l4.71 6.23 5.45-6.23zm-1.16 17.52h1.83L7.01 4.13H5.05l12.03 15.64z'/%3E%3C/svg%3E");
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: 0 24px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 44px;
  }

  .hero-inner {
    gap: 36px;
  }

  .exp-grid,
  .how-line,
  .assets-grid,
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-line li:not(:last-child)::after {
    display: none;
  }

  .ts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 36px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 16px 24px;
    margin: 0;
    overflow-y: auto;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav .nav-link {
    padding: 13px 4px;
    font-size: 16px;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    width: 100%;
    color: var(--text-color);
  }

  .site-nav .nav-link:hover {
    background: transparent;
    color: var(--primary);
  }

  .dropdown-panel {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 8px;
    display: none;
  }

  .nav-item.open .dropdown-panel {
    display: block;
  }

  .nav-mobile-actions {
    display: block;
    margin-top: 20px;
  }

  .nav-mobile-actions .btn {
    width: 100%;
    padding: 14px;
  }

  .header-login {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  body.nav-locked {
    overflow: hidden;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
  }

  .orbit {
    width: 260px;
    height: 260px;
    transform: scale(0.82);
    transform-origin: center top;
  }

  .hero-title {
    font-size: 32px;
  }

  .fee-rate {
    font-size: 32px;
  }

  .hero-stats {
    margin-top: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-value {
    font-size: 26px;
  }

  .exp-grid,
  .how-line,
  .assets-grid,
  .ts-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }

  .feature-row.reverse .feature-copy {
    order: 1;
  }

  .feature-row.reverse .feature-visual {
    order: 2;
  }

  .feature-copy h3 {
    font-size: 22px;
  }

  .cta-card {
    padding: 48px 20px;
  }

  .cta-card h2 {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .float-contact {
    right: 16px;
    bottom: 16px;
  }
}
