@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #0b0f19;
  --bg-gradient: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.14) 0%, transparent 50%),
                 radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
                 radial-gradient(circle at 15% 85%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
                 #0b0f19;
  --card-bg: rgba(18, 25, 41, 0.78);
  --card-bg-solid: #131b2e;
  --card-border: rgba(255, 255, 255, 0.09);
  --card-border-hover: rgba(99, 102, 241, 0.45);
  --card-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --card-shadow-3d: 0 14px 40px -6px rgba(0, 0, 0, 0.65), 0 0 28px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.09);
  
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 35%, #ec4899 70%, #6366f1 100%);
  --primary-glow: 0 0 20px rgba(99, 102, 241, 0.4);
  
  --secondary-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, textarea, select {
  font-family: inherit;
}

/* Dynamic Animated Running Gradients */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899, #06b6d4, #6366f1);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 5s ease infinite;
  display: inline-block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0b0f19;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Layout - Generous width with balanced padding */
.container {
  width: min(1320px, 94%);
  margin: 0 auto;
  padding: 0 20px;
}

main {
  flex: 1;
}

/* 3D Glass Navbar */
.nav {
  height: 64px;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
  padding: 4px 6px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-gradient);
  background-size: 200% 200%;
  animation: gradientMove 4s ease infinite;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.4);
  color: #fff;
  font-size: 15px;
  margin-right: 2px;
}

.brand span {
  background: var(--primary-gradient);
  background-size: 200% 200%;
  animation: gradientMove 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.navlinks {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
}

.navlink {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: var(--transition);
}

.navlink:hover, .navlink.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-btn {
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
}

.nav-btn:hover {
  background: var(--primary-gradient);
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
  color: #fff;
  border-color: transparent;
  box-shadow: var(--primary-glow);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--card-border);
  padding: 14px;
  flex-direction: column;
  gap: 6px;
  z-index: 99;
  box-shadow: 0 14px 30px rgba(0,0,0,0.75);
  animation: slideDown 0.2s ease-out;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a, .mobile-nav button {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13.5px;
  text-align: left;
  border: none;
}

.mobile-nav a:hover, .mobile-nav a.active, .mobile-nav button:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #fff;
}

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

/* Hero Section */
.hero {
  padding: 18px 0 12px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: #c7d2fe;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
}

.hero h1, .hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
  color: #fff;
  white-space: nowrap;
}

.hero h1 span, .hero-title span {
  background: var(--primary-gradient);
  background-size: 200% 200%;
  animation: gradientMove 4s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
}

/* 3D Glass Cards */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.card-3d {
  background: linear-gradient(180deg, rgba(22, 30, 48, 0.78) 0%, rgba(13, 18, 30, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--card-shadow-3d);
}

.card h1, .card h2, .card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: #fff;
}

.card h1 { font-size: 22px; }
.card h2 { font-size: 18px; }
.card h3 { font-size: 15.5px; }

.grid {
  display: grid;
  gap: 18px;
}

.grid2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Home Feature Strip */
.features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.feature-mini-card {
  background: rgba(18, 25, 41, 0.65);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.feature-mini-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(18, 25, 41, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-mini-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

/* 2-Column Split Auth Container - Full Container Width matching Global Grid */
.auth-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  margin: 16px 0 36px;
  min-height: auto;
}

.auth-showcase {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 28px;
  background: linear-gradient(145deg, rgba(22, 30, 48, 0.82) 0%, rgba(13, 18, 30, 0.82) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: var(--card-shadow-3d);
}

.auth-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 4px 0;
}

.auth-stat-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  text-align: center;
}

.auth-stat-mini .num {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-stat-mini .lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.auth-trust-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  color: #c7d2fe;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.benefit-item:hover {
  background: rgba(99, 102, 241, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(2px);
}

.benefit-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 15px;
  flex-shrink: 0;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.pulse-dot.active {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

.pulse-dot.expired {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}

/* Share Tabs with 3D Pill Slider */
.share-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 4px;
  background: rgba(11, 15, 25, 0.65);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.tab {
  flex: 1;
  min-width: 90px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition);
}

.tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.tab.active {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 3px 12px rgba(99, 102, 241, 0.35);
}

/* Form Fields */
.field {
  margin-bottom: 14px;
}

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

.field label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  display: block;
}

.field .char-count {
  font-size: 11.5px;
  color: var(--text-dark);
  font-weight: 600;
}

