/* ==========================================================================
   STARPROJECT — Sleek Minimalist Dark Theme
   ========================================================================== */

:root {
  --bg: #09090b;
  --surface: #111114;
  --surface-hover: #17171c;
  --surface-active: #1f1f26;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #5865f2;
  --accent-hover: #4752c4;
  --accent-soft: rgba(88, 101, 242, 0.12);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --transition: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  font-family: var(--font-mono);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-item {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-item:hover {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Discord button */
.btn-discord-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-discord-nav:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.btn-discord-nav svg {
  color: #7289da;
}

/* User pill in nav when logged in */
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem 0.25rem 0.35rem;
  border-radius: var(--radius-full);
}

.user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.user-logout {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 0.25rem;
  transition: var(--transition);
}

.user-logout:hover {
  color: #ef4444;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.4rem;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
}

.mobile-menu a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 480px;
}

/* ==========================================================================
   General Section
   ========================================================================== */
.section {
  padding: 2.5rem 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.section-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-tag {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ==========================================================================
   Licenses List (Row layout, ultra clean)
   ========================================================================== */
.licenses-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.license-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: var(--transition);
}

.license-row:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}

.license-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
}

.license-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.license-row:hover .license-icon {
  transform: translateY(-1px) scale(1.06);
}

.icon-fivem {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16) 0%, rgba(249, 115, 22, 0.03) 100%);
  border-color: rgba(249, 115, 22, 0.3);
}
.license-row:hover .icon-fivem {
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.22);
}

.icon-leaks {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0.03) 100%);
  border-color: rgba(14, 165, 233, 0.3);
}
.license-row:hover .icon-leaks {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.22);
}

.icon-minecraft {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16) 0%, rgba(34, 197, 94, 0.03) 100%);
  border-color: rgba(34, 197, 94, 0.3);
}
.license-row:hover .icon-minecraft {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.22);
}

.icon-roblox {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.16) 0%, rgba(239, 68, 68, 0.03) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}
.license-row:hover .icon-roblox {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.22);
}

.icon-tweaks {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(245, 158, 11, 0.03) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}
.license-row:hover .icon-tweaks {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.22);
}

.license-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-right: 1.5rem;
}

.license-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.license-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
}

.license-info {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.license-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.license-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.btn-order {
  background: var(--text);
  color: var(--bg);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-order:hover {
  background: #ffffff;
  opacity: 0.9;
}

.btn-discord {
  background: var(--accent);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-discord:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

/* ==========================================================================
   FAQ Section (Split Layout with Hairline Dividers)
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: flex-start;
}

.faq-intro .faq-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.faq-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.faq-trigger::-webkit-details-marker {
  display: none;
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-right: 1rem;
  flex-shrink: 0;
}

.faq-q {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  transition: color 0.15s ease;
}

.faq-trigger:hover .faq-q {
  color: #ffffff;
}

.faq-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-chevron {
  transform: rotate(-135deg);
  border-color: var(--text);
}

.faq-body {
  padding: 0 0 1.15rem 2.25rem;
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-body code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  color: var(--text);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--text);
}

/* ==========================================================================
   Order Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.modal-header h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text);
}

.order-user-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
}

.order-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--surface);
}

.order-user-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.order-user-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.order-user-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.order-verified-badge {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

.order-user-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.order-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.order-prod-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.order-prod-type {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.order-price-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: #10b981;
}

.payment-section {
  margin-bottom: 1.25rem;
}

.payment-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pay-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  user-select: none;
}

.pay-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
}

.pay-card input {
  display: none;
}

.pay-card.active {
  background: rgba(88, 101, 242, 0.08);
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.15);
}

.pay-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pay-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.pay-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.pay-card-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.pay-card-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border-hover);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pay-card.active .pay-card-radio {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #111115;
}

.btn-submit-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  background: var(--accent);
  color: #ffffff;
  transition: var(--transition);
}

.btn-submit-order:hover {
  background: var(--accent-hover);
}

.order-submit-price {
  font-family: var(--font-mono);
  font-weight: 700;
}

.order-security-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
}

.order-success {
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.order-success.hidden {
  display: none;
}

.success-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.order-success h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.success-meta {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  margin-bottom: 0.75rem;
}

.success-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border-hover);
  color: var(--text);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(150%);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Customer Portal (dashboard.html)
   ========================================================================== */
.portal-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  letter-spacing: 0.06em;
}

.dash-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.dash-main {
  flex: 1;
  padding: 2.75rem 0 5rem 0;
}

.dash-container {
  max-width: 760px;
}

.dash-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Auth required card */
.dash-auth-card {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 440px;
  margin: 3.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
}

.dash-auth-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7289da;
}

.dash-auth-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.dash-auth-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 330px;
}

/* User Profile Card */
.dash-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  gap: 1.5rem;
}

.dash-profile-left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}

.dash-profile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.dash-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dash-profile-name-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dash-profile-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.verified-chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.12rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.dash-profile-details {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.dash-bullet {
  opacity: 0.4;
}

.btn-copy-id {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  padding: 2px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-copy-id:hover {
  color: var(--text);
}

.btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  transition: var(--transition);
}

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

/* Section Header */
.dash-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.dash-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.dash-section-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-refresh:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

/* Licenses List */
.dash-licenses-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dash-lic-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.dash-lic-item:hover {
  border-color: var(--border-hover);
}

.dash-lic-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-lic-prod {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dash-lic-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.dash-lic-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.dash-lic-plan {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dash-lic-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.dash-lic-key-bar {
  display: flex;
  align-items: center;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  justify-content: space-between;
  gap: 0.75rem;
}

.dash-key-label {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.dash-key-field {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.dash-key-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f4f4f5;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dash-key-btns {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.btn-lic-action {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-lic-action:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

/* Loading & Empty States */
.dash-loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.dash-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.dash-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.dash-empty-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.dash-empty-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/* Quick Guidance Cards Grid */
.dash-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dash-help-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dash-help-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dash-help-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.dash-help-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.dash-help-p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.dash-help-p code {
  background: #09090b;
  color: #a5b4fc;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  border: 1px solid var(--border);
}

.dash-help-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  transition: var(--transition);
}

.dash-help-link:hover {
  color: #818cf8;
  text-decoration: underline;
}

/* User pill in nav */
.user-pill-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.user-dash-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-full);
  background: rgba(88, 101, 242, 0.18);
  color: #a5b4fc;
  border: 1px solid rgba(88, 101, 242, 0.3);
  margin-left: 0.25rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .dash-help-grid {
    grid-template-columns: 1fr;
  }
  .dash-profile-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .dash-profile-right {
    width: 100%;
  }
  .dash-lic-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .dash-lic-key-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .dash-key-field {
    width: 100%;
    justify-content: space-between;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .license-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .license-left {
    width: 100%;
  }
  .license-main {
    padding-right: 0;
  }
  .license-action {
    width: 100%;
    justify-content: space-between;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .faq-body {
    padding-left: 0;
  }
  .footer-wrap {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
