/* ========================================
   Vanguardis AI — Global Styles
   Color: #A61E1E (Crimson Red)
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #A61E1E;
  --primary-light: #C62828;
  --primary-dark: #7B1616;
  --primary-glow: rgba(166, 30, 30, 0.35);
  --accent: #D44040;
  --accent-soft: rgba(166, 30, 30, 0.12);

  --bg-dark: #070709;
  --bg-section: #0C0C0F;
  --bg-card: #111116;
  --bg-card-hover: #18181E;
  --bg-input: #15151A;

  --border: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);

  --text-primary: #FFFFFF;
  --text-secondary: #A8A8B3;
  --text-muted: #6B6B78;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.5);
  --shadow-glow: 0 0 60px var(--primary-glow);

  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.5s ease;

  --container-max: 1280px;
  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

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

.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--bg-section);
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 24px rgba(166, 30, 30, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 32px rgba(166, 30, 30, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: var(--accent-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-light);
  padding: 10px 20px;
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: rgba(7, 7, 9, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 7, 9, 0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.nav-logo .logo-icon {
  width: 220px;
  height: 38px;
  /* background: var(--primary); */
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
}

.nav-logo span.brand-highlight {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(7, 7, 9, 0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 100px 30px 40px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 16px 20px;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu .mobile-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroPulse 6s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(166, 30, 30, 0.1), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes heroPulse {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.7; transform: scale(1.1); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--accent-soft);
  border: 1px solid rgba(166, 30, 30, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge i {
  font-size: 14px;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary-light), #E53935);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-card {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

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

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.hero-card-header h4 {
  font-size: 1rem;
  font-weight: 600;
}

.hero-card-header .badge-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4CAF50;
}

.badge-live::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.chart-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(180deg, rgba(166,30,30,0.08), transparent);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.chart-placeholder svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-area {
  fill: url(#chartGradient);
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-card-stat {
  text-align: center;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
}

.hero-card-stat .label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.hero-card-stat .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-card-stat .value.up {
  color: #4CAF50;
}

.hero-card-stat .value.down {
  color: var(--primary-light);
}

/* Floating elements around hero card */
.float-badge {
  position: absolute;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.float-badge:nth-child(2) {
  top: 10%;
  right: -20px;
  animation-delay: 0.5s;
}

.float-badge:nth-child(3) {
  bottom: 15%;
  left: -30px;
  animation-delay: 1s;
}

.float-badge i {
  color: var(--primary-light);
}

.float-badge .up { color: #4CAF50; }

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

/* ---------- Ticker Bar ---------- */
.ticker-bar {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 50px;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

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

.ticker-item .price {
  color: var(--text-secondary);
}

.ticker-item .change {
  font-weight: 600;
  font-size: 13px;
}

.ticker-item .change.up {
  color: #4CAF50;
}

.ticker-item .change.down {
  color: var(--primary-light);
}

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

/* ---------- Features / Why Choose Us ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: rgba(166, 30, 30, 0.2);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary-light);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ---------- Stats Banner ---------- */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ---------- Markets Section ---------- */
.markets-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.market-tab {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.market-tab:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.market-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.market-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.market-card:hover {
  border-color: rgba(166, 30, 30, 0.15);
  background: var(--bg-card-hover);
}

.market-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.market-card-info {
  flex: 1;
}

.market-card-info .name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.market-card-info .pair {
  font-size: 12px;
  color: var(--text-muted);
}

.market-card-price {
  text-align: right;
}

.market-card-price .price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.market-card-price .change {
  font-size: 12px;
  font-weight: 600;
}

.market-card-price .change.up { color: #4CAF50; }
.market-card-price .change.down { color: var(--primary-light); }

/* Price Update Animation */
@keyframes priceUpdate {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.market-card-price .price.price-update {
  animation: priceUpdate 0.6s ease;
}

/* ---------- Articles ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(166, 30, 30, 0.2);
  box-shadow: var(--shadow-lg);
}

.article-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-section), var(--bg-card-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.article-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-card));
}

.article-card-body {
  padding: 24px;
}

.article-card-body .tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 12px;
}

.article-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.article-card-footer .date {
  font-size: 13px;
  color: var(--text-muted);
}

.article-card-footer a {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
}

.article-card-footer a:hover {
  color: var(--accent);
}

/* ---------- Awards / Partners ---------- */
.awards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.awards-row:hover {
  opacity: 0.8;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.award-item .award-icon {
  width: 70px;
  height: 70px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-muted);
}

.award-item span {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(166, 30, 30, 0.3);
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M0 20L20 0v20H0zm20 0L40 0v20H20zm0 0v20l20-20H20zm0 0H0l20 20V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-box h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

.cta-btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.cta-btn-white:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

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

.footer-brand {
  min-width: 0;
}

.footer-brand .nav-logo {
  font-size: inherit;
  word-break: break-word;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: block;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* Risk disclaimer bar */
.risk-disclaimer {
  background: rgba(166, 30, 30, 0.08);
  border-top: 1px solid rgba(166, 30, 30, 0.15);
  padding: 20px 0;
}

.risk-disclaimer p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------- Page Headers ---------- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- About Page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.85;
}

.about-visual {
  position: relative;
}

.about-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-value {
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  text-align: center;
}

.about-value i {
  font-size: 28px;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.about-value h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.about-value p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: all var(--transition-base);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 30, 30, 0.2);
  box-shadow: var(--shadow-md);
}

.tool-card i {
  font-size: 32px;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.tool-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.tool-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Account Types ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card-header {
  text-align: center;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-card-header .tier-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-card-header .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-card-header .price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  flex: 1;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li i {
  color: #4CAF50;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.4;
}

.pricing-features li.disabled i {
  color: var(--text-muted);
}

.pricing-card .btn {
  width: 100%;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-fast);
}

.contact-info-card:hover {
  border-color: rgba(166, 30, 30, 0.15);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(166, 30, 30, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- FAQ Page ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

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

.faq-item.active {
  border-color: rgba(166, 30, 30, 0.25);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
}

.faq-question .faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  font-size: 14px;
  color: var(--text-muted);
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ---------- Education Page ---------- */
.glossary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 40px;
}

.glossary-nav a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.glossary-nav a:hover,
.glossary-nav a.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.glossary-section {
  margin-bottom: 50px;
}

.glossary-section h2 {
  font-size: 2rem;
  color: var(--primary-light);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.glossary-term {
  margin-bottom: 24px;
}

.glossary-term h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.glossary-term p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

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

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

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .section {
    padding: 70px 0;
  }

  .page-header {
    padding: 130px 0 60px;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stat h3 {
    font-size: 1.6rem;
  }

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

  .stat-item h3 {
    font-size: 2rem;
  }

  .footer {
    padding: 50px 0 0;
  }

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

  .footer-brand p {
    font-size: 0.88rem;
    max-width: 100%;
  }

  .footer-col h3,
  .footer-col h4 {
    font-size: 0.92rem;
    margin-bottom: 14px;
  }

  .footer-col ul li a {
    font-size: 0.88rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    gap: 14px;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }

  .cta-box {
    padding: 50px 28px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .footer-brand p {
    font-size: 0.85rem;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .footer-col h3,
  .footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .footer-col ul li {
    margin-bottom: 8px;
  }

  .footer-col ul li a {
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding: 16px 0;
    gap: 12px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }

  .footer-bottom-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom-links a {
    font-size: 0.8rem;
  }

  .risk-disclaimer {
    padding: 20px 0;
  }

  .risk-disclaimer p {
    font-size: 0.75rem;
    line-height: 1.6;
  }
}

/* ========== MARKET PAGES STYLES ========== */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.breadcrumb i {
  font-size: 0.7rem;
}

/* Market Hero */
.market-hero {
  background: linear-gradient(135deg, rgba(166, 30, 30, 0.15) 0%, rgba(166, 30, 30, 0.05) 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

.market-hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 12px;
}

.market-hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
}

.market-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--primary-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.market-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.market-hero-stats .stat {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

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

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-base);
}

.benefit-card:hover {
  border-color: rgba(166, 30, 30, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin: 0 auto 20px;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Crypto Details */
.crypto-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.crypto-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
}

.crypto-detail:hover {
  border-color: rgba(166, 30, 30, 0.3);
  background: var(--bg-card-hover);
}

.crypto-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.crypto-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-light);
}

.crypto-info h3 {
  font-size: 1.3rem;
}

.crypto-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.crypto-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.crypto-features {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature i {
  color: #4CAF50;
  font-size: 0.8rem;
}

/* 2 Column Features */
.features-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
}

.feature-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 60px;
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.feature-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Strategy Cards */
.strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-base);
}

.strategy-card:hover {
  border-color: rgba(166, 30, 30, 0.3);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.strategy-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.strategy-card i {
  font-size: 1.4rem;
  color: var(--primary);
}

.strategy-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.strategy-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--primary-light);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* CTA Content */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .market-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .crypto-details {
    grid-template-columns: 1fr;
  }

  .features-2col {
    grid-template-columns: 1fr;
  }

  .strategy-cards {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    justify-content: center;
  }
}

/* ========== MARKETS SHOWCASE ========== */

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

.market-showcase-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(166, 30, 30, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition-base);
}

.market-showcase-card:hover {
  border-color: rgba(166, 30, 30, 0.3);
  background: linear-gradient(135deg, var(--bg-card-hover) 0%, rgba(166, 30, 30, 0.1) 100%);
  transform: translateY(-8px);
}

.market-showcase-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--primary);
  margin: 0 auto 24px;
}

.market-showcase-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.market-showcase-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.market-showcase-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.market-showcase-meta span {
  color: var(--text-secondary);
}

.market-showcase-meta i {
  color: #4CAF50;
  margin-right: 6px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

table thead {
  background: rgba(166, 30, 30, 0.1);
  border-bottom: 1px solid var(--border);
}

table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-right: 1px solid var(--border);
}

table th:last-child {
  border-right: none;
}

table td {
  padding: 16px;
  border-right: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

table td:last-child {
  border-right: none;
}

table tbody tr {
  border-bottom: 1px solid var(--border);
}

table tbody tr:hover {
  background: rgba(166, 30, 30, 0.03);
}

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

table strong {
  color: var(--text-primary);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Footer */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 70px 0 0;
}

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

.footer-col h3,
.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col {
  min-width: 0;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.disclaimer {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .markets-showcase {
    grid-template-columns: 1fr;
  }

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

  table,
  table thead,
  table tbody,
  table th,
  table td,
  table tr {
    display: block;
  }

  table thead {
    display: none;
  }

  table tr {
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  table td {
    display: block;
    text-align: right;
    padding: 12px;
    position: relative;
    padding-left: 50%;
    border: none;
    border-bottom: 1px solid var(--border);
  }

  table td:last-child {
    border-bottom: none;
  }

  table td:before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
  }
}

/* ========== CONTENT WITH SIDEBAR LAYOUT ========== */

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  padding-top: 40px;
}

.content-main {
  width: 100%;
}

.content-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-box {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-base);
}

.sidebar-box:hover {
  border-color: var(--border-light);
  background: var(--bg-card);
}

.sidebar-box h3 {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.sidebar-box h3 i {
  color: var(--primary);
  font-size: 1.2rem;
}

.sidebar-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-box li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sidebar-box li:last-child {
  margin-bottom: 0;
}

.sidebar-box a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.5;
  flex: 1;
}

.sidebar-box a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.sidebar-box a i {
  color: var(--primary);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

/* Sidebar on small screens */
@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 24px;
  }

  .content-sidebar {
    position: static;
    top: auto;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    display: grid;
  }

  .sidebar-box {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .content-with-sidebar {
    padding-top: 16px;
  }

  .sidebar-box {
    padding: 16px;
  }

  .sidebar-box h3 {
    font-size: 1rem;
  }

  .sidebar-box a {
    font-size: 0.9rem;
  }
}
