﻿:root {

  --navy-900: #0a1628;
  --navy-800: #0f2347;
  --navy-700: #1a3a6b;
  --blue-500: #1d6ff2;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --purple-500: #6366f1;
  --purple-400: #818cf8;
  --emerald-500: #10b981;
  --emerald-400: #34d399;

  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger:  #ef4444;
  --color-info:    #3b82f6;

  --color-bg:         var(--gray-50);
  --color-bg-dark:    var(--navy-800);
  --color-surface:    #ffffff;
  --color-border:     var(--gray-200);
  --color-text:       var(--gray-900);
  --color-text-sub:   var(--gray-600);
  --color-text-muted: var(--gray-400);
  --color-accent:     var(--blue-500);
  --color-accent2:    var(--cyan-500);

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-2xl: 32px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.15);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
          'Microsoft YaHei', 'Noto Sans SC', Helvetica, Arial, sans-serif;

  --section-py: 88px;
  --container-max: 1280px;
  --container-px: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: body-fade-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes body-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

img, svg {
  display: block;
  max-width: 100%;
  animation: image-load var(--transition-slow) ease-out;
  transition: filter var(--transition), transform var(--transition);
}

img:hover, svg:hover {
  filter: brightness(1.05);
}

a {
  text-decoration: none;
  color: inherit;
  position: relative;
  outline: none;
  transition: all var(--transition);
}

a:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

ul { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

button:active {
  transform: scale(0.96);
}

button:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

table { border-collapse: collapse; width: 100%; }

@keyframes ripple-effect {
  to {
    transform: scale(5);
    opacity: 0;
  }
}

@keyframes ripple-link {
  to {
    transform: scale(5);
    opacity: 0;
  }
}

.ripple-btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-effect 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.ripple-link {
  position: absolute;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  background: currentColor;
  opacity: 0.4;
  animation: ripple-link 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

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

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-light  { background: var(--gray-50); }
.section-mid    { background: var(--gray-100); }
.section-dark   { background: var(--navy-800); }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #fff;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  border-radius: var(--r-sm);
}

.logo-icon svg { color: #fff; }

.logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: var(--r-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-sm);
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.nav-link:focus-visible {
  outline: 1.5px solid rgba(6,182,212,0.6);
  outline-offset: -4px;
  background: rgba(255,255,255,0.08);
}

.nav-link.active {
  color: var(--cyan-400);
  background: rgba(6,182,212,0.15);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all var(--transition);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(29,111,242,0.1);
  color: var(--blue-500);
  border: 1px solid rgba(29,111,242,0.2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fade-in-up 0.6s ease-out 0.1s backwards;
}

.section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 16px;
  animation: fade-in-up 0.6s ease-out 0.2s backwards;
}

.section-light .section-title {
  color: var(--gray-900);
}

.section-dark .section-title {
  color: #fff;
}

.section-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--color-text-sub);
  line-height: 1.75;
  animation: fade-in-up 0.6s ease-out 0.3s backwards;
}

.section-dark .section-desc {
  color: rgba(255,255,255,0.7);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 60%, #1a3060 100%);
  overflow: hidden;
  padding: 100px 0 80px;
  margin-top: 70px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%,
    rgba(29,111,242,0.18) 0%,
    rgba(6,182,212,0.08) 40%,
    transparent 70%);
}

.section-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(6,182,212,0.05));
  border: 1.5px solid rgba(6,182,212,0.4);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-400);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  transition: all var(--transition);
  animation: float 3s ease-in-out infinite;
}

.hero-badge:hover {
  background: linear-gradient(135deg, rgba(6,182,212,0.25), rgba(6,182,212,0.1));
  border-color: rgba(6,182,212,0.6);
  box-shadow: 0 4px 16px rgba(6,182,212,0.2);
  animation: none;
}

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

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  animation: title-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
}

.text-accent {
  background: linear-gradient(90deg, var(--blue-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  line-height: 1.78;
  animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s backwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 24px 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  transition: transform var(--transition);
}

.stat-item:hover {
  transform: scale(1.08);
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  transition: all var(--transition);
}

.stat-item:hover .stat-num {
  font-size: 36px;
  filter: drop-shadow(0 4px 12px rgba(6,182,212,0.3));
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

@keyframes stagger-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s backwards;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  text-align: center;
  min-width: 150px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: #fff;
  box-shadow: 0 4px 16px rgba(29,111,242,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(29,111,242,0.4);
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-500));
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(6,182,212,0.4);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-500);
  border: 2px solid var(--blue-500);
  padding: 10px 24px;
  min-width: auto;
}

