/* ============================================================
   NEON BRILLAINCE — DÉCO & PUB
   Main Stylesheet
   Brand Colors: Purple #8B31CC | Red #E31B1B
   ============================================================ */

/* ---- CSS VARIABLES / DESIGN TOKENS ---- */
:root {
  /* Brand Colors */
  --purple: #8B31CC;
  --purple-light: #A855F7;
  --purple-dark: #6D1FA3;
  --red: #E31B1B;
  --red-light: #FF3B3B;
  --red-dark: #B91414;

  /* Neon Glows */
  --glow-purple: 0 0 10px rgba(139, 49, 204, 0.8), 0 0 30px rgba(139, 49, 204, 0.5), 0 0 60px rgba(139, 49, 204, 0.3);
  --glow-red: 0 0 10px rgba(227, 27, 27, 0.8), 0 0 30px rgba(227, 27, 27, 0.5), 0 0 60px rgba(227, 27, 27, 0.3);
  --glow-mixed: 0 0 20px rgba(139, 49, 204, 0.6), 0 0 40px rgba(227, 27, 27, 0.4);

  /* Text Glows */
  --text-glow-purple: 0 0 8px rgba(168, 85, 247, 1), 0 0 20px rgba(139, 49, 204, 0.8), 0 0 40px rgba(139, 49, 204, 0.5);
  --text-glow-red: 0 0 8px rgba(255, 59, 59, 1), 0 0 20px rgba(227, 27, 27, 0.8), 0 0 40px rgba(227, 27, 27, 0.5);

  /* Backgrounds */
  --bg-base: #0A0A0A;
  --bg-surface: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1E1E1E;
  --bg-glass: rgba(255, 255, 255, 0.04);

  /* Text */
  --text-primary: #F0F0F0;
  --text-secondary: #A0A0A0;
  --text-muted: #666;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-purple: rgba(139, 49, 204, 0.4);
  --border-red: rgba(227, 27, 27, 0.4);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s ease;

  /* Font */
  --font-body: 'Outfit', sans-serif;
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  background-image: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.85)), url('workshop-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* ---- CUSTOM SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--purple), var(--red));
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-base);
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--purple-light), var(--red-light));
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--purple) var(--bg-base);
}

/* ---- UTILITY CLASSES ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Neon text effects */
.neon-text-purple {
  color: var(--purple-light);
  text-shadow: var(--text-glow-purple);
}

.neon-text-red {
  color: var(--red-light);
  text-shadow: var(--text-glow-red);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(139, 49, 204, 0.12);
  border: 1px solid var(--border-purple);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--red) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 49, 204, 0.4), 0 4px 20px rgba(227, 27, 27, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glow-purple), 0 8px 30px rgba(227, 27, 27, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--purple-light);
  color: var(--purple-light);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 0; /* Slightly more padding for the big logo */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 80px; /* Ensure container can fit the logo */
}

.logo-img {
  width: auto;
  height: 80px !important; /* Restored for banner logo */
  min-height: 80px;
  border-radius: 0;
  object-fit: contain;
  border: none;
  background: none;
  box-shadow: none;
  transition: transform var(--transition-fast);
}

.logo-img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .logo-img {
    height: 45px;
  }
}

.navbar.scrolled .logo-img {
  height: 80px !important; /* Restored consistency */
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1;
  display: flex;
  flex-direction: row; /* Changed from column to row */
  align-items: center;
  gap: 0.4rem; /* Spacing between Neon and Brilliance */
  white-space: nowrap; /* Prevent any accidental wrapping */
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.2rem;
  }
}


.logo-accent {
  color: var(--purple-light);
  text-shadow: var(--text-glow-purple);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.4rem;
  background: linear-gradient(135deg, var(--purple), var(--red));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 15px rgba(139, 49, 204, 0.4);
  transition: all var(--transition-base);
}

.nav-cta:hover {
  box-shadow: var(--glow-purple);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--bg-glass);
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(10, 10, 10, 0.8) 0%,
      rgba(10, 10, 10, 0.6) 50%,
      rgba(10, 10, 10, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 3rem 1.5rem;
  margin: 0 auto 0 calc((100% - 1200px) / 2);
  padding-left: max(1.5rem, calc((100% - 1200px) / 2 + 1.5rem));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 49, 204, 0.15);
  border: 1px solid var(--border-purple);
  color: var(--purple-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: var(--glow-purple);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(5px);
  }
}

