/* ===================================================================
   OKX Official Partner Promotion Landing Page - Premium Stylesheet
   Designed for High Conversion, Mobile Responsiveness & SEO Excellence
   =================================================================== */

:root {
  --bg-primary: #0a0b0e;
  --bg-secondary: #12141a;
  --bg-card: rgba(22, 25, 34, 0.85);
  --bg-card-hover: rgba(30, 35, 48, 0.95);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(20, 220, 120, 0.35);
  
  --brand-green: #14dc78;
  --brand-green-glow: rgba(20, 220, 120, 0.25);
  --brand-green-hover: #17f083;
  --brand-cyan: #00d2ff;
  --brand-blue: #3b82f6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(20, 220, 120, 0.2);
}

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

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

body {
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(20, 220, 120, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(0, 210, 255, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Background grid overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ----------------- Top Navbar ----------------- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: all var(--transition-fast);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 34px;
  height: 34px;
  background-color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.logo-box::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: #000;
  mask: radial-gradient(circle 3px at 50% 50%, transparent 95%, black 100%);
  -webkit-mask: radial-gradient(circle 3px at 50% 50%, transparent 95%, black 100%);
  border-radius: 3px;
}

.logo-box::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 2px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: rgba(20, 220, 120, 0.15);
  color: var(--brand-green);
  border: 1px solid rgba(20, 220, 120, 0.3);
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

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

.nav-links a {
  font-size: 0.94rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-green);
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px var(--brand-green-glow);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--brand-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(20, 220, 120, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
}

.btn-text:hover {
  color: #ffffff;
}

/* ----------------- Hero Section ----------------- */
.hero-section {
  padding: 60px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--brand-green);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-green);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .text-green {
  background: linear-gradient(135deg, #14dc78 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-desc strong {
  color: #ffffff;
  font-weight: 600;
}

/* Promo Code Box */
.invite-code-card {
  background: linear-gradient(145deg, rgba(20, 220, 120, 0.08) 0%, rgba(20, 25, 34, 0.9) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.invite-code-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(20, 220, 120, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.invite-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.invite-status {
  font-size: 0.78rem;
  color: var(--brand-green);
  font-weight: 600;
  background: rgba(20, 220, 120, 0.12);
  padding: 2px 8px;
  border-radius: 12px;
}

.code-display-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #08090b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 8px 12px 8px 16px;
  gap: 12px;
}

.code-value {
  font-family: "SF Mono", "Fira Code", Monaco, Consolas, monospace;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand-green);
  letter-spacing: 2px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-green);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: var(--brand-green-hover);
  transform: translateY(-1px);
}

.invite-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.perk-item {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.perk-item svg {
  color: var(--brand-green);
  flex-shrink: 0;
}

/* Hero CTA Row */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn-hero-main {
  font-size: 1.1rem;
  padding: 15px 34px;
  font-weight: 800;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
}

.btn-hero-sub {
  font-size: 1rem;
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-sub:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Trust Badges Bar */
.trust-bar {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.trust-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ----------------- Hero QR Card (Right Column) ----------------- */
.qr-interactive-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.qr-interactive-card:hover {
  border-color: rgba(20, 220, 120, 0.3);
  transform: translateY(-3px);
}

.qr-tabs {
  display: flex;
  background: #08090b;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}

.qr-tab-btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border-radius: 24px;
  transition: all var(--transition-fast);
}

.qr-tab-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.qr-box-wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-lg);
  display: inline-block;
  margin: 0 auto 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  position: relative;
}

.qr-img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.qr-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.qr-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.qr-tips {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

/* ----------------- Crypto Ticker Bar ----------------- */
.ticker-section {
  max-width: 1200px;
  margin: 0 auto 70px;
  padding: 0 24px;
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ticker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.ticker-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.ticker-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coin-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.coin-btc { color: #f7931a; background: rgba(247, 147, 26, 0.12); }
.coin-eth { color: #627eea; background: rgba(98, 126, 234, 0.12); }
.coin-sol { color: #14f195; background: rgba(20, 241, 149, 0.12); }
.coin-okb { color: #ffffff; background: #000000; border: 1px solid rgba(255, 255, 255, 0.2); }

.coin-name {
  font-weight: 700;
  font-size: 1rem;
}

.coin-pair {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.ticker-price-wrap {
  text-align: right;
}

.ticker-price {
  font-weight: 700;
  font-size: 1.05rem;
}

.ticker-change {
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
}

.ticker-change.up {
  color: var(--brand-green);
  background: rgba(20, 220, 120, 0.1);
}

.ticker-change.down {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* ----------------- Section Commons ----------------- */
.section-wrapper {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-pill {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-green);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ----------------- Newcomer Benefits Section ----------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 220, 120, 0.4);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.benefit-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(20, 220, 120, 0.1);
  border: 1px solid rgba(20, 220, 120, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  margin-bottom: 22px;
}

.benefit-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.benefit-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-green);
  background: rgba(20, 220, 120, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: all var(--transition-fast);
}

.step-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--brand-green);
  color: var(--brand-green);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(20, 220, 120, 0.2);
}

.step-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-highlight {
  color: var(--brand-green);
  font-weight: 600;
}

/* ----------------- Why OKX Security & Strength ----------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: all var(--transition-fast);
}

.feature-box:hover {
  border-color: rgba(20, 220, 120, 0.3);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-cyan);
}

.feature-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-body p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ----------------- App Download Section ----------------- */
.download-card {
  background: linear-gradient(135deg, rgba(22, 25, 34, 0.95) 0%, rgba(10, 11, 14, 0.98) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.download-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  color: #fff;
  transition: all var(--transition-fast);
}

.app-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.app-btn-text {
  text-align: left;
}

.app-btn-small {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: block;
}

.app-btn-main {
  font-size: 0.95rem;
  font-weight: 700;
}

.download-qr-wrap {
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.download-qr-img {
  width: 170px;
  height: 170px;
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: block;
}

/* ----------------- FAQ Section ----------------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.faq-question {
  width: 100%;
  background: transparent;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-green);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 26px 24px;
}

/* ----------------- CTA Banner Section ----------------- */
.cta-banner {
  background: linear-gradient(135deg, rgba(20, 220, 120, 0.15) 0%, rgba(10, 11, 14, 0.95) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
}

/* ----------------- Footer & Compliance Notice ----------------- */
.compliance-banner {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 30px 24px;
}

.compliance-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.compliance-icon {
  color: var(--text-dim);
  flex-shrink: 0;
  margin-top: 2px;
}

.compliance-text {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.compliance-text strong {
  color: var(--text-muted);
}

.footer {
  background: #07080a;
  padding: 40px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

/* ----------------- Legal Page Specific Styles ----------------- */
.legal-page {
  background: #0a0b0e;
}

.legal-container {
  max-width: 860px;
  margin: 50px auto 80px;
  padding: 0 24px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.legal-header h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.update-time {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: #fff;
}

.legal-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.8;
}

.warning-callout {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  color: #fbbf24;
}

.warning-callout p {
  color: #fde68a;
  margin: 0;
}

.legal-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* ----------------- Toast Notification ----------------- */
.toast-msg {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #14dc78;
  color: #000;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(20, 220, 120, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ----------------- Mobile Sticky Bottom CTA Bar ----------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 11, 14, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 12px 20px;
  z-index: 99;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

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

.mobile-code-num {
  font-family: monospace;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--brand-green);
}

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

/* ----------------- Responsive Breakpoints ----------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ticker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .download-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .trust-bar {
    flex-wrap: wrap;
    gap: 20px;
  }
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
}
