/* ============================================================
   SiteonX – Global Stylesheet
   Premium SaaS E-Commerce Platform
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-base:      #07090f;
  --bg-surface:   #0d1120;
  --bg-card:      #111827;
  --bg-card-hover:#161f32;
  --bg-elevated:  #1a2235;

  --cyan:         #00d4ff;
  --cyan-dark:    #00aacf;
  --cyan-glow:    rgba(0, 212, 255, 0.15);
  --cyan-glow-sm: rgba(0, 212, 255, 0.08);

  --accent2:      #6366f1;
  --accent2-glow: rgba(99, 102, 241, 0.15);

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #4b5563;

  --border:       rgba(255,255,255,0.07);
  --border-cyan:  rgba(0, 212, 255, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.12);

  --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: #fff; }

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

ul { list-style: none; }

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

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 60%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-glow-sm);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 96px 0; }

.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--accent2) 100%);
  color: #07090f;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
  color: #07090f;
}

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

.btn-outline:hover {
  background: var(--cyan-glow);
  color: var(--cyan);
  border-color: var(--cyan);
}

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

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn-danger {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.3);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-xl { padding: 18px 40px; font-size: 17px; border-radius: var(--radius-lg); }

.btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.card-sm { padding: 20px; border-radius: var(--radius-md); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-cyan { background: rgba(0,212,255,0.12); color: var(--cyan); border: 1px solid rgba(0,212,255,0.2); }
.badge-green { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.badge-yellow { background: rgba(234,179,8,0.12); color: #facc15; border: 1px solid rgba(234,179,8,0.2); }
.badge-red { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.badge-purple { background: rgba(139,92,246,0.12); color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }
.badge-orange { background: rgba(249,115,22,0.12); color: #fb923c; border: 1px solid rgba(249,115,22,0.2); }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 9, 15, 0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--accent2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: #07090f;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.nav-logo-text span { color: var(--cyan); }

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Mobile Nav ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  z-index: 999;
  background: rgba(13, 17, 32, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-secondary); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; }
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.mobile-menu .mobile-actions { display: flex; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.mobile-menu .mobile-actions .btn { flex: 1; justify-content: center; }

/* ---------- Hero Section ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(0,212,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(99,102,241,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(0,212,255,0.06) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease;
}

.hero-badge .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s ease;
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.8s ease;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 13px; color: var(--text-secondary); }

.hero-divider {
  width: 1px; height: 40px;
  background: var(--border);
}

/* ---------- Feature Cards ---------- */
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-icon-cyan { background: rgba(0,212,255,0.12); color: var(--cyan); border: 1px solid rgba(0,212,255,0.2); }
.feature-icon-purple { background: rgba(99,102,241,0.12); color: #818cf8; border: 1px solid rgba(99,102,241,0.2); }
.feature-icon-green { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.feature-icon-orange { background: rgba(249,115,22,0.12); color: #fb923c; border: 1px solid rgba(249,115,22,0.2); }

/* ---------- Pricing Cards ---------- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 8px 48px rgba(0,212,255,0.1);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--cyan);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(0,212,255,0.05) 100%);
  box-shadow: 0 0 60px rgba(0,212,255,0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--accent2));
  color: #07090f;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pricing-price {
  margin-bottom: 8px;
}

.pricing-price .amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--cyan);
}

.pricing-price .currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
  vertical-align: top;
  margin-top: 12px;
  display: inline-block;
}

.pricing-price .period {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-original {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 24px;
}

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

.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-feature .check {
  color: var(--cyan);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-feature .cross {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------- Theme Cards ---------- */
.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.theme-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 40px rgba(0,212,255,0.15);
  transform: translateY(-4px);
}

.theme-preview {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.theme-preview-img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.theme-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(7,9,15,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.theme-preview-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.theme-overlay-actions {
  position: absolute;
  inset: 0;
  background: rgba(7,9,15,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition);
}

.theme-card:hover .theme-overlay-actions { opacity: 1; }

.theme-info { padding: 20px; }
.theme-name { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.theme-sector { font-size: 13px; color: var(--text-secondary); }

/* ---------- Steps ---------- */
.step-card {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--accent2));
  color: #07090f;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 24px rgba(0,212,255,0.3);
}

.step-connector {
  position: absolute;
  top: 56px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  z-index: 0;
}

/* ---------- Panel Layout ---------- */
.panel-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 70px;
}

.panel-sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: fixed;
  top: 70px;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.panel-sidebar::-webkit-scrollbar { width: 4px; }
.panel-sidebar::-webkit-scrollbar-track { background: transparent; }
.panel-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.sidebar-section {
  padding: 0 16px;
  margin-bottom: 8px;
}

.sidebar-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
}

.sidebar-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.sidebar-link.active {
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
}

.sidebar-link .icon { font-size: 16px; width: 20px; text-align: center; }
.sidebar-link .count {
  margin-left: auto;
  background: rgba(0,212,255,0.15);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}

.panel-content {
  margin-left: 260px;
  flex: 1;
  padding: 32px;
  min-height: calc(100vh - 70px);
}

/* ---------- Stats Cards ---------- */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

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

.stat-card-cyan::before { background: linear-gradient(90deg, var(--cyan), #00aacf); }
.stat-card-purple::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.stat-card-green::before { background: linear-gradient(90deg, #22c55e, #16a34a); }
.stat-card-orange::before { background: linear-gradient(90deg, #f97316, #ea580c); }

.stat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 4px;
}

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

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.stat-change.up { color: #4ade80; }
.stat-change.down { color: #f87171; }

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

.table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.table-title { font-size: 16px; font-weight: 700; }

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

thead th {
  padding: 12px 24px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 14px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

tbody tr:hover td {
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
}

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

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  padding: 11px 16px;
  transition: var(--transition);
  font-family: var(--font-main);
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

.input-group { display: flex; }
.input-group .form-input { border-radius: var(--radius-md) 0 0 var(--radius-md); border-right: none; }
.input-group .btn { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.input-prefix {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  padding: 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- Wizard Steps ---------- */
.wizard-header {
  text-align: center;
  padding: 48px 24px 32px;
  border-bottom: 1px solid var(--border);
}

.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 4px;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wizard-step-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.wizard-step.active .wizard-step-circle {
  border-color: var(--cyan);
  background: var(--cyan-glow);
  color: var(--cyan);
}

.wizard-step.done .wizard-step-circle {
  border-color: #22c55e;
  background: rgba(34,197,94,0.1);
  color: #22c55e;
}

.wizard-step-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.wizard-step.active .wizard-step-label { color: var(--cyan); }
.wizard-step.done .wizard-step-label { color: #4ade80; }

.wizard-connector {
  width: 32px; height: 2px;
  background: var(--border);
  margin: 0 4px;
}

.wizard-connector.done { background: #22c55e; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

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

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 16px 0 24px;
  max-width: 300px;
}

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

.footer-social a {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--cyan-glow);
  border-color: var(--cyan);
  color: var(--cyan);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; }
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Glow Orbs ---------- */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow-cyan { background: rgba(0,212,255,0.15); }
.glow-purple { background: rgba(99,102,241,0.12); }

/* ---------- Toggle Switch ---------- */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.toggle-label { font-size: 15px; color: var(--text-secondary); font-weight: 500; }
.toggle-label.active { color: var(--text-primary); }

.toggle {
  width: 52px; height: 28px;
  background: var(--border);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.toggle.on { background: linear-gradient(135deg, var(--cyan), var(--accent2)); }

.toggle-thumb {
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 4px; left: 4px;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.toggle.on .toggle-thumb { left: 28px; }

.toggle-save {
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,212,255,0.2);
}

/* ---------- Chart Placeholder ---------- */
.chart-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.chart-placeholder {
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px 0;
}

.chart-bar {
  flex: 1;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: linear-gradient(to top, var(--cyan), rgba(0,212,255,0.3));
  min-height: 20px;
  position: relative;
  transition: var(--transition);
}

.chart-bar:hover { background: linear-gradient(to top, var(--cyan), rgba(0,212,255,0.6)); }

/* ---------- Alert / Notice ---------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.alert-info { background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2); color: var(--text-secondary); }
.alert-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2); color: var(--text-secondary); }
.alert-warning { background: rgba(234,179,8,0.08); border: 1px solid rgba(234,179,8,0.2); color: var(--text-secondary); }
.alert-icon { font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* ---------- Progress Bar ---------- */
.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--accent2));
  border-radius: 3px;
  transition: width 0.6s ease;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 560px;
  width: 100%;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 16px;
  transition: var(--transition);
}

.modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); padding: 4px; }

.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.tab-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ---------- Page Header ---------- */
.page-header {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,212,255,0.1) 0%, transparent 60%);
}

.page-header-content { position: relative; z-index: 1; }

/* ---------- Success Screen ---------- */
.success-screen {
  text-align: center;
  padding: 64px 32px;
}

.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 2px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  animation: pulse 2s infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .panel-sidebar { width: 220px; min-width: 220px; }
  .panel-content { margin-left: 220px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 28px; }
  .hero-divider { display: none; }
  .panel-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .panel-sidebar.open { transform: translateX(0); }
  .panel-content { margin-left: 0; padding: 24px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .wizard-steps { gap: 8px; }
  .wizard-connector { width: 16px; }
  .wizard-step-label { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .navbar { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .pricing-card { padding: 28px 20px; }
}