/* ---- MARQUEE STRIP ---- */
.marquee-strip {
  background: linear-gradient(135deg, var(--purple-dark) 0%, #6D1FA3 30%, #9B1111 70%, var(--red-dark) 100%);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---- FEATURES SECTION ---- */
.features {
  padding: var(--spacing-2xl) 0;
  background: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-purple);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139, 49, 204, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon--purple {
  background: rgba(139, 49, 204, 0.15);
  color: var(--purple-light);
  border: 1px solid rgba(139, 49, 204, 0.3);
}

.feature-icon--red {
  background: rgba(227, 27, 27, 0.12);
  color: var(--red-light);
  border: 1px solid rgba(227, 27, 27, 0.3);
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---- PRODUCTS SECTION ---- */
.products {
  padding: var(--spacing-2xl) 0;
  background: transparent;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--purple-light);
  border-color: var(--border-purple);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--purple), var(--red));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(139, 49, 204, 0.35);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-purple);
  box-shadow: 0 20px 60px rgba(139, 49, 204, 0.2);
}

.product-card.hidden {
  display: none;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0d0d;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(4px);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay-btn {
  padding: 0.7rem 1.6rem;
  background: linear-gradient(135deg, var(--purple), var(--red));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--glow-mixed);
  transform: translateY(10px);
  transition: transform var(--transition-base), opacity var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.product-card:hover .product-overlay-btn {
  transform: translateY(0);
}

.product-overlay-btn .btn-text {
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: inline-block;
}

.product-overlay-btn .hover-icon {
  position: absolute;
  transform: translateY(30px);
  opacity: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.product-overlay-btn:hover .btn-text {
  transform: translateY(-30px);
  opacity: 0;
}

.product-overlay-btn:hover .hover-icon {
  transform: translateY(0);
  opacity: 1;
}

/* Multi-image Slider */
.product-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease !important;
  transform: none !important;
  /* Prevent parent hover scale conflict */
}

.product-slider img.active {
  opacity: 1;
  z-index: 1;
}

.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover .slider-nav {
  opacity: 1;
}

.slider-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
  font-size: 0.8rem;
}

.slider-arrow:hover {
  background: var(--purple);
  border-color: var(--purple-light);
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 5;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 8px #fff;
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, var(--purple), var(--red));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(139, 49, 204, 0.4);
}

.product-badge--new {
  background: linear-gradient(135deg, var(--red), #FF5C5C);
  box-shadow: 0 2px 10px rgba(227, 27, 27, 0.4);
}

.product-info {
  padding: 1.25rem;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.product-category {
  font-size: 0.8rem;
  color: var(--purple-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.8rem;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-cta {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-light);
  transition: all var(--transition-fast);
}

.product-cta:hover {
  color: var(--red-light);
  text-shadow: var(--text-glow-red);
}

/* Custom card */
.product-card--custom {
  background: linear-gradient(135deg, rgba(139, 49, 204, 0.12) 0%, rgba(227, 27, 27, 0.08) 100%);
  border: 1.5px dashed rgba(139, 49, 204, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card--custom:hover {
  border-style: solid;
  background: linear-gradient(135deg, rgba(139, 49, 204, 0.18) 0%, rgba(227, 27, 27, 0.12) 100%);
}

.product-custom-inner {
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.custom-card-icon {
  font-size: 2.5rem;
  color: var(--purple-light);
  text-shadow: var(--text-glow-purple);
}

.product-custom-inner h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-custom-inner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


.product-card.card-hidden {
  display: none;
}

/* Show More Button */
.show-more-container {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.btn-show-more {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-purple);
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(139, 49, 204, 0.1);
}

.btn-show-more:hover {
  background: rgba(139, 49, 204, 0.1);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.btn-show-more.hidden {
  display: none;
}

/* ---- PROCESS SECTION ---- */

.process {
  padding: var(--spacing-2xl) 0;
  background: transparent;
}

.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 220px;
  padding: 1.5rem 1rem;
  position: relative;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--purple);
  filter: drop-shadow(0 0 10px rgba(139, 49, 204, 0.5));
  line-height: 1;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--purple-light);
  opacity: 0.5;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  padding: var(--spacing-2xl) 0;
  background: transparent;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-purple);
  box-shadow: 0 10px 40px rgba(139, 49, 204, 0.1);
  transform: translateY(-4px);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(139, 49, 204, 0.12) 0%, rgba(227, 27, 27, 0.08) 100%);
  border-color: var(--border-purple);
  position: relative;
}

.testimonial-card--featured::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-size: 5rem;
  color: rgba(139, 49, 204, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(139, 49, 204, 0.4);
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- CUSTOM ORDER SECTION ---- */
.custom-order {
  padding: var(--spacing-2xl) 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.custom-order::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 49, 204, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.custom-order::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227, 27, 27, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.custom-order-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.custom-order-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.custom-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.custom-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(139, 49, 204, 0.15);
  color: var(--purple-light);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-purple);
}

.custom-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--purple-light);
}

