/* Modern Minimalist Matte Gray, Black & White Design System */
:root {
  --bg-primary: #0a0a0a;          /* Mat Siyah Arka Plan */
  --bg-secondary: #121212;        /* Koyu Mat Gri */
  --bg-card: rgba(22, 22, 22, 0.9);/* Şık Mat Kart Gri */
  --bg-card-hover: rgba(32, 32, 32, 0.95);
  --border-color: rgba(255, 255, 255, 0.12); /* İnce Beyaz Çerçeve */
  --border-accent: rgba(255, 255, 255, 0.3);

  --text-primary: #ffffff;        /* Parlaq Saf Beyaz */
  --text-secondary: #d1d5db;      /* Açık Mat Gri */
  --text-muted: #808080;          /* Orta Mat Gri */

  --accent-purple: #ffffff;
  --accent-indigo: #e5e5e5;
  --accent-blue: #d4d4d4;
  --accent-emerald: #10b981;      /* Durum göstergesi yeşil */
  --accent-amber: #f59e0b;
  --accent-rose: #ef4444;

  --glow-indigo: rgba(255, 255, 255, 0.15);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

#silk-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

#particles-canvas, #background-beams-canvas {
  display: none !important;
}

body {
  font-family: var(--font-family);
  background-color: #080808;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 255, 255, 0.03) 0px, transparent 50%);
}

.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* Toast Notifications (Bottom Right) */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 400px;
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}

.toast-success { border-left: 4px solid var(--accent-emerald); }
.toast-success .toast-icon { color: var(--accent-emerald); }

.toast-error { border-left: 4px solid var(--accent-rose); }
.toast-error .toast-icon { color: var(--accent-rose); }

.toast-info { border-left: 4px solid var(--accent-blue); }
.toast-info .toast-icon { color: var(--accent-blue); }

.toast-warn { border-left: 4px solid var(--accent-amber); }
.toast-warn .toast-icon { color: var(--accent-amber); }

.toast-icon {
  font-size: 18px;
  margin-top: 2px;
}

.toast-body h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.toast-body p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.toast-close {
  margin-left: auto;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 14px;
}
.toast-close:hover { color: var(--text-primary); }

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

.toast-fadeout {
  transform: translateX(100%);
  opacity: 0;
}

/* ═══════════════════════════════════════
   SIDEBAR — Premium Redesign
   ═══════════════════════════════════════ */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255,255,255,0.18), 0 0 0 0 rgba(255,255,255,0.12); }
  50%       { box-shadow: 0 0 22px rgba(255,255,255,0.32), 0 0 0 6px rgba(255,255,255,0.04); }
}
@keyframes navSlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.sidebar {
  width: 280px;
  background: linear-gradient(175deg, #181818 0%, #111111 45%, #0a0a0a 100%);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255,255,255,0.08);
  padding: 24px 14px;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  z-index: 100;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

/* Subtle inner glow on right edge */
.sidebar::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255,255,255,0.12) 30%,
    rgba(255,255,255,0.06) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Brand ──────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 22px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000000;
  flex-shrink: 0;
  animation: logoPulse 3s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.brand-logo:hover {
  transform: rotate(-8deg) scale(1.08);
}

.brand-text h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff 0%, #b0b0b0 60%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.brand-text span {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.7;
}

/* ── Nav Menu ───────────────────────── */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 18px;
  flex: 1;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }

/* Nav Section Label */
.nav-section-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  padding: 14px 14px 4px;
  user-select: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
  width: 100%;
  animation: navSlideIn 0.3s ease both;
}

/* Hover slide shimmer fill */
.nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  border-radius: 10px;
}

.nav-item:hover::before {
  transform: translateX(100%);
}

.nav-item i {
  font-size: 15px;
  width: 18px;
  text-align: center;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  transform: translateX(2px);
}

.nav-item:hover i {
  transform: scale(1.15);
}

.nav-item.active {
  background: rgba(255,255,255,0.09);
  color: #ffffff;
  font-weight: 650;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.1),
    0 2px 12px rgba(0,0,0,0.3);
}

/* Left glow bar for active item */
.nav-item.active::after {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  border-radius: 0 3px 3px 0;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255,255,255,0.6), 0 0 20px rgba(255,255,255,0.2);
}

.nav-item.active i {
  color: #ffffff;
}

/* ── Badge ──────────────────────────── */
.badge {
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 20px;
  margin-left: auto;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.badge-accent {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ── User Status Card ───────────────── */
.user-status-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  margin-top: 4px;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.user-status-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.user-status-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.13);
}

.avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.avatar-wrapper img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s ease;
}

