/* ===== TRADER.PRO Landing Page Styles ===== */
/* Premium dark theme with neon accents */

:root {
  /* Colors */
  --bg-dark: #0a0b0f;
  --bg-card: #12141c;
  --bg-card-hover: #1a1d28;
  --surface: #1e2130;
  
  --text: #ffffff;
  --text-secondary: #8b8fa3;
  --text-muted: #5a5f73;
  
  --accent-primary: #00f0ff;
  --accent-secondary: #7b61ff;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
  --accent-gold: #fbbf24;
  
  --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #7b61ff 100%);
  --gradient-green: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
  --gradient-card: linear-gradient(145deg, rgba(30, 33, 48, 0.8) 0%, rgba(18, 20, 28, 0.9) 100%);
  
  --glow-cyan: 0 0 40px rgba(0, 240, 255, 0.3);
  --glow-purple: 0 0 40px rgba(123, 97, 255, 0.3);
  --glow-green: 0 0 30px rgba(34, 197, 94, 0.4);
  
  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1280px;
  
  /* Typography */
  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== Language Switcher ===== */
.lang-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-right: 12px;
}

.lang-btn {
  padding: 6px 10px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
  color: var(--bg-dark);
  background: var(--accent-primary);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

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

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-secondary);
  bottom: -150px;
  left: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-green);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -30px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.9); }
  75% { transform: translate(-50px, -20px) scale(1.05); }
}

/* ===== Floating Cryptos ===== */
.floating-cryptos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.crypto-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.15;
  animation: cryptoFloat 15s ease-in-out infinite;
}

.crypto-btc { top: 15%; left: 5%; animation-delay: 0s; color: #f7931a; }
.crypto-eth { top: 25%; right: 8%; animation-delay: -3s; color: #627eea; }
.crypto-sol { bottom: 30%; left: 10%; animation-delay: -6s; color: #00ffa3; }
.crypto-xrp { top: 60%; right: 5%; animation-delay: -9s; color: #23292f; }
.crypto-ada { bottom: 15%; right: 15%; animation-delay: -12s; color: #0033ad; }
.crypto-bnb { top: 40%; left: 3%; animation-delay: -4s; color: #f3ba2f; }

@keyframes cryptoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  background: rgba(10, 11, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-medium);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
}

.logo-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.logo-white {
  color: #ffffff;
}

.logo-pro {
  color: #10b981;
}

.logo-sub {
  font-size: 0.6rem;
  color: #f6d365;
  letter-spacing: 2px;
  text-transform: lowercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Nav Highlight - золотая подсветка для "Доверительное управление" */
.nav-links a.nav-highlight {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a.nav-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: nav-shimmer 3s ease-in-out infinite;
}

@keyframes nav-shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.nav-links a.nav-highlight:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.15), inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.nav-links a.nav-highlight::after {
  display: none;
}

/* Nav active state */
.nav-links a.active {
  color: var(--accent-primary);
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-medium);
  border: none;
  position: relative;
  overflow: hidden;
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--bg-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-primary);
}

.btn-hero {
  padding: 16px 32px;
  font-size: 1.1rem;
  background: var(--gradient-primary);
  color: var(--bg-dark);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan), 0 20px 40px rgba(0, 240, 255, 0.2);
}

.btn-glow {
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  filter: blur(15px);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-medium);
}

.btn:hover .btn-glow {
  opacity: 0.5;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: var(--transition-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.2rem;
}

.play-icon {
  width: 20px;
  height: 20px;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 140px 40px 80px;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  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-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

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

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-primary);
}

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

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

/* ===== 3D Orderbook Preview ===== */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.orderbook-3d {
  position: relative;
  transform: rotateY(-5deg) rotateX(5deg);
  transform-style: preserve-3d;
  animation: float3d 6s ease-in-out infinite;
}

@keyframes float3d {
  0%, 100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-3deg) rotateX(3deg) translateY(-15px); }
}

.ob-glow {
  position: absolute;
  inset: -30px;
  background: var(--gradient-primary);
  filter: blur(60px);
  opacity: 0.3;
  border-radius: 30px;
}

.ob-container {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ob-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ob-pair {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.ob-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.price-up {
  color: var(--accent-green);
  text-shadow: var(--glow-green);
}

.ob-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ob-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ob-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.ob-bids .ob-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--depth);
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.3) 0%, transparent 100%);
  z-index: -1;
}

.ob-asks .ob-row::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--depth);
  background: linear-gradient(-90deg, rgba(239, 68, 68, 0.3) 0%, transparent 100%);
  z-index: -1;
}

.ob-row.whale {
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.05);
}

.ob-price-cell {
  color: var(--text-secondary);
}

.ob-bids .ob-price-cell {
  color: var(--accent-green);
}

.ob-asks .ob-price-cell {
  color: var(--accent-red);
}

.ob-amount {
  font-weight: 600;
}

/* ===== Sections Common ===== */
section {
  position: relative;
  z-index: 10;
}

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

.section-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(123, 97, 255, 0.1);
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