/* Quote Form */
.custom-order-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 49, 204, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--purple);
  cursor: pointer;
}

.form-group--checkbox label {
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

/* File Upload Styling */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  height: 48px;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-design {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1rem;
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  height: 100%;
  transition: all var(--transition-fast);
}

.file-input:hover+.file-upload-design {
  border-color: var(--purple-light);
  background: rgba(139, 49, 204, 0.05);
}

.file-icon {
  font-size: 1.2rem;
}

.file-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Big File Upload styling */
.form-group--big {
  margin-bottom: 1.5rem;
}

.form-group--big .file-upload-wrapper {
  height: 120px;
}

.form-group--big .file-upload-design {
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  border-width: 2px;
  border-color: var(--border-purple);
  background: rgba(139, 49, 204, 0.03);
}

.form-group--big .file-icon {
  font-size: 2.5rem;
}

.form-group--big .file-label {
  font-size: 1.1rem;
  font-weight: 600;
}

.form-group--big .file-input:hover+.file-upload-design {
  border-color: var(--purple-light);
  background: rgba(139, 49, 204, 0.08);
  box-shadow: var(--glow-purple);
}

.form-success {
  background: rgba(139, 49, 204, 0.12);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.success-icon {
  font-size: 1.5rem;
}

/* ---- FOOTER ---- */
.footer {
  background: #060606;
  border-top: 1px solid var(--border-subtle);
}

.footer-top {
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 2px solid transparent;
  background: linear-gradient(#060606, #060606) padding-box,
    linear-gradient(135deg, var(--purple), var(--red)) border-box;
  transition: transform var(--transition-base);
}

.footer-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--purple), var(--red));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--purple-light);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--purple-light);
}

/* ---- SCROLL TO TOP ---- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--red));
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-purple);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  box-shadow: var(--glow-red);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE DESIGN — MOBILE FIRST
   ============================================================ */

