/* ==========================================================================
   MidiDown Premium Web Panel CSS
   Theme: Cyber Dark / Glassmorphism / Neon Cyan & Purple Glows
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #07080B;
  --bg-surface: #0C0D13;
  --bg-card: rgba(18, 20, 26, 0.45);
  
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --text-dark: #6B7280;
  
  --neon-cyan: #06B6D4;
  --neon-cyan-dark: #0891B2;
  --neon-cyan-glow: rgba(6, 182, 212, 0.35);
  
  --neon-purple: #8B5CF6;
  --neon-purple-dark: #7C3AED;
  --neon-purple-glow: rgba(139, 92, 246, 0.35);
  
  --success: #10B981;
  --success-glow: rgba(16, 185, 129, 0.2);
  --error: #EF4444;
  --error-glow: rgba(239, 68, 68, 0.2);
  --warning: #F59E0B;
  
  --border-light: rgba(255, 255, 255, 0.05);
  --border-glow-purple: rgba(139, 92, 246, 0.25);
  --border-glow-cyan: rgba(6, 182, 212, 0.25);
  
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Cybergrid Background Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(18, 20, 26, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 26, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  z-index: -2;
  pointer-events: none;
}

/* Neon Blur backdrops */
.neon-backdrop-purple {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.neon-backdrop-cyan {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #FFF;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--neon-purple);
  text-shadow: 0 0 8px var(--neon-purple-glow);
}

/* Customized Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(7, 8, 11, 0.8);
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  border: 2px solid rgba(7, 8, 11, 0.8);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.6);
  box-shadow: 0 0 10px var(--neon-cyan-glow);
}

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

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  background: rgba(18, 20, 26, 0.6);
  border: 1px solid var(--border-glow-purple);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.15), 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.glass-card-hover-cyan:hover {
  background: rgba(18, 20, 26, 0.6);
  border: 1px solid var(--border-glow-cyan);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.15), 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

/* Neon Borders & Text */
.neon-border-cyan {
  border: 1px solid rgba(6, 182, 212, 0.25);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.12);
}

.neon-border-purple {
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.12);
}

.neon-text-cyan {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.neon-text-purple {
  color: var(--neon-purple) !important;
  text-shadow: 0 0 8px var(--neon-purple-glow);
}

/* Brand Logo Gradient */
.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4), 0 0 30px rgba(6, 182, 212, 0.2);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  color: white;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(to right, #FFF 60%, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons and Interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #0891B2 100%);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-cyan:hover:not(:disabled) {
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.55), 0 0 10px rgba(6, 182, 212, 0.2);
  transform: translateY(-1px);
}