.btn-outline:hover {
  background: var(--blue-500);
  color: #fff;
  transform: translateY(-2px);
}

.hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--r-md);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  max-width: 680px;
  text-align: left;
}

.hero-notice svg { flex-shrink: 0; opacity: 0.7; }

.wallet-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.wallet-type-card {
  background: linear-gradient(135deg, var(--color-surface), rgba(255,255,255,0.5));
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.wallet-type-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(6,182,212,0.1), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.wallet-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(6,182,212,0.15);
  border-color: rgba(6,182,212,0.3);
}

.wallet-type-card:hover::before {
  opacity: 1;
}

.wallet-type-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(241,245,249,0.8), rgba(241,245,249,0.3));
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--type-color, var(--blue-500));
  transition: all var(--transition);
}

.wallet-type-card:hover .wallet-type-icon {
  transform: scale(1.15);
  box-shadow: 0 8px 20px var(--type-color, var(--blue-500));
  border-color: var(--type-color, var(--blue-500));
  background: linear-gradient(135deg, rgba(241,245,249,0.8), rgba(241,245,249,0.3));
}

.wallet-type-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.wallet-type-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 12px;
  padding: 3px 10px;
  background: var(--gray-100);
  border-radius: 100px;
}

.wallet-type-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.wallet-type-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.feature {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

.wallet-type-rep {
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  font-size: 12px;
  color: var(--gray-500);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-slow), transform var(--transition-slow), filter var(--transition-slow);
}

@keyframes reveal-in {
  from {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: reveal-in var(--transition-slow) ease-out forwards;
}

.comparison-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  background: white;
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--blue-500);
  color: var(--blue-500);
}

.filter-btn.active {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: white;
}

.wallets-showcase {
  display: grid;
  gap: 32px;
}

.wallet-showcase {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.wallet-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(6,182,212,0.05), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.wallet-showcase:hover {
  border-color: rgba(6,182,212,0.3);
  box-shadow: 0 8px 32px rgba(6,182,212,0.1);
  transform: translateY(-4px);
}

.wallet-showcase:hover::before {
  opacity: 1;
}

.wallet-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}

.wallet-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blue-100, #dbeafe), var(--cyan-100, #cffafe));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border: 2px solid var(--gray-200);
}

.wallet-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.wallet-type {
  font-size: 13px;
  color: var(--blue-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wallet-rating {
  text-align: right;
}

.rating-label {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.stars {
  font-size: 18px;
  color: #fbbf24;
  letter-spacing: 2px;
}

.wallet-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--r-md);
}

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

.spec-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.spec-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
}

.wallet-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.feature-badge.success {
  background: rgba(16,185,129,0.1);
  color: var(--color-success);
}

.feature-badge.warning {
  background: rgba(239,68,68,0.1);
  color: var(--color-danger);
}

.wallet-desc {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--gray-50);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--r-md);
}

.wallet-showcase .btn {
  min-width: 160px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.security-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.security-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(6,182,212,0.08), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.security-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.2);
}

.security-card:hover::before {
  opacity: 1;
}

.security-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.security-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.security-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.security-tips li {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.6;
  list-style: none;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.table-wrap:hover {
  border-color: rgba(6,182,212,0.3);
  box-shadow: 0 8px 24px rgba(6,182,212,0.08);
}

.feature-table {
  background: var(--color-surface);
  font-size: 13.5px;
}

.feature-table thead {
  background: linear-gradient(90deg, var(--navy-800), var(--navy-700));
}

.feature-table thead th {
  padding: 16px 12px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  transition: all var(--transition);
  text-transform: uppercase;
}

.feature-table thead th.feature-col {
  text-align: left;
  min-width: 140px;
  padding-left: 20px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.feature-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
}

.feature-table tbody tr::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-500), var(--cyan-500));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

.feature-table tbody tr:last-child {
  border-bottom: none;
}

.feature-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(6,182,212,0.05), rgba(29,111,242,0.03));
}

.feature-table tbody tr:hover::before {
  transform: scaleY(1);
}

