/* 3per_bot - Premium Trading Bot UI */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Dark Theme Colors */
  --bg-primary: #0a0b0d;
  --bg-secondary: #111318;
  --bg-tertiary: #1a1d23;
  --card-bg: linear-gradient(135deg, rgba(17,19,24,0.9), rgba(26,29,35,0.9));
  --card-border: rgba(255,255,255,0.1);
  --text-primary: #ffffff;
  --text-secondary: #b4b8c0;
  --text-muted: #6b7280;

  /* Brand Colors */
  --accent-green: #00d4aa;
  --accent-blue: #007aff;
  --accent-purple: #7c3aed;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #007aff 0%, #00d4aa 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #00d4aa 100%);
  --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  --gradient-card: linear-gradient(135deg, rgba(17,19,24,0.95), rgba(26,29,35,0.95));

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(0, 212, 170, 0.3);
  --shadow-glow-blue: 0 0 20px rgba(0, 122, 255, 0.3);

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

html, body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 122, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
}

/* Typography */
.h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

/* Cards */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  border-color: rgba(0, 212, 170, 0.3);
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding: 0 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--gradient-primary);
  padding: 8px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn.primary {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  font-weight: 600;
}

.btn.primary:hover {
  box-shadow: var(--shadow-glow-blue);
}

.btn.accent {
  background: var(--gradient-success);
  border-color: transparent;
  color: white;
  font-weight: 600;
}

.btn.accent:hover {
  box-shadow: var(--shadow-glow);
}

.btn.danger {
  background: var(--gradient-danger);
  border-color: transparent;
  color: white;
  font-weight: 600;
}

/* Input Fields */
.input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: rgba(26, 29, 35, 0.8);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
  background: rgba(26, 29, 35, 1);
}

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

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

/* Layout */
.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.spacer {
  height: 24px;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.table th {
  background: rgba(26, 29, 35, 0.5);
  padding: 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--card-border);
}

.table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Stats Cards */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 0.1;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-green);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* Progress Bars */
.progress {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-success);
  border-radius: 4px;
  transition: width 1s ease;
  animation: progressGlow 2s infinite alternate;
}

@keyframes progressGlow {
  0% { box-shadow: 0 0 5px rgba(0, 212, 170, 0.5); }
  100% { box-shadow: 0 0 15px rgba(0, 212, 170, 0.8); }
}

/* Status Indicators */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.status.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status.warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status.danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: blink 1.5s infinite;
}

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

/* Footer */
.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}

/* Loading Animations */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--card-border);
  border-radius: 50%;
  border-top-color: var(--accent-green);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Design - Enhanced Mobile Experience */
@media (max-width: 1024px) {
  .container {
    padding: 20px;
    max-width: 100%;
  }
  .card {
    padding: 24px;
    margin: 16px 0;
  }
  .row {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 16px;
  }
  .card {
    padding: 20px;
    border-radius: var(--radius-lg);
    margin: 12px 0;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .h1 {
    font-size: clamp(24px, 6vw, 36px);
    text-align: center;
    margin-bottom: 24px;
  }
  .h2 {
    font-size: 20px;
  }
  .h3 {
    font-size: 16px;
  }
  .nav {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: center;
  }
  .stat-card {
    padding: 20px;
  }
  .stat-value {
    font-size: 28px;
  }
  .btn {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
  .input {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  .badge {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 12px;
  }
  .card {
    padding: 16px;
    border-radius: var(--radius-md);
  }
  .h1 {
    font-size: clamp(20px, 5vw, 28px);
  }
  .stat-card {
    padding: 16px;
  }
  .stat-value {
    font-size: 24px;
  }
  .nav {
    margin-bottom: 20px;
  }
}

/* Hover Effects */
a, .clickable {
  transition: all 0.2s ease;
}

a:hover, .clickable:hover {
  color: var(--accent-green);
}

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

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

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

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

/* Trading Specific Styles */
.price-up { color: var(--success); }
.price-down { color: var(--danger); }

.trading-pair {
  font-weight: 700;
  font-size: 18px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Alert Styles */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 16px 0;
  border-left: 4px solid;
  backdrop-filter: blur(10px);
}

.alert.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--success);
  color: var(--success);
}

.alert.danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--danger);
  color: var(--danger);
}

