@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@900&f[]=satoshi@400,700&f[]=bespoke-slab@700&display=swap');

/* ==========================================================================
   CSS CUSTOM VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Font Families */
  --font-heading: 'Cabinet Grotesk', 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-accent: 'Bespoke Slab', serif;

  /* Transitions */
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease;
  --transition-bounce: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Theme: Light Mode (Default) */
  --bg-main: #F8FAFC;
  --bg-gradient: linear-gradient(135deg, #F8FAFC 0%, #EDF2F7 100%);
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  
  --border-color: #0F172A;
  --border-color-hover: #0F172A;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --primary-hover: #1d4ed8;
  --secondary: #7c3aed;
  --secondary-rgb: 124, 58, 237;
  
  --glow-primary: rgba(37, 99, 235, 0.15);
  --glow-secondary: rgba(124, 58, 237, 0.1);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Grid helper pattern for dark mode background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(0, 242, 254, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(var(--primary-rgb), 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.header-container {
  display: flex;
  height: 4.5rem;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--text-main);
  -webkit-text-fill-color: var(--text-main);
  background: none;
  -webkit-background-clip: unset;
  text-decoration: none;
  position: relative;
  padding: 0.3rem 0;
  transition: var(--transition-smooth);
}

.logo-link span {
  background: linear-gradient(135deg, var(--text-main) 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition-smooth);
}

.logo-link:hover span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-link:hover .logo-img {
  transform: scale(1.1) rotate(-8deg);
  filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.35));
}

.logo-icon {
  color: var(--primary);
  filter: drop-shadow(0 0 8px var(--glow-primary));
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(15, 23, 42, 0.15));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.footer-brand .logo-img {
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.2));
}

.footer-brand .logo-link span {
  background: linear-gradient(135deg, #FFFFFF 40%, var(--primary) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-primary);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   HERO BANNER & PROMO MARQUEE
   ========================================================================== */
.promo-banner {
  background: linear-gradient(90deg, #091a3c 0%, #1e1b4b 50%, #0d1527 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  height: 2.25rem;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.promo-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.promo-item {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #f8fafc;
}

.promo-tag {
  background: var(--primary);
  color: var(--text-inverse);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  margin: 0 0.4rem;
  box-shadow: 0 0 8px var(--primary);
}

.promo-sep {
  color: var(--primary);
  font-weight: bold;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 6rem 0 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.35fr 0.65fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
}

.pulse-dot {
  position: relative;
  display: flex;
  height: 0.5rem;
  width: 0.5rem;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-ring 1.5s infinite;
}

.pulse-dot::after {
  content: '';
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--primary);
}

@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-title span {
  display: block;
  background: linear-gradient(to right, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-w: 32rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 18rem;
}

.metric-card {
  text-align: center;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ==========================================================================
   DRAG AND DROP FILE ZONE
   ========================================================================== */
.dropzone-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.dropzone {
  position: relative;
  background: var(--bg-card);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.dropzone:hover {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.04);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.1);
  transform: translateY(-2px);
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
}

.dropzone-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.dropzone-pulse {
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  animation: dropzone-pulse-anim 2s infinite;
}

.dropzone-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-smooth);
}

.dropzone:hover .dropzone-icon {
  transform: scale(1.1);
  background: var(--primary);
  color: var(--text-inverse);
}

@keyframes dropzone-pulse-anim {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.dropzone-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dropzone-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.dropzone-formats {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.dropzone-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dropzone-badge-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dropzone-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.no-file-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 242, 254, 0.05);
  border: 1.5px solid rgba(0, 242, 254, 0.15);
  border-radius: 1.25rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.no-file-card:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
}

.no-file-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.no-file-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-file-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.no-file-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.no-file-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.no-file-card:hover .no-file-arrow {
  background: var(--primary);
  color: var(--text-inverse);
  transform: translateX(3px);
}

/* ==========================================================================
   QUOTE CALCULATOR SECTION
   ========================================================================== */
.quote-section {
  padding: 5rem 0;
  position: relative;
}

.quote-title-block {
  text-align: center;
  margin-bottom: 3.5rem;
}

.quote-title-block h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* Loading Card */
.calculator-loading-card {
  max-width: 28rem;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Grid Layout */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.calculator-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Panel Containers */
.calc-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.panel-title svg {
  color: var(--primary);
}

/* Form Elements */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1.5px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: var(--transition-fast);
}

.select-wrapper select option {
  background-color: var(--bg-main);
  color: var(--text-main);
}

.select-wrapper select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.select-wrapper::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--text-muted);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.material-desc-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: -0.5rem;
}

/* Slider styling */
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.slider-header span {
  font-size: 0.85rem;
  font-weight: 600;
}

