/* ==========================================================================
   欧易 OKX 官方注册指南 & 专属邀请码 OK6669 - 主样式表
   Design: Modern Web3 / OKX Dark Theme with High Conversion UX & Core Web Vitals Optimization
   ========================================================================== */

:root {
  --bg-main: #070a11;
  --bg-card: #0f172a;
  --bg-card-hover: #162035;
  --bg-card-subtle: rgba(255, 255, 255, 0.03);
  --border-color: #1e293b;
  --border-highlight: #334155;
  
  --primary: #00d084;
  --primary-glow: rgba(0, 208, 132, 0.35);
  --primary-hover: #00ffa3;
  --primary-dark: #009e63;
  
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;
  
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #070a11;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px var(--primary-glow);
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #101c30 0%, #070a11 65%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header Announcement & Nav
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #132238 0%, #172c47 50%, #132238 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  color: #bae6fd;
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 100;
}

.top-notice-bar strong {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-right: 6px;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(7, 10, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0f19;
  border: 1px solid var(--border-highlight);
  box-shadow: 0 0 12px rgba(0, 208, 132, 0.2);
}

.brand-badge {
  font-size: 0.7rem;
  background: rgba(0, 208, 132, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 208, 132, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-left: 4px;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

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

.code-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.code-pill:hover {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.code-pill .tag {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.code-pill .val {
  color: var(--primary);
  letter-spacing: 0.5px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #00ffa3 0%, #00d084 100%);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 255, 163, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-highlight);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 64px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 208, 132, 0.15) 0%, rgba(56, 189, 248, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 208, 132, 0.1);
  border: 1px solid rgba(0, 208, 132, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  margin-bottom: 20px;
}

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

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

.hero-badge-text {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #00ffa3 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Hero Action Box */
.hero-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.promo-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px dashed var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.promo-code-box:hover {
  border-color: var(--primary);
  background: rgba(0, 208, 132, 0.03);
}

.promo-code-info .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.promo-code-info .code {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1.5px;
  font-family: monospace, var(--font-family);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-highlight);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.copy-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-cta-buttons {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-large {
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 700;
}

.security-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.security-hint svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Hero Right Side QR Box */
.hero-qr-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.hero-qr-container::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 208, 132, 0.4), transparent, rgba(56, 189, 248, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.qr-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.qr-image-wrapper {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  width: 230px;
  height: 230px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-target-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
  margin-bottom: 12px;
  font-family: monospace;
}

.qr-target-url span {
  color: var(--primary);
  font-weight: 600;
}

.qr-scan-tips {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Trust Stats Bar */
.trust-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 208, 132, 0.1);
  border: 1px solid rgba(0, 208, 132, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.stat-content .stat-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-content .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Benefits Matrix Section
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

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

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

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

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  background: rgba(0, 208, 132, 0.12);
  border: 1px solid rgba(0, 208, 132, 0.25);
}

.benefit-card:nth-child(1) .benefit-icon { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.benefit-card:nth-child(2) .benefit-icon { background: rgba(0, 208, 132, 0.12); border-color: rgba(0, 208, 132, 0.3); }
.benefit-card:nth-child(3) .benefit-icon { background: rgba(56, 189, 248, 0.12); border-color: rgba(56, 189, 248, 0.3); }
.benefit-card:nth-child(4) .benefit-icon { background: rgba(168, 85, 247, 0.12); border-color: rgba(168, 85, 247, 0.3); }

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

.benefit-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.benefit-highlight {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 208, 132, 0.08);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Interactive Fee Calculator Section
   ========================================================================== */
.calc-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

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

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.calc-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.calc-type-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.calc-type-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.calc-slider-wrap {
  position: relative;
  margin-bottom: 12px;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

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

.slider-markers {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.calc-result-card {
  background: linear-gradient(135deg, #131d31 0%, #0e1626 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.calc-result-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.result-tag {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.result-year-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.result-year-amount span {
  color: var(--primary);
}

.result-month-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.result-month-text strong {
  color: var(--text-main);
}

.calc-cta-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   Step-by-Step Tutorial Section
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

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

.step-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.step-number-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-card-hover);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

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

.step-tip {
  font-size: 0.8rem;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--accent-gold);
  padding: 6px 10px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ==========================================================================
   Proof of Reserves & Security
   ========================================================================== */
.por-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.security-points-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.security-point-item {
  display: flex;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.security-point-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 208, 132, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-point-info h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.security-point-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.por-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
}

.por-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.por-metric {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.por-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.por-metric-name {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}

.download-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.download-os-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.download-card-header h3 {
  font-size: 1.25rem;
  color: #ffffff;
}

.download-card-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-instructions {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.download-instructions li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.download-instructions li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 900;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

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

.faq-item:hover {
  border-color: var(--border-highlight);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon-arrow {
  transition: transform 0.3s ease;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: rgba(0, 0, 0, 0.2);
}

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

.faq-answer p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, #152744 0%, #0c1424 100%);
  border: 1px solid rgba(0, 208, 132, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 208, 132, 0.15);
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 28px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Site Footer & Compliance
   ========================================================================== */
.site-footer {
  background: #05070d;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 32px;
  margin-top: 80px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

.footer-brand p {
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #64748b;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Mobile Bottom Floating Action Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-sticky-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-code-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  color: #ffffff;
  font-size: 0.75rem;
}

.mobile-code-btn strong {
  color: var(--primary);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.mobile-register-btn {
  flex: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #00ffa3 0%, #00d084 100%);
  color: var(--text-inverse);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: #0f172a;
  border: 1px solid var(--primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

/* ==========================================================================
   Modal Dialogs (QR Modal, Legal Info)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-md);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-qr-container {
    max-width: 480px;
    margin: 0 auto;
  }
  .trust-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .por-container {
    grid-template-columns: 1fr;
  }
  .calc-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .code-pill {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-cta-buttons {
    grid-template-columns: 1fr;
  }
  .trust-stats-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
  .calc-container {
    padding: 24px;
  }
  .section {
    padding: 56px 0;
  }
}
