/* ==========================================================================
   Bianxer Academy (币安客学院) - OKX Verified Partner Deep Review & Guide
   Domain: bianxer.com | Invite Code: OK6667
   Design: Premium Fintech Dark Mode & Authoritative Editorial Theme
   ========================================================================== */

:root {
  --bg-main: #07090E;
  --bg-card: #0E131F;
  --bg-card-hover: #141B2D;
  --bg-surface: #161D2C;
  --bg-glass: rgba(10, 14, 22, 0.85);
  
  --primary: #00E599;
  --primary-glow: rgba(0, 229, 153, 0.25);
  --primary-hover: #05ffab;
  --primary-light: #E6FBF4;
  
  --accent-blue: #3B82F6;
  --accent-cyan: #06B6D4;
  --accent-gold: #F59E0B;
  --accent-purple: #8B5CF6;
  --accent-danger: #EF4444;
  
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 153, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px rgba(0, 229, 153, 0.2);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(0, 229, 153, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Top Compliance & Partner Notice Bar
   -------------------------------------------------------------------------- */
.top-notice-bar {
  background: linear-gradient(90deg, #09121A 0%, #0D1C22 50%, #09121A 100%);
  border-bottom: 1px solid rgba(0, 229, 153, 0.2);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-tag {
  background: rgba(0, 229, 153, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 153, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-partner {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Header & Navigation (Spacious, Airy & Modern Fintech Aesthetics)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.18rem;
  color: #FFF;
  letter-spacing: -0.3px;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #161D2B, #0A0E16);
  border: 1px solid rgba(0, 229, 153, 0.4);
  box-shadow: 0 0 10px rgba(0, 229, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-sub-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 229, 153, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 153, 0.25);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #FFF;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 229, 153, 0.35);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.btn-header-copy .code-mono {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #FFF;
  letter-spacing: 0.5px;
}

.btn-header-copy .copy-tag {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 600;
}

.btn-header-copy:hover {
  background: rgba(0, 229, 153, 0.12);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-header-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #04080B;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 18px rgba(0, 229, 153, 0.25);
  transition: all 0.25s ease;
}

.btn-header-register .discount-pill {
  background: rgba(0, 0, 0, 0.2);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
}

.btn-header-register:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 229, 153, 0.45);
}

.btn-mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #FFF;
}

.btn-mobile-menu:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

/* Mobile Dropdown Drawer */
.mobile-nav-drawer {
  display: none;
  background: #0B0F19;
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px 24px;
}

.mobile-nav-drawer.open {
  display: block;
  animation: slideDown 0.25s ease;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.mobile-drawer-link {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-drawer-link:hover {
  color: var(--primary);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Editorial Meta & Breadcrumb Trust Bar
   -------------------------------------------------------------------------- */
.editorial-bar {
  background: rgba(14, 19, 31, 0.6);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  font-size: 0.82rem;
}

.editorial-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  list-style: none;
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

.editorial-meta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-check {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 50px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 153, 0.08);
  border: 1px solid rgba(0, 229, 153, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #04080B;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 24px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 153, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.trust-highlights {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item svg {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Invite Code Featured Card (Hero Right)
   -------------------------------------------------------------------------- */
.invite-box-card {
  background: linear-gradient(145deg, #101625 0%, #0C111C 100%);
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 229, 153, 0.12);
  position: relative;
  overflow: hidden;
}

.invite-box-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.invite-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rebate-badge {
  background: rgba(0, 229, 153, 0.15);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 229, 153, 0.3);
}

.status-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10B981;
}

.invite-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.code-display-wrap {
  background: #06090F;
  border: 1px dashed rgba(0, 229, 153, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  transition: all 0.25s ease;
}

.code-display-wrap:hover {
  border-color: var(--primary);
  background: #090E18;
}

.code-value {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 3px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 153, 0.15);
  border: 1px solid rgba(0, 229, 153, 0.3);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 16px rgba(0, 229, 153, 0.4);
}

.card-benefits-list {
  list-style: none;
  margin-bottom: 22px;
}

.card-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.card-benefit-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.card-benefit-item strong {
  color: #FFF;
}

.btn-card-register {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), #00B87A);
  color: #030608;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all 0.25s ease;
}

.btn-card-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 229, 153, 0.45);
}

.card-tip {
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Table of Contents (TOC)
   -------------------------------------------------------------------------- */
.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 30px 0 50px;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
  list-style: none;
}

.toc-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

.toc-item a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.toc-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Common Section Styles
   -------------------------------------------------------------------------- */
.section-py {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 46px;
}

.section-subtitle {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Data Tables (Fee Tiers & Competitive Comparison)
   -------------------------------------------------------------------------- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background: rgba(255, 255, 255, 0.03);
  color: #FFF;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.data-table td.highlight-cell {
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-mono);
}

.data-table td.mono-cell {
  font-family: var(--font-mono);
}

.badge-discount {
  background: rgba(0, 229, 153, 0.15);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 4px;
}

/* --------------------------------------------------------------------------
   Callout / Alert Boxes
   -------------------------------------------------------------------------- */
.callout-box {
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  border-left: 4px solid;
  background: rgba(255, 255, 255, 0.02);
}

.callout-tip {
  border-color: var(--primary);
  background: rgba(0, 229, 153, 0.04);
}

.callout-warning {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.05);
}