.slider-val {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1rem;
}

.range-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-main);
  box-shadow: 0 0 10px var(--primary);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Color Circle preview */
.color-select-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.color-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-main);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

/* 3D Viewer Container */
.viewer-3d-box {
  background: radial-gradient(circle at center, rgba(16, 24, 48, 0.9) 0%, rgba(6, 9, 19, 0.95) 100%);
  border: 1.5px solid var(--border-color);
  border-radius: 1.5rem;
  height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}
.viewer-3d-canvas-wrapper {
  width: 100%;
  height: 18rem;
}

.viewer-overlay-guide {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Stats list */
.stats-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Pricing Card Summary */
.pricing-summary-card {
  position: sticky;
  top: 6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.pricing-header {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.price-main {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.price-unit {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.breakdown-row.total {
  border-t: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

.breakdown-row .price-val {
  color: var(--text-main);
  font-weight: 600;
}

.qty-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.qty-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 0.35rem;
  color: var(--text-main);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.qty-btn:hover {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.qty-number {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-large {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 0.9rem;
}

/* Supported info blocks */
.calculator-info-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.info-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

.info-block h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.info-block p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   MATERIALS GUIDE
   ========================================================================== */
.materials-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-w: 28rem;
  margin: 0 auto;
}

.materials-tabs-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.material-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.material-tab:hover, .material-tab.active {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--glow-primary);
}

.material-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.material-detail-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.material-detail-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.3);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.material-detail-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.material-detail-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.material-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.material-specs-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.spec-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spec-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.spec-bar-track {
  height: 8px;
  background: var(--border-color);
  border-radius: 999px;
  overflow: hidden;
}

.spec-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 999px;
  box-shadow: 0 0 8px var(--glow-primary);
}

.material-use-cases {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.25rem;
}

.material-use-cases h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.material-use-cases ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.material-use-cases li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.material-use-cases li::before {
  content: '✓';
  color: var(--primary);
  font-weight: bold;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   PRINT GALLERY SECTION
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 242, 254, 0.15);
}

.gallery-img-wrapper {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.gallery-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  transition: var(--transition-smooth);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-details {
  padding: 1.25rem;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(0, 242, 254, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.gallery-details h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.gallery-details p {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.how-it-works-section {
  padding: 5rem 0;
  position: relative;
  background: rgba(255, 255, 255, 0.005);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line */
.steps-container::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  opacity: 0.25;
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.step-card:hover .step-number {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 0 15px var(--glow-primary);
  transform: scale(1.1);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-color-hover);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-chevron {
  transition: var(--transition-smooth);
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: rgba(0, 0, 0, 0.1);
}

.faq-content-inner {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Active FAQ Item state via HTML details or JS toggle */
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.active .faq-content {
  max-height: 200px; /* Overwritten dynamically by JS if height exceeds */
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-intro h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-intro p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(0, 242, 254, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 242, 254, 0.15);
}

.contact-detail-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.contact-detail-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1.5px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

/* ==========================================================================
   SHOPPING CART DRAWER (SLIDE-OVER)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: opacity 0.35s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 25rem;
  background: #090d16;
  border-left: 1px solid var(--border-color);
  z-index: 101;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Custom layout logic for light mode cart background */
[data-theme="light"] .cart-drawer {
  background: #f8fafc;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.cart-items-list-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-footer {
  padding: 1.5rem;
  border-t: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.15);
}

.coupon-section {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.coupon-input-box {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--text-main);
  font-size: 0.8rem;
  outline: none;
}

.coupon-btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  border-radius: 0.5rem;
}

.cart-summary-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.translate-x-full {
  transform: translateX(100%);
}

.translate-x-0 {
  transform: translateX(0%);
}

.invisible {
  visibility: hidden;
}

.opacity-0 {
  opacity: 0;
}

.visible {
  visibility: visible;
}

.opacity-100 {
  opacity: 1;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  border-t: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2.5rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-nav h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.775rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   FLOATING WIDGETS
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}

.whatsapp-widget:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  background: #22c35e;
}

.whatsapp-widget svg {
  fill: currentColor;
}

/* Custom modal animation */
@keyframes scale-in {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.animate-scale-in {
  animation: scale-in 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* ==========================================================================
   DASHBOARD PRINT CONFIGURATOR (BLASTER3D STYLE)
   ========================================================================== */

.hero-top-block {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
}

.dashboard-left-col,
.dashboard-right-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: var(--transition-smooth);
}

.dashboard-card:hover {
  border-color: var(--border-color-hover);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.card-icon {
  color: var(--primary);
  width: 1.25rem;
  height: 1.25rem;
}

/* Empty Viewport States */
.viewer-empty-state {
  height: 18rem;
  border: 2px dashed var(--border-color);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.12);
  transition: var(--transition-smooth);
}

.empty-icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.viewer-empty-state p {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Pricing Section */
.pricing-empty-state {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  background: rgba(0, 242, 254, 0.01);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.pricing-empty-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.pricing-empty-state h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.pricing-empty-state p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Active pricing states */
.pricing-active-state {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pricing-header-compact {
  text-align: center;
  background: rgba(0, 242, 254, 0.03);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: inset 0 0 12px rgba(0, 242, 254, 0.03);
}

.price-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
}

/* Stat grid mini */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.stat-mini {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-color);
  padding: 0.6rem;
  border-radius: 0.75rem;
  text-align: center;
}

.stat-mini-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-mini-val {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}

/* Buttons section */
.dashboard-buttons {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  width: 100%;
}

.disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border-color) !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
}

.disabled-btn {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border-color) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none;
}

.disabled-btn:hover {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-top-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-metrics {
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dashboard-left-col {
    display: flex;
    flex-direction: column;
  }
  
  #upload-card {
    order: 1;
  }
  
  .no-file-card {
    order: 2;
  }
  
  #preview-card {
    order: 3;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .material-detail-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .steps-container::before {
    display: none; /* Hide connector on mobile */
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin-top: 1.5rem;
    gap: 1rem;
  }
  
  .hero-metrics .metric-card {
    flex: 1 1 140px;
    max-width: 180px;
    padding: 1rem;
  }

  .nav-links {
    display: none; /* Hide full nav menu on small screens */
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .calculator-info-blocks {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-metrics {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    max-width: 100%;
    gap: 0.5rem;
    margin: 1.5rem auto 0 auto;
  }
  
  .hero-metrics .metric-card {
    flex: 1;
    min-width: 0;
    max-width: none;
    padding: 0.6rem 0.4rem;
  }
  
  .hero-metrics .metric-number {
    font-size: 1.35rem;
  }
  
  .hero-metrics .metric-label {
    font-size: 0.65rem;
    margin-top: 0.25rem;
    line-height: 1.2;
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .dashboard-buttons {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   CHECKOUT CONFIRMATION MODAL
   ========================================================================== */
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}

.checkout-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 28rem;
  width: 100%;
  box-shadow: var(--shadow-card);
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.checkout-modal-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.checkout-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.checkout-modal-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.checkout-modal-text strong {
  color: var(--text-main);
}

.checkout-modal-summary {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: left;
  max-height: 10rem;
  overflow-y: auto;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-family: monospace;
}

[data-theme="light"] .checkout-modal-summary {
  background: rgba(0, 0, 0, 0.05);
}

.checkout-modal-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .checkout-modal-card {
    padding: 1.75rem 1.5rem;
  }
  .checkout-modal-actions {
    flex-direction: column-reverse;
  }
}

/* ==========================================================================
   MOBILE MENU NAVIGATION DRAWER
   ========================================================================== */
.mobile-menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.mobile-menu-toggle-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  transition: opacity 0.35s ease;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 20rem;
  background: #090d16;
  border-right: 1px solid var(--border-color);
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="light"] .mobile-menu-drawer {
  background: #f8fafc;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.mobile-menu-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
  transform: translateX(5px);
}

.translate-x-negative-full {
  transform: translateX(-100%);
}

/* ==========================================================================
   RESPONSIVENESS IMPROVEMENTS (MOBILE STYLING ONLY)
   ========================================================================== */
@media (max-width: 768px) {
  .mobile-menu-toggle-btn {
    display: inline-flex;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }
  
  .footer-nav {
    text-align: center;
  }
  
  .footer-nav ul {
    align-items: center;
  }

  .hero-trust-badges {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #header-cta-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
  }
  
  #header-cta-btn svg {
    width: 12px;
    height: 12px;
  }
  
  .material-use-cases ul {
    grid-template-columns: 1fr;
  }
  
  .dashboard-card {
    padding: 1.25rem;
  }
  
  .dropzone {
    padding: 2rem 1rem;
  }
  
  .dropzone-title {
    font-size: 1.1rem;
  }

  .hero-trust-badges {
    flex-wrap: nowrap !important;
    gap: 0.5rem !important;
  }

  .trust-badge {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.6rem !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   SAMPLE MODELS TRAY
   ========================================================================== */
.sample-tray-title {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.sample-tray {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  padding: 0 1rem;
  z-index: 5;
}

.sample-btn {
  padding: 0.5rem 0.9rem !important;
  font-size: 0.8rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  border-radius: 0.75rem !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-main) !important;
  cursor: pointer;
  transition: var(--transition-smooth) !important;
}

.sample-btn:hover {
  background: rgba(0, 242, 254, 0.08) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2) !important;
  transform: translateY(-2px);
}

.sample-icon {
  font-size: 1rem;
}

/* ==========================================================================
   3D DIMENSION OVERLAYS
   ========================================================================== */
.viewer-dimension-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  overflow: hidden;
}

.dim-badge {
  position: absolute;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0.5rem;
  background: rgba(17, 25, 46, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.dim-badge-x {
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}
.dim-badge-x .dim-axis {
  color: #00f2fe;
}

.dim-badge-y {
  border-color: rgba(157, 78, 221, 0.4);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.15);
}
.dim-badge-y .dim-axis {
  color: #9d4edd;
}

.dim-badge-z {
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.15);
}
.dim-badge-z .dim-axis {
  color: #f97316;
}

/* ==========================================================================
   IMAGINE CUSTOM QUOTE CARD
   ========================================================================== */
.imagine-quote-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.04) 0%, rgba(157, 78, 221, 0.03) 100%);
  border: 1.5px solid rgba(0, 242, 254, 0.15);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  gap: 1.5rem;
}

[data-theme="light"] .imagine-quote-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(124, 58, 237, 0.03) 100%);
  border-color: rgba(37, 99, 235, 0.15);
}

.imagine-quote-card:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(157, 78, 221, 0.05) 100%);
  transform: translateY(-2px);
}