.alert.info {
  background: rgba(0, 122, 255, 0.1);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* Premium Navigation Layout */
.premium-nav {
  position: static;
  background: rgba(10, 11, 13, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.premium-nav .nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.premium-nav .logo {
  font-size: 24px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

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

.premium-nav .nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  position: relative;
}

.premium-nav .nav-link:hover {
  color: var(--text-primary);
}

.premium-nav .nav-link.active {
  color: var(--accent-green);
}

.premium-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.premium-nav .nav-link:hover::after,
.premium-nav .nav-link.active::after {
  width: 100%;
}

/* Enhanced Card Layouts */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(0, 212, 170, 0.2);
  border-color: rgba(0, 212, 170, 0.4);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  position: relative;
  z-index: 1;
  animation: float 3s ease-in-out infinite;
}

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

.feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.feature-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Enhanced Stats Display */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.enhanced-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.enhanced-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.enhanced-stat-card:hover::before {
  transform: scaleX(1);
}

.enhanced-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-success);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: countUp 2s ease-out;
}

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

.stat-description {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Trading Interface Enhancements */
.trading-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.trading-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

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

.price-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(26, 29, 35, 0.5);
  border-radius: var(--radius-md);
  margin: 16px 0;
  border-left: 4px solid var(--accent-green);
  animation: priceUpdate 0.5s ease-in-out;
}

@keyframes priceUpdate {
  0% { background: rgba(0, 212, 170, 0.1); }
  100% { background: rgba(26, 29, 35, 0.5); }
}

.price-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

.price-change {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

/* Enhanced Form Elements */
.form-group {
  margin-bottom: 24px;
}

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

.form-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: rgba(26, 29, 35, 0.8);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow:
    0 0 0 3px rgba(0, 212, 170, 0.1),
    0 4px 12px rgba(0, 212, 170, 0.15);
  background: rgba(26, 29, 35, 1);
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Value Input Group with Unit */
.value-input-group {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: rgba(26, 29, 35, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.value-input-group:focus-within {
  border-color: var(--accent-green);
  box-shadow:
    0 0 0 3px rgba(0, 212, 170, 0.1),
    0 4px 12px rgba(0, 212, 170, 0.15);
  background: rgba(26, 29, 35, 1);
  transform: translateY(-1px);
}

.value-input-group .form-input {
  border: none;
  background: transparent;
  padding-right: 45px;
  margin: 0;
}

.value-input-group .form-input:focus {
  outline: none;
  border: none;
  box-shadow: none;
  background: transparent;
  transform: none;
}

.input-unit {
  position: absolute;
  right: 16px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}

/* Risk Gauge Styles */
.risk-gauge-container {
  margin: 20px 0;
}

.risk-gauge {
  background: rgba(26, 29, 35, 0.8);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.gauge-track {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 16px 0;
  cursor: pointer;
}

.gauge-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--warning);
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 44%;
}

.gauge-handle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--text-primary);
  border-radius: 50%;
  cursor: grab;
  transition: all 0.2s ease;
  left: 44%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gauge-handle:hover {
  transform: translateY(-50%) scale(1.1);
}

.gauge-handle:active {
  cursor: grabbing;
  transform: translateY(-50%) scale(1.2);
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 8px 0;
}

.gauge-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.gauge-label.conservative {
  color: var(--success);
}

.gauge-label.aggressive {
  color: var(--danger);
}

.gauge-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.risk-level-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.risk-level-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-green);
}

.risk-level-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Preset Display Styles */
.preset-display {
  margin: 24px 0;
  background: rgba(26, 29, 35, 0.8);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.preset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.preset-header h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.btn-customize, .btn-preset {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-customize:hover, .btn-preset:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

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

.preset-item {
  text-align: center;
  padding: 12px;
  background: rgba(17, 19, 24, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.preset-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-green);
}

/* Custom Settings Styles */
.custom-settings {
  margin: 24px 0;
  background: rgba(26, 29, 35, 0.8);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.custom-header h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

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

  .gauge-scale {
    font-size: 10px;
  }

  .gauge-handle {
    width: 18px;
    height: 18px;
  }

  .risk-level-display {
    flex-direction: column;
    gap: 8px;
  }

  .preset-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .custom-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}

/* Form Select */
.form-select {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: rgba(26, 29, 35, 0.8);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow:
    0 0 0 3px rgba(0, 212, 170, 0.1),
    0 4px 12px rgba(0, 212, 170, 0.15);
  background-color: rgba(26, 29, 35, 1);
}

/* Slider Group */
.slider-group {
  position: relative;
}

.form-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-tertiary);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 16px 0;
}