/* Tablet: 1024px and below */
@media (max-width: 1024px) {
  .hero-content {
    margin: 0 auto;
    padding-left: 1.5rem;
  }

  .custom-order-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {

  /* Nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 6rem 2rem 2rem;
    border-left: 1px solid var(--border-subtle);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 999;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }

  .nav-cta {
    margin: 1rem 0 0 0;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    font-size: 1rem;
  }

  /* Hero */
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Products Grid */
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Process */
  .process-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .process-step {
    max-width: 100%;
    flex-direction: row;
    text-align: left;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
  }

  .step-number {
    font-size: 2rem;
    flex-shrink: 0;
    min-width: 50px;
  }

  .step-arrow {
    display: none;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .custom-order-form {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  /* Scroll top */
  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Small Mobile: 480px and below */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   LIVE NEON CONFIGURATOR
   ============================================================ */
.configurator {
  padding: var(--spacing-xl) 0;
  background: var(--bg-base);
  position: relative;
  overflow: hidden;
}

.configurator::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 49, 204, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.configurator-inner {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}

.cfg-col-right, .cfg-col-left {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Tight spacing between sections */
}

.cfg-col-left {
  flex: 1;
}

.cfg-col-right {
  flex: 1.2;
}

@media (max-width: 992px) {
  .configurator-inner {
    flex-direction: column;
  }
  .cfg-col-right, .cfg-col-left {
    width: 100%;
  }
}

/* WhatsApp Button Premium Styling */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white !important;
  border: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-top: 1rem;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, #2ae06d 0%, #15a392 100%);
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-whatsapp:hover::before {
  left: 100%;
}

/* ---- Preview Panel ---- */
.cfg-preview {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cfg-preview-scene {
  width: 100%;
  min-height: 500px;
  background: #f0f0f0 url('images/configurator-bg.png') center/cover no-repeat;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.5rem;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3);
}

.cfg-preview-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--glow-rgba) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s ease;
}

.cfg-preview-neon {
  position: relative;
  z-index: 1;
  text-align: center;
  transition: all 0.3s ease;
  width: fit-content;
  max-width: 95%;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
}

/* Rectangle Backing Look */
.cfg-backing-rectangle {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Cut to Shape Look */
.cfg-backing-cut-to-shape {
  background: transparent;
  border: none;
  border-radius: 40px;
  box-shadow: none;
}

.cfg-preview-neon span {
  display: inline-block;
  font-family: 'Pacifico', cursive;
  font-size: 3.5rem; /* Base size, will be adjusted by JS */
  line-height: 1.1;
  text-shadow:
    0 0 2px #fff,
    0 0 5px #fff,
    0 0 10px #A855F7,
    0 0 20px #A855F7,
    0 0 45px #A855F7,
    0 0 80px rgba(168, 85, 247, 0.5);
  line-height: 1.2;
  white-space: pre;
  transition: all 0.35s ease;
  animation: cfgFlicker 8s ease-in-out infinite;
}

@keyframes cfgFlicker {

  0%,
  93%,
  100% {
    opacity: 1;
  }

  94% {
    opacity: 0.85;
  }

  95% {
    opacity: 1;
  }

  97% {
    opacity: 0.9;
  }
}

.cfg-dimension-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cfg-dimension-line {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
  position: relative;
  transition: width 0.35s ease;
}

.cfg-dimension-line::before,
.cfg-dimension-line::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 2px;
  height: 10px;
  background: rgba(168, 85, 247, 0.5);
}

.cfg-dimension-line::before {
  left: 0;
}

.cfg-dimension-line::after {
  right: 0;
}

.cfg-dimension-label {
  font-size: 0.72rem;
  color: rgba(168, 85, 247, 0.7);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}

.cfg-preview-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.06em;
}

/* Preview Toolbar */
.cfg-toolbar {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #ffffff !important;
  border-radius: 50px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  z-index: 9999 !important;
  border: 2px solid #ffffff;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  width: max-content !important;
  min-width: 200px;
}

.cfg-tool-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #333;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 0;
}

.cfg-tool-btn:hover {
  background: rgba(139, 49, 204, 0.1);
  color: var(--purple);
  transform: scale(1.15);
}

.cfg-tool-btn:active {
  transform: scale(0.95);
}

.cfg-tool-btn svg {
  display: block;
}

/* ---- Options Panel ---- */
.cfg-panel {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Configurator Mode Toggle */
.cfg-mode-toggle {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.cfg-mode-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 700;
  transition: all var(--transition-fast);
  font-size: 1.1rem;
}

.cfg-mode-btn .mode-icon {
  font-size: 1.3rem;
  color: var(--text-muted);
}

.cfg-mode-btn.active {
  background: #1A1A2E;
  /* Dark blue/purple matching the user image */
  border-color: var(--purple-light);
  color: #FFE800;
  /* Yellow text for active state */
}

.cfg-mode-btn.active .mode-icon {
  color: #FFE800;
}

.cfg-mode-btn:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
}

/* Tabs */
.cfg-tab-content {
  display: none;
}

.cfg-tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cfg-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s;
}

.cfg-step:focus-within {
  border-color: var(--border-purple);
}

.cfg-step--inline {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.cfg-step-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cfg-step-num {
  color: var(--purple-light);
  font-size: 0.65rem;
  background: rgba(139, 49, 204, 0.15);
  border: 1px solid var(--border-purple);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* Text */
.cfg-text-wrap {
  position: relative;
}

.cfg-textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Pacifico', cursive;
  font-size: 1.05rem;
  padding: 0.8rem 1rem 1.8rem;
  resize: none;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.45;
}

.cfg-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 49, 204, 0.12);
}

