/* VS Global Connect - Main Stylesheet */

/* CSS Variables - Dark Theme (Default) */
:root {
  --primary-green: #78BE43;
  --primary-blue: #467DBF;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
}

/* Dark Theme */
[data-theme="dark"], :root {
  --bg-primary: #050615;
  --bg-secondary: #0a1128;
  --bg-card: rgba(70, 125, 191, 0.15);
  --bg-header: rgba(5, 6, 21, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #8a8f98;
  --border-color: rgba(70, 125, 191, 0.1);
  --border-hover: rgba(120, 190, 67, 0.3);
  --gradient-bg: linear-gradient(135deg, #050615 0%, #0a1128 100%);
  --hero-glow-green: rgba(120, 190, 67, 0.15);
  --hero-glow-blue: rgba(70, 125, 191, 0.1);
  --input-bg: rgba(10, 17, 40, 0.5);
  --card-icon-bg: rgba(120, 190, 67, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #78BE43, #467DBF);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f7fa;
  --bg-card: rgba(255, 255, 255, 0.2);
  --bg-header: rgba(255, 255, 255, 0.95);
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --border-color: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(120, 190, 67, 0.5);
  --gradient-bg: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  --hero-glow-green: rgba(120, 190, 67, 0.08);
  --hero-glow-blue: rgba(70, 125, 191, 0.05);
  --input-bg: #f5f7fa;
  --card-icon-bg: rgba(120, 190, 67, 0.15);
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #78BE43, #467DBF);
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--primary-green);
  background: var(--card-icon-bg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--primary-green);
  transition: transform var(--transition-normal);
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: none;
}

/* Light Theme Specific Overrides */
[data-theme="light"] .card {
  box-shadow: 0 2px 8px var(--shadow-color);
}

[data-theme="light"] .card:hover {
  box-shadow: 0 4px 16px var(--shadow-color);
}

[data-theme="light"] .stat-card,
[data-theme="light"] .profile-card,
[data-theme="light"] .table-wrapper,
[data-theme="light"] .settings-panel {
  box-shadow: 0 2px 8px var(--shadow-color);
}

[data-theme="light"] .dropdown-menu {
  box-shadow: 0 4px 16px var(--shadow-color);
}

/* Light Theme - Hero Section */
[data-theme="light"] .hero:not(.hero-video) {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

[data-theme="light"] .hero:not(.hero-video) h1 {
  color: #1a1a2e;
}

[data-theme="light"] .hero:not(.hero-video) h1 span {
  background: linear-gradient(135deg, #1a1a2e 0%, var(--primary-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero:not(.hero-video) p {
  color: #4a5568;
}

[data-theme="light"] .hero:not(.hero-video) .hero-content p {
  color: #4a5568;
}

/* Video hero keeps white text in both themes */
.hero-video h1,
.hero-video p,
[data-theme="light"] .hero-video h1,
[data-theme="light"] .hero-video p {
  color: #ffffff !important;
}

.hero-video .hero-subtitle,
[data-theme="light"] .hero-video .hero-subtitle {
  color: var(--primary-green) !important;
}

.hero-video .text-cyan,
[data-theme="light"] .hero-video .text-cyan {
  color: var(--primary-blue) !important;
}

.hero-video .text-gold,
[data-theme="light"] .hero-video .text-gold {
  color: var(--primary-green) !important;
}

/* Light Theme - Stats Section */
[data-theme="light"] .stats {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .stat-value {
  color: var(--primary-green);
}

[data-theme="light"] .stat-label {
  color: #4a5568;
}

/* Light Theme - Cards */
[data-theme="light"] .card h3 {
  color: #1a1a2e;
}

[data-theme="light"] .card p {
  color: #4a5568;
}

[data-theme="light"] .card-icon {
  background: rgba(212, 175, 55, 0.1);
}

[data-theme="light"] .card-icon svg {
  stroke: var(--primary-green);
}

/* Light Theme - Section Headers */
[data-theme="light"] .section-header h2 {
  color: #1a1a2e;
}

[data-theme="light"] .section-header p {
  color: #4a5568;
}

/* Light Theme - Platform Section */
[data-theme="light"] .platform-content h3 {
  color: #1a1a2e;
}

[data-theme="light"] .platform-content p {
  color: #4a5568;
}

[data-theme="light"] .feature-list li span {
  color: #1a1a2e;
}

/* Light Theme - CTA Section */
[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(0, 217, 255, 0.1) 100%);
}

[data-theme="light"] .cta-section h2 {
  color: #1a1a2e;
}

[data-theme="light"] .cta-section p {
  color: #4a5568;
}

/* Light Theme - Buttons */
[data-theme="light"] .btn-primary {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

[data-theme="light"] .btn-outline {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

[data-theme="light"] .btn-outline:hover {
  background: var(--primary-green);
  color: #ffffff;
}

/* Light Theme - Dashboard */
[data-theme="light"] .dashboard-sidebar {
  background: var(--bg-secondary);
  box-shadow: 2px 0 8px var(--shadow-color);
}

[data-theme="light"] .sidebar-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .sidebar-link.active {
  background: rgba(212, 175, 55, 0.15);
}

/* Light Theme - Auth Pages */
[data-theme="light"] .auth-form-section {
  background: var(--bg-primary);
}

[data-theme="light"] .auth-promo {
  background:
    radial-gradient(ellipse at 30% 50%, var(--hero-glow-green) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, var(--hero-glow-blue) 0%, transparent 40%),
    var(--bg-secondary);
}

[data-theme="light"] .promo-feature {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--border-color);
}

/* Light Theme - Footer */
[data-theme="light"] .footer {
  background: var(--bg-secondary);
}

[data-theme="light"] .footer h4 {
  color: #1a1a2e;
}

[data-theme="light"] .footer p,
[data-theme="light"] .footer a {
  color: #4a5568;
}

[data-theme="light"] .footer a:hover {
  color: var(--primary-green);
}

/* Light Theme - Navigation */
[data-theme="light"] .nav-link {
  color: #4a5568;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--primary-green);
}

/* Light Theme - Header */
[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Light Theme - Dropdown */
[data-theme="light"] .dropdown-menu {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .dropdown-menu a {
  color: #4a5568;
}

[data-theme="light"] .dropdown-menu a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-green);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gradient-bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition-normal), color var(--transition-normal);
}

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

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

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; font-weight: 600; } /* 24px */
h4 { font-size: 1.5rem; font-weight: 600; } /* 24px */

/* Gradient Text Effects */
.hero h1,
.section-header h2,
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-green {
  color: var(--primary-green);
}

.text-blue {
  color: var(--primary-blue);
}

/* Subtitle styling */
.subtitle {
  font-family: 'Rubik', sans-serif;
  font-size: 1.5rem;
  color: var(--primary-green);
  font-weight: 500;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(120, 190, 67, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(120, 190, 67, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  position: relative;
}

.btn-outline:hover {
  background: var(--gradient-primary);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-2px) scale(1.05);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: 1.125rem;
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.logo img {
  height: 70px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.dropdown-menu a {
  display: block;
  padding: var(--spacing-sm) var(--spacing-lg);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.dropdown-menu a:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

.nav-mobile-actions {
  display: none;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background:
    radial-gradient(ellipse at 30% 50%, var(--hero-glow-green) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, var(--hero-glow-blue) 0%, transparent 40%),
    var(--gradient-bg);
  text-align: center;
}

/* Hero with Video Background */
.hero.hero-video {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0;
  background: transparent;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 21, 0.7) 0%,
    rgba(10, 17, 40, 0.8) 50%,
    rgba(5, 6, 21, 0.9) 100%
  );
}

.hero-video .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero.hero-video {
    min-height: 100vh;
    padding: 100px 20px;
  }

  .hero.hero-video h1 {
    font-size: 2.2rem;
  }

  .hero.hero-video .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero.hero-video p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero.hero-video h1 {
    font-size: 1.8rem;
  }

  .hero.hero-video .hero-subtitle {
    font-size: 1rem;
  }
}

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

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  color: #ffffff;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero h1 .text-cyan {
  color: var(--primary-blue);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.7;
}

.text-gold {
  color: var(--primary-green);
  font-weight: 600;
}

.text-cyan {
  color: var(--primary-blue);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

/* Section Styles */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary-green);
}

.card h3 {
  margin-bottom: var(--spacing-md);
}

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

/* Grid */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

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

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

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Stats */
.stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-3xl);
  padding: var(--spacing-2xl) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

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

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

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

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

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

.footer-brand {
  max-width: 300px;
}

.footer-brand img {
  height: 120px;
  width: auto;
  margin-bottom: var(--spacing-lg);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-column h4 {
  color: var(--primary-green);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-lg);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary-green);
}

