@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Hide WordPress admin bar */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }
body { margin-top: 0 !important; }

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

:root {
  /* NuMzaan Color Palette */
  --gold:       #D4A335;
  --gold-dark:  #B8860B;
  --gold-light: #E8BC47;
  --black:      #1A1A1A;
  --navy:       #0F1419;
  --dark:       #1A2332;
  --surface:    #252E3E;
  --card:       #323D4E;
  --border:     #3D4A5C;
  
  /* Semantic Colors */
  --primary:    #D4A335;
  --success:    #10B981;
  --warning:    #F59E0B;
  --danger:     #EF4444;
  --info:       #3B82F6;
  
  /* Text */
  --text:       #F5F5F5;
  --text2:      #B0B0B0;
  --text3:      #6B7280;
  --text-dark:  #1A1A1A;
  
  /* Fonts - Modern & Professional */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font:         'Inter', system-ui, sans-serif;
  --mono:         'JetBrains Mono', 'Courier New', monospace;
  
  /* Spacing & Radius */
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  16px;
  
  /* Shadows */
  --shadow-sm:  0 2px 4px rgba(0, 0, 0, 0.15);
  --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg:  0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-xl:  0 12px 32px rgba(212, 163, 53, 0.15);
}

html, body {
  background: linear-gradient(135deg, #0F1419 0%, #1A2332 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#pqflow-root, #numzaan-root { 
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Form Elements */
input, textarea, select {
  background: rgba(37, 46, 62, 0.5);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 12px;
  outline: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  background: rgba(37, 46, 62, 0.8);
  box-shadow: 0 0 0 4px rgba(212, 163, 53, 0.1);
}

input::placeholder, textarea::placeholder { 
  color: var(--text3); 
}

select option { 
  background: var(--dark);
  color: var(--text);
}

/* Buttons */
button, .btn {
  font-family: var(--font-display);
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

button:hover { 
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

button:active { 
  transform: translateY(0);
}

button:disabled { 
  opacity: 0.5; 
  cursor: not-allowed;
  transform: none;
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--text-dark);
  border: none;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 8px 20px rgba(212, 163, 53, 0.3);
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
  transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

scrollbar-width: thin;
scrollbar-color: var(--border) transparent;

/* Loading Spinner */
.pq-spin {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(212, 163, 53, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Toast Notifications */
#pq-toast {
  animation: slideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* Cards */
.card {
  background: rgba(50, 61, 78, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Navigation */
nav {
  scrollbar-width: none;
  background: rgba(15, 20, 25, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

nav::-webkit-scrollbar {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .pq-grid-2 { 
    grid-template-columns: 1fr !important; 
  }
}

/* Utility Classes */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text2); }
.bg-overlay { background: rgba(0, 0, 0, 0.4); }

/* Focus Visible (Accessibility) */
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  body { background: white; color: black; }
  .no-print { display: none; }
}