.cfg-textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.cfg-char-count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.cfg-align-btns {
  display: flex;
  gap: 0.5rem;
}

.cfg-align-btn {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
  cursor: pointer;
}

.cfg-align-btn.active,
.cfg-align-btn:hover {
  background: rgba(139, 49, 204, 0.12);
  border-color: var(--border-purple);
  color: var(--purple-light);
}

/* Fonts */
.cfg-font-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.cfg-font-btn {
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.cfg-font-btn.active,
.cfg-font-btn:hover {
  background: rgba(139, 49, 204, 0.12);
  border-color: var(--border-purple);
  color: var(--purple-light);
}

/* Colors */
.cfg-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cfg-color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.22s;
  flex-shrink: 0;
}

.cfg-color-swatch:hover {
  transform: scale(1.18);
}

.cfg-color-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), 0 0 14px rgba(255, 255, 255, 0.15);
  transform: scale(1.22);
}

.cfg-color-name {
  font-size: 0.78rem;
  color: var(--purple-light);
  font-weight: 600;
  min-height: 1.1em;
}

/* Sizes */
/* Dimensions */
.cfg-dimensions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cfg-dim-group {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cfg-dim-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cfg-dim-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.8rem 1rem;
  width: 100%;
  outline: none;
  transition: all var(--transition-fast);
  text-align: center;
}

.cfg-dim-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(139, 49, 204, 0.15);
  background: rgba(139, 49, 204, 0.05);
}

/* Hide spin buttons */
.cfg-dim-input::-webkit-outer-spin-button,
.cfg-dim-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cfg-dim-input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Backing */
.cfg-backing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.cfg-backing-btn {
  padding: 0.75rem 0.4rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.cfg-backing-btn.active,
.cfg-backing-btn:hover {
  background: rgba(139, 49, 204, 0.12);
  border-color: var(--border-purple);
}

.backing-icon {
  font-size: 1.2rem;
  color: var(--purple-light);
}

.backing-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.backing-price {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.cfg-backing-btn.active .backing-price {
  color: var(--purple-light);
}

/* Toggle */
.cfg-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.cfg-toggle input {
  display: none;
}

.cfg-toggle-track {
  width: 46px;
  height: 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
}

.cfg-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.3s;
}

.cfg-toggle input:checked+.cfg-toggle-track {
  background: linear-gradient(135deg, var(--purple), var(--red));
  border-color: transparent;
  box-shadow: 0 0 12px rgba(139, 49, 204, 0.4);
}

.cfg-toggle input:checked+.cfg-toggle-track::after {
  left: 24px;
  background: #fff;
}

.cfg-toggle-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.cfg-toggle input:checked~.cfg-toggle-price {
  color: var(--purple-light);
}

/* Price Box */
.cfg-price-box {
  background: linear-gradient(135deg, rgba(139, 49, 204, 0.1), rgba(227, 27, 27, 0.07));
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cfg-price-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cfg-price-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 700;
}

.cfg-price-value {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  transition: all 0.4s;
}

.cfg-price-currency {
  font-size: 1.2rem;
  color: var(--purple-light);
  font-weight: 700;
}

.cfg-price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* price animation */
@keyframes pricePop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.cfg-price-value.animate {
  animation: pricePop 0.35s ease;
}

/* YouCan Widget Styling */
#widget {
  flex-shrink: 0;
  width: auto;
  min-height: 50px;
  display: flex !important;
  align-items: center;
}

#widget .yc-buy-now-button {
  width: 100% !important;
  min-width: 180px !important;
  height: auto !important;
  padding: 0.8rem 1.8rem !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--font-body) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  background: linear-gradient(135deg, var(--purple) 0%, var(--red) 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(139, 49, 204, 0.4), 0 0 0 0 rgba(139, 49, 204, 0.7) !important;
  border: none !important;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  animation: pulse-glow 2s infinite !important;
}

#widget .yc-buy-now-button:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 30px rgba(139, 49, 204, 0.6), 0 8px 30px rgba(227, 27, 27, 0.3) !important;
  filter: brightness(1.1) !important;
}