.social-links svg {
  width: 20px;
  height: 20px;
  color: var(--primary-green);
}

.social-links a:hover svg {
  color: var(--bg-primary);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.input-wrapper input {
  padding-left: 48px;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1024px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-promo { display: none; }
}

.auth-form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
  background: var(--bg-primary);
}

.auth-form-wrapper {
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  display: block;
  margin-bottom: var(--spacing-2xl);
}

.auth-logo img {
  height: 70px;
  width: auto;
}

.auth-form-wrapper h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-sm);
}

.auth-subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

.auth-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
  background:
    radial-gradient(ellipse at 30% 50%, var(--hero-glow-green) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, var(--hero-glow-blue) 0%, transparent 40%),
    var(--bg-secondary);
}

.promo-content {
  max-width: 450px;
  text-align: center;
}

.promo-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}

.promo-content > p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
}

.promo-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.promo-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.promo-feature svg {
  width: 24px;
  height: 24px;
  color: var(--primary-green);
  flex-shrink: 0;
}

.promo-feature span {
  font-size: 0.875rem;
}

.auth-footer {
  margin-top: var(--spacing-xl);
  text-align: center;
}

.auth-footer p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.auth-footer a {
  color: var(--primary-green);
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Alert Messages */
.alert {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  font-size: 0.875rem;
}

.alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.alert-warning a {
  color: var(--primary-green);
  text-decoration: underline;
}

/* Dashboard */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

@media (max-width: 1024px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
}

.dashboard-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: var(--spacing-xl);
}

.sidebar-logo {
  margin-bottom: var(--spacing-2xl);
}

.sidebar-logo img {
  height: 60px;
  width: auto;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-sm);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.sidebar-link:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-green);
}

.sidebar-link svg {
  width: 20px;
  height: 20px;
}

.dashboard-main {
  background: var(--bg-primary);
  padding: var(--spacing-xl);
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
}

.page-title h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-xs);
}

.page-title p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.2);
  border: 2px solid var(--primary-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-green);
}