.callout-danger {
  border-color: var(--accent-danger);
  background: rgba(239, 68, 68, 0.05);
}

.callout-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #FFF;
  margin-bottom: 6px;
}

.callout-tip .callout-title { color: var(--primary); }
.callout-warning .callout-title { color: var(--accent-gold); }
.callout-danger .callout-title { color: var(--accent-danger); }

.callout-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   C2C Anti-Freeze Strategy Cards
   -------------------------------------------------------------------------- */
.c2c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 28px 0;
}

.c2c-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.25s ease;
}

.c2c-card:hover {
  border-color: rgba(0, 229, 153, 0.3);
  transform: translateY(-3px);
}

.c2c-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 229, 153, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.c2c-card h4 {
  font-size: 1.05rem;
  color: #FFF;
  margin-bottom: 8px;
}

.c2c-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Web3 Ecosystem Grid
   -------------------------------------------------------------------------- */
.web3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 28px 0;
}

.web3-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.web3-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.web3-card h4 {
  font-size: 1.08rem;
  color: #FFF;
  margin-bottom: 8px;
}

.web3-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Trading & Bot Grid
   -------------------------------------------------------------------------- */
.trading-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 28px 0;
}

.trading-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
}

.trading-card h4 {
  font-size: 1.15rem;
  color: #FFF;
  margin-bottom: 12px;
}

.trading-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 14px;
}

.trading-points {
  list-style: none;
}

.trading-point-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.trading-point-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Interactive Calculator
   -------------------------------------------------------------------------- */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  max-width: 920px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.calc-control-group {
  margin-bottom: 24px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.calc-val-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #FFF;
  font-size: 0.98rem;
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 4px;
  background: #1E293B;
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--primary);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary);
}

.calc-result-box {
  background: linear-gradient(135deg, #131A2B, #0A0E18);
  border: 1px solid rgba(0, 229, 153, 0.25);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.calc-result-title {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.calc-result-monthly {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.calc-result-yearly {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.calc-result-yearly strong {
  color: #FFF;
}

/* --------------------------------------------------------------------------
   Steps Tutorial
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 153, 0.4);
  box-shadow: var(--shadow-glow);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 229, 153, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 153, 0.3);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.step-tip {
  font-size: 0.76rem;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 5px 8px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Security & Anti-Phishing Section (CRITICAL FOR SAFE BROWSING & GOOGLE TRUST)
   -------------------------------------------------------------------------- */
.security-box {
  background: linear-gradient(145deg, #0D1424, #080D17);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.sec-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.sec-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.sec-title-group h3 {
  font-size: 1.25rem;
  color: #FFF;
}

.sec-title-group p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.sec-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 8px;
}

.sec-item-title svg {
  color: var(--primary);
}

.sec-item-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   App Download Section
   -------------------------------------------------------------------------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.25s ease;
}

.download-card:hover {
  border-color: rgba(0, 229, 153, 0.3);
  transform: translateY(-3px);
}

.download-platform-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
}

.download-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 8px;
}

.download-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.55;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #FFF;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-download:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   FAQ Section (Accordion)
   -------------------------------------------------------------------------- */
.faq-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: rgba(0, 229, 153, 0.4);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: #FFF;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(0, 229, 153, 0.2);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 480px;
  padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Footer & Legal Compliance Area
   -------------------------------------------------------------------------- */
.site-footer {
  background: #05070B;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
}

.footer-col h5 {
  font-size: 0.9rem;
  color: #FFF;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary);
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 26px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Mobile Sticky Bottom Bar
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(10, 14, 22, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 229, 153, 0.25);
  padding: 10px 16px;
}

.mobile-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-code-info {
  display: flex;
  flex-direction: column;
}

.mobile-code-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mobile-code-val {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
}

.mobile-actions {
  display: flex;
  gap: 8px;
}

.btn-mobile-copy {
  background: rgba(0, 229, 153, 0.15);
  border: 1px solid rgba(0, 229, 153, 0.4);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

.btn-mobile-register {
  background: var(--primary);
  color: #000;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Toast & Modal
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #0E1624;
  border: 1px solid rgba(0, 229, 153, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 229, 153, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFF;
  font-size: 0.88rem;
  font-weight: 600;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.hide {
  opacity: 0;
  transform: translateY(20px);
}

.toast-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 { font-size: 1.15rem; color: #FFF; }
.modal-close { color: var(--text-secondary); font-size: 1.4rem; padding: 4px; }
.modal-close:hover { color: #FFF; }

.modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-body h4 { color: #FFF; margin: 14px 0 6px; font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: 2.3rem; }
  .calc-grid { grid-template-columns: 1fr; gap: 30px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .c2c-grid { grid-template-columns: 1fr; }
  .web3-grid { grid-template-columns: 1fr; }
  .trading-grid { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .btn-header-copy { display: none; }
  .btn-mobile-menu { display: flex; }
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 70px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 1.85rem; }
  .code-value { font-size: 1.7rem; letter-spacing: 2px; }
  .steps-grid { grid-template-columns: 1fr; }
  .calc-card { padding: 22px 16px; }
  .calc-result-monthly { font-size: 2rem; }
}
