/* ============================================
   HashKey Global - Main Stylesheet
   Светлая тема в стиле официального сайта
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Цвета - светлая тема HashKey */
  --primary: #7B3FE4;
  --primary-dark: #6930C3;
  --primary-light: #9D6FF5;
  --primary-glow: rgba(123, 63, 228, 0.2);
  
  /* Светлый фон */
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FC;
  --bg-gray: #F3F4F8;
  --bg-card: #FFFFFF;
  
  /* Тёмный текст */
  --text-dark: #1A1A2E;
  --text-primary: #0D0D0D;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  
  /* Границы */
  --border-light: #E5E7EB;
  --border-medium: #D1D5DB;
  
  /* Акценты */
  --accent-orange: #F97316;
  --accent-green: #10B981;
  --accent-red: #EF4444;
  
  /* Шрифты */
  --font-sans: 'Satoshi', system-ui, -apple-system, sans-serif;
  --font-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  
  /* Размеры */
  --container-max: 1280px;
  --header-height: 72px;
  
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Тени */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--primary-glow);
  color: var(--text-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 20px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: var(--border-light);
}

.btn-ghost {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-light);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-content {
  padding: 1.5rem;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--primary);
}

.logo svg {
  width: 36px;
  height: 36px;
  transition: transform var(--transition-normal);
}

.logo:hover svg {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 0.5rem;
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-dark);
  background: var(--bg-light);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-glow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  padding: 0.5rem;
  color: var(--text-secondary);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-normal);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 0.75rem;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--text-dark);
  background: var(--bg-light);
}

@media (max-width: 1024px) {
  .nav, .header-actions .btn:not(.mobile-menu-btn) {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: #FFFFFF;
}

.hero-bg {
  display: none;
}

.hero-orb {
  display: none;
}

/* Particles - скрыты для чистого дизайна */
.particles {
  display: none;
}

/* Hero Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 600px;
}

/* Hero Video */
.hero-video {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
}

.hero-video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  filter: brightness(1.05) contrast(1.02);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
    max-width: 100%;
    order: 1;
  }
  
  .hero-video {
    order: 2;
  }
  
  .hero-video-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-glow);
  border: 1px solid rgba(123, 63, 228, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

@media (max-width: 1024px) {
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator-inner {
  width: 24px;
  height: 40px;
  border: 2px solid var(--border-medium);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator-dot {
  width: 6px;
  height: 12px;
  background: var(--primary);
  border-radius: 100px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Stats Section ---------- */
.stats {
  position: relative;
  padding: 5rem 0;
  background: var(--bg-light);
}

.stats::before,
.stats::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.stats::before { top: 0; }
.stats::after { bottom: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Products Section ---------- */
.products {
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-card {
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border: 1px solid rgba(123, 63, 228, 0.2);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.product-card:hover .product-icon {
  background: rgba(123, 63, 228, 0.15);
}

.product-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.product-card:hover .product-title {
  color: var(--primary);
}

.product-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.product-features {
  margin-bottom: 1.5rem;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.product-feature svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-fast);
}

.product-card:hover .product-link {
  gap: 0.75rem;
}

.product-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Security Section ---------- */
.security {
  position: relative;
  background: var(--bg-light);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.security-content {
  max-width: 500px;
}

.security-highlights {
  margin-top: 2rem;
}

.security-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.security-highlight svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.security-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.security-card {
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  transition: all var(--transition-normal);
}

.security-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.security-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-glow);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.security-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.security-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.security-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .security-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .security-content {
    max-width: 100%;
    text-align: center;
  }
  
  .security-highlights {
    display: inline-block;
    text-align: left;
  }
}

/* ---------- CTA Section ---------- */
.cta {
  padding: 6rem 0;
  background: var(--bg-white);
}

.cta-card {
  position: relative;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 600px;
  height: 400px;
  background: var(--primary);
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-glow);
  border: 1px solid rgba(123, 63, 228, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2rem;
}

.cta-title {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-light);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-dark);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Utility Classes ---------- */
.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

.text-primary { color: var(--primary); }
.text-white { color: var(--bg-white); }
.text-muted { color: var(--text-secondary); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ---------- Page-specific styles ---------- */

/* Trade page */
.trade-page {
  padding-top: calc(var(--header-height) + 20px);
  min-height: 100vh;
  padding-bottom: 2rem;
  background: var(--bg-light);
}

/* Market page */
.market-page {
  padding-top: calc(var(--header-height) + 40px);
  min-height: 100vh;
  background: var(--bg-white);
}

/* Legal pages */
.legal-page {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  background: var(--bg-white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 1rem;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.legal-content ul li {
  list-style-type: disc;
}

.legal-content ol li {
  list-style-type: decimal;
}

/* Form inputs */
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-medium);
  border-radius: 0.5rem;
  background: var(--bg-white);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

input::placeholder {
  color: var(--text-muted);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:hover {
  background: var(--bg-light);
}

/* Price colors */
.price-up {
  color: var(--accent-green);
}

.price-down {
  color: var(--accent-red);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.badge-primary {
  background: var(--primary-glow);
  color: var(--primary);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
}

.badge-warning {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-red);
}