/* Dashboard Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

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

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

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-green);
}

.stat-card h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

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

/* Tables */
.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--border-color);
}

.table-header h3 {
  font-size: 1.125rem;
}

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

th, td {
  padding: var(--spacing-md) var(--spacing-xl);
  text-align: left;
}

th {
  background: var(--bg-secondary);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

td {
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
}

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

.badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.badge-warning {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
}

/* Profile Page */
.profile-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--spacing-xl);
}

@media (max-width: 1024px) {
  .profile-content { grid-template-columns: 1fr; }
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.profile-card h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

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

/* Avatar Card */
.avatar-card {
  text-align: center;
}

.avatar-large {
  width: 100px;
  height: 100px;
  background: rgba(212, 175, 55, 0.2);
  border: 3px solid var(--primary-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.avatar-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.avatar-card .account-id {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-lg);
}

.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.verification-badge.verified {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.verification-badge.unverified {
  background: rgba(138, 143, 152, 0.2);
  color: var(--text-secondary);
}

.verification-badge svg {
  width: 14px;
  height: 14px;
}

/* Info List */
.info-list {
  display: flex;
  flex-direction: column;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}

.info-item .label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.info-item .value {
  font-weight: 500;
  font-size: 0.875rem;
}

.info-item .value.active {
  color: #22c55e;
}

/* Quick Links */
.quick-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.quick-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: var(--spacing-sm) 0;
  transition: color var(--transition-fast);
}

.quick-links a:hover {
  color: var(--primary-green);
}

/* Settings Tabs */
.settings-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--spacing-xl);
}

@media (max-width: 1024px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: var(--spacing-md);
  }
}

.settings-tabs {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.tab-btn {
  padding: var(--spacing-md) var(--spacing-lg);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.tab-btn.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-green);
}

.settings-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
}

.settings-panel h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-sm);
}

.panel-description {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
}

/* Toggle Switch */
.toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.toggle-item input {
  display: none;
}

.toggle {
  width: 44px;
  height: 24px;
  background: rgba(138, 143, 152, 0.3);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--text-light);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle-item input:checked + .toggle {
  background: var(--primary-green);
}

.toggle-item input:checked + .toggle::after {
  transform: translateX(20px);
}

/* Page Content */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 50%, var(--hero-glow-green) 0%, transparent 50%),
    var(--gradient-bg);
}

.page-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
/* ── Tablet (901–1100px) ── */
@media (max-width: 1100px) {
  .nav { gap: var(--spacing-md); }
  .nav-link { font-size: 0.9rem; }
  .header-actions .btn { font-size: 0.8rem; padding: 6px 14px; }
}

@media (max-width: 900px) {
  .nav { gap: var(--spacing-sm); }
  .logo img { height: 48px; }
  .logo-text { font-size: 1rem; }
  .header-actions .btn { font-size: 0.78rem; padding: 5px 10px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Header bar */
  .header-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 0;
    gap: 0;
  }

  /* Logo — icon + text, compact */
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .logo img { height: 40px; }
  .logo-text {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
  }

  /* Push right controls to far right */
  .header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  /* Hide desktop buttons, keep theme toggle */
  .header-actions .btn { display: none; }
  .header-actions .theme-toggle { display: flex; }

  /* Hamburger */
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
  }

  /* Full-screen mobile nav overlay */
  /* Use position:absolute inside the fixed header to avoid backdrop-filter containing block issue */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 57px);
    width: 100%;
    flex-direction: column;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 16px 20px 32px;
    gap: 0;
    overflow-y: auto;
    z-index: 998;
  }
  .nav.active { display: flex; }
  body.menu-open { overflow: hidden; }

  /* Nav links */
  .nav .nav-link {
    font-size: 1rem;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    display: block;
  }

  /* Dropdowns — open on tap via JS class */
  .nav .nav-dropdown { width: 100%; }
  .nav .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    padding: 0 0 4px 16px;
    display: none;
    box-shadow: none;
  }
  .nav .nav-dropdown.open .dropdown-menu { display: block; }
  .nav .dropdown-menu a {
    padding: 9px 0;
    font-size: 0.9rem;
    border-bottom: none;
    display: block;
  }

  /* Auth buttons at bottom of mobile menu */
  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
  }
  .nav-mobile-actions .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 1rem;
  }

  /* Hero */
  .hero h1 { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 300px; }

  .stats { flex-wrap: wrap; gap: var(--spacing-xl); }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  .section-header h2, .cta-section h2 { font-size: 1.75rem; }
  .market-hero h1 { font-size: 2.1rem; }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
  .logo img { height: 36px; }
  .logo-text { font-size: 0.9rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .section-header h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-subtitle { font-size: 0.95rem; }
}

/* TradingView Widgets */
.ticker-section {
  background: linear-gradient(180deg, #0a1128 0%, #050615 100%);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.trading-widgets-section {
  padding: var(--spacing-3xl) 0;
  background: var(--bg-primary);
}

.trading-widgets-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--spacing-lg);
  align-items: stretch;
}

.trading-widgets-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  height: 560px;
}

.trading-widgets-sidebar .trading-widget-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trading-widgets-sidebar .tradingview-widget-container {
  flex: 1;
  height: 100% !important;
}

.trading-widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.trading-widget-card:hover {
  border-color: var(--border-hover);
}

.trading-widget-main .trading-widget-card {
  padding: 0;
  height: 560px;
}

.trading-widget-main .tradingview-widget-container {
  height: 100%;
}

