/* VS Global Connect - Main Stylesheet */

/* CSS Variables - Dark Theme (Default) */
:root {
  --primary-gold: #d4af37;
  --primary-cyan: #00d9ff;
  --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(10, 17, 40, 0.5);
  --bg-header: rgba(5, 6, 21, 0.95);
  --text-primary: #ffffff;
  --text-secondary: #8a8f98;
  --border-color: rgba(0, 217, 255, 0.1);
  --border-hover: rgba(212, 175, 55, 0.3);
  --gradient-bg: linear-gradient(135deg, #050615 0%, #0a1128 100%);
  --hero-glow-gold: rgba(212, 175, 55, 0.15);
  --hero-glow-cyan: rgba(0, 217, 255, 0.1);
  --input-bg: rgba(10, 17, 40, 0.5);
  --card-icon-bg: rgba(212, 175, 55, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f7fa;
  --bg-card: #ffffff;
  --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(212, 175, 55, 0.5);
  --gradient-bg: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  --hero-glow-gold: rgba(212, 175, 55, 0.08);
  --hero-glow-cyan: rgba(0, 217, 255, 0.05);
  --input-bg: #f5f7fa;
  --card-icon-bg: rgba(212, 175, 55, 0.15);
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* 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-gold);
  background: var(--card-icon-bg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--primary-gold);
  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-gold) 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-gold) !important;
}

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

.hero-video .text-gold,
[data-theme="light"] .hero-video .text-gold {
  color: var(--primary-gold) !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-gold);
}

[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-gold);
}

/* 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;
}

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

[data-theme="light"] .btn-outline:hover {
  background: var(--primary-gold);
  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-gold) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, var(--hero-glow-cyan) 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-gold);
}

/* 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-gold);
}

/* 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-gold);
}

/* 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: 'Playfair Display', 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 */

/* Subtitle styling */
.subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-gold);
  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: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: #c9a430;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
}

.btn-outline:hover {
  background: var(--primary-gold);
  color: var(--bg-primary);
}

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

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

.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: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

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

.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-gold);
}

.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;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background:
    radial-gradient(ellipse at 30% 50%, var(--hero-glow-gold) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, var(--hero-glow-cyan) 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: 'Playfair Display', 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-cyan);
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-gold);
  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-gold);
  font-weight: 600;
}

.text-cyan {
  color: var(--primary-cyan);
  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: 'Playfair Display', 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);
}

.card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  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-gold);
}

.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-gold);
  line-height: 1;
}

.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-gold);
  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-gold);
}

.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-gold);
}

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

.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-gold);
}

.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: 'Playfair Display', 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-gold) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, var(--hero-glow-cyan) 0%, transparent 40%),
    var(--bg-secondary);
}

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

.promo-content h2 {
  font-family: 'Playfair Display', 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-gold);
  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-gold);
  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;
}

/* 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-md);
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

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

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

.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: 'Playfair Display', 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-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-gold);
}

/* 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-gold);
}

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

.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: 'Playfair Display', 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-gold);
  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-gold);
}

.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-gold);
}

/* 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-gold);
}

.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: 'Playfair Display', 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-gold);
}

.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-gold) 0%, transparent 50%),
    var(--gradient-bg);
}

.page-hero h1 {
  font-family: 'Playfair Display', 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 */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: var(--spacing-lg) 0;
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .section-header h2,
  .cta-section h2 {
    font-size: 2rem;
  }

  .market-hero h1 {
    font-size: 2.5rem;
  }
}

/* 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: #131722;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.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-gold) 0%, var(--hero-glow-cyan) 100%);
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', 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-gold);
  transform: translateY(-4px);
}

.account-card.featured {
  border-color: var(--primary-gold);
  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-gold);
  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-gold);
  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-gold);
  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-gold);
}

.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-gold);
  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-gold);
  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: 'Playfair Display', serif;
  color: var(--primary-gold);
  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-cyan);
}

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

.risk-warning-box h3 {
  color: var(--primary-gold);
  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-gold);
  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: 'Playfair Display', 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-gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.content-text h2 {
  font-family: 'Playfair Display', 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-cyan);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.info-box h2 {
  font-family: 'Playfair Display', 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-gold);
  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: 'Playfair Display', 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-gold);
}

.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: 'Playfair Display', 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-gold);
  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: 'Playfair Display', 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-gold);
}

.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-gold);
}

.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-gold);
}

.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: 'Playfair Display', 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-gold);
}

.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-gold);
}

/* 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, #d4af37 0%, #00d9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .logo-text {
    display: none;
  }
}

[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: 'Playfair Display', 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: 'Playfair Display', 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;
}