/* ===== Features Section ===== */
.features {
  padding: var(--section-padding);
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

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

.feature-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-medium);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-main {
  grid-column: span 2;
  grid-row: span 2;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 10px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-visual {
  margin-top: 24px;
}

.whale-visual {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  padding: 16px;
}

.whale-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whale-emoji {
  font-size: 2rem;
  animation: whalePulse 2s ease-in-out infinite;
}

@keyframes whalePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.whale-info {
  color: var(--accent-primary);
  font-weight: 600;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: var(--section-padding);
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 80px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  max-width: 300px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.step-line {
  position: absolute;
  top: 40px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, transparent 100%);
}

.step:last-child .step-line {
  display: none;
}

/* Demo Container */
.demo-container {
  display: flex;
  justify-content: center;
}

.demo-wrapper {
  position: relative;
  max-width: 900px;
}

.demo-screen {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
}

.demo-image {
  width: 100%;
  display: block;
  min-height: 400px;
  object-fit: cover;
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 15, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: var(--transition-medium);
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-cyan);
}

.play-button svg {
  width: 32px;
  height: 32px;
  color: var(--bg-dark);
  margin-left: 4px;
}

.demo-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient-primary);
  filter: blur(80px);
  opacity: 0.2;
  z-index: -1;
  border-radius: 30px;
}

/* ===== Pricing Section ===== */
.pricing {
  padding: var(--section-padding);
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  transition: var(--transition-medium);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-featured {
  border-color: var(--accent-primary);
  transform: scale(1.05);
  box-shadow: var(--glow-cyan);
}

.pricing-featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bg-dark);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.badge-pro {
  background: rgba(0, 240, 255, 0.2);
  color: var(--accent-primary);
}

.badge-team {
  background: rgba(123, 97, 255, 0.2);
  color: var(--accent-secondary);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
}

.price-period {
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: var(--accent-green);
  font-weight: 700;
}

.pricing-features .cross {
  color: var(--text-muted);
}

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

/* PRO Card Styling */
.pricing-card.pro {
  border: 2px solid #10b981;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
  transform: scale(1.02);
}

.pricing-card.pro:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
}

.pricing-card.pro .pricing-name {
  color: #10b981;
}

.pricing-card.pro .price-amount {
  color: #10b981;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-pro {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #000;
  font-weight: 700;
  border: none;
}

.btn-pro:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

/* VIP Card Styling */
.pricing-card.vip {
  border: 2px solid #f6d365;
  box-shadow: 0 0 30px rgba(246, 211, 101, 0.2);
}

.pricing-card.vip:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(246, 211, 101, 0.3);
}

.pricing-card.vip .pricing-name {
  color: #f6d365;
}

.pricing-card.vip .price-amount {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vip-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 24px;
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(246, 211, 101, 0.4);
}

.btn-vip {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  color: #000;
  font-weight: 700;
  border: none;
}

.btn-vip:hover {
  box-shadow: 0 8px 25px rgba(246, 211, 101, 0.4);
  transform: translateY(-2px);
}

/* ===== Exchanges Section ===== */
.exchanges {
  padding: var(--section-padding);
  overflow: hidden;
}

.exchanges-carousel {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  padding: 20px 0;
}

.exchanges-track {
  display: flex;
  gap: 30px;
  width: fit-content;
  animation: scrollExchanges 35s linear infinite;
}

@keyframes scrollExchanges {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 15px)); }
}

.exchanges-track:hover {
  animation-play-state: paused;
}

.exchange-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: var(--transition-medium);
  flex-shrink: 0;
  min-width: 140px;
}