[data-theme="light"] .imagine-quote-card:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.imagine-quote-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.imagine-quote-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .imagine-quote-icon {
  background: rgba(37, 99, 235, 0.12);
}

.imagine-quote-details h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, var(--text-main) 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .imagine-quote-details h4 {
  background: linear-gradient(135deg, var(--text-main) 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.imagine-quote-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.imagine-quote-btn {
  padding: 0.65rem 1.1rem !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  border-radius: 0.75rem !important;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

[data-theme="light"] .imagine-quote-btn {
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

@media (max-width: 580px) {
  .imagine-quote-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  .imagine-quote-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  .imagine-quote-btn {
    justify-content: center;
  }
}

/* ==========================================================================
   CONTACT FORM SELECT DROPDOWN
   ========================================================================== */
.contact-form select {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1.5px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
  cursor: pointer;
  appearance: none;
}

[data-theme="light"] .contact-form select {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-main);
}

.contact-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

[data-theme="light"] .contact-form select:focus {
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.15);
}

.contact-form select option {
  background-color: var(--bg-main);
  color: var(--text-main);
}

/* ==========================================================================
   CREATIONS LIBRARY PAGE STYLES
   ========================================================================== */

.library-hero {
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.library-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.library-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.library-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.library-hero h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.library-hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.library-section {
  padding: 4rem 0 6rem;
  min-height: 50vh;
}

/* ---- Filter Bar ---- */
.library-filter-container {
  margin-bottom: 2.5rem;
  position: relative;
}

.library-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  scrollbar-width: none; /* Firefox */
}

.library-filter-bar::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.filter-pill {
  background: var(--bg-card) !important;
  border: var(--neo-border) !important;
  color: var(--text-main) !important;
  box-shadow: 4px 4px 0px 0px var(--text-main) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 0px !important;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-bounce);
  white-space: nowrap;
}

.filter-pill:hover {
  transform: translate(-3px, -3px) !important;
  box-shadow: 7px 7px 0px 0px var(--text-main) !important;
}

.filter-pill.active {
  background: var(--primary-pink) !important;
  color: #FFFFFF !important;
  border: var(--neo-border) !important;
  box-shadow: 4px 4px 0px 0px var(--text-main) !important;
  transform: translate(-3px, -3px) !important;
}

[data-theme="light"] .filter-pill.active {
  background: var(--primary-pink) !important;
  color: #FFFFFF !important;
  box-shadow: 4px 4px 0px 0px var(--text-main) !important;
}

/* ---- Responsive Card Grid ---- */
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 640px) {
  .library-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---- Card Styling ---- */
.library-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.library-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-card), 0 12px 30px var(--glow-primary);
}