.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 8px 13px;
  font: inherit;
  font-size: 13.5px;
  outline: none;
  background: rgba(11, 15, 25, 0.6);
  color: #fff;
  transition: var(--transition);
}

.field input, .field select {
  height: 40px;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
  background: rgba(11, 15, 25, 0.85);
}

.field input::placeholder, .field textarea::placeholder {
  color: #475569;
}

textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

/* Password Input with Visibility Toggle */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  padding-right: 38px;
}

.password-toggle {
  position: absolute;
  right: 11px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  transition: var(--transition);
}

.password-toggle:hover {
  color: #fff;
}

/* Drag & Drop File Zone */
.dropzone {
  border: 1.5px dashed rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  background: rgba(99, 102, 241, 0.02);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.12);
}

.dropzone-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #818cf8;
}

.dropzone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.file-preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* Multi-file preview container & pills */
.file-preview-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.file-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  font-size: 11.5px;
  color: #a5b4fc;
  font-weight: 600;
}

.file-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #fff;
  gap: 10px;
  transition: var(--transition);
  position: relative;
  z-index: 12;
  pointer-events: auto;
}

.file-preview-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(99, 102, 241, 0.3);
}

.file-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.file-item-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.file-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.file-item-size {
  font-size: 11.5px;
  color: var(--text-muted);
}

.file-item-remove {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  line-height: 1;
  transition: var(--transition);
  position: relative;
  z-index: 25;
  pointer-events: auto;
}

.file-item-remove:hover {
  background: rgba(239, 68, 68, 0.35);
  border-color: #ef4444;
  color: #fff;
  transform: scale(1.1);
}

#dropzoneProgressBar {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

#dropzoneBarFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #34d399);
  background-size: 200% 100%;
  animation: gradientMove 2.5s ease infinite;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.8), 0 0 4px rgba(236, 72, 153, 0.6);
  transition: width 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Upload & Download Progress HUD */
.upload-hud {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  animation: fadeIn 0.25s ease-out;
}

.upload-hud.hidden {
  display: none !important;
}

.upload-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.upload-hud-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.upload-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-top-color: #818cf8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

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

.btn-cancel-upload {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cancel-upload:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
  border-color: #ef4444;
}

.progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress div, #uploadBarFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  background-size: 200% 100%;
  animation: shimmerProgress 2s linear infinite;
  border-radius: 999px;
  transition: width 0.12s ease-out;
}

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

.upload-hud-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.upload-stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.upload-stat-item strong {
  color: #a5b4fc;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 18px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  background: #1e293b;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  position: relative;
  height: 40px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: var(--primary-gradient);
  box-shadow: 0 3px 12px rgba(99, 102, 241, 0.35);
}

.btn.primary:hover {
  box-shadow: 0 5px 18px rgba(99, 102, 241, 0.5);
  filter: brightness(1.06);
}

.btn.ultra {
  background: var(--accent-gradient);
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}

.btn.ultra:hover {
  box-shadow: 0 5px 18px rgba(245, 158, 11, 0.5);
  filter: brightness(1.06);
}

.btn.light {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  color: #fff;
}

.btn.light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 3px 12px rgba(239, 68, 68, 0.3);
}

.btn.danger:hover {
  box-shadow: 0 5px 16px rgba(239, 68, 68, 0.45);
}

.btn.success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
}

.btn.sm {
  padding: 5px 12px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  height: 30px;
}

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

.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}

/* Result Card */
.result {
  margin-top: 16px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(180deg, rgba(22, 30, 48, 0.88) 0%, rgba(13, 18, 30, 0.88) 100%);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.2s ease-out;
}

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

.code-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin: 12px 0;
}