.btn-purple {
  background: linear-gradient(135deg, var(--neon-purple) 0%, #7C3AED 100%);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-purple:hover:not(:disabled) {
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.55), 0 0 10px rgba(139, 92, 246, 0.2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.btn-outline:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: #FFF;
}

.btn-outline-cyan {
  background: rgba(6, 182, 212, 0.05);
  color: var(--neon-cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.btn-outline-cyan:hover:not(:disabled) {
  border-color: var(--neon-cyan);
  background: rgba(6, 182, 212, 0.1);
  color: white;
}

.btn-outline-purple {
  background: rgba(139, 92, 246, 0.05);
  color: var(--neon-purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.btn-outline-purple:hover:not(:disabled) {
  border-color: var(--neon-purple);
  background: rgba(139, 92, 246, 0.1);
  color: white;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Inputs and Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-group label svg {
  width: 14px;
  height: 14px;
}

.form-control {
  background: #0C0D13;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 16px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.form-control-mono {
  font-family: monospace;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

textarea.form-control {
  resize: none;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Alert Boxes */
.alert {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34D399;
}

.alert-error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: #F87171;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  color: #FBBF24;
}

.alert-info {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.25);
  color: #67E8F9;
}

/* Public Portal Styles */
.header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  background: rgba(7, 8, 11, 0.6);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(to right, #FFF 40%, rgba(255,255,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Download Grid */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.download-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

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

.download-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--neon-cyan);
}

.download-details h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.download-details p {
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.download-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(7, 8, 11, 0.4);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.spec-row span:first-child {
  color: var(--text-muted);
}

.spec-row span:last-child {
  color: #FFF;
  font-weight: 600;
}

/* Interactive Utility Section */
.util-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .util-section {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

.util-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.util-card-header {
  border-b: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.util-card-header h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.util-card-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Admin Dashboard SPA Layout */
.admin-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #090A0E;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex-shrink: 0;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 40px;
  flex-grow: 1;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
}

.menu-item svg {
  width: 18px;
  height: 18px;
}

.menu-item:hover, .menu-item.active {
  color: white;
  background: rgba(255, 255, 255, 0.03);
}

.menu-item.active {
  border-left: 3px solid var(--neon-purple);
  padding-left: 13px;
  background: rgba(139, 92, 246, 0.05);
}

.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.main-content {
  flex-grow: 1;
  padding: 40px;
  overflow-y: auto;
  max-width: calc(100% - 260px);
}

@media (max-width: 1024px) {
  .admin-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 16px;
  }
  .sidebar-menu {
    flex-direction: row;
    margin-top: 20px;
    overflow-x: auto;
  }
  .main-content {
    max-width: 100%;
    padding: 24px;
  }
}

/* Dashboard Widgets */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.widget-card {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-info h3 {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 6px;
}

.widget-number {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: #FFF;
  line-height: 1.1;
}

.widget-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.widget-cyan .widget-icon {
  background: rgba(6, 182, 212, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.widget-purple .widget-icon {
  background: rgba(139, 92, 246, 0.08);
  color: var(--neon-purple);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.widget-green .widget-icon {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Data Tables */
.table-container {
  overflow-x: auto;
  margin-top: 16px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.data-table th {
  background: rgba(255, 255, 255, 0.01);
  padding: 16px;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
}

.data-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  vertical-align: middle;
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

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

.badge-expired {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border-color: rgba(239, 68, 68, 0.15);
}

.badge-pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.15);
}

.badge-plan {
  background: rgba(139, 92, 246, 0.1);
  color: var(--neon-purple);
  border-color: rgba(139, 92, 246, 0.15);
}

/* Modal Windows */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 8, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  animation: fadeIn 0.25s ease-out;
}

.modal-container {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: scaleUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #FFF;
}

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

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out;
}

/* Table Controls */
.table-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-input-box {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.search-input-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dark);
  width: 16px;
  height: 16px;
}

.search-input-box .form-control {
  padding-left: 42px;
}

/* Key Display Block */
.license-display-box {
  background: #06070a;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  word-break: break-all;
  max-height: 120px;
  overflow-y: auto;
  user-select: all;
}

/* Installer Visual Screen */
.installer-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.installer-card {
  width: 100%;
  max-width: 540px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.requirement-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
}

.requirement-status {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-ok { color: var(--success); }
.status-fail { color: var(--error); }

/* Steps indicator */
.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 8px;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-light);
  z-index: 1;
  transform: translateY(-50%);
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  color: var(--text-dark);
  transition: all 0.3s;
}

.step-circle.active {
  border-color: var(--neon-purple);
  color: white;
  box-shadow: 0 0 10px var(--neon-purple-glow);
}

.step-circle.completed {
  border-color: var(--neon-cyan);
  background: var(--neon-cyan);
  color: black;
  box-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* Dashboard Chart Placeholders / Stats */
.dashboard-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

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

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
}

.activity-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.activity-user {
  font-weight: 700;
  color: #FFF;
}

.activity-desc {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.activity-time {
  font-size: 0.75rem;
  color: var(--text-dark);
}

/* Utility layout aids */
.flex-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gap-10 { gap: 10px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.w-full { width: 100%; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.cursor-pointer { cursor: pointer; }

/* ==========================================================================
   PREMIUM LANDING PAGE & DASHBOARD IMPROVEMENTS
   ========================================================================== */

/* Features Grid */
.features-section {
  padding: 60px 0;
  text-align: center;
}

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

.feature-card {
  padding: 32px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-purple);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.feature-card.cyan-card .feature-icon {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.15);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 4px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-section {
  padding: 80px 0;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
  align-items: stretch;
}

.pricing-card {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.pricing-card.popular {
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 40px 0 rgba(139, 92, 246, 0.15);
  background: rgba(18, 20, 26, 0.65);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-cyan) 100%);
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 6px 36px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFF;
}

.pricing-card .price-tag {
  margin: 24px 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-title);
}

.pricing-card .price-currency {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
}

.pricing-card .price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFF;
  line-height: 1;
}

.pricing-card .price-period {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-left: 6px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* Service Tabbed Section */
.service-tabs-wrapper {
  margin: 60px 0 100px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  background: rgba(18, 20, 26, 0.4);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-btn svg {
  width: 16px;
  height: 16px;
}

.tab-btn:hover {
  color: #FFF;
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.tab-btn.active.cyan-btn {
  color: var(--neon-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.tab-btn.active.purple-btn {
  color: var(--neon-purple);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.tab-content-item {
  display: none;
  animation: fadeIn 0.35s ease-out;
}

.tab-content-item.active {
  display: block;
}

/* Floating Glow Blobs */
.glowing-blob-1, .glowing-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  animation: pulseBlob 12s infinite alternate;
}

.glowing-blob-1 {
  top: 15%;
  right: 10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--neon-purple-glow) 0%, transparent 70%);
}

.glowing-blob-2 {
  bottom: 15%;
  left: 5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, var(--neon-cyan-glow) 0%, transparent 70%);
}

@keyframes pulseBlob {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  100% { transform: scale(1.15) translate(3%, 5%); opacity: 0.5; }
}

/* Elegant Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.toast-notification {
  pointer-events: auto;
  min-width: 320px;
  max-width: 400px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(12, 13, 19, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: translateX(120%);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.toast-notification.active {
  transform: translateX(0);
}

.toast-notification.success {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.toast-notification.error {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

.toast-notification.info {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.toast-notification.success .toast-icon { color: var(--success); }
.toast-notification.error .toast-icon { color: var(--error); }
.toast-notification.info .toast-icon { color: var(--neon-cyan); }

.toast-message {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.4;
}

/* User Avatar Helper */
.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* Modern Input glowing outline */
.form-control:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.form-control-purple:focus {
  border-color: var(--neon-purple);
  box-shadow: 0 0 15px var(--neon-purple-glow);
}

/* Beautiful custom overlay scroll */
.modal-container::-webkit-scrollbar {
  width: 6px;
}
.modal-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.modal-container::-webkit-scrollbar-thumb:hover {
  background: var(--neon-purple);
}