.library-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
}

.library-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.library-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.library-card-tags {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-badge-category {
  background: rgba(157, 78, 221, 0.15);
  color: var(--secondary);
  border: 1px solid rgba(157, 78, 221, 0.25);
}

[data-theme="light"] .card-badge-category {
  background: rgba(124, 58, 237, 0.1);
  color: var(--secondary);
}

.card-badge-material {
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

[data-theme="light"] .card-badge-material {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.library-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  line-height: 1.3;
}

.library-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

.library-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.775rem;
  color: var(--text-muted);
}

.card-spec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-spec-value {
  font-weight: 600;
  color: var(--text-main);
}

/* ---- Loading Skeleton ---- */
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  overflow: hidden;
  height: 400px;
  display: flex;
  flex-direction: column;
}

.skeleton-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border-color) 37%, var(--bg-card) 63%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.skeleton-badge-row {
  display: flex;
  gap: 0.5rem;
}

.skeleton-badge {
  width: 60px;
  height: 18px;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border-color) 37%, var(--bg-card) 63%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-title {
  width: 80%;
  height: 24px;
  border-radius: 0.4rem;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border-color) 37%, var(--bg-card) 63%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-text {
  width: 100%;
  height: 14px;
  border-radius: 0.25rem;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border-color) 37%, var(--bg-card) 63%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-text-half {
  width: 60%;
  height: 14px;
  border-radius: 0.25rem;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border-color) 37%, var(--bg-card) 63%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

