/* ==========================================================================
   Natural Stone Cart — Ultra Premium B2B Export Design System
   ========================================================================== */

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

:root {
  --primary-gold: #d97706;
  --primary-gold-dark: #b45309;
  --primary-gold-light: #fef3c7;
  --slate-dark: #0f172a;
  --slate-body: #334155;
  --slate-light: #f8fafc;
  --slate-border: #e2e8f0;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--slate-dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Gradients */
.gold-gradient-bg {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slate-gradient-dark {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

/* Utility Bar */
.nsc-utility-bar {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 11px;
  padding: 7px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nsc-utility-bar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nsc-utility-bar a:hover {
  color: #f59e0b;
}

/* Floating Glass Header */
.nsc-header-wrapper {
  position: sticky;
  top: 10px;
  z-index: 1000;
  padding: 0 16px;
  margin-bottom: -70px;
}

.nsc-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 10px 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nsc-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nsc-brand-logo .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  padding: 8px;
}

.nsc-brand-logo .logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.nsc-brand-logo .logo-subtext {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  font-weight: 500;
}

/* Navigation Links */
.nsc-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nsc-nav-links li {
  position: relative;
}

.nsc-nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  transition: color 0.2s;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nsc-nav-links a:hover {
  color: #d97706;
}

/* Submenu / Dropdown */
.nsc-nav-links li:hover > .nsc-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nsc-dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  z-index: 100;
}

.nsc-dropdown-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  display: block;
  font-size: 12px;
}

.nsc-dropdown-menu a:hover {
  background: #f8fafc;
  color: #d97706;
}

/* Header CTA */
.nsc-btn-quote {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nsc-btn-quote:hover {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
}

/* Mobile Nav Toggle */
.nsc-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #1e293b;
}

/* Hero Section */
.nsc-hero {
  padding-top: 140px;
  padding-bottom: 70px;
  background: radial-gradient(circle at 50% -20%, rgba(217, 119, 6, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.nsc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
  border: 1px solid #fde68a;
}

.nsc-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  max-width: 900px;
  margin: 0 auto 20px;
}

.nsc-hero-subtext {
  font-size: clamp(15px, 2vw, 17px);
  color: #475569;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto 30px;
}

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

/* 21:9 Video Frame */
.nsc-video-21x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-top: 40px;
}

.nsc-video-21x9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nsc-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nsc-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.2s ease;
  border: none;
}

.nsc-play-btn:hover {
  transform: scale(1.1);
}

/* Bento Grid */
.nsc-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.nsc-bento-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nsc-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.bento-span-8 { grid-column: span 8; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }
.bento-span-12 { grid-column: span 12; }

/* Stats Bar */
.nsc-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  margin: 40px 0;
}

.nsc-stat-item {
  text-align: center;
}

.nsc-stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 6px;
}

.nsc-stat-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Stone Catalogue Cards */
.nsc-stone-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.nsc-stone-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: #f59e0b;
}

.nsc-stone-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nsc-stone-card:hover img {
  transform: scale(1.05);
}

.nsc-stone-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Category Filter Tabs */
.nsc-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.nsc-filter-tab {
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nsc-filter-tab:hover,
.nsc-filter-tab.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Cinematic Footer */
.nsc-footer {
  background: #090d16;
  color: #94a3b8;
  position: relative;
  overflow: hidden;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nsc-footer-aurora {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(217, 119, 6, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.nsc-footer-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.02);
}

.nsc-marquee-content {
  display: inline-block;
  animation: nsc-marquee 30s linear infinite;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f59e0b;
}

@keyframes nsc-marquee {
  from { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}

.nsc-footer-giant-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18vw;
  font-weight: 900;
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  white-space: nowrap;
}

/* Floating Action Dock */
.nsc-floating-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nsc-dock-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nsc-dock-item:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px -5px rgba(217, 119, 6, 0.3);
  border-color: #d97706;
}

.nsc-dock-whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

/* Modal Overlay */
.nsc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: nscFadeIn 0.2s ease;
}

.nsc-modal-content {
  background: #ffffff;
  border-radius: 20px;
  max-width: 750px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: nscSlideUp 0.25s ease;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .bento-span-8, .bento-span-4, .bento-span-6 {
    grid-column: span 12;
  }
  .nsc-nav-links {
    display: none;
  }
  .nsc-mobile-toggle {
    display: block;
  }
}