.exchange-logo:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Binance - жёлтый */
.exchange-logo.binance:hover {
  border-color: #F0B90B;
  box-shadow: 0 0 30px rgba(240, 185, 11, 0.3);
}
.exchange-logo.binance .ex-icon { color: #F0B90B; }

/* Bybit - оранжевый */
.exchange-logo.bybit:hover {
  border-color: #F7A600;
  box-shadow: 0 0 30px rgba(247, 166, 0, 0.3);
}
.exchange-logo.bybit .ex-icon { color: #F7A600; }

/* OKX - белый */
.exchange-logo.okx:hover {
  border-color: #FFFFFF;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}
.exchange-logo.okx .ex-icon { color: #FFFFFF; }

/* Coinbase - синий */
.exchange-logo.coinbase:hover {
  border-color: #0052FF;
  box-shadow: 0 0 30px rgba(0, 82, 255, 0.3);
}
.exchange-logo.coinbase .ex-icon { color: #0052FF; }

/* Kraken - фиолетовый */
.exchange-logo.kraken:hover {
  border-color: #5741D9;
  box-shadow: 0 0 30px rgba(87, 65, 217, 0.3);
}
.exchange-logo.kraken .ex-icon { color: #5741D9; }

/* Bitfinex - зелёный */
.exchange-logo.bitfinex:hover {
  border-color: #16B157;
  box-shadow: 0 0 30px rgba(22, 177, 87, 0.3);
}
.exchange-logo.bitfinex .ex-icon { color: #16B157; }

/* HTX (ex-Huobi) - синий */
.exchange-logo.htx:hover {
  border-color: #2354E6;
  box-shadow: 0 0 30px rgba(35, 84, 230, 0.3);
}
.exchange-logo.htx .ex-icon { color: #2354E6; }

/* Gate.io - зелёно-синий */
.exchange-logo.gateio:hover {
  border-color: #17E6A1;
  box-shadow: 0 0 30px rgba(23, 230, 161, 0.3);
}
.exchange-logo.gateio .ex-icon { color: #17E6A1; }

/* KuCoin - зелёный */
.exchange-logo.kucoin:hover {
  border-color: #23AF91;
  box-shadow: 0 0 30px rgba(35, 175, 145, 0.3);
}
.exchange-logo.kucoin .ex-icon { color: #23AF91; }

/* MEXC - синий */
.exchange-logo.mexc:hover {
  border-color: #00B897;
  box-shadow: 0 0 30px rgba(0, 184, 151, 0.3);
}
.exchange-logo.mexc .ex-icon { color: #00B897; }

.ex-icon {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  transition: var(--transition-medium);
}

.exchange-logo span.ex-name {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-medium);
}

.exchange-logo:hover span.ex-name {
  color: var(--text);
}

/* ===== Trading Animation Demo - Candlestick Chart ===== */
.trading-animation {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.terminal-window {
  width: 100%;
  background: linear-gradient(180deg, #0d0f14 0%, #080a0e 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 240, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  margin-left: 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.terminal-pair {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-weight: 700;
  color: var(--accent-primary);
}

.terminal-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
}

.terminal-price.up { color: #22c55e; text-shadow: 0 0 20px rgba(34, 197, 94, 0.5); }
.terminal-price.down { color: #ef4444; text-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }

.terminal-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  padding: 20px;
  min-height: 400px;
}

/* Candlestick Chart */
.chart-container {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
  overflow: hidden;
}

.chart-grid {
  position: absolute;
  inset: 20px;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 30px;
}

.candlesticks {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 40px 10px 20px;
  z-index: 2;
}

.candle {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 20px;
  opacity: 0;
  animation: candleAppear 0.3s ease-out forwards;
}

@keyframes candleAppear {
  from { opacity: 0; transform: scaleY(0); }
  to { opacity: 1; transform: scaleY(1); }
}

.candle .wick {
  width: 2px;
  background: currentColor;
}

.candle .body {
  width: 14px;
  min-height: 8px;
  border-radius: 2px;
}

.candle.green { color: #22c55e; }
.candle.green .body { background: #22c55e; }

.candle.red { color: #ef4444; }
.candle.red .body { background: #ef4444; }

/* Entry Point */
.entry-marker {
  position: absolute;
  bottom: 45%;
  left: 52%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: showMarker 0.6s ease-out 3s forwards;
  z-index: 10;
}

@keyframes showMarker {
  to { opacity: 1; transform: translateY(0); }
}

.entry-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(34, 197, 94, 0.2);
  border: 2px solid #22c55e;
  border-radius: 12px;
  animation: pulseBadge 1.5s ease-in-out infinite 3.5s;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 30px 10px rgba(34, 197, 94, 0.2); }
}

.entry-badge .whale {
  font-size: 1.8rem;
}

.entry-badge .label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #22c55e;
}

.entry-line {
  width: 3px;
  height: 80px;
  background: linear-gradient(180deg, #22c55e, transparent);
  border-radius: 2px;
}

/* Profit Display */
.profit-box {
  position: absolute;
  top: 15%;
  right: 8%;
  text-align: right;
  opacity: 0;
  transform: translateX(30px);
  animation: showProfit 0.8s ease-out 4.5s forwards;
  z-index: 10;
}

@keyframes showProfit {
  to { opacity: 1; transform: translateX(0); }
}

.profit-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.profit-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #22c55e;
  text-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
  animation: profitGlow 1s ease-in-out infinite 5s;
}

@keyframes profitGlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.profit-percent {
  font-size: 1.2rem;
  color: #22c55e;
  opacity: 0.9;
}

/* Right Panel - Orderbook */
.right-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.orderbook-panel {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.ob-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ob-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ob-spread {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ob-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ob-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
}

.ob-row::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--depth, 50%);
  z-index: 0;
  opacity: 0.4;
}

.ob-row.bid::before {
  left: 0;
  background: linear-gradient(90deg, #22c55e 0%, transparent 100%);
}

.ob-row.ask::before {
  right: 0;
  background: linear-gradient(-90deg, #ef4444 0%, transparent 100%);
}

.ob-row span {
  position: relative;
  z-index: 1;
}

.ob-row.bid .price { color: #22c55e; font-weight: 600; }
.ob-row.ask .price { color: #ef4444; font-weight: 600; }
.ob-row .amount { text-align: right; color: var(--text-secondary); }

.ob-row.whale-row {
  border: 1px solid var(--accent-primary);
  background: rgba(0, 240, 255, 0.1);
  animation: whaleRowPulse 2s ease-in-out infinite;
}

@keyframes whaleRowPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.3); }
  50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.5); }
}

.ob-row.whale-row .price::before {
  content: '🐋 ';
}

/* Alert Bar */
.alert-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-top: 1px solid rgba(34, 197, 94, 0.3);
  opacity: 0;
  animation: showAlert 0.5s ease-out 2.5s forwards;
}

@keyframes showAlert {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-icon {
  font-size: 1.6rem;
  animation: bounce 1s ease-in-out infinite 3s;
}

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

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 700;
  color: #22c55e;
  font-size: 0.95rem;
}

.alert-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.alert-btn {
  padding: 8px 16px;
  background: #22c55e;
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 8px;
  text-transform: uppercase;
  animation: pulseBtn 1.5s ease-in-out infinite 3.5s;
}

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

.exchange-icon {
  font-size: 2.5rem;
  line-height: 1;
}



/* ===== CTA Section ===== */
.cta {
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

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

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
}

.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-secondary);
  top: 50%;
  right: 20%;
  transform: translate(50%, -50%);
  opacity: 0.2;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 50px 40px 30px;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2.5fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 12px 0 20px;
  max-width: 280px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 6px 0;
  transition: var(--transition-fast);
}

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

.footer-column a:hover .footer-link-desc {
  color: var(--text-secondary);
}

.footer-link-title {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-fast);
  font-size: 0.8rem;
}

.footer-column a:hover .footer-link-title {
  color: var(--accent-primary);
}

.footer-link-desc {
  display: none;
}

.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer-lang {
  display: none;
}

.footer-lang-btn {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.footer-lang-btn:hover {
  border-color: var(--accent-primary);
  color: var(--text);
}

.footer-lang-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-dark);
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-main {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .pricing-featured {
    transform: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-main {
    grid-column: span 1;
  }
  
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .step-line {
    display: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-link-desc {
    display: none;
  }
  
  .lang-switcher {
    display: none;
  }
}

/* ===== NEW TRADING DEMO STYLES ===== */

/* ===== Page Hero (for subpages) ===== */
.page-hero {
  padding: 180px 40px 80px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

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

/* ===== Education Section ===== */
.edu-section {
  padding: 80px 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: var(--transition-medium);
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.course-card.featured {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.course-level {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.course-level.beginner {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.course-level.intermediate {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-primary);
}

.course-level.pro {
  background: rgba(246, 211, 101, 0.15);
  color: #f6d365;
}

.course-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.course-icon svg {
  width: 100%;
  height: 100%;
}

.course-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.course-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.course-features {
  list-style: none;
  margin-bottom: 24px;
}

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

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

.course-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

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

.benefit-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: var(--transition-medium);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Trust Management Styles ===== */
.trust-stats {
  padding: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.trust-stat {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.trust-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

/* Trust Plans */
.trust-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-plan-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: var(--transition-medium);
}

.trust-plan-card:hover {
  transform: translateY(-5px);
}

.trust-plan-card.featured {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.trust-plan-card.vip {
  border-color: #f6d365;
  box-shadow: 0 0 30px rgba(246, 211, 101, 0.15);
}

.trust-plan-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-plan-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.trust-plan-min {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.trust-plan-features {
  list-style: none;
  margin-bottom: 24px;
}

.trust-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.trust-plan-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-plan-fee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

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

.fee-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-primary);
}

/* Risk Warning */
.risk-warning {
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.risk-warning-content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  padding: 24px;
}

.risk-icon {
  flex-shrink: 0;
}

.risk-text h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #f59e0b;
  margin-bottom: 8px;
}

.risk-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Nav active state */
.nav-links a.active {
  color: var(--accent-primary);
}

/* Responsive for new pages */
@media (max-width: 1024px) {
  .courses-grid,
  .trust-plans-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .benefits-grid,
  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 140px 20px 60px;
  }
  
  .edu-section {
    padding: 60px 20px;
  }
  
  .benefits-grid,
  .trust-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .risk-warning-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Trading Demo Styles ===== */

.trading-demo-wrapper {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  overflow: hidden;
  box-shadow: 
    0 0 0 1px rgba(0, 240, 255, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Demo Header */
.td-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.td-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.td-dots {
  display: flex;
  gap: 6px;
}

.td-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.td-dot-red { background: #ff5f57; }
.td-dot-yellow { background: #febc2e; }
.td-dot-green { background: #28c840; }

.td-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.td-pair {
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-primary);
}

.td-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 800;
  transition: all 0.3s;
}

.td-price-up { color: #22c55e; }
.td-price-down { color: #ef4444; }

/* Demo Main Area */
.td-main {
  display: grid;
  grid-template-columns: 1fr 200px;
  min-height: 380px;
}

/* Chart Area */
.td-chart {
  position: relative;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.td-chart-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.td-chart-area {
  position: relative;
  height: 280px;
  background: 
    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: 100% 56px, 50px 100%;
  border-radius: 8px;
}

/* Y Axis */
.td-y-axis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 9px;
  color: var(--text-muted);
  text-align: right;
  padding-right: 8px;
}

/* Candles Container */
.td-candles {
  position: absolute;
  left: 55px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

/* Individual Candle */
.td-candle {
  flex: 1;
  position: relative;
  height: 260px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.td-candle.visible {
  opacity: 1;
  transform: scaleY(1);
}

.td-candle .wick {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
}

.td-candle .body {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  border-radius: 2px;
  min-height: 4px;
}

/* Candle Colors */
.td-candle.green .wick { background: #22c55e; }
.td-candle.green .body { background: #22c55e; }

.td-candle.red .wick { background: #ef4444; }
.td-candle.red .body { background: #ef4444; }

/* Support Line */
.td-support-line {
  position: absolute;
  left: 55px;
  right: 10px;
  height: 2px;
  background: var(--accent-primary);
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 10px var(--accent-primary);
}

.td-support-line.show {
  opacity: 1;
}

.td-support-label {
  position: absolute;
  left: 55px;
  transform: translateY(-100%);
  padding: 6px 12px;
  background: var(--accent-primary);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.5s;
  white-space: nowrap;
}

.td-support-label.show {
  opacity: 1;
}

.td-support-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 20px;
  border: 4px solid transparent;
  border-top-color: var(--accent-primary);
}

/* Entry Point */
.td-entry-point {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.td-entry-point.show {
  transform: translate(-50%, -50%) scale(1);
}

.td-entry-point::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid #22c55e;
  border-radius: 50%;
  animation: td-ping 1.5s ease-out infinite;
}

@keyframes td-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

/* Sidebar */
.td-sidebar {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
}

/* Signal Box */
.td-signal-box {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.5s;
}

.td-signal-box.show {
  opacity: 1;
  transform: translateY(0);
}

.td-signal-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.td-signal-title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.td-signal-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-primary);
}

/* Profit Box */
.td-profit-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s;
}

.td-profit-box.show {
  opacity: 1;
  transform: scale(1);
}

.td-profit-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.td-profit-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.td-profit-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #22c55e;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  transition: all 0.3s;
}

.td-profit-percent {
  font-size: 14px;
  font-weight: 600;
  color: #22c55e;
  margin-top: 4px;
}

/* Action Button */
.td-action-btn {
  margin: 20px;
  padding: 14px;
  background: #22c55e;
  border: none;
  border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}

.td-action-btn.show {
  opacity: 1;
  transform: translateY(0);
  animation: td-btn-pulse 2s ease-in-out infinite;
}

@keyframes td-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* Status Bar */
.td-status-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.td-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  transition: all 0.3s;
}

.td-status-item.active {
  color: #fff;
}

.td-status-item.done {
  color: #22c55e;
}

.td-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.td-status-item.active .td-status-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.td-status-item.done .td-status-dot {
  background: #22c55e;
}

/* Demo Container Adjustments */
.demo-container {
  margin-top: 60px;
  position: relative;
}

.demo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Responsive for Trading Demo */
@media (max-width: 768px) {
  .td-main {
    grid-template-columns: 1fr;
  }
  
  .td-chart {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .td-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .td-signal-box {
    flex: 1;
    min-width: 120px;
  }
  
  .td-profit-box {
    flex: 1;
    min-width: 120px;
  }
  
  .td-action-btn {
    width: 100%;
    margin: 10px;
  }
  
  .td-status-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .td-chart-area {
    height: 220px;
  }
}
/* ===== About Page Styles ===== */
.about-hero {
  padding: 160px 40px 80px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 20px 0;
}

.about-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission Section */
.about-mission {
  padding: 80px 40px;
  position: relative;
  z-index: 10;
}

.about-mission-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.mission-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateY(-5px);
}

.mission-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
}

.mission-icon svg {
  width: 100%;
  height: 100%;
}

.mission-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text);
}

.mission-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Stats Section */
.about-stats {
  padding: 60px 40px;
  background: rgba(0, 240, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
}

.about-stats-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.about-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.about-stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Team Section */
.about-team {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
}

.team-grid {
  max-width: var(--container-width);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-photo {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.team-info {
  padding: 24px 28px 28px;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.team-role {
  display: inline-block;
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-socials {
  display: flex;
  gap: 12px;
}

.team-social {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.team-social:hover {
  background: var(--accent-primary);
  color: var(--bg-dark);
}

/* Why Section */
.about-why {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
}

.why-grid {
  max-width: var(--container-width);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition-smooth);
}

.why-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(123, 97, 255, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* About Responsive */
@media (max-width: 1024px) {
  .about-mission-grid,
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 120px 20px 60px;
  }
  
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-stat-value {
    font-size: 2.5rem;
  }
}
/* ===== Contact Modal Styles ===== */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px;
  max-width: 480px;
  width: 90%;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.contact-modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition-fast);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon.telegram {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
}

.contact-icon.email {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-info {
  flex: 1;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-weight: 500;
  font-size: 1rem;
}

.contact-item:hover .contact-value {
  color: var(--accent-primary);
}

.contact-arrow {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.contact-item:hover .contact-arrow {
  color: var(--accent-primary);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 32px 24px;
    margin: 20px;
  }
  
  .modal-header h3 {
    font-size: 1.5rem;
  }
  
  .contact-item {
    padding: 16px;
  }
  
  .contact-icon {
    width: 44px;
    height: 44px;
  }
}

/* ===== Partners Page Styles ===== */
.partners-hero {
  padding: 160px 40px 80px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.partners-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.partners-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 20px 0;
}

.partners-hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}

.partners-hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}

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

.hero-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Partners Steps */
.partners-steps {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
}

.partners-steps-grid {
  max-width: var(--container-width);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.partner-step {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.partner-step:hover {
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateY(-5px);
}

.partner-step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(123, 97, 255, 0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.partner-step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
}

.partner-step-icon svg {
  width: 100%;
  height: 100%;
}

.partner-step h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.partner-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Partners FAQ */
.partners-faq {
  padding: 100px 40px;
  background: rgba(0, 240, 255, 0.02);
  position: relative;
  z-index: 10;
}

.faq-grid {
  max-width: var(--container-width);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
}

.faq-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.faq-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
}

.faq-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-card strong {
  color: var(--accent-primary);
}

/* Calculator Section */
.partners-calc {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
}

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

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

.calc-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 20px auto 50px;
  max-width: 600px;
}

.calc-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.calc-example {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
}

.calc-example:hover {
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateY(-5px);
}

.calc-example.featured {
  border-color: rgba(0, 240, 255, 0.3);
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.05), transparent);
}

.calc-example-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-primary);
  color: var(--bg-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.calc-example-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-example-icon {
  font-size: 1.5rem;
}

.calc-example-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.calc-example-body {
  padding: 20px 24px 24px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.calc-value {
  color: var(--text);
  font-weight: 500;
}

.calc-result {
  display: flex;
  justify-content: space-between;
  padding: 16px 0 0;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  background: linear-gradient(135deg, #22c55e, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Benefits Section */
.partners-benefits {
  padding: 100px 40px;
  position: relative;
  z-index: 10;
}

.benefits-grid {
  max-width: var(--container-width);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  border-color: rgba(0, 240, 255, 0.2);
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 10px;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Partners Responsive */
@media (max-width: 1024px) {
  .partners-steps-grid,
  .calc-examples {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .faq-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  
  .partners-hero-stats {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .partners-hero {
    padding: 120px 20px 60px;
  }
  
  .hero-stat-value {
    font-size: 2rem;
  }
}

/* ===== Legal Pages Styles ===== */
/* ДОБАВЬ ЭТОТ КОД В КОНЕЦ landing.css */

.legal-hero {
  padding: 160px 40px 60px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.legal-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 20px 0;
}

.legal-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 24px;
}

.legal-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Legal Navigation */
.legal-nav-section {
  padding: 0 40px 40px;
  position: relative;
  z-index: 10;
}

.legal-nav-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px 32px;
}

.legal-nav-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-nav-link {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.legal-nav-link:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--accent-primary);
}

/* Legal Content */
.legal-content {
  padding: 40px 40px 100px;
  position: relative;
  z-index: 10;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 24px;
  position: relative;
  transition: var(--transition-smooth);
}

.legal-section:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.legal-section-icon {
  position: absolute;
  top: -20px;
  left: 40px;
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 24px;
  padding-top: 10px;
  color: var(--text);
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-section h3:first-of-type {
  margin-top: 0;
}

.legal-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-text p {
  margin-bottom: 16px;
}

.legal-text ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-text li {
  margin-bottom: 10px;
  position: relative;
}

.legal-text li::marker {
  color: var(--accent-primary);
}

.legal-text strong {
  color: var(--text);
}

.legal-highlight {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}

.legal-highlight.warning {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.2);
}

.legal-highlight strong {
  color: var(--accent-primary);
  display: block;
  margin-bottom: 8px;
}

.legal-highlight.warning strong {
  color: #f59e0b;
}

.legal-highlight ul {
  margin: 12px 0 0;
}

/* Legal Responsive */
@media (max-width: 768px) {
  .legal-hero {
    padding: 120px 20px 40px;
  }
  
  .legal-hero h1 {
    font-size: 1.8rem;
  }
  
  .legal-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .legal-nav-section {
    padding: 0 20px 30px;
  }
  
  .legal-nav-container {
    padding: 20px;
  }
  
  .legal-nav-links {
    gap: 8px;
  }
  
  .legal-nav-link {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .legal-content {
    padding: 20px 20px 60px;
  }
  
  .legal-section {
    padding: 32px 24px;
  }
  
  .legal-section-icon {
    left: 24px;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}

/* ===== Risk Warning Section Styles ===== */
/* ДОБАВЬ В КОНЕЦ landing.css */

.risk-warning-section {
  padding: 0 40px 40px;
  position: relative;
  z-index: 10;
}

.risk-warning-container {
  max-width: 900px;
  margin: 0 auto;
}

.risk-main-warning {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.05));
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.risk-warning-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.risk-main-warning h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #ef4444;
  margin-bottom: 16px;
}

.risk-main-warning p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.risk-main-warning strong {
  color: #ef4444;
}

@media (max-width: 768px) {
  .risk-warning-section {
    padding: 0 20px 30px;
  }
  
  .risk-main-warning {
    padding: 30px 20px;
  }
  
  .risk-warning-icon {
    font-size: 3rem;
  }
  
  .risk-main-warning h2 {
    font-size: 1.2rem;
  }
}

/* ===== Help & Docs & API Pages Styles ===== */
/* ДОБАВЬ В КОНЕЦ landing.css */

/* Help Hero */
.help-hero {
  padding: 160px 40px 60px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.help-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.help-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 20px 0;
}

.help-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Help Quick Links */
.help-quick-links {
  padding: 0 40px 60px;
  position: relative;
  z-index: 10;
}

.help-quick-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.help-quick-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.help-quick-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-4px);
}

.help-quick-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.help-quick-card h3 {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.help-quick-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* FAQ Content */
.faq-content {
  padding: 0 40px 100px;
  position: relative;
  z-index: 10;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section {
  margin-bottom: 48px;
}

.faq-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section-icon {
  font-size: 1.8rem;
}

.faq-section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
}

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

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

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

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

.faq-answer > * {
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer > *:last-child {
  padding-bottom: 24px;
}

.faq-answer ul, .faq-answer ol {
  padding-left: 44px;
  margin: 12px 0;
}

.faq-answer li {
  margin-bottom: 8px;
}

.faq-answer a {
  color: var(--accent-primary);
}

/* Contact Options */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.contact-option {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.contact-option:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.contact-option-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-option-icon.telegram {
  background: linear-gradient(135deg, #0088cc, #00aaff);
}

.contact-option-icon.email {
  background: linear-gradient(135deg, #7b61ff, #00f0ff);
}

.contact-option-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.contact-option-info h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-option-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-option-link {
  font-size: 0.9rem;
  color: var(--accent-primary);
}

.contact-note {
  text-align: center;
  padding: 16px;
  background: rgba(0, 240, 255, 0.05);
  border-radius: 12px;
}

.contact-note p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Docs Hero */
.docs-hero {
  padding: 160px 40px 40px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.docs-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.docs-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 20px 0;
}

.docs-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Docs Navigation */
.docs-nav-section {
  padding: 20px 40px 60px;
  position: relative;
  z-index: 10;
}

.docs-nav-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.docs-nav-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.docs-nav-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
}

.docs-nav-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.docs-nav-title {
  font-size: 0.8rem;
  color: var(--text);
}

/* Docs Content */
.docs-content {
  padding: 0 40px 80px;
  position: relative;
  z-index: 10;
}

.docs-container {
  max-width: 900px;
  margin: 0 auto;
}

.docs-section {
  margin-bottom: 60px;
}

.docs-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-section-icon {
  font-size: 1.8rem;
}

.docs-section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
}

.docs-block {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
}

.docs-block h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text);
}

.docs-block h4 {
  font-size: 1rem;
  margin: 20px 0 12px;
  color: var(--accent-primary);
}

.docs-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.docs-block ul, .docs-block ol {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: 24px;
  margin-bottom: 16px;
}

.docs-block li {
  margin-bottom: 8px;
}

.docs-block a {
  color: var(--accent-primary);
}

.docs-tip {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* API Coming Soon */
.api-coming-soon {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 40px 80px;
  position: relative;
  z-index: 10;
}

.api-coming-content {
  max-width: 900px;
  text-align: center;
}

.api-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
}

.api-icon svg {
  width: 100%;
  height: 100%;
}

.api-badge {
  display: inline-block;
  background: linear-gradient(135deg, #7b61ff, #00f0ff);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.api-coming-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.api-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.api-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.api-feature {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
}

.api-feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.api-feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.api-feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.api-notify {
  margin-bottom: 48px;
}

.api-notify h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.api-notify p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Code Preview */
.api-code-preview {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.code-header {
  background: #161b22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-title {
  margin-left: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.code-content {
  padding: 20px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
}

.code-content code {
  color: #c9d1d9;
}

.code-comment { color: #8b949e; }
.code-keyword { color: #ff7b72; }
.code-string { color: #a5d6ff; }
.code-function { color: #d2a8ff; }

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(0, 240, 255, 0.5);
  color: var(--accent-primary);
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .help-quick-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .docs-nav-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .api-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .help-hero, .docs-hero, .api-coming-soon {
    padding: 120px 20px 40px;
  }
  
  .help-quick-links, .docs-nav-section {
    padding: 0 20px 40px;
  }
  
  .help-quick-container, .docs-nav-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-content, .docs-content {
    padding: 0 20px 60px;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
  }
  
  .api-features {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== YouTube Channel Button — Muted Style ===== */
/* ДОБАВЬ В КОНЕЦ landing.css */

/* YouTube канал — отдельная кнопка с текстом */
.youtube-channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 18px;
  background: rgba(180, 40, 40, 0.15);
  border: 1px solid rgba(180, 40, 40, 0.25);
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.youtube-icon {
  width: 32px;
  height: 32px;
  background: rgba(180, 40, 40, 0.8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.youtube-icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.youtube-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 2;
}

/* Shimmer анимация */
.youtube-channel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: yt-shimmer 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes yt-shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Мягкая пульсация */
.youtube-channel {
  animation: yt-soft-pulse 3s ease-in-out infinite;
}

@keyframes yt-soft-pulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(180, 40, 40, 0.15);
  }
  50% {
    box-shadow: 0 0 25px rgba(180, 40, 40, 0.25);
  }
}

/* Hover эффект */
.youtube-channel:hover {
  animation: none;
  background: rgba(200, 50, 50, 0.2);
  border-color: rgba(200, 50, 50, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(180, 40, 40, 0.3);
}

.youtube-channel:hover .youtube-icon {
  background: rgba(200, 50, 50, 0.9);
}

.youtube-channel:hover .youtube-text {
  color: white;
}

.youtube-channel:hover::before {
  animation: none;
  left: 100%;
}

/* ===== MOBILE FIX — iPhone & Small Screens ===== */
/* ДОБАВЬ В КОНЕЦ landing.css */

/* Глобальный фикс overflow */
html, body {
  overflow-x: hidden;
}

/* ===== 1024px — iPad Pro и планшеты ===== */
@media (max-width: 1024px) {
  
  /* Навигация — компактнее */
  .navbar {
    padding: 14px 20px;
  }
  
  .nav-container {
    gap: 12px;
  }
  
  .nav-links {
    gap: 12px;
  }
  
  .nav-links a {
    font-size: 0.8rem;
  }
  
  .nav-links a.nav-highlight {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  .nav-actions {
    gap: 8px;
  }
  
  .lang-switcher {
    display: none;
  }
  
  .btn-ghost {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  
  .btn-primary {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  
  .btn-primary .btn-arrow {
    display: none;
  }
  
  /* Trading Demo */
  .trading-demo-wrapper {
    max-width: 95%;
  }
  
  .td-main {
    grid-template-columns: 1fr 160px;
  }
  
  .td-sidebar {
    padding: 16px;
  }
}

/* ===== 900px — маленькие планшеты ===== */
@media (max-width: 900px) {
  
  /* Скрываем навигацию, показываем мобильное меню */
  .nav-links {
    display: none;
  }
  
  .lang-switcher {
    display: none;
  }
  
  /* Trading Demo */
  .td-main {
    grid-template-columns: 1fr;
  }
  
  .td-sidebar {
    display: none;
  }
}

/* ===== 768px и меньше (планшеты/большие телефоны) ===== */
@media (max-width: 768px) {
  
  /* Trading Demo — мобильная адаптация */
  .trading-demo-wrapper {
    max-width: 100%;
    border-radius: 16px;
    margin: 0 10px;
  }
  
  .td-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .td-header-left {
    gap: 10px;
  }
  
  .td-logo {
    font-size: 14px;
  }
  
  .td-pair {
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .td-price {
    font-size: 18px;
  }
  
  .td-main {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .td-sidebar {
    display: none;
  }
  
  .td-chart {
    padding: 16px 12px;
  }
  
  .td-chart-title {
    font-size: 11px;
  }
  
  .td-chart-area {
    height: 200px;
  }
  
  .td-y-axis {
    font-size: 10px;
    gap: 30px;
  }
  
  .td-y-axis span {
    font-size: 10px;
  }
  
  .td-support-label {
    font-size: 10px;
    padding: 4px 8px;
  }
  
  .td-status {
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .td-status-item {
    font-size: 11px;
  }
  
  /* Hero секция */
  .hero {
    padding: 120px 20px 60px;
    gap: 40px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .stat-divider {
    display: none;
  }
  
  /* Секции */
  .section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Features */
  .features-grid {
    gap: 16px;
  }
  
  .feature-card {
    padding: 24px 20px;
  }
  
  /* Exchanges carousel */
  .exchanges-section {
    padding: 40px 0;
  }
  
  /* CTA секция */
  .cta {
    padding: 60px 20px;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Footer */
  .footer {
    padding: 40px 20px 20px;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
  
  .footer-column h4 {
    font-size: 0.9rem;
  }
  
  .footer-brand p {
    font-size: 0.85rem;
  }
  
  /* YouTube кнопка — центрируем под соцсетями */
  .social-links {
    justify-content: center;
  }
  
  .youtube-channel {
    display: flex;
    justify-content: center;
    margin-top: 16px;
    padding: 10px 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  
  .youtube-text {
    font-size: 0.85rem;
  }
  
  /* Центрируем весь footer-brand блок */
  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Modal */
  .modal-content {
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* ===== 480px и меньше (маленькие телефоны) ===== */
@media (max-width: 480px) {
  
  .hero {
    padding: 100px 16px 50px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-tag {
    font-size: 0.75rem;
  }
  
  /* Footer на очень маленьких экранах */
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .youtube-channel {
    justify-content: center;
  }
  
  /* Stats в одну колонку */
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .stat {
    width: 100%;
  }
}

/* ===== Фикс для iPhone notch (safe area) ===== */
@supports (padding: max(0px)) {
  .navbar {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  
  .hero {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  
  .footer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}