.user-status-card:hover .avatar-wrapper img {
  border-color: rgba(255,255,255,0.25);
}

.status-indicator {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  position: absolute;
  bottom: 0;
  right: 0;
  border: 2px solid #111111;
}

.status-indicator.online  { background-color: var(--accent-emerald); box-shadow: 0 0 8px var(--accent-emerald); }
.status-indicator.offline { background-color: #444; }

.user-details h4 {
  font-size: 13px;
  font-weight: 650;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.user-details span {
  font-size: 10.5px;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

/* Main Content */
.main-content {
  margin-left: 280px;
  flex: 1;
  padding: 32px 40px;
  max-width: 1400px;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.collapsed ~ .main-content {
  margin-left: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.page-title h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.page-title p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bot-switch-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

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

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #262626;
  transition: .3s;
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider { background-color: #ffffff; }
input:checked + .slider:before { transform: translateX(20px); background-color: #000000; }

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover { background: #e5e5e5; transform: translateY(-1px); }

.btn-secondary {
  background: #1c1c1c;
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover { background: #262626; }

.btn-accent {
  background: #27272a;
  color: white;
  border: 1px solid #3f3f46;
}

.btn-danger { background: #dc2626; color: white; }
.btn-success { background: #16a34a; color: white; }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-primary); }

.btn-sm { padding: 6px 12px; font-size: 12px; }

/* Grid Layouts */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #1c1c1c;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.icon-green { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }

.stat-info span { font-size: 12px; color: var(--text-secondary); }
.stat-info h3 { font-size: 20px; font-weight: 700; margin-top: 2px; }

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

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

/* Voice Toggles Grid */
.voice-toggles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.voice-toggle-btn {
  justify-content: center;
  padding: 12px;
}

.voice-toggle-btn.active {
  background: var(--accent-purple);
  color: white;
  border-color: var(--accent-purple);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

/* Cards & Panels */
.panel-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.card-header h3 {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-body {
  padding: 24px;
}

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

/* Form Controls */
.form-group {
  margin-bottom: 18px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #141414;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.input-with-button {
  display: flex;
  gap: 8px;
}

.form-help {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Soundpad */
.soundpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.soundpad-btn {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.soundpad-btn:hover {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--glow-indigo);
}

/* Tag Lists */
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag-item {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag-item .remove-tag {
  cursor: pointer;
  color: #f87171;
}

/* Console Box */
.console-box {
  background: #07090e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  height: 420px;
  overflow-y: auto;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
}

.console-line { margin-bottom: 4px; }
.line-info { color: #38bdf8; }
.line-success { color: #4ade80; }
.line-warn { color: #fbbf24; }
.line-error { color: #f87171; }

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tab-page {
  display: none;
}

.tab-page.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 20px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 20px; }
.w-100 { width: 100%; }
.divider { border: 0; border-top: 1px solid var(--border-color); margin: 20px 0; }

/* ═══════════════════════════════════════
   LICENSE CARDS
   ═══════════════════════════════════════ */

/* License badge (header right) */
.license-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.4s ease;
}

.license-badge.valid {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.license-badge.invalid {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.license-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

/* License card border glow */
.license-status-card {
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.license-status-card.valid {
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.05);
}

.license-status-card.invalid {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.05);
}

.license-status-card.warning {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.05);
}

/* Info rows */
.license-info-row {
  display: flex;
  gap: 20px;
}

.license-info-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.license-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

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

/* Error box */
.license-error-box {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #f87171;
}

/* Days badge */
.license-days-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.4s ease;
}

.license-days-badge.green { background: rgba(16,185,129,0.15); color: #10b981; border-color: rgba(16,185,129,0.3); }
.license-days-badge.yellow { background: rgba(245,158,11,0.15); color: #f59e0b; border-color: rgba(245,158,11,0.3); }
.license-days-badge.red { background: rgba(239,68,68,0.15); color: #ef4444; border-color: rgba(239,68,68,0.3); }

/* Countdown display */
.countdown-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 20px;
}

.countdown-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
}

.countdown-number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  transition: color 0.4s ease;
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.countdown-number.green { color: #10b981; text-shadow: 0 0 20px rgba(16,185,129,0.3); }
.countdown-number.yellow { color: #f59e0b; text-shadow: 0 0 20px rgba(245,158,11,0.3); }
.countdown-number.red {
  color: #ef4444;
  text-shadow: 0 0 20px rgba(239,68,68,0.3);
  animation: pulseRed 1.5s ease-in-out infinite;
}

@keyframes pulseRed {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.countdown-sep {
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  padding-bottom: 18px;
  line-height: 1;
}

.countdown-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Progress bar */
.license-progress-wrap {
  margin-top: 4px;
}

.license-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}

.license-progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: width 1s ease, background 0.5s ease;
}

.license-progress-fill.yellow {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.license-progress-fill.red {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.license-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   🌟 ACETERNITY UI & LANDING PAGE COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1. Sticky Banner */
.sticky-banner {
  width: 100%;
  background: linear-gradient(135deg, #2563eb, #3b82f6, #4f46e5);
  color: #ffffff;
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}
.sticky-banner-content {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
.banner-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.banner-link:hover {
  background: #ffffff;
  color: #2563eb;
}

/* 2. Resizable Floating Capsule Navbar (Dark Glassmorphism) */
.resizable-navbar {
  position: sticky;
  top: 16px;
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 980px;
  margin: 12px auto 20px auto;
  background: rgba(18, 18, 24, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 8px 12px 8px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: #ffffff;
  cursor: pointer;
}
.logo-icon {
  color: #a78bfa;
  font-size: 20px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-link {
  position: relative;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #09090b;
  border: none;
  border-radius: 9999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}
.nav-cta-btn:hover {
  transform: translateY(-1px);
  background: #e4e4e7;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
  color: #09090b;
}
.nav-discord-btn {
  background: #5865F2;
  color: #ffffff;
}
.nav-discord-btn:hover {
  background: #4752C4;
  color: #ffffff;
}
.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}

/* StrokeText Component Styling (React Bits) */
.stroke-text-wrapper {
  margin-bottom: 15px;
}
.stroke-text {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  line-height: 0;
}
.stroke-text--hover {
  cursor: pointer;
}
.stroke-text__svg {
  display: block;
  width: 100%;
  height: 120px;
}
.stroke-text__stroke,
.stroke-text__fill {
  user-select: none;
  font-family: 'Inter', sans-serif;
}

/* FoldText Component Styling (React Bits) */
.fold-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fold-text-color, #f7f2e8);
  font-size: var(--fold-text-font-size, 38px);
  font-weight: var(--fold-text-font-weight, 800);
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: normal;
  text-align: center;
}

.fold-text-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fold-text-visual {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.fold-text-line {
  display: inline-block;
}

.fold-text-whitespace {
  display: inline-block;
}

.fold-text-segment {
  display: inline-block;
  line-height: inherit;
  perspective: var(--fold-perspective, 700px);
  transform-style: preserve-3d;
  vertical-align: baseline;
}

.fold-text-segment[data-fold-split='line'] {
  display: block;
}

.fold-text-piece {
  position: relative;
  display: inline-block;
  color: inherit;
  line-height: inherit;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.fold-text-piece::after {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .fold-text-piece {
    transform: none !important;
  }

  .fold-text-piece::after {
    opacity: 0 !important;
  }
}
.mobile-menu-overlay {
  display: none !important;
}
.mobile-menu-overlay:not(.hidden) {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 12px;
}

/* 3. Background Beams Hero Section */
.hero-beams-section {
  position: relative;
  width: 100%;
  min-height: auto;
  background: transparent;
  border-radius: 0;
  border: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  margin-bottom: 20px;
}
#background-beams-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
  text-align: center;
}
.hero-title {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff 0%, #a3a3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.15;
}
.hero-subtitle {
  color: #a3a3a3;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 30px auto;
  max-width: 600px;
}
.hero-input-box {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.hero-input-box input {
  flex: 1;
  min-width: 260px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.hero-input-box input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.hero-small-text {
  font-size: 12px;
  color: #666;
  margin-top: 14px;
}

/* 4. Comet Card Pricing Section */
.pricing-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.section-header p {
  color: #888;
  font-size: 15px;
}
.comet-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.comet-card {
  background: #18181b;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.comet-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(59, 130, 246, 0.5), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.comet-card:hover {
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}
.comet-card:hover::after {
  opacity: 1;
}
.comet-card.featured {
  border: 2px solid #3b82f6;
  background: #18181b;
  box-shadow: 0 0 35px rgba(59, 130, 246, 0.35);
}
.badge-plan {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  color: #888;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: left;
}
.badge-featured {
  position: absolute;
  top: -13px;
  right: 25px;
  background: #3b82f6;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
  z-index: 5;
}
.comet-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.comet-card .price {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
}
.comet-card .price span {
  font-size: 14px;
  color: #71717a;
  font-weight: 400;
}
.features-list {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features-list li {
  color: #d4d4d8;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.features-list li i {
  color: #3b82f6;
  font-size: 13px;
}
.btn-primary-glow {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
}
.btn-primary-glow:hover {
  background: #2563eb;
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.7);
}
.btn-secondary-glow {
  background: #27272a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary-glow:hover {
  background: #3f3f46;
}

/* 5. Magnetic Button */
.magnetic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.1, 1), box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary-glow {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}
.btn-primary-glow:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}
.btn-secondary-glow {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary-glow:hover {
  background: rgba(255, 255, 255, 0.15);
}
.btn-card-action {
  width: 100%;
  margin-top: auto;
}

/* 6. Modal Overlay & License Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden {
  display: none !important;
}
.modal-card {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #888;
  font-size: 18px;
  cursor: pointer;
}
.modal-close:hover {
  color: #fff;
}
.modal-card h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-card p {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 20px;
}
.error-msg {
  color: #ef4444;
  font-size: 13px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.error-msg.hidden {
  display: none;
}
.modal-footer {
  margin-top: 15px;
  text-align: center;
  color: #666;
}

/* Features Section Styling */
.features-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
/* SpotlightCard Component Styling (React Bits) */
.card-spotlight {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #111115;
  padding: 2rem;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card-spotlight:hover::before,
.card-spotlight:focus-within::before {
  opacity: 0.85;
}

.card-spotlight:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.feature-icon-raw {
  position: relative;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.feature-icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

.card-spotlight:hover .feature-icon-img {
  transform: scale(1.08);
}
.feature-card h3 {
  position: relative;
  z-index: 2;
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}
.feature-card p {
  position: relative;
  z-index: 2;
  color: #a1a1aa;
  font-size: 14px;
  line-height: 1.6;
}

/* Banner & Nav Test Buttons */
.banner-test-btn {
  background: rgba(167, 139, 250, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.35);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  margin: 0 10px;
  transition: all 0.2s ease;
}
.banner-test-btn:hover {
  background: rgba(167, 139, 250, 0.35);
  color: #fff;
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
}

.nav-test-btn {
  background: rgba(167, 139, 250, 0.12) !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
}
.nav-test-btn:hover {
  background: rgba(167, 139, 250, 0.25) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.4) !important;
}

.hero-test-bar {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #a1a1aa;
}
.hero-test-click-btn {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hero-test-click-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* 1. Animated Stats Section */
.stats-section {
  max-width: 1200px;
  margin: 30px auto 60px auto;
  padding: 0 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.stat-card {
  background: rgba(18, 18, 24, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}
.stat-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 13px;
  color: #a1a1aa;
  font-weight: 500;
}

/* Framer EmberQuoteRail Component Styling */
.ember-quote-rail {
  padding: 60px 20px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.ember-rail-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}
.ember-rail-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.ember-rail-arrow:hover {
  background: #ffffff;
  color: #0b0b0c;
  transform: scale(1.08);
}
.ember-rail-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
}
.ember-rail-container::-webkit-scrollbar {
  display: none;
}
.ember-rail-track {
  display: flex;
  gap: 28px;
  padding: 10px 0 25px 0;
  width: max-content;
}
.ember-postcard {
  width: 360px;
  height: 380px;
  box-sizing: border-box;
  margin: 0;
  padding: 36px;
  border-radius: 28px;
  background: radial-gradient(420px circle at 85% 90%, rgba(59, 130, 246, 0.25), rgba(0, 0, 0, 0) 100%), #141417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}
.ember-postcard:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.15);
}
.ember-quote-mark {
  font-size: 72px;
  font-weight: 800;
  color: #3b82f6;
  line-height: 0.8;
  margin-bottom: 20px;
  user-select: none;
}
.ember-quote-text {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
.ember-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.ember-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}
.ember-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ember-name {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}
.ember-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

/* 4. FAQ Accordion Section */
.faq-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}
.faq-icon {
  font-size: 14px;
  color: #71717a;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #3b82f6;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 14px;
}
.faq-answer p {
  color: #a1a1aa;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* 5. Floating Discord Widget Badge */
.discord-widget-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: rgba(18, 18, 24, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(88, 101, 242, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.discord-widget-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(88, 101, 242, 0.5);
}
.discord-widget-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #27272a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.discord-widget-close:hover {
  background: #ef4444;
}
.discord-widget-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.discord-widget-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #5865F2;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.online-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border: 2px solid #121218;
  border-radius: 50%;
}
.discord-widget-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.discord-widget-sub {
  display: block;
  font-size: 11px;
  color: #a1a1aa;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle-btn { display: block; }
  .hero-title { font-size: 32px; }
  .hero-input-box { flex-direction: column; }
}