.code {
  font-family: 'Outfit', monospace;
  font-size: 24px;
  letter-spacing: 3px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.qr-box {
  display: inline-flex;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.badge.ultra {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge.premium {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.18) 0%, rgba(139, 92, 246, 0.18) 100%);
  color: #f472b6;
  border: 1px solid rgba(244, 114, 182, 0.35);
}

.badge.free {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid var(--card-border);
}

.badge.guest {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.badge.pending {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge.approved {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge.rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Feedback Status Badges */
.badge.new {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.badge.in_progress {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.badge.resolved {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge.closed {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Priority Badges */
.badge.urgent {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
  animation: pulseGlow 2s infinite;
}

.badge.high {
  background: rgba(249, 115, 22, 0.18);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.38);
}

.badge.normal {
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge.low {
  background: rgba(100, 116, 139, 0.14);
  color: #cbd5e1;
  border: 1px solid rgba(100, 116, 139, 0.25);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 10px 2px rgba(239, 68, 68, 0.3); }
}

/* Password Strength & Requirements UI */
.password-strength-wrap {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strength-bar-bg {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.strength-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.strength-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dark);
}

.password-requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(11, 15, 25, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--text-muted);
}

.req-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.req-item.valid {
  color: #34d399;
}

.req-item.valid svg {
  color: #34d399;
}

.req-item svg {
  width: 12px;
  height: 12px;
  color: #64748b;
  flex-shrink: 0;
}

/* Auth Trust Badges Strip */
.auth-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.auth-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Support & Feedback Page Layout - Full Container Width */
.support-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  width: 100%;
  margin: 16px 0 40px;
}

.support-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(18, 25, 41, 0.65);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.channel-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(18, 25, 41, 0.85);
  transform: translateY(-2px);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-size: 18px;
  flex-shrink: 0;
}

.pill-select-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.pill-option {
  position: relative;
}

.pill-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pill-option input[type="radio"]:checked + .pill-label {
  background: rgba(99, 102, 241, 0.18);
  border-color: #818cf8;
  color: #fff;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}

.pill-label:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Progress Bar */
.progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 10px;
  display: none;
}

.progress div {
  height: 100%;
  width: 0%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width 0.15s ease-out;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  background: rgba(11, 15, 25, 0.45);
}

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

.table th {
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--card-border);
}

.table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 13px;
  vertical-align: middle;
}

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

/* Pricing Card Component */
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.pricing-card.popular {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 10px 32px -6px rgba(99, 102, 241, 0.22), 0 0 0 1px rgba(99, 102, 241, 0.25);
}

.pricing-card.ultra-card {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 32px -6px rgba(245, 158, 11, 0.22), 0 0 0 1px rgba(245, 158, 11, 0.25);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
}

.pricing-badge.ultra-badge {
  background: var(--accent-gradient);
}

.price-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  margin: 12px 0;
  color: #fff;
}

.price-tag span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.feature-item.highlight {
  color: #fff;
  font-weight: 600;
}

.feature-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #34d399;
}

/* Stats Metric Cards */
.stat-card {
  background: linear-gradient(135deg, rgba(24, 32, 50, 0.55) 0%, rgba(14, 20, 32, 0.55) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #a5b4fc;
}

.stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

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

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.modal-box {
  background: var(--card-bg-solid);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  max-width: 500px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Toast Notification System (Top Right) */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  width: calc(100% - 40px);
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
  color: #f8fafc;
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
  opacity: 0;
  transform: translateX(40px) scale(0.96);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.toast-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.toast-item.toast-hiding {
  opacity: 0;
  transform: translateX(30px) scale(0.92);
}

.toast-icon {
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-content {
  flex: 1;
  word-break: break-word;
}

.toast-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
  margin-top: 1px;
}

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

/* Themed Toasts */
.toast-item.toast-error {
  background: rgba(24, 14, 20, 0.96);
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(239, 68, 68, 0.2);
  color: #fee2e2;
}
.toast-item.toast-error .toast-icon {
  color: #f87171;
}

.toast-item.toast-success {
  background: rgba(13, 27, 24, 0.96);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.2);
  color: #d1fae5;
}
.toast-item.toast-success .toast-icon {
  color: #34d399;
}

.toast-item.toast-info {
  background: rgba(16, 21, 38, 0.96);
  border: 1px solid rgba(99, 102, 241, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.2);
  color: #e0e7ff;
}
.toast-item.toast-info .toast-icon {
  color: #818cf8;
}

.toast-item.toast-warning {
  background: rgba(28, 22, 14, 0.96);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.2);
  color: #fef3c7;
}
.toast-item.toast-warning .toast-icon {
  color: #fbbf24;
}

/* Fallback/Legacy #toast element */
.toast {
  position: fixed;
  right: 20px;
  top: 20px;
  background: rgba(18, 25, 41, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 14px rgba(99, 102, 241, 0.18);
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 99999;
  animation: slideRight 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  display: flex;
}

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

/* Notice Banners */
.notice {
  padding: 7px 12px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: #c7d2fe;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notice.error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.22);
  color: #f87171;
}

.notice.success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.22);
  color: #34d399;
}

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