.tradingview-widget-container {
  width: 100%;
}

/* Platform Grid */
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.platform-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.platform-content h3 {
  margin-bottom: var(--spacing-md);
}

.platform-content p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--hero-glow-green) 0%, var(--hero-glow-blue) 100%);
  text-align: center;
}

.cta-section h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--spacing-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
}

/* Responsive Trading Widgets */
@media (max-width: 1024px) {
  .trading-widgets-grid {
    grid-template-columns: 1fr;
  }

  .trading-widgets-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: var(--spacing-md);
    height: auto;
  }

  .trading-widgets-sidebar .trading-widget-card {
    min-width: 280px;
    height: 180px;
    flex: none;
  }

  .trading-widget-main .trading-widget-card {
    height: 450px;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .platform-image {
    order: 1;
  }

  .platform-content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .trading-widgets-sidebar {
    flex-direction: column;
  }

  .trading-widgets-sidebar .trading-widget-card {
    min-width: 100%;
  }

  .trading-widget-main .trading-widget-card {
    height: 350px;
  }

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

/* Light Theme - Trading Widgets */
[data-theme="light"] .ticker-section {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .trading-widgets-section {
  background: #f8f9fa;
}

[data-theme="light"] .trading-widgets-section .section-header h2 {
  color: #1a1a2e;
}

[data-theme="light"] .trading-widgets-section .section-header p {
  color: #4a5568;
}

[data-theme="light"] .trading-widget-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .trading-widget-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Account Cards */
.account-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

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

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

.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  position: relative;
  transition: all var(--transition-normal);
}

.account-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-4px);
}

.account-card.featured {
  border-color: var(--primary-green);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, var(--bg-card) 100%);
}

.account-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: var(--bg-dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.account-header {
  text-align: center;
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--spacing-lg);
}

.account-header h3 {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: var(--spacing-sm);
}

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

.account-price .currency {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.account-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.account-price .period {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.account-features ul {
  list-style: none;
  margin-bottom: var(--spacing-xl);
}

.account-features li {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.feature-label {
  color: var(--text-secondary);
}

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

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

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

.comparison-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td,
.data-table th,
.data-table td {
  padding: var(--spacing-md);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th,
.data-table th {
  background: var(--bg-secondary);
  color: var(--primary-green);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.comparison-table td:first-child,
.data-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table tbody tr:hover,
.data-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

/* Payment Methods */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
  .payment-methods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.payment-method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-fast);
}

.payment-method-card:hover {
  border-color: var(--primary-green);
}

.payment-icon {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.payment-icon img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

.payment-method-card h4 {
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.payment-method-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Info Cards */
.info-cards {
  display: grid;
  gap: var(--spacing-lg);
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
}

.info-card h4 {
  color: var(--primary-green);
  margin-bottom: var(--spacing-md);
}

.info-card ul {
  list-style: none;
}

.info-card li {
  padding: var(--spacing-sm) 0;
  padding-left: var(--spacing-lg);
  position: relative;
  color: var(--text-secondary);
}

.info-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary-green);
  border-radius: 50%;
}

/* Legal Pages */
.legal-content {
  background: var(--bg-primary);
}

.legal-document {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
}

.legal-document .last-updated {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--spacing-xl);
}

.legal-document h2 {
  font-family: 'Inter', sans-serif;
  color: var(--primary-green);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.legal-document h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.legal-document p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.legal-document ul {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-xl);
}

.legal-document li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.legal-document a {
  color: var(--primary-blue);
}

.risk-warning-box {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--primary-green);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.risk-warning-box h3 {
  color: var(--primary-green);
  margin-top: 0;
}

/* Light Theme - New Pages */
[data-theme="light"] .account-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .account-card.featured {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1) 0%, #ffffff 100%);
}

[data-theme="light"] .account-price .amount {
  color: #1a1a2e;
}

[data-theme="light"] .comparison-table,
[data-theme="light"] .data-table {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .comparison-table th,
[data-theme="light"] .data-table th {
  background: #f8f9fa;
}

[data-theme="light"] .payment-method-card,
[data-theme="light"] .info-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .legal-document {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .legal-document p,
[data-theme="light"] .legal-document ul,
[data-theme="light"] .legal-document li {
  color: #4a5568;
}

/* Market Pages */
.market-hero {
  padding: 120px 0 80px;
  background: var(--bg-primary);
}

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

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-md);
}

.market-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.market-hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

/* Features Bar */
.features-bar {
  background: #ffffff;
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border-color);
}

.features-bar-grid {
  display: flex;
  justify-content: center;
  gap: var(--spacing-3xl);
}

.feature-bar-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: #1a1a2e;
}

.feature-bar-item svg {
  color: #10b981;
}

.feature-bar-item span {
  font-weight: 500;
}

@media (max-width: 768px) {
  .features-bar-grid {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
  }
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.content-grid.reverse .content-text {
  order: 2;
}

.content-grid.reverse .content-image {
  order: 1;
}

@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  .content-grid.reverse .content-text,
  .content-grid.reverse .content-image {
    order: unset;
  }
}

.section-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.content-text h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.content-text p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

.check-list {
  list-style: none;
}

.check-list li {
  padding: var(--spacing-sm) 0;
  padding-left: var(--spacing-xl);
  position: relative;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "\\2713";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.content-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Info Box */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  max-width: 800px;
  margin: 0 auto;
}

