:root {
  --primary: #635bff;
  --primary-hover: #5851df;
  --secondary: #0a2540;
  --bg-color: #f6f9fc;
  --text-dark: #1a1f36;
  --text-light: #425466;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --gradient: linear-gradient(135deg, #635bff 0%, #0a2540 100%);
  --transition: all 0.3s ease;
  --success: #10b981;
  --danger: #ef4444;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg-color: #0f172a;
  --text-dark: #e2e8f0;
  --text-light: #94a3b8;
  --white: #1e293b;
  --secondary: #f1f5f9;
  --border: rgba(255,255,255,0.08);
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.3);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.4);
}
[data-theme="dark"] .navbar { background: rgba(15,23,42,0.92); border-bottom-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .mobile-nav-panel { background: #1e293b; }
[data-theme="dark"] .mobile-nav-panel .mobile-nav-links a { color: #e2e8f0; border-bottom-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .form-control { background: #0f172a; color: #e2e8f0; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .form-control:focus { border-color: var(--primary); }
[data-theme="dark"] .auth-card { background: #1e293b; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .site-card, [data-theme="dark"] .settings-card { background: #1e293b; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .empty-state { background: #1e293b; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .wizard-container { background: #1e293b; border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .step-indicator { background: #1e293b; }
[data-theme="dark"] .step-circle { background: #0f172a; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .theme-option { border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .theme-option:hover { border-color: var(--primary); }
[data-theme="dark"] .logo { color: #fff; }
[data-theme="dark"] h1,[data-theme="dark"] h2,[data-theme="dark"] h3,[data-theme="dark"] h4 { color: #f1f5f9; }
[data-theme="dark"] .btn-secondary { color: #e2e8f0; border-color: rgba(255,255,255,0.15); }
[data-theme="dark"] .btn-secondary:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.25); }

/* Dark mode toggle button */
.dark-mode-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--white); color: var(--text-light); cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
  flex-shrink: 0;
}
.dark-mode-btn:hover { border-color: var(--primary); color: var(--primary); transform: scale(1.1); }
[data-theme="dark"] .dark-mode-btn { background: #0f172a; border-color: rgba(255,255,255,0.15); color: #fbbf24; }
[data-theme="dark"] .dark-mode-btn:hover { border-color: #fbbf24; }

* { margin:0; padding:0; box-sizing:border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body { background-color: var(--bg-color); color: var(--text-dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

h1, h2, h3, h4 { color: var(--secondary); font-weight: 700; line-height: 1.2; }
p { color: var(--text-light); }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: var(--transition); border: none; text-align: center;
  white-space: nowrap;
}
.btn-primary { background-color: var(--primary); color: #ffffff !important; box-shadow: 0 4px 6px rgba(99,91,255,0.2); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(99,91,255,0.3); }
.btn-secondary { background-color: transparent; color: var(--secondary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--secondary); background-color: rgba(10,37,64,0.05); transform: translateY(-2px); }
.btn-success { background-color: var(--success); color: var(--white); }
.btn-success:hover { background-color: #0d9668; transform: translateY(-2px); }

/* ── Navbar ── */
.navbar {
  padding: 16px 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(226,232,240,0.5);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; color: var(--text-light); transition: var(--transition); font-size: 15px; }
.nav-links a:hover { color: var(--primary); }

/* Mobile Menu */
.mobile-right-actions { display: none; align-items: center; gap: 8px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--secondary); padding: 8px; }
.mobile-nav-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; transition: opacity 0.3s;
}
.mobile-nav-overlay.open { display: block; opacity: 1; }
.mobile-nav-panel {
  position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
  background: var(--white); z-index: 201; transition: right 0.3s ease;
  padding: 24px; box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.mobile-nav-panel.open { right: 0; }
.mobile-nav-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--secondary); position: absolute; top: 16px; right: 16px; }
.mobile-nav-panel .mobile-nav-links { display: flex; flex-direction: column; gap: 16px; margin-top: 48px; }
.mobile-nav-panel .mobile-nav-links a { font-size: 16px; font-weight: 500; color: var(--text-dark); padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-nav-panel .mobile-nav-links a:last-child { border: none; }

/* ── Hero ── */
.hero { padding: 80px 0; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,91,255,0.12) 0%, transparent 70%);
  border-radius: 50%; z-index: -1;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 {
  font-size: 52px; letter-spacing: -1px; margin-bottom: 20px;
  background: linear-gradient(135deg, #0a2540 0%, #1a1f36 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-content p { font-size: 18px; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg); transition: var(--transition);
}
.hero-image img:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

/* ── Features ── */
.features { padding: 80px 0; background: var(--white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 34px; margin-bottom: 12px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; }
.feature-card {
  background: var(--white); padding: 36px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(99,91,255,0.2); }
.feature-icon {
  width: 48px; height: 48px; background: rgba(99,91,255,0.1); color: var(--primary);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }

/* ── How It Works ── */
.how-it-works { padding: 80px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.step-card { text-align: center; position: relative; z-index: 2; }
.step-number {
  width: 48px; height: 48px; background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(99,91,255,0.3);
}
.step-card h3 { font-size: 18px; margin-bottom: 10px; }

/* ── Pricing ── */
.pricing { padding: 80px 0; background: var(--white); }
.pricing-card {
  max-width: 400px; margin: 0 auto; background: var(--white); border-radius: 20px;
  padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  text-align: center; position: relative; overflow: hidden;
}
.pricing-card::before { content:''; position:absolute; top:0; left:0; right:0; height:6px; background:var(--primary); }
.pricing-badge {
  display: inline-block; background: rgba(99,91,255,0.1); color: var(--primary);
  padding: 6px 16px; border-radius: 20px; font-weight: 600; font-size: 14px; margin-bottom: 20px;
}
.pricing-price { font-size: 48px; font-weight: 800; color: var(--secondary); margin-bottom: 12px; display: flex; justify-content: center; align-items: baseline; }
.pricing-price span { font-size: 18px; color: var(--text-light); font-weight: 500; margin-left: 6px; }
.pricing-features { margin: 28px 0; text-align: left; }
.pricing-features li { margin-bottom: 14px; display: flex; align-items: center; color: var(--text-light); }
.pricing-features li i { color: var(--primary); margin-right: 12px; }

/* ── CTA ── */
.bottom-cta { padding: 80px 0; background: var(--secondary); text-align: center; color: var(--white); }
.bottom-cta h2 { color: var(--white); font-size: 36px; margin-bottom: 20px; }
.bottom-cta p { color: rgba(255,255,255,0.8); font-size: 17px; margin-bottom: 32px; }

/* ── Footer ── */
footer { background: var(--white); padding: 48px 0 24px; border-top: 1px solid var(--border); }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-color);
  display: flex; align-items: center; justify-content: center; color: var(--text-light); transition: var(--transition);
}
.social-links a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-light); font-size: 14px; }
.footer-links a:hover { color: var(--primary); }
.copyright { text-align: center; color: var(--text-light); font-size: 14px; border-top: 1px solid var(--border); padding-top: 20px; }

/* ── Auth Pages ── */
.auth-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; background: var(--bg-color); }
.auth-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 450px; padding: 40px; border: 1px solid var(--border);
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h2 { font-size: 26px; margin-bottom: 6px; }
.auth-header p { font-size: 15px; }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; color: var(--secondary); font-size: 14px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 15px; transition: var(--transition);
  background: #fff; color: var(--text-dark); font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,91,255,0.1); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { appearance: auto; }
.error-msg { color: #e53e3e; font-size: 13px; margin-top: 4px; display: block; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ── Dashboard ── */
.user-profile { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; flex-shrink: 0;
}
.dashboard-content { padding: 10px 0; }
.empty-state {
  background: var(--white); border-radius: var(--radius); border: 2px dashed var(--border);
  padding: 60px 24px; text-align: center;
}
.empty-state-icon {
  width: 72px; height: 72px; background: rgba(99,91,255,0.1); color: var(--primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 20px;
}
.empty-state h3 { font-size: 22px; margin-bottom: 12px; }
.empty-state p { margin-bottom: 28px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* Dashboard Site Card */
.site-card {
  background: var(--white); border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin-top: 24px;
}
.site-card-header { margin-bottom: 20px; }
.site-card-header h2 { font-size: 22px; margin-bottom: 4px; }
.site-card-body { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-card-info h3 { font-size: 18px; margin-bottom: 6px; }
.site-card-info p { font-size: 14px; }
.site-card-info a { color: var(--primary); font-weight: 500; }
.site-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── Wizard ── */
.wizard-container {
  max-width: 800px; margin: 16px auto; background: #fff;
  padding: 36px 4px; border-radius: 16px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.wizard-title { margin-bottom: 24px; color: var(--secondary); text-align: center; font-size: 24px; }

/* Steps Progress */
.wizard-steps { display: flex; justify-content: center; margin-bottom: 32px; position: relative; gap: 0; }
.wizard-steps::before {
  content: ''; position: absolute; top: 20px; left: 15%; width: 70%; height: 3px;
  background: var(--border); z-index: 1;
}
.step-indicator {
  position: relative; z-index: 2; background: #fff; padding: 0 4px;
  text-align: center; color: var(--text-light); cursor: default; flex-shrink: 0;
}
.step-circle {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-color);
  border: 3px solid var(--border); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; font-weight: 700; font-size: 16px; transition: var(--transition);
}
.step-indicator span { font-size: 13px; font-weight: 500; display: block; }
.step-indicator.active .step-circle { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99,91,255,0.2); }
.step-indicator.active { color: var(--primary); font-weight: 600; }
.step-indicator.active span { font-weight: 600; }
.step-indicator.completed .step-circle { background: var(--success); color: #fff; border-color: var(--success); }
.step-indicator.completed { color: var(--success); }

.step-content { display: none; animation: wizardFadeIn 0.4s ease; }
.step-content.active { display: block; }
.step-content h3 { font-size: 18px; margin-bottom: 20px; color: var(--secondary); }
.step-content h3 i { color: var(--primary); margin-right: 8px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.wizard-footer {
  display: flex; justify-content: space-between; margin-top: 28px;
  padding-top: 20px; border-top: 1px solid var(--border); gap: 12px;
}

/* Theme Picker */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; margin-top: 16px; }
.theme-option {
  border: 2px solid var(--border); border-radius: 12px; padding: 16px; text-align: center;
  cursor: pointer; transition: var(--transition); position: relative;
}
.theme-option:hover { border-color: var(--primary); transform: translateY(-2px); }
.theme-option.selected { border-color: var(--primary); background: rgba(99,91,255,0.05); }
.theme-option.selected::after {
  content: '✓'; position: absolute; top: 8px; right: 8px;
  background: var(--primary); color: #fff; width: 24px; height: 24px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.theme-option .theme-preview {
  width: 100%; height: 120px; border-radius: 8px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 32px;
}
.theme-option .theme-label { font-weight: 600; font-size: 14px; color: var(--text-dark); }

/* Loading State */
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after {
  content: ""; position: absolute; width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3); border-radius: 50%;
  border-top-color: #fff; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wizardFadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

/* ── Responsive ── */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 40px; }
  .hero-content p { margin: 0 auto 28px; }
  .hero-btns { justify-content: center; }
  .hero-image { margin-top: 32px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-right-actions { display: flex !important; }
  .hero { padding: 48px 0; }
  .hero-content h1 { font-size: 32px; }
  .hero-content p { font-size: 16px; }
  .features, .how-it-works, .pricing, .bottom-cta { padding: 48px 0; }
  .section-header h2 { font-size: 24px; }
  .bottom-cta h2 { font-size: 24px; }
  .footer-content { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .wizard-container { margin: 8px auto; padding: 16px 1px; }
  .wizard-steps { justify-content: center; overflow: visible; gap: 1px; flex-wrap: wrap; margin-bottom: 20px; }
  .wizard-steps::-webkit-scrollbar { display: none; }
  .step-indicator { padding: 1px; min-width: 50px; flex-shrink: 0; }
  .step-indicator span { font-size: 11px; }
  .step-circle { width: 34px; height: 34px; font-size: 14px; margin-bottom: 4px; }
  .wizard-steps::before { display: none; }
  .wizard-footer { flex-wrap: wrap; }
  .wizard-footer .btn { flex: 1; min-width: 120px; padding: 10px 16px; }
  
  /* Dashboard & Site Card Mobile Fixes */
  .dashboard-content { padding: 20px 0; }
  .site-card { padding: 16px; margin-top: 16px; border-radius: 12px; }
  .site-card-header h2 { font-size: 18px; }
  .site-card-body { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-card-actions { width: 100%; gap: 8px; }
  .site-card-actions .btn { flex: 1; min-width: 140px; font-size: 14px; padding: 10px; }
  
  /* Auth & General Forms */
  .auth-container { padding: 20px 12px; }
  .auth-card { padding: 24px 16px; border-radius: 12px; }
  .auth-header h2 { font-size: 22px; }
  .form-control { padding: 10px 14px; font-size: 14px; }
  
  .theme-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .theme-option { padding: 10px; }
  .theme-option .theme-preview { height: 70px; font-size: 20px; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-content h1 { font-size: 28px; }
  .pricing-card { padding: 24px 16px; border-radius: 12px; }
  .pricing-price { font-size: 36px; }
  .site-card-actions { flex-direction: column; }
  .site-card-actions .btn { width: 100%; min-width: unset; }
}

/* ── Toggle Switch ── */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

/* -- Premium Dashboard Overhaul -- */
.dash-glass-card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 10px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); transition: all 0.4s ease; overflow: hidden; position: relative; }
[data-theme=" dark\] .dash-glass-card { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
.dash-glass-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(99, 91, 255, 0.15); border-color: rgba(99, 91, 255, 0.3); }
.dash-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 30px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.dash-badge.active { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.dash-badge.active::before { content: \\; width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 10px #10b981; animation: pulse 2s infinite; }
.dash-badge.expired { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.btn-glass { position: relative; overflow: hidden; z-index: 1; }
.btn-glass::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: 0.5s; z-index: -1; }
.btn-glass:hover::before { left: 100%; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* -- Mobile Alignment Fixes -- */
@media (max-width: 768px) {
  .dash-glass-card { padding: 16px !important; }
  .site-card-actions { width: 100% !important; justify-content: center !important; flex-wrap: wrap !important; gap: 8px !important; }
  .site-card-actions a, .site-card-actions button { flex: 1 1 calc(50% - 5px) !important; min-width: calc(50% - 5px) !important; margin-bottom: 0; }
  .share-details-wrap { flex-direction: column !important; }
  .share-details-left { min-width: 100% !important; }
  #qrContainer { width: 100% !important; margin-top: 16px !important; }
  .subscription-main-card { transform: scale(1) !important; padding: 20px 15px !important; }
  .upgrade-plan-card { transform: scale(0.95) !important; margin-bottom: 8px !important; }
}