#widget .yc-buy-now-button:active {
  transform: translateY(1px) scale(0.98) !important;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 20px rgba(139, 49, 204, 0.4), 0 0 0 0 rgba(139, 49, 204, 0.4) !important;
  }

  70% {
    box-shadow: 0 4px 20px rgba(139, 49, 204, 0.4), 0 0 0 10px rgba(139, 49, 204, 0) !important;
  }

  100% {
    box-shadow: 0 4px 20px rgba(139, 49, 204, 0.4), 0 0 0 0 rgba(139, 49, 204, 0) !important;
  }
}


/* Responsive adjustments for Price Box */
@media (max-width: 768px) {
  .cfg-price-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .cfg-price-value {
    justify-content: center;
  }

  #widget {
    width: 100%;
    min-width: unset;
  }
}

/* ---- Configurator Responsive ---- */
@media (max-width: 1024px) {
  .configurator-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cfg-preview {
    position: static;
  }
}

@media (max-width: 768px) {
  .cfg-preview-scene {
    min-height: 200px;
  }

  .cfg-preview-neon span {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }

  .cfg-font-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cfg-size-btn {
    min-width: 44px;
    font-size: 0.9rem;
  }
}

/* ============================================================
   ADDITIONAL RESPONSIVE IMPROVEMENTS
   ============================================================ */

/* Touch targets — all buttons min 44px */
button,
.btn,
.nav-cta,
.filter-btn,
.cfg-size-btn,
.cfg-color-swatch,
.cfg-font-btn,
.cfg-backing-btn,
.scroll-top,
.hamburger span {
  -webkit-tap-highlight-color: transparent;
}

/* Fix hero buttons wrapping on phones */
@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-badge {
    font-size: 0.7rem;
    white-space: normal;
    text-align: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* Configurator on very small screens */
@media (max-width: 480px) {
  .cfg-step {
    padding: 1rem;
  }

  .cfg-color-grid {
    gap: 0.4rem;
  }

  .cfg-color-swatch {
    width: 30px;
    height: 30px;
  }

  .cfg-backing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .backing-name {
    font-size: 0.72rem;
  }

  .backing-price {
    font-size: 0.62rem;
  }

  .cfg-price-value {
    font-size: 2rem;
  }

  .cfg-size-grid {
    flex-wrap: nowrap;
  }

  .cfg-size-btn {
    min-width: 0;
    flex: 1;
    padding: 0.5rem 0.1rem;
    font-size: 0.85rem;
  }

  .cfg-size-btn span {
    display: none;
  }

  .cfg-font-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Products grid on small phones */
@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-filters {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .filter-btn {
    flex: 1;
    text-align: center;
    min-width: calc(50% - 0.4rem);
  }
}

/* Process steps on mobile — better vertical layout */
@media (max-width: 600px) {
  .process-steps {
    flex-direction: column;
    gap: 0.75rem;
  }

  .process-step {
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
  }
}

/* Testimonials on small phones */
@media (max-width: 480px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer on very small phones */
@media (max-width: 360px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===================== LOGO JOURNEY SECTION ===================== */
.logo-journey {
  padding: var(--spacing-2xl) 0;
  background: var(--bg-surface);
  text-align: center;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

@media (max-width: 1024px) {
  .journey-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .journey-grid {
    grid-template-columns: 1fr;
  }
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.step-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--glow-purple);
  z-index: 2;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.step-img-box {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
  position: relative;
}

.journey-step:hover .step-img-box {
  border-color: var(--purple-light);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 49, 204, 0.2);
}

.step-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.journey-step:hover .step-img-box img {
  transform: scale(1.05);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 220px;
}

.journey-footer-text {
  margin-top: 4rem;
  font-size: clamp(1.2rem, 4vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

/* Connectors (Desktop only) */
@media (min-width: 1025px) {
  .journey-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 2px;
    border-top: 2px dashed rgba(255, 255, 255, 0.15);
    z-index: 1;
  }
}

/* Container horizontal padding on mobile */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}

/* Ensure mobile nav links are large enough to tap */
@media (max-width: 768px) {
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hamburger {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ---- SIZE PILL SELECTOR (Taille — Step 04) ---- */
.cfg-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.cfg-size-pill {
  flex: 1 1 calc(16.666% - 0.55rem);
  min-width: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.7rem 0.5rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.cfg-size-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple), var(--red));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cfg-size-pill:hover {
  border-color: var(--border-purple);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 49, 204, 0.25);
}

.cfg-size-pill.active {
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 14px rgba(139, 49, 204, 0.55), 0 0 28px rgba(227, 27, 27, 0.3);
  transform: translateY(-2px);
}

.cfg-size-pill.active::before {
  opacity: 1;
}

.size-pill-label {
  position: relative;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}

.size-pill-range {
  position: relative;
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.75;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.cfg-size-pill.active .size-pill-range {
  opacity: 0.9;
}

/* Custom dim inputs row */
.cfg-dimensions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cfg-dim-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cfg-dim-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cfg-dim-input {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 0.75rem;
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -moz-appearance: textfield;
  appearance: textfield;
}

.cfg-dim-input::-webkit-outer-spin-button,
.cfg-dim-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cfg-dim-input:focus {
  outline: none;
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(139, 49, 204, 0.18);
}

@media (max-width: 480px) {
  .cfg-size-pill {
    flex: 1 1 calc(33.333% - 0.55rem);
  }
}

/* ---- NOTES STEP (Step 07) ---- */
.cfg-step--notes .cfg-step-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cfg-notes-optional {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.cfg-notes-wrap {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}

/* animated left accent bar */
.cfg-notes-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--purple), var(--red));
  opacity: 0;
  transition: opacity var(--transition-fast);
  border-radius: 3px 0 0 3px;
}

.cfg-notes-wrap:focus-within {
  border-color: var(--border-purple);
  box-shadow: 0 0 0 3px rgba(139, 49, 204, 0.14), 0 4px 20px rgba(139, 49, 204, 0.12);
}

.cfg-notes-wrap:focus-within::before {
  opacity: 1;
}

.cfg-notes-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  font-size: 1rem;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.cfg-notes-wrap:focus-within .cfg-notes-icon {
  opacity: 0.6;
}

.cfg-notes-textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  padding: 0.85rem 2.5rem 2rem 0.95rem;
  resize: none;
  min-height: 88px;
}

.cfg-notes-textarea::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.cfg-notes-count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.cfg-notes-wrap:focus-within .cfg-notes-count {
  color: var(--purple-light);
}

/* ---- BACKING CARDS WITH EXEMPLE ---- */
.cfg-backing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.cfg-backing-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Exemple pill button */
.cfg-exemple-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--purple-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.cfg-exemple-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 49, 204, 0.18), rgba(227, 27, 27, 0.1));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cfg-exemple-btn:hover {
  border-color: var(--purple-light);
  color: #fff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
  transform: translateY(-1px);
}