.form-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
}

.form-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Risk Selector */
.risk-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.risk-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  border: 2px solid var(--card-border);
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.risk-option:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.risk-option.active {
  border-color: var(--accent-green);
  background: rgba(0, 212, 170, 0.1);
}

.risk-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}

.risk-icon.low {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.risk-icon.medium {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}

.risk-icon.high {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

.risk-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Enhanced Buttons */
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  border: none;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 0 30px rgba(0, 212, 170, 0.4);
}

.btn-premium:active {
  transform: translateY(0) scale(1.02);
}

/* Trading Control Buttons */
.control-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  background: var(--card-bg);
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  width: 100%;
  text-align: left;
}

.control-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 212, 170, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.control-btn:hover::before {
  opacity: 1;
}

.control-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(0, 122, 255, 0.2);
}

.control-btn.start {
  border-color: var(--success);
}

.control-btn.start:hover {
  border-color: var(--success);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(16, 185, 129, 0.3);
}

.control-btn.stop {
  border-color: var(--danger);
}

.control-btn.stop:hover {
  border-color: var(--danger);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(239, 68, 68, 0.3);
}

.btn-icon {
  font-size: 24px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.btn-content {
  flex: 1;
}

.btn-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.btn-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.control-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

/* Loading States */
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.1) 25%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0.1) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: 16px;
}

/* Touch-friendly mobile interactions */
@media (max-width: 768px) {
  .btn, .btn-premium {
    min-height: 44px;
    padding: 12px 24px;
  }

  .form-input {
    min-height: 44px;
    padding: 12px 16px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .premium-nav .nav-content {
    padding: 0 16px;
  }

  .premium-nav .nav-links {
    gap: 20px;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus indicators for keyboard navigation */
button:focus-visible,
.btn:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* Premium Dashboard Styles */
.premium-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.premium-badge {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: white;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(26, 29, 35, 0.8);
}

.nav-link.active {
  color: var(--accent-blue);
  background: rgba(0, 122, 255, 0.1);
}

.nav-link.admin {
  color: var(--accent-green);
}

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

.welcome-section {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 212, 170, 0.1));
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.welcome-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.welcome-header {
  flex: 1;
}

.welcome-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  margin-top: 8px;
}

.welcome-meta {
  display: flex;
  gap: 32px;
  align-items: center;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.meta-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.meta-value.premium {
  color: var(--accent-blue);
  text-transform: uppercase;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-border);
  transition: all 0.3s ease;
}

.metric-card.primary::before {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-blue);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--card-border);
}

.profit-icon::before {
  content: '$';
  color: var(--success);
  font-weight: 700;
  font-size: 18px;
}

.portfolio-icon::before {
  content: '📊';
  font-size: 18px;
}

.strategy-icon::before {
  content: '⚡';
  font-size: 18px;
}

.signal-icon::before {
  content: '📡';
  font-size: 18px;
}

.metric-trend {
  font-size: 24px;
  font-weight: 700;
}

.metric-trend.positive {
  color: var(--success);
}

.metric-trend.negative {
  color: var(--danger);
}

.metric-trend.neutral {
  color: var(--text-muted);
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.metric-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 4px;
}

.metric-change {
  font-size: 12px;
  color: var(--text-muted);
}

.status-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.premium-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.premium-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 4px 20px rgba(0, 122, 255, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: var(--accent-green);
}

