/* ==========================================================================
   NEXUS B2B EXPORT PLATFORM - MASTER DESIGN SYSTEM & STYLESHEET
   Luxury Dark Glassmorphism, Sialkot Exporter Gold/Amber Accents
   ========================================================================== */

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

:root {
  --bg-primary: #060911;
  --bg-surface: #0c111d;
  --bg-card: #111827;
  --bg-input: #040711;
  
  --amber-primary: #f59e0b;
  --amber-light: #fbbf24;
  --amber-glow: rgba(245, 158, 11, 0.25);
  
  --emerald-accent: #10b981;
  --sky-accent: #0284c7;
  --red-accent: #ef4444;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-amber: rgba(245, 158, 11, 0.35);
  --glass-bg: rgba(12, 17, 29, 0.75);
  --glass-blur: blur(16px);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ==========================================================================
   GOOGLE STITCH LUXURY GOLD DESIGN SYSTEM (FROM OLDNEXUS NODE.JS APP)
   ========================================================================== */

.stitch-glass {
  background: rgba(12, 15, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.stitch-card {
  background: #0c0f18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stitch-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.18);
  transform: translateY(-3px);
}

.stitch-glow-frame {
  border: 2px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.22);
}

/* 3D Metallic Gold Typography */
.stitch-gold-text {
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 35%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9));
}

.stitch-gold-gradient {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
}

.stitch-pill {
  border-radius: 9999px;
  transition: all 0.2s ease-in-out;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: 'Outfit', sans-serif;
}

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

/* Container */
.nexus-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navbar */
.nexus-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.nexus-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-light));
  color: #000;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.brand-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
}

.brand-subtitle {
  font-size: 10px;
  color: var(--amber-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Luxury Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--amber-primary), var(--amber-light));
  color: #060911;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px var(--amber-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

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

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--amber-primary);
  color: var(--amber-light);
}

/* User Pill Dropdown */
.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-amber);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-size: 12px;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber-primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
}

/* Hero Section */
.hero-section {
  padding: 70px 0 50px 0;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-amber);
  color: var(--amber-light);
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}

.hero-title span {
  background: linear-gradient(135deg, #fff, var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Trust Signals Bar */
.trust-bar {
  padding: 30px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(12, 17, 29, 0.5);
  margin: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-primary);
  font-size: 18px;
}

.trust-label {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.trust-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-amber);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.product-thumb-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #020617;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.05);
}

.product-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-amber);
  color: var(--amber-light);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 11px;
  color: var(--amber-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-specs-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.spec-pill {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.product-footer-bar {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-moq {
  font-size: 11px;
  color: var(--text-muted);
}

.product-moq strong {
  color: var(--amber-light);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
  padding: 30px;
  position: relative;
}

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

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

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

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--amber-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Footer */
.nexus-footer {
  background: #03050a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 32px;
  }
  .modal-container {
    padding: 20px;
  }
}