.feature-table td {
  padding: 14px 12px;
  text-align: center;
  vertical-align: middle;
  transition: color var(--transition);
}

.feature-name {
  text-align: left !important;
  padding-left: 20px !important;
  font-weight: 500;
  color: var(--gray-700);
}

.ft {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: all var(--transition);
  transform-origin: center;
}

.feature-table tbody tr:hover .ft {
  transform: scale(1.2);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.ft.yes     { color: var(--color-success); }
.ft.yes:hover { text-shadow: 0 0 8px rgba(16,185,129,0.4); }

.ft.partial { color: var(--color-warning); }
.ft.partial:hover { text-shadow: 0 0 8px rgba(245,158,11,0.4); }

.ft.no      { color: var(--gray-300); opacity: 0.6; }

.table-legend {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-sub);
}

.legend-yes { color: var(--color-success); font-weight: 700; }
.legend-partial { color: var(--color-warning); font-weight: 700; }
.legend-no { color: var(--gray-300); font-weight: 700; }

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.resource-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(6,182,212,0.08), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.2);
}

.resource-card:hover::before {
  opacity: 1;
}

.resource-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.resource-card p {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resource-links a {
  display: inline-block;
  padding: 8px 0;
  color: var(--blue-500);
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
  position: relative;
}

.resource-links a:hover {
  border-bottom-color: var(--blue-500);
  transform: translateX(4px);
}

.qa-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.qa-item {
  background: linear-gradient(135deg, var(--color-surface), rgba(255,255,255,0.5));
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--transition-slow);
  position: relative;
}

.qa-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-500), var(--cyan-500));
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: top;
}

.qa-item.open {
  border-color: var(--blue-400);
  box-shadow: 0 4px 20px rgba(29,111,242,0.12);
}

.qa-item.open::before {
  transform: scaleY(1);
}

.qa-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.qa-question:hover {
  background: linear-gradient(135deg, rgba(29,111,242,0.05), rgba(6,182,212,0.03));
}

.qa-item.open .qa-question {
  color: var(--blue-500);
  background: rgba(29,111,242,0.08);
}

.qa-arrow {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform var(--transition), color var(--transition);
  font-size: 18px;
}

.qa-question:hover .qa-arrow {
  color: var(--blue-400);
}

.qa-item.open .qa-arrow {
  transform: rotate(180deg);
  color: var(--blue-500);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
}

.qa-item.open .qa-answer {
  max-height: 600px;
}

.qa-answer p {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--color-text-sub);
  line-height: 1.78;
  border-top: 1px solid var(--gray-100);
  padding-top: 18px;
}

.qa-answer p:first-child {
  border-top: none;
  padding-top: 0;
}

.qa-answer p strong {
  color: var(--gray-800);
}

.qa-answer ul {
  margin: 12px 0;
  padding-left: 0;
}

.qa-answer li {
  list-style: none;
  padding-left: 0;
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--purple-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(29,111,242,0.3);
  opacity: 0;
  transform: translateY(24px) scale(0.8);
  transition: all var(--transition-slow);
  z-index: 50;
  pointer-events: none;
  font-size: 20px;
  font-weight: bold;
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: pulse-float 2s ease-in-out infinite;
}

@keyframes pulse-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.05); }
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-500));
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(29,111,242,0.5);
  animation: none;
}

.back-to-top:hover::before {
  opacity: 1;
}

.site-footer {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: rgba(255,255,255,0.7);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-col a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-400));
  transform: translateY(-50%);
  transition: width var(--transition);
}

.footer-col a:hover {
  color: rgba(255,255,255,0.95);
  padding-left: 8px;
}

.footer-col a:hover::before {
  width: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
  :root {
    --section-py: 60px;
    --container-px: 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open {
    max-height: 400px;
  }

  .wallet-types-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px !important;
  }

  .stat-item {
    padding: 16px 0 !important;
  }

  .stat-divider {
    display: none;
  }

  .wallet-card-header {
    flex-direction: column;
    gap: 16px;
  }

  .wallet-rating {
    text-align: left;
  }

  .wallet-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .table-wrap {
    overflow-x: auto;
  }

  .feature-table {
    font-size: 12px;
  }

  .feature-table thead th,
  .feature-table td {
    padding: 12px 8px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .comparison-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .section-hero {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: auto;
  }

  .wallet-showcase {
    padding: 20px;
  }

  .logo-placeholder {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