.skeleton-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skeleton-spec {
  width: 100%;
  height: 12px;
  border-radius: 0.25rem;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border-color) 37%, var(--bg-card) 63%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ---- Empty State ---- */
.library-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  max-width: 600px;
  margin: 2rem auto;
}

.library-empty-icon {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.library-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.library-empty p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* ---- Load More Button ---- */
.library-load-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  min-height: 60px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-load-more:hover {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--glow-primary);
  transform: translateY(-2px);
}

.btn-load-more:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  border-color: var(--border-color);
}

/* ==========================================================================
   NEO-BRUTALIST MAXIMALIST REDESIGN OVERRIDES
   ========================================================================== */

:root {
  /* Colors */
  --primary: #FF6B35;         /* Orange */
  --primary-teal: #2EC4B6;    /* Teal */
  --primary-pink: #FF3366;    /* Pink */
  --dark-navy: #0F172A;
  --bg-main: #F8FAFC;         /* Light Off-White */
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-color: #0F172A;
  --success: #2EC4B6;

  /* Brutalist Shadows & Borders */
  --neo-border: 4px solid #0F172A;
  --neo-shadow: 8px 8px 0px 0px #0F172A;
  --neo-shadow-hover: 12px 12px 0px 0px #0F172A;
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
  --bg-main: #0F172A;
  --bg-card: #0F172A;
  --border-color: #F8FAFC;
  --text-main: #F8FAFC;
  --text-muted: #94a3b8;

  --neo-border: 4px solid #F8FAFC;
  --neo-shadow: 8px 8px 0px 0px #FF3366;       /* Neon Pink shadow in Dark Mode */
  --neo-shadow-hover: 12px 12px 0px 0px #2EC4B6; /* Neon Teal shadow on hover */
}

/* Base Body Grid Overlay */
body {
  background-color: var(--bg-main) !important;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1.5px, transparent 1.5px) !important;
  background-size: 40px 40px !important;
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif !important;
  transition: background-color 0.4s ease, color 0.4s ease;
  color: var(--text-main) !important;
}

[data-theme="dark"] body {
  background-image: radial-gradient(rgba(248, 250, 252, 0.04) 1.5px, transparent 1.5px) !important;
}