.cfg-exemple-btn:hover::before {
  opacity: 1;
}

.exemple-eye {
  font-size: 0.85rem;
  position: relative;
}

/* ---- EXEMPLE MODAL ---- */
.exemple-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.exemple-modal.open {
  pointer-events: all;
  opacity: 1;
}

.exemple-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}

.exemple-modal-card {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  max-width: 800px;
  width: 95%;
  box-shadow: 0 0 60px rgba(139, 49, 204, 0.25), 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  opacity: 0;
}

.exemple-modal.open .exemple-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.exemple-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.exemple-modal-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.exemple-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.exemple-modal-close:hover {
  background: rgba(227, 27, 27, 0.15);
  border-color: var(--border-red);
  color: var(--red-light);
}

.exemple-modal-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0a0a0a;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 70vh;
}

.exemple-modal-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}

/* neon ambient glow behind image */
.exemple-modal-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(139, 49, 204, 0.35) 0%, transparent 65%);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.exemple-modal-caption {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* ---- FONT GRID SECTION LABELS ---- */
.cfg-font-section-label {
  grid-column: 1 / -1;    /* spans full width of the grid */
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.3rem 0 0.1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.1rem;
}

.cfg-font-section-label--arabic {
  color: var(--purple-light);
  border-color: var(--border-purple);
  opacity: 0.8;
}

/* Arabic font buttons — bigger preview text, rtl direction */
.cfg-font-btn--arabic {
  font-size: 1rem;
  direction: rtl;
  line-height: 1.3;
}

.cfg-font-btn--arabic.active {
  border-color: var(--red-light);
  box-shadow: 0 0 12px rgba(227, 27, 27, 0.4);
}