.hidden {
  display: none !important;
}

/* Modern SaaS Multi-Column Footer */
.site-footer {
  margin-top: 56px;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.7) 0%, rgba(6, 9, 16, 0.99) 100%);
  border-top: 1px solid var(--card-border);
  padding: 52px 0 28px;
  color: var(--text-muted);
  font-size: 13px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), rgba(236, 72, 153, 0.3), transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.05fr 1.15fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 21px;
  color: #fff;
  letter-spacing: -0.3px;
}

.footer-brand-title span {
  color: #818cf8;
}

.footer-brand-title .brand-icon {
  margin-right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #34d399;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  width: fit-content;
  letter-spacing: 0.2px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.6; transform: scale(0.9); }
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #f8fafc;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1.4;
}

.footer-links a svg, .footer-links a i {
  color: #818cf8;
  flex-shrink: 0;
  transition: var(--transition);
  stroke-width: 2;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-links a:hover svg, .footer-links a:hover i {
  color: #c7d2fe;
  transform: scale(1.15);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-dark);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* Generic Icon Utilities */
.icon-svg, .btn svg, .tab svg, .navlink svg, .mobile-nav svg, .badge svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Fallback simple footer */
.footer {
  padding: 20px 0 16px;
  border-top: 1px solid var(--card-border);
  color: var(--text-dark);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  margin-top: 24px;
}

.footer a {
  color: var(--text-muted);
  font-weight: 600;
}

/* FAQ Accordion Styles */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.faq-card {
  background: rgba(18, 25, 41, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.faq-card.open {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.faq-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  transition: var(--transition);
}

.faq-header:hover {
  color: #a5b4fc;
}

.faq-toggle-icon {
  font-size: 16px;
  color: #818cf8;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-card.open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.3s ease;
  padding: 0 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.faq-card.open .faq-body {
  max-height: 800px;
  opacity: 1;
  padding: 0 18px 16px 18px;
}

/* Security Architecture & Steps */
.flow-step-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: var(--transition);
}

.flow-step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.flow-step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.security-pillar {
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.security-pillar strong {
  color: #fff;
}

/* Admin Panel Modern SaaS Tabs & Tooling */
.admin-tab-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.admin-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(99, 102, 241, 0.3);
}

.admin-tab.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: #818cf8;
  color: #fff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.25);
}

.admin-tab-badge {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-tab-content {
  display: none;
  animation: fadeIn 0.2s ease-out;
}

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

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

.plan-admin-card {
  background: rgba(18, 25, 41, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  transition: var(--transition);
}

.plan-admin-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--card-shadow-3d);
}

.plan-admin-card.inactive {
  opacity: 0.6;
  border-style: dashed;
}

/* Modal Dialogs */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 22, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-box {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}

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

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Announcement Banner */
.announcement-banner {
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 9px 16px;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Media Queries */
@media (max-width: 900px) {
  .grid2, .grid3, .grid4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .auth-split, .support-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: auto;
    margin: 14px auto;
  }
  .navlinks {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 24px;
  }
  .card {
    padding: 16px 18px;
  }
  .code {
    font-size: 18px;
    letter-spacing: 2px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* =========================================================
   GLOBAL TOP PROGRESS BAR & ADVANCED TRANSFER HUD STYLES
   ========================================================= */

/* Top Global Loading Bar (For Page Transitions & API Requests) */
.top-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #34d399);
  background-size: 200% 100%;
  animation: gradientMove 2s ease infinite;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.9), 0 0 4px rgba(236, 72, 153, 0.6);
  z-index: 999999;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
  opacity: 0;
}

.top-progress-bar.active {
  opacity: 1;
}

/* Base Progress Bar */
.progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.progress div, #uploadBarFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #34d399);
  background-size: 200% 100%;
  animation: gradientMove 3s ease infinite;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  transition: width 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Upload HUD Container inside Dropzone */
.upload-hud {
  margin-top: 14px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(99, 102, 241, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: hudFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.upload-hud.hidden {
  display: none !important;
}

.upload-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.upload-hud-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.upload-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #818cf8;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

.btn-cancel-upload {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-cancel-upload:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fff;
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

.upload-hud-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 12px;
  padding-top: 4px;
}

.upload-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.upload-stat-item strong {
  color: #e2e8f0;
  font-weight: 700;
  font-size: 12.5px;
}

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