/* Typography Overrides */
p, span, a, input, select, textarea, button, td, th {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

.bespoke-slab {
  font-family: 'Bespoke Slab', Georgia, serif !important;
  font-weight: 700 !important;
}

/* Text Stroke Effects */
.text-stroke-brutal {
  -webkit-text-stroke: 2px var(--border-color);
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

/* Dynamic Cards & Components Styling */
.library-card, .gallery-card, .metric-card, .step-card, .contact-card-box, 
.cart-drawer, .mobile-menu-drawer, .material-detail-card, .faq-item {
  border: var(--neo-border) !important;
  box-shadow: var(--neo-shadow) !important;
  border-radius: 0px !important; /* Neo-brutalist sharp edges */
  background: var(--bg-card) !important;
  transition: var(--transition-bounce) !important;
  overflow: hidden;
}

.library-card:hover, .gallery-card:hover, .metric-card:hover, .contact-card-box:hover, .material-detail-card:hover {
  transform: translate(-4px, -4px) !important;
  box-shadow: var(--neo-shadow-hover) !important;
}

/* Forms & Inputs Brutalism */
input[type="text"], input[type="email"], input[type="tel"], select, textarea, .coupon-input-box {
  border: var(--neo-border) !important;
  border-radius: 0px !important;
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
  box-shadow: 4px 4px 0px 0px var(--border-color) !important;
  transition: var(--transition-fast) !important;
}

input:focus, select:focus, textarea:focus {
  transform: translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px 0px var(--border-color) !important;
}

/* Button Brutalism Overrides */
.btn {
  border: var(--neo-border) !important;
  border-radius: 0px !important;
  box-shadow: 4px 4px 0px 0px var(--border-color) !important;
  text-transform: uppercase !important;
  font-weight: 900 !important;
  transition: var(--transition-bounce) !important;
}

.btn:hover {
  transform: translate(-3px, -3px) !important;
  box-shadow: 7px 7px 0px 0px var(--border-color) !important;
}

.btn:active {
  transform: translate(0px, 0px) !important;
  box-shadow: 2px 2px 0px 0px var(--border-color) !important;
}

.btn-primary {
  background: var(--primary-pink) !important;
  color: #FFFFFF !important;
}

[data-theme="light"] .btn-primary {
  background: var(--primary-pink) !important;
  color: #FFFFFF !important;
}

.btn-secondary {
  background: var(--primary-teal) !important;
  color: #0F172A !important;
}

[data-theme="light"] .btn-secondary {
  background: var(--primary-teal) !important;
  color: #0F172A !important;
}

/* Floating WhatsApp Button Override */
.whatsapp-widget {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  z-index: 100 !important;
  width: 5rem !important;
  height: 5rem !important;
  background: #25D366 !important;
  border: 4px solid #000000 !important;
  box-shadow: 6px 6px 0px #000000 !important;
  border-radius: 1.25rem !important; /* Squircle lg:rounded-2xl */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.7rem !important;
  font-weight: 900 !important;
  color: #000000 !important;
  text-decoration: none !important;
  gap: 0.25rem !important;
  transition: var(--transition-bounce) !important;
}

.whatsapp-widget svg {
  width: 32px !important;
  height: 32px !important;
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(-3deg) !important;
  box-shadow: 8px 8px 0px #000000 !important;
}

.whatsapp-widget:active {
  transform: scale(0.9) !important;
}

/* Continuous Auto-Scrolling Marquee Belt */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  background: #0F172A;
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
  padding: 1.5rem 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.marquee-content {
  display: inline-flex;
  gap: 4rem;
  animation: marqueeScroll 25s linear infinite;
  align-items: center;
  padding-left: 2rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-text {
  color: #FFFFFF !important;
  font-family: 'Cabinet Grotesk', sans-serif !important;
  font-weight: 900 !important;
  font-size: 2.5rem !important;
  text-transform: uppercase !important;
}

.marquee-star {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.star-orange { color: #FF6B35; fill: #FF6B35; }
.star-teal { color: #2EC4B6; fill: #2EC4B6; }
.star-pink { color: #FF3366; fill: #FF3366; }

/* Floating Shapes Animation */
.float-shape-1 {
  animation: brutalFloat1 12s infinite ease-in-out;
}
.float-shape-2 {
  animation: brutalFloat2 15s infinite ease-in-out;
}

@keyframes brutalFloat1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -25px) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes brutalFloat2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-25px, 35px) rotate(-8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

/* Theme Rotation Reveal scroll effect */
.theme-reveal {
  opacity: 0;
  transform: translateY(40px) rotate(2deg);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-reveal.reveal-active {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Scoped Overrides for Specific Brutalist Layout Elements */
#main-header {
  background: var(--bg-card) !important;
  border-bottom: var(--neo-border) !important;
  box-shadow: 0px 4px 0px 0px var(--border-color) !important;
  border-radius: 0px !important;
  margin: 1.5rem auto !important;
  width: 90% !important;
  max-width: 1200px !important;
  position: sticky !important;
  top: 1.5rem !important;
  z-index: 99 !important;
}

.logo-link svg, .logo-link .logo-img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.logo-link:hover svg {
  transform: scale(1.1) rotate(-8deg);
}

/* Outline style headings */
.hero-title span {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  -webkit-text-stroke: 2.5px var(--border-color);
  color: transparent !important;
}

.logo-dot {
  color: var(--primary-pink) !important;
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo-link:hover .logo-dot {
  transform: rotate(360deg);
}

/* Portfolio Hover & Eye Icon Styles */
.portfolio-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 196, 182, 0.9); /* Teal overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}
.library-card-img-wrapper:hover .portfolio-hover-overlay {
  opacity: 1;
}
.portfolio-hover-overlay {
  cursor: pointer;
}
.eye-icon-container {
  background: #FFFFFF;
  border: 3px solid #0F172A;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 4px 4px 0px #0F172A;
  color: #0F172A;
  cursor: pointer;
}
.eye-icon-container:hover {
  background: var(--primary-teal);
  color: #0F172A;
}
.library-card-img-wrapper:hover .eye-icon-container {
  transform: scale(1);
}

/* ===== IMAGE LIGHTBOX MODAL ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 2rem;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  border: 4px solid #0F172A;
  box-shadow: 12px 12px 0px rgba(15, 23, 42, 0.5);
  background: #FFFFFF;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.lightbox-overlay.active .lightbox-content {
  transform: scale(1) translateY(0);
}
.lightbox-content img {
  display: block;
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: var(--primary);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 10002;
  line-height: 1;
}
.lightbox-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--primary-pink);
}
.lightbox-caption {
  background: #0F172A;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
}
/* Lightbox navigation arrows */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: #FFFFFF;
  border: 3px solid #0F172A;
  border-radius: 50%;
  color: #0F172A;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 10002;
}
.lightbox-nav:hover {
  background: var(--primary-teal);
  transform: translateY(-50%) scale(1.15);
}
.lightbox-prev {
  left: 1.5rem;
}
.lightbox-next {
  right: 1.5rem;
}
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95vw;
  }
  .lightbox-content img {
    max-width: 95vw;
    max-height: 75vh;
  }
  .lightbox-close {
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .lightbox-prev {
    left: 0.75rem;
  }
  .lightbox-next {
    right: 0.75rem;
  }
}

/* How It Works List Layout */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  cursor: pointer;
  padding: 1rem;
  background: var(--bg-card);
  border: 4px solid var(--border-color);
  box-shadow: 4px 4px 0px var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-item:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px var(--border-color);
}
.step-num-huge {
  font-size: 4.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--border-color);
  transition: color 0.3s ease, -webkit-text-stroke-color 0.3s ease;
}
.step-item:hover .step-num-huge {
  color: var(--primary);
  -webkit-text-stroke-color: var(--primary);
}
.step-item:nth-child(2):hover .step-num-huge {
  color: var(--primary-teal);
  -webkit-text-stroke-color: var(--primary-teal);
}
.step-item:nth-child(3):hover .step-num-huge {
  color: var(--primary-pink);
  -webkit-text-stroke-color: var(--primary-pink);
}
.step-item:nth-child(4):hover .step-num-huge {
  color: var(--primary-teal);
  -webkit-text-stroke-color: var(--primary-teal);
}
.step-item:nth-child(5):hover .step-num-huge {
  color: var(--primary-pink);
  -webkit-text-stroke-color: var(--primary-pink);
}
.step-item:nth-child(6):hover .step-num-huge {
  color: var(--primary);
  -webkit-text-stroke-color: var(--primary);
}
.step-text-col {
  flex: 1;
}
.step-text-col h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.step-text-col p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOBILE AND TABLET RESPONSIVENESS OVERRIDES
   ========================================================================== */

/* Overrides for standard tablets and smaller (landscape & portrait) */
@media (max-width: 991px) {
  /* Hero Section Stacking */
  #hero-section .container {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    text-align: center;
  }
  
  .hero-content {
    align-items: center !important;
  }
  
  .hero-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 550px !important;
  }
  
  /* Center Hero CTA Buttons & Trust Badges */
  .hero-content > div:nth-of-type(2),
  .hero-content div[style*="display: flex"] {
    justify-content: center !important;
  }
  
  .hero-trust-badges {
    justify-content: center !important;
  }
  
  .hero-right-visual {
    margin-top: 2rem !important;
  }
  
  .hero-metrics {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    margin: 1.5rem auto 0 auto !important;
    transform: none !important;
    max-width: fit-content !important;
  }

  /* Services Grid - 2 columns on Tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  /* How It Works - vertical stacking */
  .how-it-works-section .container {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  
  .how-it-works-right {
    margin-top: 1.5rem !important;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Testimonials Grid - 2 columns on Tablet */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  
  .testimonial-card {
    transform: none !important; /* Reset rotation for clean tablet grid */
  }

  /* Contact Section - vertical stacking */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }

  /* Footer Grid - 2 columns on Tablet */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
  }
}

/* Overrides for mobile phones and small viewports */
@media (max-width: 768px) {
  /* Creations Gallery Grid stacking */
  .gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Slider / Drawer overlays */
  .cart-drawer, .mobile-menu-drawer {
    width: 85% !important;
    max-width: 380px !important;
  }

  /* Creations Library Category Filter Pills Scroll Fix */
  .library-filter-container {
    justify-content: flex-start !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  .library-filter-bar {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Overrides for smaller mobile phones */
@media (max-width: 650px) {
  /* Services & Testimonials Grids - 1 column on Mobile */
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Overrides for narrow mobile phones */
@media (max-width: 500px) {
  /* Hide header CTA on mobile to avoid horizontal squishing */
  #header-cta-btn {
    display: none !important;
  }
  
  /* Hero typography adjustments */
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem) !important;
    line-height: 1.0 !important;
  }
  
  /* Hero metrics spacing */
  .hero-metrics {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0.6rem 0.8rem !important;
    box-shadow: 4px 4px 0px #0F172A !important;
  }
  
  .hero-metrics > div {
    padding-right: 0 !important;
    border-right: none !important;
    flex: 1 1 100px !important;
  }
  
  /* Footer - single column and centered alignment */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 2rem !important;
  }
  
  .footer-brand {
    align-items: center !important;
  }
  
  .footer-brand a {
    align-self: center !important;
  }
  
  .footer-socials {
    justify-content: center !important;
  }
  
  .service-card {
    padding: 2rem 1.5rem !important;
  }
}

/* Overrides for policy page content cards */
@media (max-width: 600px) {
  .policy-main-content {
    padding: 6rem 0 3rem !important; /* Shift padding down to account for header space */
  }
  
  .policy-main-content .container > div {
    padding: 1.5rem !important;
    gap: 1.5rem !important;
  }
  
  .policy-main-content h1 {
    font-size: 1.85rem !important;
  }
  
  .policy-main-content h2 {
    font-size: 1.35rem !important;
  }
}

/* Overrides for micro-narrow viewports */
@media (max-width: 360px) {
  .library-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 1.5rem !important;
  }
  
  .hero-right-visual {
    transform: scale(0.85);
    margin-top: 1rem !important;
  }
}