.info-badge {
  display: inline-block;
  background: rgba(0, 217, 255, 0.1);
  color: var(--primary-blue);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.info-box h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.info-box > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.currency-pairs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

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

.currency-category h4 {
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.currency-category ul {
  list-style: none;
}

.currency-category li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.currency-category li::before {
  content: "\\2022";
  color: var(--primary-green);
  margin-right: var(--spacing-sm);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  padding: var(--spacing-3xl) 0;
}

.cta-banner-content {
  text-align: center;
}

.cta-banner h2 {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
}

.btn-dark {
  background: #1a1a2e;
  color: #ffffff;
}

.btn-dark:hover {
  background: #0a0a1a;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.benefit-icon svg {
  color: var(--primary-green);
}

.benefit-card h4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

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

/* Broker Section */
.broker-section {
  background: linear-gradient(135deg, #0a1128 0%, #050615 100%);
  padding: var(--spacing-3xl) 0;
  text-align: center;
}

.broker-section h2 {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-lg);
}

.broker-section .btn {
  background: var(--primary-green);
  color: #1a1a2e;
}

/* Market Widgets Grid */
.market-widgets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

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

@media (max-width: 576px) {
  .market-widgets-grid {
    grid-template-columns: 1fr;
  }
}

.market-widget-card {
  background: #131722;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 180px;
}

/* Platform Download Section */
.platform-download-section {
  background: linear-gradient(180deg, #0a1128 0%, #050615 100%);
  padding: var(--spacing-3xl) 0;
}

.platform-download-section .section-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.platform-download-section .section-header p {
  color: var(--text-secondary);
}

.platform-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  max-width: 900px;
  margin: 0 auto;
}

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

.platform-option {
  text-align: center;
  padding: var(--spacing-xl);
}

.platform-icon {
  width: 80px;
  height: 80px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.platform-icon svg {
  color: var(--primary-green);
}

.platform-option h4 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.platform-option p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Light Theme - Market Pages */
[data-theme="light"] .market-hero {
  background: #f8f9fa;
}

[data-theme="light"] .market-hero h1 {
  color: #1a1a2e;
}

[data-theme="light"] .market-hero p {
  color: #4a5568;
}

[data-theme="light"] .hero-badge {
  background: rgba(0, 217, 255, 0.15);
  color: #0099cc;
}

[data-theme="light"] .feature-bar-item {
  color: #1a1a2e;
}

[data-theme="light"] .content-text h2,
[data-theme="light"] .info-box h2 {
  color: #1a1a2e;
}

[data-theme="light"] .info-box {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .benefit-card h4 {
  color: #1a1a2e;
}

[data-theme="light"] .market-widget-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Sections that stay dark in both themes */
[data-theme="light"] .broker-section {
  background: linear-gradient(135deg, #0a1128 0%, #050615 100%);
}

[data-theme="light"] .broker-section h2 {
  color: #ffffff;
}

[data-theme="light"] .platform-download-section {
  background: linear-gradient(180deg, #0a1128 0%, #050615 100%);
}

[data-theme="light"] .platform-download-section .section-header h2,
[data-theme="light"] .platform-download-section .section-header p {
  color: #ffffff;
}

[data-theme="light"] .platform-download-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .platform-option h4 {
  color: #ffffff;
}

[data-theme="light"] .platform-option p {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .cta-banner h2 {
  color: #ffffff;
}

[data-theme="light"] .cta-banner p {
  color: rgba(255, 255, 255, 0.9);
}

/* Market Card with Symbol Title */
.market-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.symbol-title {
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a2e;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

/* Stats Banner */
.stats-banner {
  text-align: center;
  padding: var(--spacing-xl);
}

.stats-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.stats-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.stats-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

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

.value-card {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.value-icon {
  width: 72px;
  height: 72px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.value-icon svg {
  color: var(--primary-green);
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Instruments Grid */
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

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

@media (max-width: 576px) {
  .instruments-grid {
    grid-template-columns: 1fr;
  }
}

.instrument-card {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.instrument-card h4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

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

/* Platform Card */
.platform-card {
  text-align: center;
  padding: var(--spacing-2xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.platform-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.platform-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
}

/* Impact Cards */
.impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

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

.impact-card {
  padding: var(--spacing-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  position: relative;
  padding-left: calc(var(--spacing-xl) + 20px);
}

.impact-indicator {
  position: absolute;
  left: var(--spacing-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 60px;
  border-radius: 4px;
}

.impact-card.high .impact-indicator {
  background: #ef4444;
}

.impact-card.medium .impact-indicator {
  background: #f59e0b;
}

.impact-card.low .impact-indicator {
  background: #10b981;
}

.impact-card h4 {
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

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

/* Calendar Widget */
.calendar-widget-container {
  background: #131722;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-3xl);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-wrapper h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.contact-form-wrapper > p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

@media (max-width: 576px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.contact-icon svg {
  color: var(--primary-green);
}

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

.contact-info-card p {
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-detail {
  font-size: 0.75rem;
  color: var(--primary-green);
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

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

.faq-item {
  padding: var(--spacing-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.faq-item h4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Light Theme - Additional Components */
[data-theme="light"] .symbol-title {
  color: #1a1a2e;
  background: #f9fafb;
}

[data-theme="light"] .value-card {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .value-card h3 {
  color: #1a1a2e;
}

[data-theme="light"] .instrument-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .instrument-card h4 {
  color: #1a1a2e;
}

[data-theme="light"] .platform-card {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .platform-card h3 {
  color: #1a1a2e;
}

[data-theme="light"] .impact-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .impact-card h4 {
  color: #1a1a2e;
}

[data-theme="light"] .contact-info-card {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .contact-info-card h4 {
  color: #1a1a2e;
}

[data-theme="light"] .faq-item {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .faq-item h4 {
  color: #1a1a2e;
}

[data-theme="light"] .contact-form-wrapper h2 {
  color: #1a1a2e;
}

/* Google OAuth Button Styles */
.social-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0, 217, 255, 0.2);
}

.social-divider span {
  padding: 0 16px;
  color: #b8b8b8;
  font-size: 0.875rem;
}

.google-login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.google-login-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #3c4043;
}

.google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Light theme social login */
[data-theme="light"] .social-divider::before,
[data-theme="light"] .social-divider::after {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .social-divider span {
  color: #666;
}

[data-theme="light"] .google-login-btn {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

[data-theme="light"] .google-login-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Logo text styling */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #78BE43 0%, #467DBF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

[data-theme="light"] .logo-text {
  background: linear-gradient(135deg, #b8941f 0%, #0099cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer logo styling */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  font-size: 1.5rem;
}

/* Products Tabs Section */
.products-section {
  background: #f8f9fa;
  padding: var(--spacing-3xl) 0;
}

.products-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.products-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a2e;
  margin-bottom: var(--spacing-md);
}

.products-header p {
  color: #4a5568;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Product Tabs */
.products-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-3xl);
}

.product-tab {
  padding: 14px 32px;
  background: transparent;
  border: 2px solid #10b981;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  color: #1a1a2e;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-tab:hover {
  background: rgba(16, 185, 129, 0.1);
}

.product-tab.active {
  background: #10b981;
  color: #ffffff;
}

/* Product Panels */
.products-content {
  position: relative;
}

.product-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.product-panel.active {
  display: block;
}

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

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.product-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a2e;
  margin-bottom: var(--spacing-lg);
}

.product-info > p {
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-xl);
}

/* Product Features List */
.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.product-features .check-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-features li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-features li strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.product-features li span {
  font-size: 0.95rem;
  color: #6b7280;
}

/* Product Image */
.product-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 968px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .product-info {
    order: 2;
  }

  .product-image {
    order: 1;
  }

  .product-image img {
    max-height: 350px;
  }

  .products-header h2 {
    font-size: 2.25rem;
  }

  .product-info h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .products-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-sm);
  }

  .product-tab {
    padding: 12px 24px;
    text-align: center;
  }

  .products-header h2 {
    font-size: 1.75rem;
  }

  .product-info h3 {
    font-size: 1.5rem;
  }
}

/* Dark theme for products section */
[data-theme="dark"] .products-section {
  background: var(--bg-secondary);
}

[data-theme="dark"] .products-header h2,
[data-theme="dark"] .product-info h3,
[data-theme="dark"] .product-features li strong {
  color: var(--text-primary);
}

[data-theme="dark"] .products-header p,
[data-theme="dark"] .product-info > p,
[data-theme="dark"] .product-features li span {
  color: var(--text-secondary);
}

[data-theme="dark"] .product-tab {
  color: var(--text-primary);
  border-color: #10b981;
}

[data-theme="dark"] .product-tab:hover {
  background: rgba(16, 185, 129, 0.15);
}

[data-theme="dark"] .product-tab.active {
  background: #10b981;
  color: #ffffff;
}

/* ==========================================
   VS GLOBAL CONNECT - NEW DASHBOARD STYLES
   ========================================== */

/* Sidebar Section Labels */
.sidebar-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  padding: 16px 16px 8px;
  opacity: 0.7;
}

/* Dashboard Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Wallet Cards Grid */
.wallet-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

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

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

/* Wallet Card */
.wallet-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.wallet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.wallet-card.wallet-subscription::before {
  background: linear-gradient(90deg, var(--primary-green), #f59e0b);
}

.wallet-card.wallet-trading::before {
  background: linear-gradient(90deg, var(--primary-blue), #06b6d4);
}

.wallet-card.wallet-stake::before {
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
}

.wallet-stake .wallet-icon {
  background: rgba(139, 92, 246, 0.15);
}

.wallet-stake .wallet-icon svg {
  color: #8b5cf6;
  width: 22px;
  height: 22px;
}

/* Total portfolio amount in dashboard header */
.total-portfolio-amount {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
}

.wallet-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.wallet-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-subscription .wallet-icon {
  background: rgba(212, 175, 55, 0.15);
}

.wallet-subscription .wallet-icon svg {
  color: var(--primary-green);
  width: 22px;
  height: 22px;
}

.wallet-trading .wallet-icon {
  background: rgba(0, 217, 255, 0.15);
}

.wallet-trading .wallet-icon svg {
  color: var(--primary-blue);
  width: 22px;
  height: 22px;
}

.wallet-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.wallet-balance {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.wallet-actions {
  display: flex;
  gap: 12px;
}

.wallet-actions .btn {
  flex: 1;
}

/* Deposit Page Styles */
.deposit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

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

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

.deposit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color var(--transition-fast);
}

.deposit-card.active {
  border-color: var(--primary-green);
}

.deposit-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.deposit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deposit-icon.subscription {
  background: rgba(212, 175, 55, 0.15);
}

.deposit-icon.subscription svg {
  color: var(--primary-green);
  width: 24px;
  height: 24px;
}

.deposit-icon.trading {
  background: rgba(0, 217, 255, 0.15);
}

.deposit-icon.trading svg {
  color: var(--primary-blue);
  width: 24px;
  height: 24px;
}

.deposit-icon.stake {
  background: rgba(139, 92, 246, 0.15);
}

.deposit-icon.stake svg {
  color: #8b5cf6;
  width: 24px;
  height: 24px;
}

.deposit-card-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.deposit-card-header p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* QR Container */
.qr-container {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  min-height: 190px;
}

.qr-container img {
  max-width: 150px;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
}

.placeholder-text {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Address Container */
.address-container {
  margin-bottom: 20px;
}

.address-container label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.address-display {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: monospace;
  font-size: 0.8rem;
  word-break: break-all;
}

.address-display span {
  flex: 1;
  color: var(--text-primary);
}

.copy-btn {
  background: var(--primary-green);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #c9a430;
  transform: scale(1.05);
}

.copy-btn svg {
  color: #000;
}

.network-badge {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--primary-blue);
}

/* Placeholder Value Styling */
.placeholder-value {
  color: var(--text-secondary);
  opacity: 0.6;
  font-style: italic;
}

/* Notice Card */
.notice-card {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.notice-card.small {
  padding: 16px;
}

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

.notice-icon svg {
  width: 24px;
  height: 24px;
  color: #f59e0b;
}

.notice-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.notice-content ul {
  list-style: none;
}

.notice-content li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.notice-content li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #f59e0b;
}

/* Transaction Hash Display */
.tx-hash {
  font-family: monospace;
  font-size: 0.8rem;
  background: var(--bg-secondary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: help;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .modal-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

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

[data-theme="light"] .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 28px 32px 32px;
}

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

.modal-body .form-group:last-of-type {
  margin-bottom: 24px;
}

.modal-body label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.modal-body input,
.modal-body textarea,
.modal-body select {
  width: 100%;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.modal-body input:focus,
.modal-body textarea:focus,
.modal-body select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.modal-body input::placeholder,
.modal-body textarea::placeholder {
  color: var(--text-secondary);
}

.modal-body .form-hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .modal-actions {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 0.875rem;
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Subscription Page Styles */
.wallet-balance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.balance-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.balance-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.balance-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.current-subscription-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid #22c55e;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}

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

.status-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon.active {
  background: rgba(34, 197, 94, 0.15);
}

.status-icon.active svg {
  color: #22c55e;
  width: 24px;
  height: 24px;
}

.status-info h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.status-info .plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.subscription-details {
  display: flex;
  gap: 32px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-item .label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.detail-item .value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.no-subscription-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-bottom: 32px;
}

.no-subscription-card svg {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.no-subscription-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.no-subscription-card p {
  color: var(--text-secondary);
}

/* Section Title */
.section-title {
  margin-bottom: 24px;
}

.section-title h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.section-title p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.plan-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.plan-card.featured {
  border-color: var(--primary-green);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.plan-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.plan-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.plan-price .currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-green);
}

.plan-price .amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.plan-price .period {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.plan-features {
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.feature-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #22c55e;
}

.feature-item span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Investment Page Styles */
.investment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 968px) {
  .investment-layout {
    grid-template-columns: 1fr;
  }
}

.investment-form-card,
.investment-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.investment-form-card h3,
.investment-info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.roi-info {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}

.roi-item {
  flex: 1;
  text-align: center;
}

.roi-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.roi-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-green);
}

.roi-calculator {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
}

.roi-calculator h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.calculator-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.calc-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Info Steps */
.info-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-step {
  display: flex;
  gap: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary-green);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

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

/* Progress Bar */
.progress-bar-container {
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
  margin-bottom: 4px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-green), #f59e0b);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* Income Page Styles */
.income-hero-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.income-hero-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.income-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.income-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-green);
}

.income-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.income-hero-icon svg {
  width: 64px;
  height: 64px;
  color: var(--primary-green);
  opacity: 0.3;
}

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

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

@media (max-width: 576px) {
  .income-stats-grid {
    grid-template-columns: 1fr;
  }
}

.income-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.income-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.income-stat-icon svg {
  width: 24px;
  height: 24px;
}

.income-stat-icon.today {
  background: rgba(34, 197, 94, 0.15);
}

.income-stat-icon.today svg {
  color: #22c55e;
}

.income-stat-icon.week {
  background: rgba(59, 130, 246, 0.15);
}

.income-stat-icon.week svg {
  color: #3b82f6;
}

.income-stat-icon.month {
  background: rgba(168, 85, 247, 0.15);
}

.income-stat-icon.month svg {
  color: #a855f7;
}

.income-stat-icon.plans {
  background: rgba(212, 175, 55, 0.15);
}

.income-stat-icon.plans svg {
  color: var(--primary-green);
}

.income-stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.income-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ROI Breakdown */
.roi-breakdown-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.roi-breakdown-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.roi-investment-item {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 16px;
}

.roi-investment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.roi-investment-amount {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.roi-investment-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 2px;
}

.roi-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary-green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.roi-investment-progress {
  margin-bottom: 12px;
}

.roi-investment-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-top: 8px;
}

.roi-investment-projection {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
}

.projection-label {
  color: var(--text-secondary);
}

.projection-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.empty-state svg {
  color: var(--text-secondary);
  opacity: 0.5;
}

.empty-state p {
  color: var(--text-secondary);
}

/* Getting Started Card */
.getting-started-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 24px;
}

.getting-started-icon svg {
  width: 64px;
  height: 64px;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.getting-started-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.getting-started-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Transactions Page Styles */
.wallet-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 576px) {
  .wallet-summary-grid {
    grid-template-columns: 1fr;
  }
}

.wallet-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.wallet-summary-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-summary-icon svg {
  width: 24px;
  height: 24px;
}

.wallet-summary-icon.subscription {
  background: rgba(212, 175, 55, 0.15);
}

.wallet-summary-icon.subscription svg {
  color: var(--primary-green);
}

.wallet-summary-icon.trading {
  background: rgba(0, 217, 255, 0.15);
}

.wallet-summary-icon.trading svg {
  color: var(--primary-blue);
}

.wallet-summary-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
}

.wallet-summary-balance {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Filters Card */
.filters-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.filters-form {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.filter-group select {
  min-width: 160px;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
}

/* Transaction Legend */
.transaction-legend {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 24px;
}

.transaction-legend h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.legend-items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.transaction-date {
  display: flex;
  flex-direction: column;
}

.transaction-date .date {
  font-weight: 500;
  color: var(--text-primary);
}

.transaction-date .time {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.transaction-desc {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.transaction-count {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.badge-warning {
  background: rgba(251, 191, 36, 0.15);
  color: #f59e0b;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.badge-secondary {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
}

/* Text Colors */
.text-success {
  color: #22c55e !important;
}

.text-danger {
  color: #ef4444 !important;
}

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

/* Admin Panel Styles */
.admin-layout .dashboard-sidebar {
  border-right-color: rgba(212, 175, 55, 0.2);
}

.admin-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary-green);
  padding: 8px 16px;
  margin: 0 16px 16px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.user-avatar.admin {
  background: linear-gradient(135deg, var(--primary-green), #f59e0b);
  color: #000;
}

/* Admin sidebar - restore original padding */
.admin-layout .sidebar-link {
  padding: var(--spacing-md) var(--spacing-lg);
  gap: var(--spacing-md);
}

.stat-card.alert-card {
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.05);
}

.stat-link {
  font-size: 0.8rem;
  color: var(--primary-green);
  text-decoration: underline;
}

.stat-change {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.stat-change.positive {
  color: #22c55e;
}

/* User Cell in Tables */
.user-cell {
  display: flex;
  flex-direction: column;
}

.user-cell .user-name {
  font-weight: 500;
  color: var(--text-primary);
}

.user-cell .user-email {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Status Filters */
.status-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.filter-btn.active {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: #000;
}

.filter-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.filter-btn.active .filter-badge {
  background: #000;
  color: var(--primary-green);
}

/* Table Count */
.table-count {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-success {
  background: #22c55e;
  color: #fff;
  border: none;
}

.btn-success:hover {
  background: #16a34a;
}

.btn-danger {
  background: #ef4444;
  color: #fff;
  border: none;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-warning {
  background: #f59e0b;
  color: #000;
  border: none;
}

.btn-warning:hover {
  background: #d97706;
}

/* Copy Button Small */
.copy-btn-small {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.copy-btn-small:hover {
  opacity: 1;
}

.copy-btn-small svg {
  color: var(--text-secondary);
}

/* Admin Notes Row */
.notes-row td {
  padding-top: 0 !important;
  border-top: none !important;
}

.admin-notes {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

/* Search Card */
.search-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}

.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0 16px;
}

.search-input-wrapper svg {
  color: var(--text-secondary);
  flex-shrink: 0;
}

.search-input-wrapper input {
  flex: 1;
  background: none;
  border: none;
  padding: 12px 0;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.search-input-wrapper input::placeholder {
  color: var(--text-secondary);
}

.search-input-wrapper input:focus {
  outline: none;
}

/* Settings Grid */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 968px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

.settings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.settings-card.full-width {
  grid-column: 1 / -1;
}

.settings-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.settings-card-header svg {
  color: var(--primary-green);
}

.settings-card-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.roi-preview {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.roi-preview p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.features-preview {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Quick Actions */
.admin-quick-actions {
  margin-top: 32px;
}

.admin-quick-actions h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

@media (max-width: 576px) {
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }
}

.quick-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.quick-action-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-action-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-green);
}

.quick-action-card span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 8px 0;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 999;
}

@media (max-width: 1024px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
  }

  .dashboard-sidebar {
    display: none;
  }

  .dashboard-main {
    padding-bottom: 80px;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.7rem;
  transition: color var(--transition-fast);
}

.mobile-nav-item svg {
  width: 24px;
  height: 24px;
}

.mobile-nav-item.active {
  color: var(--primary-green);
}

.mobile-nav-item:hover {
  color: var(--primary-green);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .wallet-balance-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .income-hero-card {
    flex-direction: column;
    text-align: center;
  }

  .income-hero-icon {
    display: none;
  }

  .income-amount {
    font-size: 2.5rem;
  }

  .subscription-details {
    flex-wrap: wrap;
  }

  .modal-content {
    margin: 0 16px;
  }
}

@media (max-width: 576px) {
  .filters-form {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-group select {
    width: 100%;
  }

  .search-form {
    flex-direction: column;
  }

  .search-input-wrapper {
    width: 100%;
  }

  .action-buttons {
    flex-direction: column;
  }

  .roi-info {
    flex-direction: column;
    text-align: center;
  }
}
