/* f-binance.com — CDN-orange theme inspired by bunny.net */

:root {
  --orange: #F7931A;
  --orange-dark: #E07B0A;
  --orange-light: #FFF3E0;
  --dark: #0D1117;
  --dark-2: #161B27;
  --dark-3: #1E2740;
  --blue-ink: #0A1628;
  --text: #1A1A2E;
  --text-muted: #5A6478;
  --border: #E8EAF0;
  --white: #FFFFFF;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-hover: 0 8px 32px rgba(247,147,26,.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Announcement Bar ===== */
.ann-bar {
  background: linear-gradient(90deg, #F7931A 0%, #E07B0A 100%);
  color: #fff;
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  padding: 10px 20px;
  letter-spacing: .01em;
}
.ann-bar .ann-link {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  background: none;
  border: none;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

/* ===== Nav ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav .container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo svg { width: 180px; height: 40px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-size: .9375rem;
  font-weight: 700;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  transition: background .2s, box-shadow .2s, transform .15s;
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--orange-dark);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--orange);
  font-size: .9375rem;
  font-weight: 700;
  padding: 12px 28px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  transition: background .2s, color .2s, transform .15s;
  min-height: 44px;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  padding: 10px 22px;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 8px;
  transition: background .2s;
  min-height: 44px;
  white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }

.btn-sm {
  padding: 8px 20px;
  font-size: .875rem;
  min-height: 36px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0A1628 0%, #1A2B4A 50%, #0E1F38 100%);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,26,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,26,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,147,26,.15);
  border: 1px solid rgba(247,147,26,.35);
  color: #FFB347;
  font-size: .8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: .03em;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.3)}
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stat-item { text-align: left; }
.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 2px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(8px);
}
.hvc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hvc-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hvc-title { font-size: 1rem; font-weight: 700; }
.hvc-subtitle { font-size: .8rem; color: rgba(255,255,255,.55); }
.hvc-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hvc-coin { display: flex; align-items: center; gap: 10px; }
.hvc-coin-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
}
.btc-dot { background: #F7931A; }
.eth-dot { background: #627EEA; }
.bnb-dot { background: #F0B90B; color: #000; }
.hvc-coin-name { font-size: .875rem; font-weight: 600; }
.hvc-coin-code { font-size: .75rem; color: rgba(255,255,255,.5); }
.hvc-right { text-align: right; }
.hvc-price { font-size: .9rem; font-weight: 700; }
.hvc-change { font-size: .75rem; }
.up { color: #4CAF50; }
.down { color: #F44336; }
.hvc-cta {
  margin-top: 20px;
  width: 100%;
  padding: 13px;
  font-size: .9375rem;
}

/* ===== Stats strip ===== */
.stats-strip {
  background: var(--dark-2);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.strip-stat-num {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--orange);
}
.strip-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

/* ===== Section commons ===== */
section { padding: 80px 0; }
.section-label {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ===== Features (bunny-style 3-col) ===== */
.features-section { background: var(--white); }
.features-header { text-align: center; margin-bottom: 56px; }
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feat-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(247,147,26,.3);
  transform: translateY(-3px);
}
.feat-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feat-icon svg { color: var(--orange); }
.feat-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feat-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== CDN / Platform band ===== */
.platform-section {
  background: linear-gradient(135deg, #0A1628 0%, #1E2B48 100%);
  color: #fff;
  padding: 80px 0;
}
.platform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.platform-content .section-title { color: #fff; }
.platform-content .section-sub { color: rgba(255,255,255,.65); max-width: 480px; }
.platform-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.platform-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .9375rem;
  color: rgba(255,255,255,.85);
}
.pl-check {
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.platform-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pv-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: background .2s;
}
.pv-card:hover { background: rgba(255,255,255,.1); }
.pv-num {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--orange);
}
.pv-label {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}

/* ===== Hop/steps — three step card ===== */
.steps-section { background: #F8F9FC; }
.steps-header { text-align: center; margin-bottom: 52px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), #FFB347, var(--orange));
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 52px;
  height: 52px;
  background: var(--orange);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ===== Ticker/markets ===== */
.markets-section { background: var(--white); }
.markets-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.market-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.market-table th {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1.5px solid var(--border);
}
.market-table td {
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
  vertical-align: middle;
}
.market-table tr:hover td { background: #FFF8F0; }
.coin-cell { display: flex; align-items: center; gap: 10px; }
.coin-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; color: #fff;
}
.coin-n { font-weight: 700; font-size: .9375rem; }
.coin-tick { font-size: .8rem; color: var(--text-muted); }
.price-cell { font-weight: 700; }
.chg-positive { color: #19A84C; font-weight: 600; }
.chg-negative { color: #E03737; font-weight: 600; }

/* ===== Security section ===== */
.security-section { background: var(--orange-light); padding: 80px 0; }
.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.security-content .section-title { color: var(--blue-ink); }
.security-content .section-sub { color: var(--text-muted); }
.security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid rgba(247,147,26,.25);
  color: var(--text);
  font-size: .875rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 100px;
}
.sec-badge-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.security-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sec-metric {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.sec-metric-icon {
  width: 48px; height: 48px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sec-metric-num { font-size: 1.375rem; font-weight: 800; color: var(--blue-ink); }
.sec-metric-label { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }

/* ===== Download CTA band ===== */
.download-section {
  background: linear-gradient(135deg, #F7931A 0%, #E07B0A 100%);
  color: #fff;
  padding: 72px 0;
}
.download-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.download-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.download-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
}
.download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--orange);
  font-size: .9375rem;
  font-weight: 700;
  padding: 13px 28px;
  border: none;
  border-radius: 8px;
  min-height: 48px;
  transition: box-shadow .2s, transform .15s;
  white-space: nowrap;
}
.btn-white:hover { box-shadow: 0 4px 20px rgba(0,0,0,.2); transform: translateY(-1px); }

/* ===== FAQ section ===== */
.faq-section { background: #F8F9FC; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-header .section-sub { margin: 0 auto; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(247,147,26,.3); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.faq-q .faq-arrow {
  width: 22px; height: 22px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .3s, background .2s;
  color: var(--orange);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); background: var(--orange); color: #fff; }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: .9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ===== Footer ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-logo { width: 160px; height: auto; margin-bottom: 16px; }
.footer-brand-desc {
  font-size: .875rem;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 24px;
}
.footer-col-title {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8125rem;
}
.footer-bottom-brand { color: rgba(255,255,255,.5); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: var(--orange); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .platform-inner { grid-template-columns: 1fr; gap: 40px; }
  .security-inner { grid-template-columns: 1fr; gap: 40px; }
  .download-inner { grid-template-columns: 1fr; }
  .download-actions { flex-direction: row; flex-wrap: wrap; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .nav-links { display: none; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .platform-visual { grid-template-columns: 1fr 1fr; }
  .market-table .hide-mobile { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
}

@media (max-width: 390px) {
  .ann-bar { font-size: .8rem; }
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 1.875rem; }
  .stats-strip-inner { grid-template-columns: 1fr 1fr; }
  .faq-q { font-size: .9375rem; }
}