/* ===== GALLERY CAROUSEL CARDS SLIDER ===== */
.gallery-slider-wrapper {
  position: relative;
  width: 100%;
}

.gallery-slider-scroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0.5rem 2rem 0.5rem;
  margin: 0 -0.5rem;
}

.gallery-slider-scroll::-webkit-scrollbar {
  display: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #FFFFFF !important;
  border: 3px solid #0F172A !important;
  color: #0F172A !important;
  width: 50px;
  height: 50px;
  border-radius: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 4px 4px 0px #0f172a !important;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slider-arrow:hover {
  transform: translateY(-50%) translate(-2px, -2px) !important;
  box-shadow: 6px 6px 0px #0f172a !important;
  background: var(--primary-teal) !important;
}

.slider-arrow:active {
  transform: translateY(-50%) translate(2px, 2px) !important;
  box-shadow: 2px 2px 0px #0f172a !important;
}

@media (min-width: 1025px) {
  .slider-arrow {
    display: none !important;
  }
  .gallery-slider-scroll {
    overflow-x: visible !important;
  }
  .gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: clamp(1.25rem, 2vw, 2.5rem) !important;
    width: 100% !important;
    margin-top: 0 !important;
  }
  .gallery-grid .library-card {
    flex: none !important;
    max-width: none !important;
    scroll-snap-align: none !important;
  }
}