.status-indicator {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-indicator.active {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.status-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.status-value {
  font-weight: 600;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 6px;
}

.status-value.stopped {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.status-value.inactive {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
}

.status-value.connected {
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.status-value.active {
  color: var(--accent-blue);
  background: rgba(0, 122, 255, 0.1);
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.action-btn:hover {
  border-color: var(--accent-blue);
  background: rgba(0, 122, 255, 0.05);
  transform: translateY(-2px);
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: white;
  border-color: transparent;
}

.action-btn.primary:hover {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

.action-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.action-btn.primary .action-icon {
  background: rgba(255, 255, 255, 0.2);
}

.action-content {
  flex: 1;
}

.action-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.action-desc {
  font-size: 12px;
  opacity: 0.8;
}

.activity-section {
  margin-bottom: 32px;
}

.premium-card.full-width {
  grid-column: 1 / -1;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.activity-item:hover {
  border-color: var(--accent-blue);
  background: rgba(0, 122, 255, 0.02);
}

.activity-time {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 60px;
  text-align: center;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.activity-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.activity-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.activity-status.info {
  background: rgba(0, 122, 255, 0.1);
  color: var(--accent-blue);
}

.activity-status.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.activity-status.warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

/* Mobile Dashboard Responsive */
@media (max-width: 768px) {
  .premium-nav {
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .nav-actions {
    order: -1;
    justify-content: center;
  }

  .welcome-section {
    padding: 24px 20px;
  }

  .welcome-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .welcome-meta {
    justify-content: center;
    gap: 24px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .status-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .status-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .activity-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .activity-time {
    min-width: auto;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .welcome-section {
    padding: 20px 16px;
  }

  .metric-card,
  .premium-card {
    padding: 20px 16px;
  }

  .nav-link {
    padding: 6px 12px;
    font-size: 13px;
  }

  .metric-value {
    font-size: 28px;
  }

  .action-btn {
    padding: 14px;
  }

  .action-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* Subscription Page Styles */
.subscription-hero {
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.15), rgba(0, 212, 170, 0.15));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 32px;
  margin-bottom: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.feature-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 16px;
}

.feature-icon {
  font-size: 20px;
}

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

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-blue);
}

.pricing-card.recommended {
  border-color: var(--accent-blue);
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(0, 212, 170, 0.05));
}

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

.recommended-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: white;
  padding: 8px 16px;
  border-radius: 0 0 12px 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.plan-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-blue);
}

.price-period {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 500;
}

.plan-description {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.savings-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-check.premium {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
}

.plan-button {
  width: 100%;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: none;
}

.plan-button.primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: white;
}

.plan-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.plan-button.secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.plan-button.secondary:hover {
  background: rgba(0, 122, 255, 0.1);
  border-color: var(--accent-blue);
}

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

.payment-methods {
  margin-bottom: 32px;
}

.payment-method {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method.active {
  border-color: var(--accent-blue);
  background: rgba(0, 122, 255, 0.05);
}

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

.method-icon {
  font-size: 24px;
  width: 40px;
  text-align: center;
}

.method-info {
  flex: 1;
}

.method-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.method-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.method-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.payment-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.wallet-address {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.copy-btn {
  padding: 12px 20px;
  background: var(--accent-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: var(--accent-green);
}

.address-info {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.info-item {
  display: flex;
  gap: 8px;
}

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

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

.selected-plan {
  background: rgba(0, 122, 255, 0.1);
  color: var(--accent-blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

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

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.trust-item {
  text-align: center;
  padding: 24px;
}

.trust-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.trust-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.trust-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

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

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

.faq-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--card-border);
}

.faq-question {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-blue);
}

.faq-answer {
  display: none;
  padding: 0 0 20px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Mobile Subscription Responsive */
@media (max-width: 768px) {
  .subscription-hero {
    padding: 32px 20px;
  }

  .hero-features {
    flex-direction: column;
    gap: 16px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .payment-step {
    flex-direction: column;
    gap: 12px;
  }

  .wallet-address {
    flex-direction: column;
  }

  .address-info {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .pricing-title {
    font-size: 28px;
  }

  .price-amount {
    font-size: 36px;
  }

  .subscription-hero {
    padding: 24px 16px;
  }

  .pricing-card {
    padding: 20px 16px;
  }
}

/* Demo Page Styles */
.demo-hero {
    padding: 60px 0;
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(99, 102, 241, 0.1) 100%);
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.demo-status {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.demo-status .status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.demo-status .status-dot.live {
    background: #ef4444;
    animation: pulse 1.5s infinite;
}

.trading-dashboard {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.update-time {
    font-size: 14px;
    color: var(--text-muted);
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.perf-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.perf-card.primary {
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(5, 150, 105, 0.05) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.perf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.perf-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.perf-trend {
    font-size: 20px;
    font-weight: bold;
}

.perf-trend.positive { color: var(--accent-success); }
.perf-trend.negative { color: var(--accent-danger); }
.perf-trend.neutral { color: var(--text-muted); }

.perf-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.perf-percent {
    font-size: 16px;
    color: var(--accent-success);
    font-weight: 600;
    margin-bottom: 4px;
}

.perf-change {
    font-size: 12px;
    color: var(--text-muted);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.strategy-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.strategy-card.active {
    border-color: var(--accent-success);
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.05) 0%,
        rgba(5, 150, 105, 0.02) 100%);
}

.strategy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.strategy-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.strategy-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.strategy-status.running {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
}

.strategy-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.metric {
    text-align: center;
}

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

.metric-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.metric-value.positive {
    color: var(--accent-success);
}

.strategy-chart {
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.chart-placeholder {
    height: 100%;
    position: relative;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 60%;
    width: var(--progress, 50%);
    background: linear-gradient(90deg,
        var(--accent-success) 0%,
        rgba(16, 185, 129, 0.6) 100%);
    border-radius: 4px;
    transition: all 0.8s ease;
}

.chart-line.positive {
    background: linear-gradient(90deg,
        var(--accent-success) 0%,
        rgba(16, 185, 129, 0.8) 100%);
    height: 80%;
}

.trades-feed {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
}

.trade-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.trade-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.trade-item.profit {
    border-left: 4px solid var(--accent-success);
}

.trade-item.loss {
    border-left: 4px solid var(--accent-danger);
}

.trade-item.neutral {
    border-left: 4px solid var(--text-muted);
}

.trade-time {
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
}

.trade-pair {
    font-weight: 600;
    color: var(--text-primary);
}

.trade-action {
    font-size: 12px;
    color: var(--text-secondary);
}

.trade-amount {
    font-weight: 600;
    text-align: right;
}

.trade-item.profit .trade-amount {
    color: var(--accent-success);
}

.trade-item.loss .trade-amount {
    color: var(--accent-danger);
}

.trade-percent {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.risk-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.risk-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.risk-meter {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.risk-bar {
    height: 100%;
    width: var(--risk, 0%);
    background: linear-gradient(90deg,
        var(--accent-warning) 0%,
        var(--accent-danger) 100%);
    border-radius: 4px;
    transition: all 0.8s ease;
}

.risk-bar.safe {
    background: linear-gradient(90deg,
        var(--accent-success) 0%,
        rgba(16, 185, 129, 0.6) 100%);
}

.risk-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.risk-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.risk-status.safe {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-success);
}

.demo-cta {
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(99, 102, 241, 0.1) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
}

.cta-header {
    margin-bottom: 40px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn.large {
    padding: 16px 32px;
    font-size: 16px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.strategy-controls,
.feed-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn.small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Mobile responsiveness for demo page */
@media (max-width: 768px) {
    .demo-status {
        flex-direction: column;
        gap: 16px;
    }

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

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

    .strategy-metrics {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trade-item {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }

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

    .cta-features {
        flex-direction: column;
        gap: 16px;
    }

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

    .section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .demo-cta {
        padding: 40px 20px;
    }
}

/* 고급 애니메이션 및 시각 효과 */

/* 펄스 애니메이션 */
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 글로우 효과 애니메이션 */
@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--accent-blue);
  }
  50% {
    box-shadow: 0 0 20px var(--accent-blue), 0 0 30px var(--accent-blue);
  }
  100% {
    box-shadow: 0 0 5px var(--accent-blue);
  }
}

/* 숨쉬는 효과 */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

/* 플로팅 애니메이션 */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 슬라이드 인 애니메이션 */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* 페이드 인 애니메이션 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 회전 애니메이션 */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 점진적 로딩 애니메이션 */
@keyframes progressLoad {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* 시각 효과 클래스 */

/* 상태 표시점 애니메이션 */
.status-dot {
  animation: pulse 2s infinite;
}

.status-dot.success {
  animation: glow 3s ease-in-out infinite;
}

/* 카드 호버 효과 개선 */
.premium-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: center;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 212, 170, 0.2);
  animation: breathe 2s ease-in-out infinite;
}

/* 버튼 고급 효과 */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 122, 255, 0.4);
}

/* 네비게이션 링크 효과 */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 입력 필드 포커스 효과 */
.form-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
  transform: scale(1.02);
}

/* 통계 카드 애니메이션 */
.stat-card {
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px) rotateY(5deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-value {
  transition: all 0.3s ease;
}

.stat-card:hover .stat-value {
  transform: scale(1.1);
  color: var(--accent-green);
}

/* 로딩 스피너 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: rotate 1s ease-in-out infinite;
}

/* 진행 바 애니메이션 */
.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: progressLoad 2s ease-out;
}

/* 페이지 로드 애니메이션 */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-up {
  animation: slideInUp 0.6s ease-out;
}

.slide-left {
  animation: slideInLeft 0.6s ease-out;
}

.slide-right {
  animation: slideInRight 0.6s ease-out;
}

/* 플로팅 요소 */
.floating {
  animation: float 3s ease-in-out infinite;
}

/* 배경 그라디언트 애니메이션 */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animated-gradient {
  background: linear-gradient(-45deg,
    var(--accent-blue),
    var(--accent-green),
    var(--accent-purple),
    var(--accent-blue));
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

/* 텍스트 타이핑 효과 */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.typing-effect {
  overflow: hidden;
  border-right: 2px solid var(--accent-green);
  white-space: nowrap;
  animation: typing 3s steps(30, end), blink 0.75s step-end infinite;
}

/* 스크롤 시 나타나는 애니메이션 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 파티클 효과 */
.particle {
  position: absolute;
  background: var(--accent-blue);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

/* 리플 효과 */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
  width: 300px;
  height: 300px;
}

/* 접기/펼치기 애니메이션 */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.open {
  max-height: 500px;
}

/* 모달 애니메이션 */
.modal {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.modal.show {
  opacity: 1;
  transform: scale(1);
}

/* 툴팁 애니메이션 */
.tooltip {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.tooltip.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 성능 최적화 */
.gpu-accelerated {
  transform: translateZ(0);
  will-change: transform;
}

/* 접근성 고려 - 모션 감소 선호 사용자 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .floating,
  .pulse,
  .breathe,
  .glow {
    animation: none !important;
  }
}

/* ============================================================================
   CHECKBOX COMPONENTS
   ============================================================================ */

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
  margin-bottom: 0;
}

.checkbox-container input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  border: 2px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-container:hover .checkbox-checkmark {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
}

.checkbox-container input:checked ~ .checkbox-checkmark {
  background: var(--gradient-primary);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow);
}

.checkbox-checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkbox-checkmark:after {
  display: block;
}

.checkbox-label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

.checkbox-container:hover .checkbox-label {
  color: var(--accent-green);
}

/* ===== Premium Trading Page Styles ===== */

/* Premium Hero Section */
.premium-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(59, 130, 246, 0.1) 50%,
        rgba(139, 92, 246, 0.1) 100%
    );
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge.premium {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.hero-badge.status {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

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

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

.premium-status-item {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.premium-status-item .status-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.premium-status-item .status-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.status-detail {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 8px;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-orb {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.orb-3 {
    width: 40px;
    height: 40px;
    top: 40%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(120deg); }
    66% { transform: translateY(5px) rotate(240deg); }
}

/* Premium Navigation */
.nav-link.premium-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link.premium-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
    opacity: 0.1;
}

.nav-link.premium-link:hover::before {
    left: 0;
}

.nav-link.premium-link.active {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.nav-icon {
    font-size: 16px;
    opacity: 0.8;
}

.status-dot.pulsing {
    animation: pulse 2s ease-in-out infinite;
}

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

.premium-status {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    padding: 4px 8px;
    font-size: 12px;
}

/* Premium Cards */
.ultra-premium {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(16, 185, 129, 0.1) inset,
        var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.ultra-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.premium-header {
    background: rgba(16, 185, 129, 0.02);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    padding: 20px 24px;
}

.card-title.premium-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.3));
}

.status-indicator-container {
    display: flex;
    align-items: center;
}

.premium-status-indicator {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
}

/* Premium Control Panel */
.premium-panel {
    padding: 32px;
    background: rgba(255, 255, 255, 0.01);
}

.premium-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.premium-btn {
    position: relative;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-lg);
    padding: 24px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(16, 185, 129, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.premium-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 35px rgba(16, 185, 129, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.premium-btn.secondary:hover {
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.premium-btn:hover .btn-glow {
    opacity: 0.2;
}

.premium-icon {
    font-size: 24px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.premium-btn:hover .btn-shine {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

/* Premium Status Items */
.premium-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.status-item.premium-status-item {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.status-item.premium-status-item:hover {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.status-item .status-icon {
    font-size: 20px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-content {
    flex: 1;
}

.status-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.status-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.checkbox-container input:focus ~ .checkbox-checkmark {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}
