/* =====================================================
   CryptoVault — Modern Crypto Wallet Portfolio
   ===================================================== */

:root {
  --bg-primary: #05070a;
  --bg-secondary: #0a0d12;
  --bg-tertiary: #10141a;
  --bg-card: rgba(16, 20, 26, 0.8);
  
  --text-primary: #f0f2f5;
  --text-secondary: #8b95a5;
  --text-muted: #5a6578;
  
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  
  --success: #10b981;
  --danger: #ef4444;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(99, 102, 241, 0.3);
  
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'SF Mono', Consolas, monospace;
  
  --container-width: 1200px;
  --section-padding: clamp(4rem, 8vw, 7rem);
  
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* Background Effects */
.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  top: -200px; right: -100px;
}

.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
  bottom: -100px; left: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
  top: 40%; left: 50%;
  animation-delay: -14s;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  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: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.container { width: min(var(--container-width), 92%); margin: 0 auto; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(5, 7, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  z-index: 1001;
}
.logo-icon { width: 36px; height: 36px; color: var(--accent-primary); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.nav-list a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-list a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Language Selector */
.lang-select { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.lang-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 140px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
  z-index: 1002;
}

.lang-select.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: transparent;
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius-sm);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition: background var(--transition-fast);
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.05); }
.lang-menu button.active { color: var(--accent-primary); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
  transform-origin: center;
}

/* Hero Section */
.hero {
  padding: calc(var(--section-padding) + 80px) 0 var(--section-padding);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }

.chip-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.chip {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.chip-symbol { font-weight: 700; color: var(--text-primary); }
.chip-price { color: var(--text-secondary); }
.chip-pct { font-weight: 600; }
.chip-pct.up { color: var(--success); }
.chip-pct.down { color: var(--danger); }

.hero-visual { display: flex; justify-content: center; }
.hero-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.hero-img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-img-2 { animation-delay: -3s; }

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

/* Ticker */
.ticker {
  padding: 1rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.ticker-track {
  display: flex;
  animation: tickerScroll 30s linear infinite;
}

.ticker-content {
  display: flex;
  gap: 3rem;
  flex-shrink: 0;
  padding-right: 3rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.ticker-symbol { font-weight: 700; color: var(--text-primary); }
.ticker-item .up { color: var(--success); }
.ticker-item .down { color: var(--danger); }

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section Common */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* Wallets Section */
.wallets { padding: var(--section-padding) 0; }

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.wallet-option {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.wallet-option:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.wallet-option.featured {
  border-color: var(--accent-primary);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--bg-card) 100%);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.wallet-option-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.wallet-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}
.wallet-logo svg { width: 100%; height: 100%; }

.wallet-badge {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}
.wallet-badge.hot {
  background: rgba(243, 186, 47, 0.1);
  border-color: rgba(243, 186, 47, 0.3);
  color: #f3ba2f;
}

.wallet-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wallet-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.wallet-features {
  list-style: none;
  margin-bottom: 1.25rem;
}

.wallet-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.wallet-features svg { color: var(--success); flex-shrink: 0; }

.btn-wallet {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  justify-content: center;
  font-size: 0.9rem;
  margin-top: auto;
}
.btn-wallet:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-wallet-featured {
  background: var(--gradient-primary);
  border: none;
  color: white;
}
.btn-wallet-featured:hover {
  opacity: 0.9;
  color: white;
}

/* Partners Section */
.partners {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
}

.partners-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logo-strip img {
  height: 32px;
  width: auto;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
  filter: grayscale(100%) brightness(1.5);
}
.logo-strip img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

/* Products Section */
.products { padding: var(--section-padding) 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}

.product-art {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.product-art img { max-height: 100%; width: auto; }

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.product-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-card .btn {
  margin-top: auto;
}

/* Features Section */
.features {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.features-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-block {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  align-items: center;
}

/* Feature Art with Border Box */
.feature-art {
  height: 140px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.feature-art.earn {
  background: radial-gradient(120% 80% at 80% 10%, rgba(16, 185, 129, 0.2), transparent 40%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.feature-art.trade {
  background: radial-gradient(120% 80% at 80% 10%, rgba(239, 68, 68, 0.18), transparent 40%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.feature-art img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
}

.feature-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Beyond Section */
.beyond { padding: var(--section-padding) 0; }

.beyond-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.beyond-text .section-tag,
.beyond-text .section-title,
.beyond-text .section-description {
  text-align: left;
}
.beyond-text .section-description { margin-bottom: 2rem; }

.beyond-visual { display: flex; justify-content: center; }
.beyond-visual img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
}

/* Security Section */
.security {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.security-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.security-text .section-tag,
.security-text .section-title,
.security-text .section-description {
  text-align: left;
}

.security-list {
  list-style: none;
  margin-top: 2rem;
}

.security-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.security-list li:last-child { border-bottom: none; }

.security-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-md);
  color: var(--accent-primary);
}
.security-icon svg { width: 24px; height: 24px; }

.security-list h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.security-list p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-animation {
  position: relative;
  width: 280px; height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  animation: shieldPulse 4s ease-in-out infinite;
}

.ring-1 { width: 160px; height: 160px; }
.ring-2 { width: 220px; height: 220px; animation-delay: -1.3s; }
.ring-3 { width: 280px; height: 280px; animation-delay: -2.6s; }

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

.shield-center {
  width: 100px; height: 100px;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.5));
  animation: shieldFloat 3s ease-in-out infinite;
}

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

/* Compare Section */
.compare { padding: var(--section-padding) 0; }

.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.compare-table th {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

.table-logo {
  display: inline-flex;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
}

.table-logo.ledger { color: #fff; }
.table-logo.trezor { color: #0F6148; }
.table-logo.binance { color: #f3ba2f; }
.table-logo.safepal { color: #5C4BD4; }

.check {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.check.yes { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.check.no { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.check.partial { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

/* CTA Section */
.cta {
  padding: var(--section-padding) 0;
  text-align: center;
}

.cta-content { max-width: 600px; margin: 0 auto; }

.cta-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.social-links a:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links a {
  display: block;
  padding: 0.375rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--text-primary); }

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

.portfolio-note {
  padding: 0.375rem 0.875rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1100px) {
  .wallet-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  /* Mobile nav - slide from right panel */
  .nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 100px 24px 40px !important;
    background: linear-gradient(180deg, 
      rgba(16, 20, 26, 0.98) 0%, 
      rgba(10, 13, 18, 0.98) 50%,
      rgba(5, 7, 10, 0.98) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-left: 1px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5) !important;
    z-index: 1001 !important;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Decorative gradient orb in menu */
  .nav::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
  }
  
  .nav::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
  }
  
  .nav.open {
    transform: translateX(0) !important;
  }
  
  /* Overlay behind menu */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  
  body.menu-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .nav-list { 
    display: flex !important;
    flex-direction: column !important; 
    align-items: stretch !important; 
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    position: relative;
    z-index: 1;
  }
  
  .nav-list li { 
    width: 100% !important; 
    list-style: none !important;
    display: block !important;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .nav.open .nav-list li {
    opacity: 1;
    transform: translateX(0);
  }
  
  .nav.open .nav-list li:nth-child(1) { transition-delay: 0.1s; }
  .nav.open .nav-list li:nth-child(2) { transition-delay: 0.15s; }
  .nav.open .nav-list li:nth-child(3) { transition-delay: 0.2s; }
  .nav.open .nav-list li:nth-child(4) { transition-delay: 0.25s; }
  .nav.open .nav-list li:nth-child(5) { transition-delay: 0.3s; }
  
  .nav-list a { 
    display: block !important;
    padding: 14px 18px !important; 
    font-size: 1rem !important;
    font-weight: 500 !important;
    width: 100% !important;
    color: #f0f2f5 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }
  
  .nav-list a:hover {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    transform: translateX(4px);
  }
  
  .nav-actions { 
    display: flex !important;
    flex-direction: column !important; 
    align-items: stretch !important;
    width: 100% !important; 
    margin-top: auto !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    gap: 12px !important;
    position: relative;
    z-index: 1;
  }
  
  .nav-actions .btn { 
    width: 100% !important; 
    justify-content: center !important; 
  }
  
  .nav-actions .lang-select { width: 100% !important; }
  .nav-actions .lang-btn { 
    width: 100% !important; 
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }
  .nav-actions .lang-menu { 
    left: 0 !important; 
    right: 0 !important;
    bottom: 100% !important;
    top: auto !important;
    margin-bottom: 8px !important;
    transform: translateY(10px);
  }
  .lang-select.open .lang-menu {
    transform: translateY(0);
  }
  
  .nav-toggle { 
    display: flex !important; 
    z-index: 1002 !important; 
  }
  
  /* Hamburger animation */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .hero-images { gap: 1rem; }
  .hero-img { max-width: 180px; }
  
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  
  .features-row { grid-template-columns: 1fr; }
  .feature-block { grid-template-columns: 120px 1fr; }
  
  .beyond-content { grid-template-columns: 1fr; text-align: center; }
  .beyond-text .section-tag,
  .beyond-text .section-title,
  .beyond-text .section-description { text-align: center; }
  .beyond-text { order: 2; }
  .beyond-visual { order: 1; margin-bottom: 2rem; }
  
  .security-content { grid-template-columns: 1fr; }
  .security-text .section-tag,
  .security-text .section-title,
  .security-text .section-description { text-align: center; }
  .security-visual { order: -1; margin-bottom: 2rem; }
  
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .wallet-grid { grid-template-columns: 1fr; gap: 1rem; }
  .wallet-option { padding: 1.25rem; }
  
  .products-grid { grid-template-columns: 1fr; }
  
  .feature-block { grid-template-columns: 1fr; text-align: center; }
  .feature-art { height: 120px; }
  
  .logo-strip { gap: 1.5rem; }
  .logo-strip img { height: 24px; }
  
  .compare-table { font-size: 0.8rem; }
  .compare-table th,
  .compare-table td { padding: 0.75rem; }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-images { flex-direction: column; gap: 1.5rem; }
  .hero-img { max-width: 200px; }
  
  .chip-row { justify-content: center; }
  .chip { font-size: 0.75rem; padding: 0.4rem 0.6rem; }
  
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  
  .beyond-text .btn { width: 100%; }
}

/* =====================================================
   Single Wallet Mode Styles
   ===================================================== */

/* Hide content until branding is applied */
body:not(.brand-ready) .logo,
body:not(.brand-ready) .footer-bottom,
body:not(.brand-ready) .footer-tagline,
body:not(.brand-ready) .wallet-grid,
body:not(.brand-ready) .wallets .section-header,
body:not(.brand-ready) .cta-description,
body:not(.brand-ready) .footer {
  opacity: 0;
}

body.brand-ready .logo,
body.brand-ready .footer-bottom,
body.brand-ready .footer-tagline,
body.brand-ready .wallet-grid,
body.brand-ready .wallets .section-header,
body.brand-ready .cta-description,
body.brand-ready .footer {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* When in single wallet mode - beautiful centered layout */
.wallet-grid:has(.single-wallet) {
  display: flex;
  justify-content: center;
  position: relative;
}

/* Decorative background glow */
.wallet-grid:has(.single-wallet)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-rgb, 99, 102, 241), 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wallet-option.single-wallet {
  max-width: 420px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Enhanced featured styles for single mode */
.wallet-option.single-wallet.featured {
  background: linear-gradient(135deg, 
    rgba(var(--accent-rgb, 99, 102, 241), 0.1) 0%, 
    rgba(16, 20, 26, 0.95) 100%);
  border-color: rgba(var(--accent-rgb, 99, 102, 241), 0.25);
  box-shadow: 
    0 0 80px rgba(var(--accent-rgb, 99, 102, 241), 0.12),
    0 25px 50px rgba(0, 0, 0, 0.4);
  padding: 2rem;
}

.wallet-option.single-wallet.featured::before {
  background: linear-gradient(135deg, rgba(var(--accent-rgb, 99, 102, 241), 0.2), transparent);
  opacity: 1;
}

.wallet-option.single-wallet.featured .featured-tag {
  display: none;
}

.wallet-option.single-wallet.featured .wallet-logo {
  width: 72px;
  height: 72px;
}

.wallet-option.single-wallet.featured .wallet-logo svg {
  width: 72px;
  height: 72px;
}

.wallet-option.single-wallet.featured .wallet-name {
  font-size: 1.5rem;
}

.wallet-option.single-wallet.featured .btn-wallet {
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

/* Accent color variations for different wallets */
[data-wallet="ledger"] {
  --accent-rgb: 255, 85, 0;
}

[data-wallet="trezor"] {
  --accent-rgb: 15, 97, 72;
}

[data-wallet="binance"] {
  --accent-rgb: 243, 186, 47;
}

[data-wallet="safepal"] {
  --accent-rgb: 92, 75, 212;
}

/* Logo icon in header adjustments */
.logo-icon svg {
  width: 100%;
  height: 100%;
}

/* Transition for brand changes */
.logo-icon,
.logo span {
  transition: all 0.3s ease;
}