@media (max-width: 1024px) {
  .gallery-slider-scroll {
    padding-left: calc(50vw - 170px) !important;
    padding-right: calc(50vw - 170px) !important;
    margin: 0 !important;
  }
  .gallery-grid {
    display: flex !important;
    gap: 2rem !important;
    width: max-content !important;
    margin-top: 0 !important;
  }
  .gallery-grid .library-card {
    flex: 0 0 340px !important;
    max-width: 85vw !important;
    scroll-snap-align: center !important;
  }
  
  .slider-arrow.prev {
    left: -0.5rem !important;
  }
  .slider-arrow.next {
    right: -0.5rem !important;
  }
}

@media (max-width: 480px) {
  .gallery-slider-scroll {
    padding-left: calc(50vw - 140px) !important;
    padding-right: calc(50vw - 140px) !important;
    margin: 0 !important;
  }
  .gallery-grid .library-card {
    flex: 0 0 280px !important;
  }
  .slider-arrow {
    width: 40px !important;
    height: 40px !important;
  }
  .slider-arrow.prev {
    left: -0.25rem !important;
  }
  .slider-arrow.next {
    right: -0.25rem !important;
  }
}

/* About Us Section Styles */
.strength-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px var(--border-color) !important;
}

@media (max-width: 991px) {
  .about-header-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .strengths-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Testimonials Slider Styles */
.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
}
.testimonials-slider-scroll {
  width: 100%;
}

@media (max-width: 1024px) {
  .testimonials-slider-scroll {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: calc(50vw - 170px) !important;
    padding-right: calc(50vw - 170px) !important;
    margin: 0 !important;
  }
  .testimonials-slider-scroll::-webkit-scrollbar {
    display: none;
  }
  .testimonials-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 2rem !important;
    width: max-content !important;
    margin-top: 0 !important;
    padding: 1rem 0 2rem 0 !important;
  }
  .testimonial-card {
    flex: 0 0 340px !important;
    max-width: 85vw !important;
    scroll-snap-align: center !important;
    transform: none !important; /* Reset desktop rotations */
  }
}

@media (max-width: 480px) {
  .testimonials-slider-scroll {
    padding-left: calc(50vw - 140px) !important;
    padding-right: calc(50vw - 140px) !important;
  }
  .testimonial-card {
    flex: 0 0 280px !important;
  }
}

