/* =======================================================================
   STYLES.CSS - COMPLETE HOME PAGE REDESIGN
   Fully responsive, premium visuals, maintains theme
   ======================================================================= */

/* ===================== TABLE OF CONTENTS ===================== */
/* 01. Fonts & Variables - Enhanced */
/* 02. Reset & Base */
/* 03. Typography - Premium */
/* 04. Buttons - Enhanced */
/* 05. Top Bar - Refined */
/* 06. User Menu - Premium */
/* 07. Main Header - Sticky Premium */
/* 08. Mobile Nav - Enhanced Drawer */
/* 09. Hero Section - Editorial Premium */
/* 10. Featured Categories - Modern Strip */
/* 11. Process Section - Premium Cards */
/* 12. Category Showcase - Enhanced Tabs */
/* 13. Services Grid - Premium Cards */
/* 14. Products Showcase - Modern Grid */
/* 15. Values Section - Premium Layout */
/* 16. Portfolio Section - Creative Grid */
/* 17. Creators Section - Premium Cards */
/* 18. Membership Levels - Premium Tiers */
/* 19. Activity Feed - Modern */
/* 20. CTA Section - Premium */
/* 21. Footer - Enhanced */
/* 22. Mobile Bottom Navigation */
/* 23. Responsive Utilities */
/* 24. Ecosystem Section - Premium */
/* 25. Stats Section - Premium */
/* 26. Newsletter - Enhanced */
/* 27. Partner Section - Modern */
/* 28. Testimonial Section - Premium */
/* 29. Blog Section - Modern */
/* 30. FAQ Section - Enhanced */
/* 31. Contact Section - Premium */
/* 32. Utility Classes - Enhanced */
/* 33. Print Styles */
/* 34. Responsive Breakpoints - Fine-tuned */
/* ======================================================================= */

/* ========================================================================
   01. FONTS & VARIABLES - Enhanced
   ======================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  /* Container */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 4vw, 2rem);

  /* Colors - Enhanced palette */
  --bg: #faf9f7;
  --bg-dark: #f5f3f0;
  --text-dark: #2e2a28;
  --text-soft: #5e5a58;
  --text-light: #8a8684;
  --accent: #b78c5a;
  --accent-light: #dab88f;
  --accent-dark: #9a7a4e;
  --accent-gradient: linear-gradient(135deg, #dab88f 0%, #b78c5a 100%);
  --accent-gradient-reverse: linear-gradient(135deg, #b78c5a 0%, #dab88f 100%);

  /* Cards */
  --card-bg: #ffffff;
  --card-border: #ece9e5;
  --card-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 25px 40px -15px rgba(183, 140, 90, 0.2);

  /* Borders */
  --border-light: #ece9e5;
  --border-medium: #ddd8d2;

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --spacer: 8px;
  --touch-target: 44px;

  /* Z-index layers */
  --z-dropdown: 1001;
  --z-sticky: 100;
  --z-modal: 2000;
  --z-toast: 3000;
}

/* ========================================================================
   02. RESET & BASE - Enhanced
   ======================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* Selection styling */
::selection {
  background: var(--accent);
  color: white;
  text-shadow: none;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Smooth scrolling but respect user preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================================================
   03. TYPOGRAPHY - Premium
   ======================================================================== */
h1,
h2,
h3,
h4,
h5,
h6,
.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  text-align: center;
  position: relative;
  display: inline-block;
}

.section-title-serif .dot {
  color: var(--accent);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 0.8;
  display: inline-block;
  margin-left: 2px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.section-subtitle {
  color: var(--text-soft);
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
  font-weight: 300;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  gap: 1rem;
  text-align: center;
  position: relative;
}

.section-header.minimal {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.section-header.with-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-header.with-link {
    flex-direction: row;
    align-items: baseline;
    text-align: left;
    gap: 2rem;
  }

  .section-header.with-link .section-title-serif {
    text-align: left;
    margin-bottom: 0;
  }

  .section-header.with-link .section-subtitle {
    text-align: left;
    margin: 0;
  }
}

.section-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  min-height: var(--touch-target);
  border-bottom: 2px solid transparent;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.section-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.section-link:hover {
  color: var(--text-dark);
}

.section-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.section-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.section-link:hover i {
  transform: translateX(6px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.eyebrow::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ========================================================================
   04. BUTTONS - Enhanced
   ======================================================================== */
.btn-primary,
.btn-outline,
.btn-outline-small,
.btn-text,
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  min-height: var(--touch-target);
  padding: 0.75rem 2rem;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--text-dark);
  color: white;
  box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -8px rgba(183, 140, 90, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--text-dark);
  color: var(--text-dark);
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--text-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-outline:hover {
  color: white;
  border-color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -8px rgba(0, 0, 0, 0.15);
}

.btn-outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline-small {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-soft);
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
  min-height: 36px;
}

.btn-outline-small:hover {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-text {
  background: transparent;
  color: var(--accent);
  padding: 0.5rem 1rem;
  min-height: auto;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}

.btn-text:hover {
  color: var(--text-dark);
  border-bottom-color: var(--accent);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.05);
}

.btn-icon:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 20px -8px rgba(183, 140, 90, 0.3);
}

.btn-icon i {
  font-size: 1rem;
}

.btn-primary:disabled,
.btn-outline:disabled,
.btn-text:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========================================================================
   05. TOP BAR - Refined
   ======================================================================== */
.top-bar {
  background: var(--text-dark);
  color: white;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: var(--z-dropdown);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 40px;
}

.top-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-contact span {
  opacity: 0.9;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-contact i {
  color: var(--accent-light);
  font-size: 0.7rem;
}

.top-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-auth .top-link {
  color: white;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  transition: all 0.3s ease;
  font-size: 0.75rem;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.top-auth .top-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.top-auth .top-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.top-auth .sep {
  opacity: 0.3;
  font-size: 0.7rem;
}

/* ========================================================================
   06. USER MENU - Premium
   ======================================================================== */
.user-menu {
  position: relative;
  display: inline-block;
}

.user-menu-button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border-radius: 40px;
  transition: all 0.3s ease;
  min-height: 38px;
  color: white;
}

.user-menu-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar-container {
  position: relative;
  width: 32px;
  height: 32px;
}

.user-avatar-small {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-menu-button i {
  font-size: 0.7rem;
  margin-right: 0.25rem;
  transition: transform 0.3s ease;
}

.user-menu-button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Ensure dropdown container breaks out of sticky navbar stacking context */
.user-dropdown-container {
  position: relative;
  z-index: var(--z-dropdown);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  display: none;
  z-index: var(--z-dropdown);
  overflow: hidden;
  animation: dropdownFade 0.3s ease;
}

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

.user-dropdown.active {
  display: block;
}

.dropdown-header {
  padding: 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.dropdown-user-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dropdown-user-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.dropdown-user-email {
  font-size: 0.8rem;
  color: var(--text-soft);
  word-break: break-word;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.25rem 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  border: none;
  background: none;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  font-weight: 500;
}

.dropdown-item i {
  width: 20px;
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--bg);
}

.dropdown-item:hover i {
  color: var(--accent);
  transform: translateX(2px);
}

/* Mobile user menu adjustments */
@media (max-width: 768px) {
  .user-dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 80vh;
    overflow-y: auto;
  }

  .user-dropdown.active {
    animation: slideUp 0.3s ease;
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
}

/* ========================================================================
   07. MAIN HEADER - Sticky Premium
   ======================================================================== */
.main-header {
  background: var(--bg);
  padding: 1rem 0;
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 50;
}

.main-header.sticky {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo a {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  display: inline-block;
}

.logo-dot {
  color: var(--accent);
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  line-height: 0.8;
  margin-left: 2px;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  position: relative;
}

.main-nav a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-dark);
}

.main-nav a:hover::before,
.main-nav a.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-dark);
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  transition: all 0.2s ease;
  border-radius: 50%;
}

.hamburger:hover {
  background: var(--bg);
  color: var(--accent);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

/* ========================================================================
   08. MOBILE NAV - Enhanced Drawer
   ======================================================================== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.mobile-nav.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 350px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.mobile-nav.active .mobile-nav-drawer {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg);
}

.mobile-nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-soft);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: var(--bg);
  color: var(--accent);
  transform: rotate(90deg);
}

.mobile-nav-user {
  padding: 1.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
}

.mobile-user-details h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.mobile-user-details p {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.mobile-nav-menu {
  flex: 1;
  padding: 1rem 0;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  min-height: 50px;
  font-weight: 500;
}

.mobile-nav-item i {
  width: 24px;
  color: var(--accent);
  font-size: 1rem;
  text-align: center;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: var(--bg);
  border-left-color: var(--accent);
}

.mobile-nav-item .badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  min-width: 22px;
  height: 22px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-weight: 600;
}

.mobile-nav-divider {
  height: 1px;
  background: var(--border-light);
  margin: 1rem 1.5rem;
}

.mobile-nav-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-soft);
  text-align: center;
  background: var(--bg);
}

/* ========================================================================
   09. HERO SECTION - Editorial Premium
   ======================================================================== */
.hero-section {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(183, 140, 90, 0.03) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-2%, -2%) rotate(1deg);
  }
  66% {
    transform: translate(2%, 2%) rotate(-1deg);
  }
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-layout {
    flex-direction: row;
    align-items: center;
    gap: clamp(3rem, 8vw, 5rem);
  }
}

.hero-content {
  flex: 1 1 100%;
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

@media (min-width: 768px) {
  .hero-content {
    flex: 1 1 50%;
    text-align: left;
  }
}

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

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.hero-eyebrow::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .hero-eyebrow::after {
    left: 0;
    transform: none;
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.hero-title .title-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-title .title-accent::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(183, 140, 90, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: var(--text-soft);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero-description {
    margin: 0 0 2.5rem;
    padding: 0;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    gap: 1rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-actions {
    margin-bottom: 2.5rem;
  }
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  min-width: 160px;
}

.hero-statements {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero-statements {
    justify-content: flex-start;
    gap: 2rem;
    padding: 0;
  }
}

.statement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(5px);
}

.statement-item i {
  color: var(--accent);
  font-size: 0.8rem;
}

.hero-visual {
  flex: 1 1 100%;
  width: 100%;
  padding: 0 1rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@media (min-width: 768px) {
  .hero-visual {
    flex: 1 1 45%;
    padding: 0;
  }
}

.hero-image-grid {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  aspect-ratio: 3/4;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40% 60% 30% 70% / 50% 40% 60% 50%;
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.5s ease,
    border-radius 0.5s ease;
}

.hero-img-main:hover {
  transform: scale(1.02);
  border-radius: 45% 55% 35% 65% / 55% 45% 55% 45%;
}

.hero-img-accent {
  display: none;
}

@media (min-width: 768px) {
  .hero-img-accent {
    display: block;
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 140px;
    height: 140px;
    border-radius: 30% 70% 50% 50% / 30% 40% 60% 70%;
    box-shadow: 0 25px 35px -15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    border: 4px solid white;
    transition: transform 0.5s ease;
    animation: floatImage 6s ease-in-out infinite;
  }

  .hero-img-accent:hover {
    transform: scale(1.05);
  }
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

/* ========================================================================
   10. FEATURED CATEGORIES - Modern Strip
   ======================================================================== */
.featured-categories {
  padding: 1.5rem 0 2.5rem;
  background: white;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
}

.category-strip-wrapper {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 var(--container-padding) 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--border-light);
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  scroll-padding: 0 var(--container-padding);
}

.category-strip-wrapper::-webkit-scrollbar {
  height: 3px;
}

.category-strip-wrapper::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 3px;
}

.category-strip-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.category-pill {
  flex: 0 0 auto;
  padding: 0.6rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.category-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.category-pill:hover,
.category-pill.active {
  color: white;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(183, 140, 90, 0.3);
}

.category-pill:hover::before,
.category-pill.active::before {
  opacity: 1;
}

/* ========================================================================
   11. PROCESS SECTION - Premium Cards
   ======================================================================== */
.process-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(183, 140, 90, 0.02) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }
}

.process-card {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px -8px rgba(183, 140, 90, 0.2);
}

.process-card:hover .process-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 15px 25px -8px rgba(183, 140, 90, 0.3);
}

@media (min-width: 768px) {
  .process-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}

.process-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.process-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.process-card:hover h3::after {
  width: 40px;
}

.process-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* ========================================================================
   12. CATEGORY SHOWCASE - Enhanced Tabs
   ======================================================================== */
.category-showcase {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
}

.category-tabs-container {
  margin-bottom: 2rem;
  width: 100%;
  position: relative;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

.category-tab {
  padding: 0.6rem 1.5rem;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  color: var(--text-soft);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.category-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--text-dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.category-tab:hover {
  color: white;
  border-color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.1);
}

.category-tab:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Active state for service category tabs */
.category-tab.active {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}

.category-tab.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Provider Type Tabs */
.provider-type-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
  padding-left: 1rem;
  padding-right: 1rem;
}

.provider-type-tabs::-webkit-scrollbar {
  display: none;
}

.provider-type-tabs .type-tab {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 40px;
  position: relative;
  font-weight: 500;
  flex: 0 0 auto;
}

.provider-type-tabs .type-tab:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.provider-type-tabs .type-tab:hover {
  color: var(--text-dark);
}

.provider-type-tabs .type-tab.active {
  color: var(--accent);
}

.provider-type-tabs .type-tab.active:after {
  background: var(--accent);
}

/* Product Category Tabs */
.product-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.product-category-tabs .category-tab {
  background: var(--bg);
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
}

/* ========================================================================
   13. SERVICES GRID - Premium Cards
   ======================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.curated-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  color: inherit;
  width: 100%;
  border: 1px solid var(--border-light);
  position: relative;
}

.curated-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 2;
}

.curated-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.curated-card:hover::before {
  transform: scaleX(1);
}

.curated-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
}

.curated-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.curated-card:hover .curated-card-image::after {
  opacity: 1;
}

.curated-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.curated-card:hover .curated-card-image img {
  transform: scale(1.08);
}

.curated-card-content {
  padding: 1.25rem;
  background: white;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .curated-card-content {
    padding: 1.5rem;
  }
}

.curated-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.curated-card-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .curated-card-header h3 {
    font-size: 1rem;
  }
}

.curated-rating {
  color: var(--accent);
  font-size: 0.75rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(183, 140, 90, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 30px;
}

.curated-rating i {
  color: #ffb800;
  font-size: 0.7rem;
}

.curated-provider {
  color: var(--text-soft);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.curated-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.curated-location i {
  color: var(--accent);
  font-size: 0.6rem;
}

.curated-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.curated-price span {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Provider Type Badge */
.provider-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  z-index: 5;
}

.provider-type-badge i {
  color: var(--accent);
  font-size: 0.6rem;
}

/* ========================================================================
   14. PRODUCTS SHOWCASE - Modern Grid
   ======================================================================== */
.products-showcase {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ========================================================================
   16. PORTFOLIO SECTION - Creative Grid
   ======================================================================== */
.portfolio-section {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-light),
    transparent
  );
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .portfolio-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    text-align: left;
  }
}

.portfolio-header-left {
  max-width: 600px;
}

.portfolio-header-left .section-title-serif {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .portfolio-header-left .section-title-serif {
    text-align: left;
  }
}

.portfolio-header-left .section-title-serif::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--accent);
}

@media (min-width: 768px) {
  .portfolio-header-left .section-title-serif::after {
    left: 0;
    transform: none;
  }
}

.portfolio-header-left .section-subtitle {
  text-align: center;
  margin: 0;
}

@media (min-width: 768px) {
  .portfolio-header-left .section-subtitle {
    text-align: left;
  }
}

.portfolio-filter-tabs {
  display: flex;
  gap: 0.25rem;
  background: white;
  padding: 0.25rem;
  border-radius: 40px;
  box-shadow: 0 5px 15px -8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.portfolio-filter-tabs::-webkit-scrollbar {
  display: none;
}

.portfolio-filter-tab {
  padding: 0.6rem 1.25rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 40px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.portfolio-filter-tab:hover {
  color: var(--text-dark);
  background: var(--bg);
}

.portfolio-filter-tab.active {
  background: var(--text-dark);
  color: white;
}

/* Parent grid - creative layout */
.parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 0;
  margin-top: 2rem;
  width: 100%;
  max-height: 500px;
  aspect-ratio: 3 / 2;
}

@media (min-width: 640px) {
  .parent {
    max-height: 600px;
  }
}

@media (min-width: 768px) {
  .parent {
    max-height: 700px;
    margin-top: 2.5rem;
  }
}

/* Grid positioning */
.div1 {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
}
.div2 {
  grid-row: span 3 / span 3;
  grid-column-start: 3;
}
.div3 {
  grid-row: span 2 / span 2;
  grid-column-start: 3;
}
.div4 {
  grid-row: span 2 / span 2;
  grid-column-start: 1;
  grid-row-start: 4;
}
.div5 {
  grid-row: span 3 / span 3;
  grid-column-start: 1;
  grid-row-start: 6;
}
.div6 {
  grid-row: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 4;
}
.div7 {
  grid-row: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 7;
}
.div8 {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
  grid-column-start: 2;
  grid-row-start: 6;
}

/* Home page banner — fills exact same space as the 3 quote-cards (cols 1-3, rows 4-5) */
.div-home-banner {
  grid-column: 1 / 4;
  grid-row: 4 / 6;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: default;
}

.parent > div {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: white;
  width: 100%;
  height: 100%;
  min-height: 60px;
  border: 1px solid var(--border-light);
}

.parent > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.parent > div:hover img {
  transform: scale(1.05);
}

/* Quote card styles */
.parent > div.quote-card {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: all 0.3s ease;
}

.parent > div.quote-card:hover {
  background: var(--bg);
}

.quote-content {
  text-align: center;
  max-width: 150px;
}

@media (min-width: 640px) {
  .quote-content {
    max-width: 180px;
  }
}

.quote-mark {
  font-size: 2rem;
  color: var(--accent);
  font-family: var(--font-serif);
  line-height: 0.8;
  margin-bottom: 0.25rem;
  opacity: 0.2;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.quote-author {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-project {
  font-size: 0.6rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Portfolio overlay */
.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.parent > div:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item-category {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.portfolio-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.1rem 0;
  font-family: var(--font-serif);
  line-height: 1.2;
}

.portfolio-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 0.65rem;
}

.portfolio-item-provider {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.9;
}

.portfolio-item-provider i {
  font-size: 0.55rem;
  color: var(--accent-light);
}

.portfolio-item-likes {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.portfolio-item-likes i {
  color: #ff6b6b;
  font-size: 0.55rem;
}

/* Portfolio badges */
.portfolio-item-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--accent);
  color: white;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.portfolio-quick-view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  color: var(--text-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
}

.parent > div:hover .portfolio-quick-view {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.portfolio-quick-view:hover {
  background: var(--accent);
  color: white;
}

.portfolio-stats-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.25rem;
  z-index: 3;
}

.portfolio-stat-badge {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========================================================================
   17. CREATORS SECTION - Premium Cards
   ======================================================================== */
.creators-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(135deg, white 0%, var(--bg) 100%);
  position: relative;
}

.creators-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.creators-header .section-title-serif {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.creators-header .section-title-serif::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .creators-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .creators-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.creator-card {
  background: white;
  border-radius: 24px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.creator-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.creator-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.creator-card:hover::before {
  transform: scaleX(1);
}

.creator-card.featured {
  border: 2px solid var(--accent-light);
  position: relative;
}

.creator-card.featured::after {
  content: "⭐ Featured";
  position: absolute;
  top: 12px;
  right: -30px;
  background: var(--accent);
  color: white;
  padding: 0.25rem 2rem;
  font-size: 0.6rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.creator-avatar-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.creator-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 auto;
}

.creator-card:hover .creator-avatar {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 15px 25px -8px rgba(183, 140, 90, 0.2);
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.creator-level-badge {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%) translateY(30%);
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  border: 1px solid var(--border-light);
}

.creator-level-badge.bronze {
  background: #e6ccb2;
  color: #7b4e2d;
  border-color: #d4b594;
}
.creator-level-badge.silver {
  background: #e3e4e8;
  color: #3a3d44;
  border-color: #c0c4cc;
}
.creator-level-badge.gold {
  background: #f7e3b4;
  color: #7d5f2a;
  border-color: #e5c990;
}
.creator-level-badge.platinum {
  background: #e0e7ff;
  color: #1e3a8a;
  border-color: #b8c7ff;
}

.creator-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
  color: var(--text-dark);
  font-family: var(--font-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.creator-specialty {
  color: var(--text-soft);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.creator-specialty::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--border-light);
}

.creator-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.5rem 0;
  width: 100%;
}

.creator-stat {
  text-align: center;
}

.creator-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.creator-stat-label {
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.creator-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(183, 140, 90, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  margin: 0.5rem 0 1rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.creator-rating i {
  color: #ffb800;
  font-size: 0.7rem;
}

.creator-rating span {
  font-weight: 600;
}

.creator-view-profile {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--accent);
  border-radius: 40px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
}

.creator-view-profile:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -5px rgba(183, 140, 90, 0.3);
}

.creator-view-profile i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.creator-view-profile:hover i {
  transform: translateX(4px);
}

/* ========================================================================
   18. MEMBERSHIP LEVELS - Premium Tiers
   ======================================================================== */
.membership-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: white;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .levels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
  }
}

.level-card {
  padding: 2rem 1rem;
  background: white;
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.level-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.level-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.level-card:hover::before {
  transform: scaleX(1);
}

.level-card.popular {
  border: 1px solid var(--accent);
  transform: scale(1.02);
  box-shadow: 0 20px 30px -15px rgba(183, 140, 90, 0.2);
}

.level-popular-tag {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 5px 10px -3px rgba(183, 140, 90, 0.3);
}

.level-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.level-card:hover .level-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.05) rotate(5deg);
}

.level-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.level-range {
  color: var(--text-soft);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.level-benefits {
  list-style: none;
  text-align: left;
  margin-bottom: 1rem;
}

.level-benefits li {
  padding: 0.35rem 0;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.level-benefits li i {
  color: var(--accent);
  font-size: 0.7rem;
  min-width: 16px;
}

/* ========================================================================
   19. ACTIVITY FEED - Modern
   ======================================================================== */
.activity-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .activity-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
}

.feed-item {
  padding: 1.25rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.feed-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 25px -12px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.feed-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-family: var(--font-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-provider {
  color: var(--accent);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: 0.65rem;
}

.feed-meta i {
  margin-right: 0.2rem;
  color: var(--accent);
}

/* ========================================================================
   20. CTA SECTION - Premium
   ======================================================================== */
.cta-section {
  padding: clamp(4rem, 10vw, 6rem) 0;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    var(--accent) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 8vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 400;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cta-title .dot {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(2.2rem, 9vw, 4rem);
}

.cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 480px) {
  .cta-actions {
    flex-direction: row;
    gap: 1rem;
  }
}

.cta-actions .btn-primary {
  background: white;
  color: var(--accent);
  box-shadow: 0 15px 25px -8px rgba(0, 0, 0, 0.2);
}

.cta-actions .btn-primary::before {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-dark) 100%
  );
}

.cta-actions .btn-primary:hover {
  color: white;
}

.cta-actions .btn-outline {
  border-color: white;
  color: white;
}

.cta-actions .btn-outline::before {
  background: white;
}

.cta-actions .btn-outline:hover {
  color: var(--accent);
}

/* ========================================================================
   21. FOOTER - Enhanced
   ======================================================================== */
.footer {
  background: #2a2725;
  color: #ccc;
  padding: 4rem 0 2rem;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-layout {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
  }
}

.footer-brand {
  max-width: 350px;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-brand {
    text-align: left;
    margin: 0;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.footer-logo .dot {
  color: var(--accent);
  font-size: 1.6rem;
  line-height: 0.8;
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-social {
    justify-content: flex-start;
  }
}

.footer-social a {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 480px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.footer-col h4 {
  color: white;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.8rem;
}

.footer-col a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ========================================================================
   22. MOBILE BOTTOM NAVIGATION
   ======================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--border-light);
  padding: 0.25rem 0;
  z-index: 95;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.65rem;
  padding: 0.35rem 0;
  min-height: 44px;
  transition: all 0.2s ease;
}

.bottom-nav-item i {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.bottom-nav-item.active {
  color: var(--accent);
}

.bottom-nav-item:hover {
  color: var(--text-dark);
}

/* ========================================================================
   23. RESPONSIVE UTILITIES
   ======================================================================== */
@media (max-width: 767px) {
  .main-nav {
    display: none !important;
  }

  .header-actions .btn-outline-small {
    display: none !important;
  }

  .top-contact span:first-child {
    display: none;
  }

  .hamburger {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: block !important;
  }

  .header-actions .btn-outline-small {
    display: inline-flex !important;
  }

  .hamburger {
    display: none !important;
  }

  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .top-contact span:last-child {
    display: none;
  }

  .top-auth .top-link {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }

  .logo a {
    font-size: 1.2rem;
  }

  .logo-dot {
    font-size: 1.4rem;
  }
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
  .hide-desktop {
    display: none;
  }
}

.show-mobile {
  display: block;
}

@media (min-width: 768px) {
  .show-mobile {
    display: none;
  }
}

/* ========================================================================
   24. ECOSYSTEM SECTION - Premium
   ======================================================================== */
.ecosystem-section {
  padding: 3rem 0;
  background: white;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
  }
}

.ecosystem-card {
  background: var(--bg);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.ecosystem-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.ecosystem-card:hover .ecosystem-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.05) rotate(5deg);
}

.ecosystem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.ecosystem-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.ecosystem-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  background: white;
  border: 1px solid var(--border-light);
}

.ecosystem-link:hover {
  background: var(--accent);
  color: white;
  gap: 1rem;
  border-color: var(--accent);
}

.ecosystem-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.ecosystem-link:hover i {
  transform: translateX(4px);
}

/* ========================================================================
   25. STATS SECTION - Premium
   ======================================================================== */
.stats-section {
  padding: 3rem 0;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    var(--accent) 100%
  );
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ========================================================================
   26. NEWSLETTER - Enhanced
   ======================================================================== */
.newsletter-section {
  padding: 3rem 0;
  background: white;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.newsletter-content {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1rem;
}

.newsletter-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.newsletter-content p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .newsletter-form {
    flex-direction: row;
    gap: 0.5rem;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  font-size: 0.9rem;
  min-height: 48px;
  width: 100%;
  background: var(--bg);
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(183, 140, 90, 0.1);
  background: white;
}

.newsletter-form button {
  min-height: 48px;
  min-width: 120px;
}

/* ========================================================================
   27. PARTNER SECTION - Modern
   ======================================================================== */
.partner-section {
  padding: 2.5rem 0;
  background: var(--bg);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
  }
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.partner-item:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

.partner-item img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
}

/* ========================================================================
   28. TESTIMONIAL SECTION - Premium
   ======================================================================== */
.testimonial-section {
  padding: 4rem 0;
  background: white;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.testimonial-card {
  background: var(--bg);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -15px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--accent);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.2;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.testimonial-author-info p {
  color: var(--text-soft);
  font-size: 0.8rem;
}

/* ========================================================================
   29. BLOG SECTION - Modern
   ======================================================================== */
.blog-section {
  padding: 4rem 0;
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
  margin-top: 2rem;
}

@media (min-width: 480px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-light);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -15px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-category {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  font-family: var(--font-serif);
}

.blog-card-excerpt {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.7rem;
  color: var(--text-soft);
}

.blog-card-meta i {
  color: var(--accent);
  margin-right: 0.25rem;
}

/* ========================================================================
   30. FAQ SECTION - Enhanced
   ======================================================================== */
.faq-section {
  padding: 4rem 0;
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
  min-height: 44px;
  transition: all 0.2s ease;
}

.faq-question:hover h3 {
  color: var(--accent);
}

.faq-question h3 {
  font-size: 0.95rem;
  font-weight: 500;
  padding-right: 1rem;
  transition: color 0.2s ease;
}

.faq-question i {
  color: var(--accent);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  min-width: 24px;
  text-align: center;
}

.faq-question.active i {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0.5rem 0 0;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.7;
}

.faq-answer.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================================
   31. CONTACT SECTION - Premium
   ======================================================================== */
.contact-section {
  padding: 4rem 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 400;
  position: relative;
  display: inline-block;
}

.contact-info h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: var(--bg);
  transform: translateX(5px);
}

.contact-info-item i {
  font-size: 1.3rem;
  color: var(--accent);
  min-width: 30px;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-info-item p {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 400;
  position: relative;
  display: inline-block;
}

.contact-form h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.required {
  color: var(--accent);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
  min-height: 48px;
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(183, 140, 90, 0.1);
  background: white;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ========================================================================
   32. UTILITY CLASSES - Enhanced
   ======================================================================== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* Spacing utilities */
.mt-1 {
  margin-top: calc(var(--spacer) * 1);
}
.mt-2 {
  margin-top: calc(var(--spacer) * 2);
}
.mt-3 {
  margin-top: calc(var(--spacer) * 3);
}
.mt-4 {
  margin-top: calc(var(--spacer) * 4);
}
.mt-5 {
  margin-top: calc(var(--spacer) * 5);
}

.mb-1 {
  margin-bottom: calc(var(--spacer) * 1);
}
.mb-2 {
  margin-bottom: calc(var(--spacer) * 2);
}
.mb-3 {
  margin-bottom: calc(var(--spacer) * 3);
}
.mb-4 {
  margin-bottom: calc(var(--spacer) * 4);
}
.mb-5 {
  margin-bottom: calc(var(--spacer) * 5);
}

.my-1 {
  margin-top: calc(var(--spacer) * 1);
  margin-bottom: calc(var(--spacer) * 1);
}
.my-2 {
  margin-top: calc(var(--spacer) * 2);
  margin-bottom: calc(var(--spacer) * 2);
}
.my-3 {
  margin-top: calc(var(--spacer) * 3);
  margin-bottom: calc(var(--spacer) * 3);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.p-1 {
  padding: calc(var(--spacer) * 1);
}
.p-2 {
  padding: calc(var(--spacer) * 2);
}
.p-3 {
  padding: calc(var(--spacer) * 3);
}
.p-4 {
  padding: calc(var(--spacer) * 4);
}

.py-1 {
  padding-top: calc(var(--spacer) * 1);
  padding-bottom: calc(var(--spacer) * 1);
}
.py-2 {
  padding-top: calc(var(--spacer) * 2);
  padding-bottom: calc(var(--spacer) * 2);
}
.py-3 {
  padding-top: calc(var(--spacer) * 3);
  padding-bottom: calc(var(--spacer) * 3);
}

.px-1 {
  padding-left: calc(var(--spacer) * 1);
  padding-right: calc(var(--spacer) * 1);
}
.px-2 {
  padding-left: calc(var(--spacer) * 2);
  padding-right: calc(var(--spacer) * 2);
}
.px-3 {
  padding-left: calc(var(--spacer) * 3);
  padding-right: calc(var(--spacer) * 3);
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

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

/* ========================================================================
   33. PRINT STYLES
   ======================================================================== */
@media print {
  .top-bar,
  .main-header,
  .mobile-nav,
  .mobile-bottom-nav,
  .footer,
  .cta-section,
  .newsletter-section,
  .partner-section,
  .hero-actions,
  .section-link,
  .btn-primary,
  .btn-outline {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0.5cm;
  }

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

  h1,
  h2,
  h3,
  h4 {
    page-break-after: avoid;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  .curated-card,
  .creator-card,
  .testimonial-card,
  .blog-card,
  .ecosystem-card {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ========================================================================
   34. RESPONSIVE BREAKPOINTS - Fine-tuned
   ======================================================================== */

/* Extra Small Devices (320px - 359px) */
@media (max-width: 359px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .process-grid {
    gap: 0.75rem;
  }

  .process-card {
    padding: 1rem 0.5rem;
  }

  .process-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .process-card h3 {
    font-size: 0.9rem;
  }

  .process-card p {
    font-size: 0.7rem;
  }

  .curated-card-header h3 {
    font-size: 0.7rem;
  }

  .curated-rating {
    font-size: 0.6rem;
  }

  .curated-provider,
  .curated-location {
    font-size: 0.6rem;
  }

  .curated-price {
    font-size: 0.7rem;
  }

  .creator-card {
    padding: 1.5rem 0.5rem;
  }

  .creator-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .creator-name {
    font-size: 0.85rem;
  }

  .creator-specialty {
    font-size: 0.7rem;
  }

  .creator-stat-value {
    font-size: 0.8rem;
  }

  .level-card {
    padding: 1.5rem 0.75rem;
  }

  .level-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .level-card h3 {
    font-size: 0.9rem;
  }

  .level-range {
    font-size: 0.7rem;
  }

  .level-benefits li {
    font-size: 0.7rem;
  }
}

/* Small Devices (360px - 389px) */
@media (min-width: 360px) and (max-width: 389px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .process-icon {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
  }
}

/* Medium Small Devices (390px - 413px) */
@media (min-width: 390px) and (max-width: 413px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .process-icon {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
  }
}

/* Small Tablets (414px - 479px) */
@media (min-width: 414px) and (max-width: 479px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .process-icon {
    width: 62px;
    height: 62px;
    font-size: 1.6rem;
  }
}

/* Large Phones (480px - 639px) */
@media (min-width: 480px) and (max-width: 639px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .services-grid,
  .products-grid,
  .creators-grid {
    gap: 1rem;
  }
}

/* Tablets (640px - 767px) */
@media (min-width: 640px) and (max-width: 767px) {
  .hero-title {
    font-size: 3rem;
  }

  .services-grid,
  .products-grid,
  .creators-grid {
    gap: 1.25rem;
  }
}

/* Large Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .container {
    padding: 0 2rem;
  }

  .services-grid,
  .products-grid,
  .creators-grid {
    gap: 1.5rem;
  }
}

/* Small Desktops (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-title {
    font-size: 4rem;
  }

  .services-grid,
  .products-grid,
  .creators-grid {
    gap: 1.75rem;
  }
}

/* Large Desktops (1280px - 1599px) */
@media (min-width: 1280px) and (max-width: 1599px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .container {
    max-width: 1200px;
  }
}

/* Extra Large Desktops (1600px+) */
@media (min-width: 1600px) {
  :root {
    --container-max: 1400px;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-description {
    font-size: 1.2rem;
    max-width: 600px;
  }

  .services-grid,
  .products-grid,
  .creators-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-section {
    padding: 1.5rem 0;
  }

  .hero-layout {
    gap: 1.5rem;
  }

  .hero-image-grid {
    max-height: 300px;
  }

  .process-grid {
    margin-top: 1rem;
  }

  .creator-avatar {
    width: 60px;
    height: 60px;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-img-main,
  .hero-img-accent,
  .curated-card-image img,
  .values-image,
  .creator-avatar img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
/* ========================================================================
   13. SERVICES GRID - Premium Cards with Full Text
   ======================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.curated-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  color: inherit;
  width: 100%;
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.curated-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 2;
}

.curated-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.curated-card:hover::before {
  transform: scaleX(1);
}

.curated-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
}

.curated-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.curated-card:hover .curated-card-image::after {
  opacity: 1;
}

.curated-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.curated-card:hover .curated-card-image img {
  transform: scale(1.08);
}

.curated-card-content {
  padding: 1.25rem;
  background: white;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .curated-card-content {
    padding: 1.5rem;
  }
}

.curated-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.curated-card-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
  flex: 1;
  word-break: break-word;
  overflow: visible;
  white-space: normal;
  display: block;
  max-width: none;
}

@media (min-width: 768px) {
  .curated-card-header h3 {
    font-size: 1rem;
  }
}

.curated-rating {
  color: var(--accent);
  font-size: 0.75rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(183, 140, 90, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 30px;
  flex-shrink: 0;
}

.curated-rating i {
  color: #ffb800;
  font-size: 0.7rem;
}

.curated-provider {
  color: var(--text-soft);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  font-weight: 500;
  line-height: 1.4;
}

.curated-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
}

.curated-location i {
  color: var(--accent);
  font-size: 0.6rem;
  flex-shrink: 0;
}

.curated-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: normal;
  word-break: break-word;
}

.curated-price span {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Provider Type Badge */
.provider-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  z-index: 5;
}

.provider-type-badge i {
  color: var(--accent);
  font-size: 0.6rem;
}

/* Mobile-specific adjustments for better text display */
@media (max-width: 480px) {
  .curated-card-content {
    padding: 1rem;
  }

  .curated-card-header h3 {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .curated-provider {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }

  .curated-location {
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
  }

  .curated-price {
    font-size: 0.8rem;
    padding-top: 0.4rem;
  }

  .curated-price span {
    font-size: 0.85rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .curated-card-content {
    padding: 0.75rem;
  }

  .curated-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .curated-card-header h3 {
    font-size: 0.8rem;
    margin-bottom: 0.1rem;
  }

  .curated-provider,
  .curated-location {
    font-size: 0.65rem;
  }

  .curated-price {
    font-size: 0.75rem;
  }
}
/* ========================================================================
   13. SERVICES GRID - Premium Cards with Full Text - Mobile Slider
   ======================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default for desktop */
  gap: 2rem;
  margin-top: 2rem;
}

/* Mobile - Horizontal Slider with 3 cards visible */
@media (max-width: 767px) {
  .services-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scroll-behavior: smooth;
    grid-template-columns: none; /* Reset grid */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .services-grid::-webkit-scrollbar {
    height: 4px;
  }

  .services-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .services-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .services-grid::-webkit-scrollbar-thumb:hover {
    background: #9a7a4e;
  }

  .curated-card {
    flex: 0 0 calc(33.333% - 0.67rem); /* Show 3 cards at a time */
    min-width: 140px; /* Minimum width for very small screens */
    max-width: 180px; /* Maximum width to maintain proportions */
    scroll-snap-align: start;
  }
}

/* Extra small devices - adjust card width */
@media (max-width: 480px) {
  .services-grid {
    gap: 0.75rem;
  }

  .curated-card {
    flex: 0 0 calc(33.333% - 0.5rem);
    min-width: 120px;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .curated-card {
    flex: 0 0 calc(33.333% - 0.4rem);
    min-width: 100px;
  }
}

/* Tablet - back to grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop - 4 cards */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.curated-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  color: inherit;
  width: 100%;
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Mobile card adjustments */
@media (max-width: 767px) {
  .curated-card {
    border-radius: 16px;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.1);
  }

  .curated-card:hover {
    transform: translateY(-4px);
  }
}

.curated-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 2;
}

.curated-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.curated-card:hover::before {
  transform: scaleX(1);
}

.curated-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
}

.curated-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.curated-card:hover .curated-card-image::after {
  opacity: 1;
}

.curated-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.curated-card:hover .curated-card-image img {
  transform: scale(1.08);
}

/* Mobile image adjustments */
@media (max-width: 767px) {
  .curated-card:hover .curated-card-image img {
    transform: scale(1.05); /* Slightly less zoom on mobile */
  }
}

.curated-card-content {
  padding: 1.25rem;
  background: white;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Mobile content padding */
@media (max-width: 767px) {
  .curated-card-content {
    padding: 0.75rem;
  }
}

@media (min-width: 768px) {
  .curated-card-content {
    padding: 1.5rem;
  }
}

.curated-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

/* Mobile header */
@media (max-width: 767px) {
  .curated-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
  }
}

.curated-card-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
  flex: 1;
  word-break: break-word;
  overflow: visible;
  white-space: normal;
  display: block;
  max-width: none;
}

/* Mobile title */
@media (max-width: 767px) {
  .curated-card-header h3 {
    font-size: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .curated-card-header h3 {
    font-size: 1rem;
  }
}

.curated-rating {
  color: var(--accent);
  font-size: 0.75rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(183, 140, 90, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 30px;
  flex-shrink: 0;
}

/* Mobile rating */
@media (max-width: 767px) {
  .curated-rating {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    gap: 0.15rem;
    align-self: flex-start;
  }

  .curated-rating i {
    font-size: 0.55rem;
  }
}

@media (min-width: 768px) {
  .curated-rating i {
    font-size: 0.7rem;
  }
}

.curated-provider {
  color: var(--text-soft);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  font-weight: 500;
  line-height: 1.4;
}

/* Mobile provider */
@media (max-width: 767px) {
  .curated-provider {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 768px) {
  .curated-provider {
    font-size: 0.8rem;
  }
}

.curated-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
}

/* Mobile location */
@media (max-width: 767px) {
  .curated-location {
    font-size: 0.6rem;
    gap: 0.25rem;
    margin-bottom: 0.35rem;
  }

  .curated-location i {
    font-size: 0.5rem;
  }
}

@media (min-width: 768px) {
  .curated-location i {
    font-size: 0.6rem;
  }
}

.curated-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: normal;
  word-break: break-word;
}

/* Mobile price */
@media (max-width: 767px) {
  .curated-price {
    font-size: 0.7rem;
    padding-top: 0.35rem;
    gap: 0.15rem;
  }

  .curated-price span {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .curated-price span {
    font-size: 0.95rem;
  }
}

/* Provider Type Badge */
.provider-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  z-index: 5;
}

/* Mobile badge */
@media (max-width: 767px) {
  .provider-type-badge {
    top: 4px;
    right: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.5rem;
    gap: 0.15rem;
  }

  .provider-type-badge i {
    font-size: 0.45rem;
  }
}

.provider-type-badge i {
  color: var(--accent);
  font-size: 0.6rem;
}

/* Add navigation hint for mobile */
@media (max-width: 767px) {
  .services-grid::after {
    content: "";
    flex: 0 0 1rem;
    height: 1px;
  }

  /* Add a subtle fade effect on edges to indicate scrolling */
  .services-grid-section {
    position: relative;
  }

  .services-grid-section::before,
  .services-grid-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
  }

  .services-grid-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
  }

  .services-grid-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg), transparent);
  }
}
/* ========================================================================
   14. PRODUCTS SHOWCASE - Modern Grid with Mobile Slider
   ======================================================================== */
.products-showcase {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default for desktop */
  gap: 2rem;
  margin-top: 2rem;
}

/* Mobile - Horizontal Slider with 3 cards visible */
@media (max-width: 767px) {
  .products-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scroll-behavior: smooth;
    grid-template-columns: none; /* Reset grid */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .products-grid::-webkit-scrollbar {
    height: 4px;
  }

  .products-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .products-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .products-grid::-webkit-scrollbar-thumb:hover {
    background: #9a7a4e;
  }

  .curated-card {
    flex: 0 0 calc(33.333% - 0.67rem); /* Show 3 cards at a time */
    min-width: 140px; /* Minimum width for very small screens */
    max-width: 180px; /* Maximum width to maintain proportions */
    scroll-snap-align: start;
  }
}

/* Extra small devices - adjust card width */
@media (max-width: 480px) {
  .products-grid {
    gap: 0.75rem;
  }

  .curated-card {
    flex: 0 0 calc(33.333% - 0.5rem);
    min-width: 120px;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .curated-card {
    flex: 0 0 calc(33.333% - 0.4rem);
    min-width: 100px;
  }
}

/* Tablet - back to grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop - 4 cards */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Product card specific adjustments for mobile slider */
@media (max-width: 767px) {
  .products-grid .curated-card .curated-card-content {
    padding: 0.75rem;
  }

  .products-grid .curated-card .curated-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
  }

  .products-grid .curated-card .curated-card-header h3 {
    font-size: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .products-grid .curated-card .curated-rating {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    gap: 0.15rem;
    align-self: flex-start;
  }

  .products-grid .curated-card .curated-rating i {
    font-size: 0.55rem;
  }

  .products-grid .curated-card .curated-provider {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .products-grid .curated-card .curated-location {
    font-size: 0.6rem;
    gap: 0.25rem;
    margin-bottom: 0.35rem;
  }

  .products-grid .curated-card .curated-location i {
    font-size: 0.5rem;
  }

  .products-grid .curated-card .curated-price {
    font-size: 0.7rem;
    padding-top: 0.35rem;
    gap: 0.15rem;
  }

  .products-grid .curated-card .curated-price span {
    font-size: 0.75rem;
  }

  .products-grid .curated-card .provider-type-badge {
    top: 4px;
    right: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.5rem;
    gap: 0.15rem;
  }

  .products-grid .curated-card .provider-type-badge i {
    font-size: 0.45rem;
  }
}

/* Add navigation hint for mobile */
@media (max-width: 767px) {
  .products-grid::after {
    content: "";
    flex: 0 0 1rem;
    height: 1px;
  }

  /* Add a subtle fade effect on edges to indicate scrolling */
  .products-showcase {
    position: relative;
  }

  .products-showcase::before,
  .products-showcase::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
  }

  .products-showcase::before {
    left: 0;
    background: linear-gradient(90deg, white, transparent);
  }

  .products-showcase::after {
    right: 0;
    background: linear-gradient(-90deg, white, transparent);
  }
}

/* Product Category Tabs - keep as is */
.product-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.product-category-tabs .category-tab {
  background: var(--bg);
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
}
/* ========================================================================
   PROVIDER TYPE TABS - Circle Design for Mobile
   ======================================================================== */
.provider-type-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
  padding-left: 1rem;
  padding-right: 1rem;
}

.provider-type-tabs::-webkit-scrollbar {
  display: none;
}

.provider-type-tabs .type-tab {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-soft);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 40px;
  position: relative;
  font-weight: 500;
  flex: 0 0 auto;
}

.provider-type-tabs .type-tab:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.provider-type-tabs .type-tab:hover {
  color: var(--text-dark);
}

.provider-type-tabs .type-tab.active {
  color: var(--accent);
}

.provider-type-tabs .type-tab.active:after {
  background: var(--accent);
}

/* Mobile - Circle Design */
@media (max-width: 767px) {
  .provider-type-tabs {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 1rem 1.5rem 1rem;
    justify-content: flex-start;
    border-bottom: none;
    margin-bottom: 1.5rem;
  }

  .provider-type-tabs .type-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--text-soft);
    font-size: 0.7rem;
    min-width: 60px;
    min-height: auto;
    transition: all 0.3s ease;
    flex: 0 0 auto;
  }

  .provider-type-tabs .type-tab::before {
    content: "";
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.05);
  }

  /* Icon styles - positioned absolutely over the circle */
  .provider-type-tabs .type-tab i {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.3rem;
    color: var(--text-soft);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
  }

  /* Text below the circle */
  .provider-type-tabs .type-tab span {
    display: block;
    font-size: 0.65rem;
    color: var(--text-soft);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 70px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

  /* Active state */
  .provider-type-tabs .type-tab.active::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 15px -5px rgba(183, 140, 90, 0.3);
    transform: scale(1.05);
  }

  .provider-type-tabs .type-tab.active i {
    color: white;
  }

  .provider-type-tabs .type-tab.active span {
    color: var(--accent);
    font-weight: 600;
  }

  /* Hover state */
  .provider-type-tabs .type-tab:hover::before {
    border-color: var(--accent);
    transform: scale(1.02);
  }

  .provider-type-tabs .type-tab:hover i {
    color: var(--accent);
  }

  .provider-type-tabs .type-tab:hover span {
    color: var(--text-dark);
  }

  /* Remove the underline for mobile */
  .provider-type-tabs .type-tab:after {
    display: none;
  }
}

/* Extra small devices - smaller circles */
@media (max-width: 480px) {
  .provider-type-tabs {
    gap: 1rem;
  }

  .provider-type-tabs .type-tab::before {
    width: 48px;
    height: 48px;
  }

  .provider-type-tabs .type-tab i {
    top: 13px;
    font-size: 1.1rem;
  }

  .provider-type-tabs .type-tab span {
    font-size: 0.6rem;
    max-width: 60px;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .provider-type-tabs {
    gap: 0.75rem;
  }

  .provider-type-tabs .type-tab::before {
    width: 44px;
    height: 44px;
  }

  .provider-type-tabs .type-tab i {
    top: 12px;
    font-size: 1rem;
  }

  .provider-type-tabs .type-tab span {
    font-size: 0.55rem;
    max-width: 50px;
  }
}

/* Desktop styles remain the same */
@media (min-width: 768px) {
  .provider-type-tabs {
    flex-wrap: nowrap;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
  }

  .provider-type-tabs .type-tab {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-soft);
    font-size: 0.85rem;
    min-height: 40px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
  }

  .provider-type-tabs .type-tab i {
    display: none; /* Hide icons on desktop */
  }

  .provider-type-tabs .type-tab span {
    display: inline;
  }

  .provider-type-tabs .type-tab:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s ease;
  }

  .provider-type-tabs .type-tab.active:after {
    background: var(--accent);
  }
}
/* ========================================================================
   SECTION LINK - Centered
   ======================================================================== */
.section-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center; /* Center the content */
  gap: 0.5rem;
  padding: 0.75rem 1.5rem; /* Slightly larger padding for better click area */
  min-height: var(--touch-target);
  border-bottom: 2px solid transparent;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  margin: 0 auto; /* Auto margins for centering */
  width: fit-content; /* Only take needed width */
}

.section-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.section-link:hover {
  color: var(--text-dark);
}

.section-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.section-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.section-link:hover i {
  transform: translateX(6px);
}

/* Center the section footer that contains the link */
.section-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  width: 100%;
}

/* For sections with header that has a link */
.section-header.with-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-header.with-link {
    flex-direction: row;
    align-items: baseline;
    text-align: left;
    gap: 2rem;
  }

  .section-header.with-link .section-title-serif {
    text-align: left;
    margin-bottom: 0;
  }

  .section-header.with-link .section-subtitle {
    text-align: left;
    margin: 0;
  }

  /* Keep link centered even in with-link layout */
  .section-header.with-link .section-link {
    margin: 0;
  }
}
/* ========================================================================
   VALUES LIST - 2x2 Grid Layout
   ======================================================================== */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 1rem;
  list-style: none;
  margin-top: 2rem;
}

/* Adjust gap for larger screens */
@media (min-width: 768px) {
  .values-list {
    gap: 1.5rem;
    margin-top: 2.5rem;
  }
}

.values-list li {
  display: flex;
  flex-direction: column; /* Stack icon above text */
  gap: 1rem;
  padding: 1.5rem 1rem;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px -8px rgba(0, 0, 0, 0.05);
  text-align: center; /* Center all text */
  align-items: center; /* Center items horizontally */
}

@media (min-width: 768px) {
  .values-list li {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}

.values-list li:hover {
  transform: translateY(-5px);
  border-color: var(--accent-light);
  box-shadow: 0 15px 25px -12px rgba(183, 140, 90, 0.15);
}

.values-list li i {
  font-size: 1.8rem;
  color: var(--accent);
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0 auto; /* Center the icon */
}

@media (min-width: 768px) {
  .values-list li i {
    font-size: 2rem;
    width: 80px;
    height: 80px;
  }
}

.values-list li:hover i {
  background: var(--accent);
  color: white;
  transform: scale(1.05) rotate(5deg);
}

.values-list li h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-serif);
}

@media (min-width: 768px) {
  .values-list li h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
}

.values-list li p {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 250px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .values-list li p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
  .values-list {
    gap: 0.75rem;
  }

  .values-list li {
    padding: 1rem 0.75rem;
  }

  .values-list li i {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .values-list li h4 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
  }

  .values-list li p {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .values-list {
    gap: 0.5rem;
  }

  .values-list li {
    padding: 0.75rem 0.5rem;
  }

  .values-list li i {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .values-list li h4 {
    font-size: 0.8rem;
  }

  .values-list li p {
    font-size: 0.7rem;
  }
}

/* Quote card styles - Mobile Optimized */
.parent > div.quote-card {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem; /* Reduced padding */
  transition: all 0.3s ease;
  overflow: hidden;
}

.quote-content {
  text-align: center;
  max-width: 100%;
  width: 100%;
  padding: 0 0.25rem;
}

/* Mobile quote styles - smaller text */
@media (max-width: 767px) {
  .quote-content {
    transform: scale(0.85); /* Zoom out the entire quote */
  }

  .quote-mark {
    font-size: 1.2rem !important; /* Smaller quote marks */
    margin-bottom: 0.1rem;
    line-height: 0.8;
  }

  .quote-text {
    font-size: 0.6rem !important; /* Much smaller text */
    line-height: 1.2;
    margin-bottom: 0.25rem;
    max-height: 2.4rem; /* Limit to 2 lines */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
  }

  .quote-author {
    font-size: 0.5rem !important; /* Tiny author */
    margin-bottom: 0.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .quote-project {
    font-size: 0.45rem !important; /* Tiny project */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Small mobile devices - even smaller */
@media (max-width: 480px) {
  .quote-content {
    transform: scale(0.75); /* More zoom out */
  }

  .quote-mark {
    font-size: 1rem !important;
  }

  .quote-text {
    font-size: 0.5rem !important;
    line-height: 1.1;
    max-height: 2rem;
  }

  .quote-author {
    font-size: 0.45rem !important;
  }

  .quote-project {
    font-size: 0.4rem !important;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .quote-content {
    transform: scale(0.7); /* Maximum zoom out */
  }

  .quote-mark {
    font-size: 0.9rem !important;
  }

  .quote-text {
    font-size: 0.45rem !important;
    max-height: 1.8rem;
  }

  .quote-author {
    font-size: 0.4rem !important;
  }

  .quote-project {
    font-size: 0.35rem !important;
  }
}

/* Desktop styles */
@media (min-width: 768px) {
  .quote-content {
    max-width: 180px;
    transform: none; /* No zoom on desktop */
  }

  .quote-mark {
    font-size: 2rem;
    color: var(--accent);
    font-family: var(--font-serif);
    line-height: 0.8;
    margin-bottom: 0.25rem;
    opacity: 0.2;
  }

  .quote-text {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .quote-author {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .quote-project {
    font-size: 0.6rem;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* ========================================================================
   17. CREATORS SECTION - Premium Cards with Mobile Slider
   ======================================================================== */
.creators-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(135deg, white 0%, var(--bg) 100%);
  position: relative;
}

.creators-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.creators-header .section-title-serif {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.creators-header .section-title-serif::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default for desktop */
  gap: 2rem;
  margin-top: 2rem;
}

/* Mobile - Horizontal Slider with 2.5 cards visible */
@media (max-width: 767px) {
  .creators-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scroll-behavior: smooth;
    grid-template-columns: none; /* Reset grid */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .creators-grid::-webkit-scrollbar {
    height: 4px;
  }

  .creators-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .creators-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .creators-grid::-webkit-scrollbar-thumb:hover {
    background: #9a7a4e;
  }

  .creator-card {
    flex: 0 0 220px; /* Fixed width for creator cards */
    min-width: 200px;
    max-width: 250px;
    scroll-snap-align: start;
    margin-right: 0.5rem;
  }
}

/* Tablet - back to grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .creators-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop - 4 cards */
@media (min-width: 1024px) {
  .creators-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Creator Card Styles - Optimized for Slider */
.creator-card {
  background: white;
  border-radius: 24px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  width: 100%;
}

/* Mobile card adjustments */
@media (max-width: 767px) {
  .creator-card {
    padding: 1.5rem 0.75rem;
    border-radius: 20px;
  }

  .creator-card:hover {
    transform: translateY(-4px);
  }
}

.creator-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.creator-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.creator-card:hover::before {
  transform: scaleX(1);
}

.creator-card.featured {
  border: 2px solid var(--accent-light);
  position: relative;
}

.creator-card.featured::after {
  content: "⭐ Featured";
  position: absolute;
  top: 12px;
  right: -30px;
  background: var(--accent);
  color: white;
  padding: 0.25rem 2rem;
  font-size: 0.6rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mobile featured badge adjustment */
@media (max-width: 767px) {
  .creator-card.featured::after {
    font-size: 0.5rem;
    padding: 0.2rem 1.5rem;
    top: 8px;
    right: -25px;
  }
}

.creator-avatar-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.creator-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 auto;
}

/* Mobile avatar */
@media (max-width: 767px) {
  .creator-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
  }
}

.creator-card:hover .creator-avatar {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 15px 25px -8px rgba(183, 140, 90, 0.2);
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.creator-level-badge {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%) translateY(30%);
  background: white;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  border: 1px solid var(--border-light);
}

/* Mobile level badge */
@media (max-width: 767px) {
  .creator-level-badge {
    font-size: 0.5rem;
    padding: 0.2rem 0.5rem;
  }
}

.creator-level-badge.bronze {
  background: #e6ccb2;
  color: #7b4e2d;
  border-color: #d4b594;
}
.creator-level-badge.silver {
  background: #e3e4e8;
  color: #3a3d44;
  border-color: #c0c4cc;
}
.creator-level-badge.gold {
  background: #f7e3b4;
  color: #7d5f2a;
  border-color: #e5c990;
}
.creator-level-badge.platinum {
  background: #e0e7ff;
  color: #1e3a8a;
  border-color: #b8c7ff;
}

.creator-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
  color: var(--text-dark);
  font-family: var(--font-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  width: 100%;
}

/* Mobile name */
@media (max-width: 767px) {
  .creator-name {
    font-size: 0.85rem;
    margin: 0.5rem 0 0.2rem;
  }
}

.creator-specialty {
  color: var(--text-soft);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  width: 100%;
}

/* Mobile specialty */
@media (max-width: 767px) {
  .creator-specialty {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

.creator-specialty::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--border-light);
}

.creator-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.5rem 0;
  width: 100%;
}

/* Mobile stats */
@media (max-width: 767px) {
  .creator-stats {
    gap: 1rem;
    margin: 0.35rem 0;
  }
}

.creator-stat {
  text-align: center;
}

.creator-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

/* Mobile stat value */
@media (max-width: 767px) {
  .creator-stat-value {
    font-size: 0.8rem;
  }
}

.creator-stat-label {
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile stat label */
@media (max-width: 767px) {
  .creator-stat-label {
    font-size: 0.55rem;
  }
}

.creator-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(183, 140, 90, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  margin: 0.5rem 0 1rem;
  font-size: 0.75rem;
  color: var(--accent);
}

/* Mobile rating */
@media (max-width: 767px) {
  .creator-rating {
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    margin: 0.35rem 0 0.75rem;
  }

  .creator-rating i {
    font-size: 0.6rem;
  }
}

.creator-rating i {
  color: #ffb800;
  font-size: 0.7rem;
}

.creator-rating span {
  font-weight: 600;
}

.creator-view-profile {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--accent);
  border-radius: 40px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
}

/* Mobile button */
@media (max-width: 767px) {
  .creator-view-profile {
    padding: 0.4rem;
    font-size: 0.7rem;
    min-height: 36px;
    gap: 0.35rem;
  }

  .creator-view-profile i {
    font-size: 0.65rem;
  }
}

.creator-view-profile:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -5px rgba(183, 140, 90, 0.3);
}

.creator-view-profile i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.creator-view-profile:hover i {
  transform: translateX(4px);
}

/* Add navigation hint for mobile */
@media (max-width: 767px) {
  .creators-grid::after {
    content: "";
    flex: 0 0 1rem;
    height: 1px;
  }

  /* Add a subtle fade effect on edges to indicate scrolling */
  .creators-section {
    position: relative;
  }

  .creators-section::before,
  .creators-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
  }

  .creators-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
  }

  .creators-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg), transparent);
  }
}
/* ========================================================================
   19. ACTIVITY FEED - Modern with Mobile Slider
   ======================================================================== */
.activity-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default for desktop */
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Mobile - Horizontal Slider */
@media (max-width: 767px) {
  .activity-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scroll-behavior: smooth;
    grid-template-columns: none; /* Reset grid */
    margin-top: 1.5rem;
  }

  .activity-grid::-webkit-scrollbar {
    height: 4px;
  }

  .activity-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .activity-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .activity-grid::-webkit-scrollbar-thumb:hover {
    background: #9a7a4e;
  }

  .feed-item {
    flex: 0 0 200px; /* Fixed width for feed items */
    min-width: 180px;
    max-width: 220px;
    scroll-snap-align: start;
    margin-right: 0.5rem;
  }
}

/* Tablet - back to grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Desktop - 4 cards */
@media (min-width: 1024px) {
  .activity-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Feed Item Styles - Optimized for Slider */
.feed-item {
  padding: 1.25rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Mobile card adjustments */
@media (max-width: 767px) {
  .feed-item {
    padding: 1rem;
    border-radius: 16px;
  }

  .feed-item:hover {
    transform: translateY(-4px);
  }
}

.feed-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 25px -12px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.feed-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-family: var(--font-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Mobile title */
@media (max-width: 767px) {
  .feed-item h4 {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }
}

.feed-provider {
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  width: 100%;
}

/* Mobile provider */
@media (max-width: 767px) {
  .feed-provider {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }
}

.feed-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-soft);
  font-size: 0.7rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

/* Mobile meta */
@media (max-width: 767px) {
  .feed-meta {
    font-size: 0.6rem;
    padding-top: 0.35rem;
  }
}

.feed-meta i {
  margin-right: 0.2rem;
  color: var(--accent);
  font-size: 0.65rem;
}

/* Mobile meta icons */
@media (max-width: 767px) {
  .feed-meta i {
    font-size: 0.55rem;
    margin-right: 0.15rem;
  }
}

/* Add navigation hint for mobile */
@media (max-width: 767px) {
  .activity-grid::after {
    content: "";
    flex: 0 0 1rem;
    height: 1px;
  }

  /* Add a subtle fade effect on edges to indicate scrolling */
  .activity-section {
    position: relative;
  }

  .activity-section::before,
  .activity-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
  }

  .activity-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg), transparent);
  }

  .activity-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg), transparent);
  }
}
/* ========================================================================
   11. PROCESS SECTION - Zigzag Timeline Design
   ======================================================================== */
.process-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(183, 140, 90, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

/* Zigzag/Wiggled Timeline for Desktop */
@media (min-width: 768px) {
  .process-grid {
    gap: 2rem;
    margin-top: 4rem;
  }

  /* Create zigzag effect */
  .process-card:nth-child(odd) {
    transform: translateY(-20px);
  }

  .process-card:nth-child(even) {
    transform: translateY(20px);
  }

  /* Add wiggled animation on hover */
  .process-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .process-card:nth-child(odd):hover {
    transform: translateY(-25px) rotate(-1deg);
  }

  .process-card:nth-child(even):hover {
    transform: translateY(25px) rotate(1deg);
  }

  /* Add connecting lines with zigzag pattern */
  .process-grid::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--accent-light) 10%,
      var(--accent) 30%,
      var(--accent) 70%,
      var(--accent-light) 90%,
      transparent 100%
    );
    transform: translateY(-50%);
    opacity: 0.2;
    z-index: 1;
  }

  /* Add zigzag dots along the line */
  .process-grid::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 10px;
    background: repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      var(--accent) 20px,
      var(--accent) 25px,
      transparent 25px,
      transparent 40px
    );
    transform: translateY(-50%);
    opacity: 0.3;
    z-index: 1;
  }

  /* Add wiggled path lines between cards */
  .process-card {
    position: relative;
    z-index: 2;
  }

  .process-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -30px;
    width: 40px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,50 Q30,30 50,50 T90,50' stroke='%23b78c5a' fill='none' stroke-width='2' stroke-dasharray='5 5' opacity='0.3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
  }

  /* Different wiggle patterns for each connection */
  .process-card:nth-child(1)::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,30 Q30,70 50,30 T90,70' stroke='%23b78c5a' fill='none' stroke-width='2' stroke-dasharray='4 3' opacity='0.4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  .process-card:nth-child(2)::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,70 Q30,30 50,70 T90,30' stroke='%23b78c5a' fill='none' stroke-width='2' stroke-dasharray='6 2' opacity='0.4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  .process-card:nth-child(3)::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,40 Q40,80 70,20 T90,60' stroke='%23b78c5a' fill='none' stroke-width='2' stroke-dasharray='3 4' opacity='0.4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* Hide last card's connector */
  .process-card:last-child::after {
    display: none;
  }
}

/* Mobile - keep as grid but add subtle wiggle */
@media (max-width: 767px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  /* Subtle zigzag on mobile */
  .process-card:nth-child(odd) {
    transform: translateY(-5px);
  }

  .process-card:nth-child(even) {
    transform: translateY(5px);
  }

  .process-card:nth-child(odd):hover {
    transform: translateY(-8px) rotate(-0.5deg);
  }

  .process-card:nth-child(even):hover {
    transform: translateY(8px) rotate(0.5deg);
  }

  /* Add subtle dotted path on mobile */
  .process-grid {
    position: relative;
  }

  .process-grid::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      var(--accent-light),
      var(--accent-light) 8px,
      transparent 8px,
      transparent 16px
    );
    transform: translateY(-50%);
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .process-card:nth-child(odd) {
    transform: translateY(-3px);
  }

  .process-card:nth-child(even) {
    transform: translateY(3px);
  }
}

.process-card {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.9);
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 3;
}

.process-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px -8px rgba(183, 140, 90, 0.2);
  position: relative;
  z-index: 4;
}

/* Mobile icon */
@media (max-width: 767px) {
  .process-icon {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
}

.process-card:hover .process-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 15px 25px -8px rgba(183, 140, 90, 0.3);
}

.process-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  font-family: var(--font-serif);
}

/* Mobile title */
@media (max-width: 767px) {
  .process-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }
}

.process-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.process-card:hover h3::after {
  width: 40px;
}

.process-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* Mobile text */
@media (max-width: 767px) {
  .process-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 160px;
  }
}

/* Add step numbers */
.process-card .step-number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  box-shadow: 0 5px 10px -3px rgba(183, 140, 90, 0.3);
  border: 3px solid white;
  z-index: 5;
}

/* Mobile step numbers */
@media (max-width: 767px) {
  .process-card .step-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    top: -8px;
    left: -8px;
  }
}

/* Different colors for each step number */
.process-card:nth-child(1) .step-number {
  background: #b78c5a;
}
.process-card:nth-child(2) .step-number {
  background: #9a7a4e;
}
.process-card:nth-child(3) .step-number {
  background: #7d5f2a;
}
.process-card:nth-child(4) .step-number {
  background: #c4a27a;
}
/* Mobile - Single Row Horizontal Slider with Zigzag */
@media (max-width: 767px) {
  .process-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scroll-behavior: smooth;
    grid-template-columns: none; /* Reset grid */
    margin-top: 2rem;
    position: relative;
  }

  .process-grid::-webkit-scrollbar {
    height: 4px;
  }

  .process-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .process-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .process-grid::-webkit-scrollbar-thumb:hover {
    background: #9a7a4e;
  }

  .process-card {
    flex: 0 0 280px; /* Fixed width for process cards */
    min-width: 260px;
    max-width: 300px;
    scroll-snap-align: start;
    margin-right: 0.5rem;
    position: relative;
  }

  /* Create horizontal zigzag - cards alternate up and down */
  .process-card:nth-child(odd) {
    transform: translateY(-15px) rotate(-1deg);
  }

  .process-card:nth-child(even) {
    transform: translateY(15px) rotate(1deg);
  }

  /* Add connecting wiggled lines between cards (horizontal) */
  .process-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -30px;
    width: 50px;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,30 Q30,70 50,30 T90,70' stroke='%23b78c5a' fill='none' stroke-width='2' stroke-dasharray='4 3' opacity='0.4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
  }

  /* Different wiggle patterns for each connection */
  .process-card:nth-child(1)::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,30 Q30,70 50,30 T90,70' stroke='%23b78c5a' fill='none' stroke-width='2' stroke-dasharray='4 3' opacity='0.4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  .process-card:nth-child(2)::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,70 Q30,30 50,70 T90,30' stroke='%23b78c5a' fill='none' stroke-width='2' stroke-dasharray='5 3' opacity='0.4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  .process-card:nth-child(3)::after {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,40 Q40,80 70,20 T90,60' stroke='%23b78c5a' fill='none' stroke-width='2' stroke-dasharray='3 4' opacity='0.4'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
  }

  /* Hide last card's connector */
  .process-card:last-child::after {
    display: none;
  }

  /* Add main horizontal timeline path */
  .process-grid::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      var(--accent-light) 10%,
      var(--accent) 30%,
      var(--accent) 70%,
      var(--accent-light) 90%,
      transparent 100%
    );
    transform: translateY(-50%);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
  }

  /* Add zigzag dots along the horizontal line */
  .process-grid::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 10px;
    background: repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      var(--accent) 20px,
      var(--accent) 25px,
      transparent 25px,
      transparent 40px
    );
    transform: translateY(-50%);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
  }

  /* Hover effects for mobile */
  .process-card:nth-child(odd):hover {
    transform: translateY(-18px) rotate(-1.5deg);
  }

  .process-card:nth-child(even):hover {
    transform: translateY(18px) rotate(1.5deg);
  }

  /* Step numbers for mobile */
  .process-card .step-number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    top: -8px;
    left: -8px;
  }

  /* Adjust card content for mobile */
  .process-card {
    padding: 1.5rem 1rem;
  }

  .process-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .process-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }

  .process-card p {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 200px;
  }
}

/* Small mobile devices - adjust card size */
@media (max-width: 480px) {
  .process-card {
    flex: 0 0 240px;
    min-width: 220px;
  }

  .process-card:nth-child(odd) {
    transform: translateY(-10px) rotate(-0.5deg);
  }

  .process-card:nth-child(even) {
    transform: translateY(10px) rotate(0.5deg);
  }

  .process-card:not(:last-child)::after {
    right: -25px;
    width: 40px;
    height: 40px;
  }

  .process-card .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .process-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .process-card h3 {
    font-size: 0.9rem;
  }

  .process-card p {
    font-size: 0.7rem;
    max-width: 180px;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .process-card {
    flex: 0 0 200px;
    min-width: 180px;
  }

  .process-card:nth-child(odd) {
    transform: translateY(-8px) rotate(-0.3deg);
  }

  .process-card:nth-child(even) {
    transform: translateY(8px) rotate(0.3deg);
  }

  .process-card:not(:last-child)::after {
    right: -20px;
    width: 35px;
    height: 35px;
  }

  .process-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .process-card h3 {
    font-size: 0.85rem;
  }

  .process-card p {
    font-size: 0.65rem;
  }
}

/* Add navigation hint */
@media (max-width: 767px) {
  .process-grid::after {
    content: "";
    flex: 0 0 1rem;
    height: 1px;
  }

  /* Add a subtle fade effect on edges to indicate scrolling */
  .process-section {
    position: relative;
  }

  .process-section::before,
  .process-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
  }

  .process-section::before {
    left: 0;
    background: linear-gradient(90deg, white, transparent);
  }

  .process-section::after {
    right: 0;
    background: linear-gradient(-90deg, white, transparent);
  }
}
/* ========================================================================
   09. HERO SECTION - Sliding Carousel
   ======================================================================== */
.hero-section {
  padding: 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  animation: slideFade 0.8s ease;
}

@keyframes slideFade {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-layout {
    flex-direction: row;
    align-items: center;
    gap: clamp(3rem, 8vw, 5rem);
  }
}

.hero-content {
  flex: 1 1 100%;
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

@media (min-width: 768px) {
  .hero-content {
    flex: 1 1 50%;
    text-align: left;
  }
}

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

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.hero-eyebrow::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .hero-eyebrow::after {
    left: 0;
    transform: none;
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 1;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.hero-title .title-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-title .title-accent::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(183, 140, 90, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero-description {
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: var(--text-soft);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero-description {
    margin: 0 0 2.5rem;
    padding: 0;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    gap: 1rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-actions {
    margin-bottom: 2.5rem;
  }
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  min-width: 160px;
}

.hero-statements {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero-statements {
    justify-content: flex-start;
    gap: 2rem;
    padding: 0;
  }
}

.statement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(5px);
}

.statement-item i {
  color: var(--accent);
  font-size: 0.8rem;
}

.hero-visual {
  flex: 1 1 100%;
  width: 100%;
  padding: 0 1rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@media (min-width: 768px) {
  .hero-visual {
    flex: 1 1 45%;
    padding: 0;
  }
}

.hero-image-grid {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  aspect-ratio: 3/4;
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40% 60% 30% 70% / 50% 40% 60% 50%;
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.5s ease,
    border-radius 0.5s ease;
}

.hero-img-main:hover {
  transform: scale(1.02);
  border-radius: 45% 55% 35% 65% / 55% 45% 55% 45%;
}

.hero-img-accent {
  display: none;
}

@media (min-width: 768px) {
  .hero-img-accent {
    display: block;
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 140px;
    height: 140px;
    border-radius: 30% 70% 50% 50% / 30% 40% 60% 70%;
    box-shadow: 0 25px 35px -15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    border: 4px solid white;
    transition: transform 0.5s ease;
    animation: floatImage 6s ease-in-out infinite;
  }

  .hero-img-accent:hover {
    transform: scale(1.05);
  }
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

/* Carousel Navigation Dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero-dot.active {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(183, 140, 90, 0.5);
}

/* Carousel Navigation Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border-light);
  color: var(--text-dark);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.2);
}

.hero-arrow:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

/* Mobile arrow adjustments */
@media (max-width: 767px) {
  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-arrow.prev {
    left: 10px;
  }

  .hero-arrow.next {
    right: 10px;
  }

  .hero-dots {
    bottom: 20px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }
}
/* ========================================================================
   21. FOOTER - Enhanced Modern Design
   ======================================================================== */
.footer {
  background: #1a1a1a; /* Darker, more premium background */
  color: #e0e0e0;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .footer-layout {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
  }
}

.footer-brand {
  max-width: 350px;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-brand {
    text-align: left;
    margin: 0;
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer-logo .dot {
  color: var(--accent);
  font-size: 1.8rem;
  line-height: 0.8;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-social {
    justify-content: flex-start;
  }
}

.footer-social a {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: -1;
}

.footer-social a:hover {
  color: white;
  border-color: var(--accent);
  transform: translateY(-5px);
}

.footer-social a:hover::before {
  transform: scale(1);
}

/* ========================================================================
   FOOTER NAVIGATION - Modern Card Design
   ======================================================================== */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  flex: 2;
}

@media (min-width: 480px) {
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 768px) {
  .footer-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-nav {
    gap: 3rem;
  }
}

.footer-col {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}

.footer-col:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(183, 140, 90, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -15px rgba(183, 140, 90, 0.3);
}

.footer-col:hover::before {
  height: 100%;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-col:hover h4::after {
  width: 50px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col li {
  margin-bottom: 0;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.footer-col li:hover {
  transform: translateX(8px);
}

.footer-col a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  position: relative;
}

.footer-col a::before {
  content: "→";
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.footer-col a:hover {
  color: white;
  padding-left: 1.5rem;
}

.footer-col a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile-specific footer nav adjustments */
@media (max-width: 767px) {
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-col {
    padding: 1.25rem 1rem;
  }

  .footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .footer-col h4::after {
    display: none;
  }

  .footer-col h4 i {
    color: var(--accent);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }

  .footer-col.active h4 i {
    transform: rotate(180deg);
  }

  .footer-col ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
  }

  .footer-col.active ul {
    max-height: 200px;
    margin-top: 1rem;
  }

  .footer-col a {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }

  .footer-col a::before {
    display: none;
  }

  .footer-col a:hover {
    padding-left: 0.5rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .footer-col {
    padding: 1rem 0.875rem;
  }

  .footer-col h4 {
    font-size: 0.9rem;
  }

  .footer-col a {
    font-size: 0.75rem;
  }
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.6;
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-bottom i {
  color: var(--accent);
  font-size: 0.7rem;
  animation: heartBeat 1.5s ease infinite;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    color: #ff6b6b;
  }
}
/* ========================================================================
   SECTION SPACING - Reduced Gaps Between Sections
   ======================================================================== */

/* Hero Section */
.hero-section {
  padding: 1.5rem 0 1rem 0; /* Reduced from clamp(2rem, 6vw, 4rem) */
  min-height: auto; /* Remove min-height constraint */
}

/* Featured Categories */
.featured-categories {
  padding: 1rem 0 1.5rem 0; /* Reduced from 1.5rem 0 2.5rem */
}

/* Process Section */
.process-section {
  padding: 2rem 0 2rem 0; /* Reduced from clamp(3rem, 8vw, 5rem) */
}

/* Category Showcase */
.category-showcase {
  padding: 2rem 0 2rem 0; /* Reduced from clamp(3rem, 8vw, 5rem) */
}

/* Products Showcase */
.products-showcase {
  padding: 2rem 0 2rem 0; /* Reduced from clamp(3rem, 8vw, 5rem) */
}

/* Portfolio Section */
.portfolio-section {
  padding: 2rem 0 2rem 0; /* Reduced from clamp(4rem, 10vw, 6rem) */
}

/* Creators Section */
.creators-section {
  padding: 2rem 0 2rem 0; /* Reduced from clamp(3rem, 8vw, 5rem) */
}

/* Membership Section */
.membership-section {
  padding: 2rem 0 2rem 0; /* Reduced from clamp(3rem, 8vw, 5rem) */
}

/* Activity Section */
.activity-section {
  padding: 2rem 0 2rem 0; /* Reduced from clamp(3rem, 8vw, 5rem) */
}

/* CTA Section */
.cta-section {
  padding: 2.5rem 0 2.5rem 0; /* Reduced from clamp(4rem, 10vw, 6rem) */
}

/* Section Headers - Reduce bottom margins */
.section-header {
  margin-bottom: 1.5rem; /* Reduced from clamp(2rem, 5vw, 3rem) */
}

.section-header.minimal {
  margin-bottom: 1rem; /* Reduced from clamp(1.5rem, 4vw, 2rem) */
}

/* Grid top margins */
.process-grid,
.services-grid,
.products-grid,
.creators-grid,
.levels-grid,
.activity-grid {
  margin-top: 1.5rem; /* Reduced from 2rem+ */
}

/* Portfolio parent grid */
.parent {
  margin-top: 1.5rem; /* Reduced from 2rem */
}

/* Footer */
.footer {
  padding: 2.5rem 0 1.5rem 0; /* Reduced from 4rem 0 2rem */
}

.footer-layout {
  margin-bottom: 1.5rem; /* Reduced from 2.5rem/3rem */
}

/* Mobile-specific reductions */
@media (max-width: 767px) {
  .hero-section {
    padding: 1rem 0 0.5rem 0;
  }

  .featured-categories {
    padding: 0.5rem 0 1rem 0;
  }

  .process-section,
  .category-showcase,
  .products-showcase,
  .portfolio-section,
  .creators-section,
  .membership-section,
  .activity-section {
    padding: 1.5rem 0 1.5rem 0;
  }

  .cta-section {
    padding: 2rem 0 2rem 0;
  }

  .footer {
    padding: 2rem 0 1rem 0;
  }

  .section-header {
    margin-bottom: 1rem;
  }

  .process-grid,
  .services-grid,
  .products-grid,
  .creators-grid,
  .levels-grid,
  .activity-grid,
  .parent {
    margin-top: 1rem;
  }
}

/* Small mobile - even tighter */
@media (max-width: 480px) {
  .hero-section {
    padding: 0.75rem 0 0.25rem 0;
  }

  .featured-categories {
    padding: 0.25rem 0 0.75rem 0;
  }

  .process-section,
  .category-showcase,
  .products-showcase,
  .portfolio-section,
  .creators-section,
  .membership-section,
  .activity-section {
    padding: 1rem 0 1rem 0;
  }

  .cta-section {
    padding: 1.5rem 0 1.5rem 0;
  }

  .footer {
    padding: 1.5rem 0 0.75rem 0;
  }

  .section-header {
    margin-bottom: 0.75rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .process-section,
  .category-showcase,
  .products-showcase,
  .portfolio-section,
  .creators-section,
  .membership-section,
  .activity-section {
    padding: 0.75rem 0 0.75rem 0;
  }

  .cta-section {
    padding: 1.25rem 0 1.25rem 0;
  }

  .section-header {
    margin-bottom: 0.5rem;
  }
}
/* ========================================================================
   16. PORTFOLIO SECTION - Creative Grid
   ======================================================================== */
.portfolio-section {
  padding: 2rem 0 2rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-light),
    transparent
  );
}

/* Mobile - Full width container */
@media (max-width: 767px) {
  .portfolio-section .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }

  .portfolio-header {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 1rem;
  }
}

.portfolio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .portfolio-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    text-align: left;
    padding: 0 var(--container-padding);
  }
}

.portfolio-header-left {
  max-width: 600px;
}

.portfolio-header-left .section-title-serif {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .portfolio-header-left .section-title-serif {
    text-align: left;
  }
}

.portfolio-header-left .section-title-serif::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent);
}

@media (min-width: 768px) {
  .portfolio-header-left .section-title-serif::after {
    left: 0;
    transform: none;
  }
}

.portfolio-header-left .section-subtitle {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .portfolio-header-left .section-subtitle {
    text-align: left;
  }
}

.portfolio-filter-tabs {
  display: flex;
  gap: 0.25rem;
  background: white;
  padding: 0.25rem;
  border-radius: 40px;
  box-shadow: 0 5px 15px -8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.portfolio-filter-tabs::-webkit-scrollbar {
  display: none;
}

.portfolio-filter-tab {
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 36px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.portfolio-filter-tab:hover {
  color: var(--text-dark);
  background: var(--bg);
}

.portfolio-filter-tab.active {
  background: var(--text-dark);
  color: white;
}

/* Parent grid - full width on mobile */
.parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 0;
  margin-top: 1rem;
  width: 100%;
  aspect-ratio: 3 / 2;
}

/* Mobile - full width */
@media (max-width: 767px) {
  .parent {
    margin-top: 0.5rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
  }
}

@media (min-width: 640px) {
  .parent {
    max-height: 600px;
  }
}

@media (min-width: 768px) {
  .parent {
    max-height: 700px;
    margin-top: 1.5rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Grid positioning */
.div1 {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
}
.div2 {
  grid-row: span 3 / span 3;
  grid-column-start: 3;
}
.div3 {
  grid-row: span 2 / span 2;
  grid-column-start: 3;
}
.div4 {
  grid-row: span 2 / span 2;
  grid-column-start: 1;
  grid-row-start: 4;
}
.div5 {
  grid-row: span 3 / span 3;
  grid-column-start: 1;
  grid-row-start: 6;
}
.div6 {
  grid-row: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 4;
}
.div7 {
  grid-row: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 7;
}
.div8 {
  grid-column: span 2 / span 2;
  grid-row: span 3 / span 3;
  grid-column-start: 2;
  grid-row-start: 6;
}

.parent > div {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: white;
  width: 100%;
  height: 100%;
  min-height: 60px;
  border: 1px solid var(--border-light);
}

.parent > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.parent > div:hover img {
  transform: scale(1.05);
}

/* Quote card styles - Improved readability */
.parent > div.quote-card {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.quote-content {
  text-align: center;
  max-width: 100%;
  width: 100%;
  padding: 0 0.25rem;
}

/* Mobile quote styles - larger, readable text */
@media (max-width: 767px) {
  .quote-content {
    transform: none; /* Remove zoom out */
    padding: 0.1rem;
  }

  .quote-mark {
    font-size: 1.2rem !important;
    margin-bottom: 0.1rem;
    line-height: 0.8;
    opacity: 0.3;
  }

  .quote-text {
    font-size: 0.75rem !important; /* Larger than before */
    line-height: 1.3;
    margin-bottom: 0.2rem;
    max-height: none; /* Remove height limit */
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    white-space: normal;
    word-break: break-word;
    font-weight: 400;
  }

  .quote-author {
    font-size: 0.65rem !important; /* Larger than before */
    margin-bottom: 0.1rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-weight: 500;
  }

  .quote-project {
    font-size: 0.55rem !important; /* Larger than before */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    color: var(--accent);
  }
}

/* Small mobile devices - slightly smaller but still readable */
@media (max-width: 480px) {
  .quote-text {
    font-size: 0.7rem !important;
  }

  .quote-author {
    font-size: 0.6rem !important;
  }

  .quote-project {
    font-size: 0.5rem !important;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .quote-text {
    font-size: 0.65rem !important;
  }

  .quote-author {
    font-size: 0.55rem !important;
  }

  .quote-project {
    font-size: 0.45rem !important;
  }
}

/* Desktop styles */
@media (min-width: 768px) {
  .quote-content {
    max-width: 180px;
    transform: none;
  }

  .quote-mark {
    font-size: 2rem;
    color: var(--accent);
    font-family: var(--font-serif);
    line-height: 0.8;
    margin-bottom: 0.25rem;
    opacity: 0.2;
  }

  .quote-text {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .quote-author {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .quote-project {
    font-size: 0.6rem;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Portfolio overlay - keep as is */
.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

@media (min-width: 768px) {
  .portfolio-overlay {
    padding: 1rem;
  }
}

.parent > div:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item-category {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .portfolio-item-category {
    font-size: 0.6rem;
    padding: 0.15rem 0.6rem;
  }
}

.portfolio-item-title {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0.1rem 0;
  font-family: var(--font-serif);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .portfolio-item-title {
    font-size: 0.85rem;
  }
}

.portfolio-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.2rem;
  font-size: 0.55rem;
}

@media (min-width: 768px) {
  .portfolio-item-meta {
    font-size: 0.65rem;
  }
}

.portfolio-item-provider {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  opacity: 0.9;
}

.portfolio-item-provider i {
  font-size: 0.5rem;
  color: var(--accent-light);
}

.portfolio-item-likes {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.1rem 0.4rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.portfolio-item-likes i {
  color: #ff6b6b;
  font-size: 0.5rem;
}
/* Mobile quote styles - smaller text */
@media (max-width: 767px) {
  .quote-content {
    transform: none;
    padding: 0.1rem;
  }

  .quote-mark {
    font-size: 0.85rem !important; /* Reduced from 1.0rem */
    margin-bottom: 0.05rem;
    line-height: 0.8;
    opacity: 0.3;
  }

  .quote-text {
    font-size: 0.55rem !important; /* Reduced from 0.65rem */
    line-height: 1.2;
    margin-bottom: 0.1rem;
    max-height: none;
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    white-space: normal;
    word-break: break-word;
    font-weight: 400;
  }

  .quote-author {
    font-size: 0.5rem !important; /* Reduced from 0.55rem */
    margin-bottom: 0.05rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-weight: 500;
  }

  .quote-project {
    font-size: 0.45rem !important; /* Reduced from 0.5rem */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    color: var(--accent);
  }
}

/* Small mobile devices - even smaller */
@media (max-width: 480px) {
  .quote-text {
    font-size: 0.5rem !important; /* Reduced from 0.6rem */
  }

  .quote-author {
    font-size: 0.45rem !important; /* Reduced from 0.5rem */
  }

  .quote-project {
    font-size: 0.4rem !important; /* Reduced from 0.45rem */
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .quote-text {
    font-size: 0.45rem !important; /* Reduced from 0.55rem */
  }

  .quote-author {
    font-size: 0.4rem !important; /* Reduced from 0.45rem */
  }

  .quote-project {
    font-size: 0.35rem !important; /* Reduced from 0.4rem */
  }
}
/* ========================================================================
   QUICK STATS GRID - HORIZONTAL SLIDER ON MOBILE
   ======================================================================== */

/* Base styles (desktop) */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
  width: 100%;
}

.stat-card-mini {
  background: white;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.05);
}

/* ========================================================================
   MOBILE SLIDER (up to 768px)
   ======================================================================== */
@media (max-width: 768px) {
  .quick-stats-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 12px !important;
    padding: 4px 4px 12px 4px !important; /* Extra bottom padding for scrollbar */
    margin-bottom: 20px !important;
    scrollbar-width: thin !important;
    width: 100% !important;
    grid-template-columns: none !important; /* Remove grid */
  }

  .quick-stats-grid::-webkit-scrollbar {
    height: 4px;
  }

  .quick-stats-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .quick-stats-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .quick-stats-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
  }

  .stat-card-mini {
    flex: 0 0 auto !important;
    width: 160px !important; /* Fixed width for cards */
    scroll-snap-align: start !important;
    margin-right: 0 !important;
    padding: 14px !important;
    gap: 10px !important;
    min-height: 80px !important;
  }

  /* Optional: Make the first card have a slightly different style */
  .stat-card-mini:first-child {
    margin-left: 4px !important;
  }

  /* Optional: Make the last card have extra margin for better scrolling */
  .stat-card-mini:last-child {
    margin-right: 4px !important;
  }
}

/* ========================================================================
   SMALL MOBILE (480px and below)
   ======================================================================== */
@media (max-width: 480px) {
  .quick-stats-grid {
    gap: 10px !important;
    padding: 4px 4px 12px 4px !important;
  }

  .stat-card-mini {
    width: 140px !important; /* Slightly smaller cards */
    padding: 12px !important;
    gap: 8px !important;
    min-height: 70px !important;
  }

  .stat-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1rem !important;
    border-radius: 12px !important;
  }

  .stat-value {
    font-size: 1.1rem !important;
  }

  .stat-label {
    font-size: 0.65rem !important;
  }
}

/* ========================================================================
   VERY SMALL MOBILE (360px and below)
   ======================================================================== */
@media (max-width: 360px) {
  .quick-stats-grid {
    gap: 8px !important;
  }

  .stat-card-mini {
    width: 130px !important; /* Even smaller cards */
    padding: 10px !important;
    gap: 6px !important;
    min-height: 65px !important;
  }

  .stat-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
  }

  .stat-value {
    font-size: 1rem !important;
  }

  .stat-label {
    font-size: 0.6rem !important;
  }
}

/* ========================================================================
   EXTRA SMALL MOBILE (320px and below)
   ======================================================================== */
@media (max-width: 320px) {
  .stat-card-mini {
    width: 120px !important;
    padding: 8px !important;
    min-height: 60px !important;
  }

  .stat-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.8rem !important;
  }

  .stat-value {
    font-size: 0.9rem !important;
  }

  .stat-label {
    font-size: 0.55rem !important;
  }
}

/* ========================================================================
   HIDE SCROLLBAR ON SOME BROWSERS (optional)
   ======================================================================== */
@media (max-width: 768px) {
  /* Hide scrollbar for cleaner look on some browsers */
  .quick-stats-grid {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: thin; /* Firefox - still show thin scrollbar */
  }

  /* Hide scrollbar for Chrome/Safari/Opera (optional - uncomment if you want cleaner look) */
  /*
  .quick-stats-grid::-webkit-scrollbar {
    display: none;
  }
  */
}

/* ========================================================================
   HOVER EFFECTS FOR TOUCH DEVICES
   ======================================================================== */
@media (hover: hover) {
  .stat-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -12px rgba(183, 140, 90, 0.15);
    border-color: var(--accent);
  }
}

/* Touch active state */
.stat-card-mini:active {
  transform: scale(0.98);
}

/* ========================================================================
   OPTIONAL: Add a gradient fade to indicate scrolling
   ======================================================================== */
@media (max-width: 768px) {
  .quick-stats-container {
    position: relative;
    width: 100%;
  }

  .quick-stats-container::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 12px; /* Match padding bottom */
    width: 40px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
    pointer-events: none;
    opacity: 0.8;
    border-radius: 0 12px 12px 0;
  }

  /* Hide gradient when scrolled to the end */
  .quick-stats-grid.is-scrolled-end + .quick-stats-container::after,
  .quick-stats-container:has(.quick-stats-grid.is-scrolled-end)::after {
    opacity: 0;
  }
}
/* ========================================================================
   DYNAMIC SHOWCASE - Content Toggle
   ======================================================================== */
.dynamic-showcase {
  padding: 2rem 0 2rem 0;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
}

.content-type-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 5;
}

.type-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 2rem;
  border: 2px solid var(--border-light);
  background: white;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  min-width: 160px;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.type-toggle-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

@media (hover: hover) {
  .type-toggle-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(183, 140, 90, 0.2);
  }
}

.type-toggle-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 10px 25px -8px rgba(183, 140, 90, 0.4);
}

.type-toggle-btn.active::before {
  opacity: 1;
}

.type-toggle-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.type-toggle-btn:hover i {
  transform: scale(1.1);
}

.type-toggle-btn.active i {
  color: white;
}

/* Content Panels */
.content-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.content-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: panelFade 0.5s ease;
}

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

/* Mobile adjustments */
@media (max-width: 768px) {
  .content-type-toggle {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .type-toggle-btn {
    padding: 0.6rem 1.25rem;
    min-width: 130px;
    font-size: 0.9rem;
  }

  .type-toggle-btn i {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .content-type-toggle {
    gap: 0.5rem;
  }

  .type-toggle-btn {
    padding: 0.5rem 1rem;
    min-width: 110px;
    font-size: 0.8rem;
  }

  .type-toggle-btn i {
    font-size: 0.85rem;
  }
}

/* Provider Type Tabs - Circle Design */
.provider-type-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  white-space: nowrap;
  padding-left: 1rem;
  padding-right: 1rem;
}

.provider-type-tabs::-webkit-scrollbar {
  display: none;
}

/* Desktop styles for provider tabs */
@media (min-width: 768px) {
  .provider-type-tabs {
    flex-wrap: nowrap;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
  }

  .provider-type-tabs .type-tab {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-soft);
    font-size: 0.85rem;
    min-height: 40px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
  }

  .provider-type-tabs .type-tab i {
    display: none;
  }

  .provider-type-tabs .type-tab span {
    display: inline;
  }

  .provider-type-tabs .type-tab:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s ease;
  }

  .provider-type-tabs .type-tab:hover {
    color: var(--text-dark);
  }

  .provider-type-tabs .type-tab.active {
    color: var(--accent);
  }

  .provider-type-tabs .type-tab.active:after {
    background: var(--accent);
  }
}

/* Mobile - Circle Design */
@media (max-width: 767px) {
  .provider-type-tabs {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 1rem 1.5rem 1rem;
    justify-content: flex-start;
    border-bottom: none;
    margin-bottom: 1.5rem;
  }

  .provider-type-tabs .type-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--text-soft);
    font-size: 0.7rem;
    min-width: 60px;
    min-height: auto;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    cursor: pointer;
    position: relative;
  }

  .provider-type-tabs .type-tab::before {
    content: "";
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.05);
  }

  .provider-type-tabs .type-tab i {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.3rem;
    color: var(--text-soft);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
  }

  .provider-type-tabs .type-tab span {
    display: block;
    font-size: 0.65rem;
    color: var(--text-soft);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 70px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

  .provider-type-tabs .type-tab.active::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 15px -5px rgba(183, 140, 90, 0.3);
    transform: scale(1.05);
  }

  .provider-type-tabs .type-tab.active i {
    color: white;
  }

  .provider-type-tabs .type-tab.active span {
    color: var(--accent);
    font-weight: 600;
  }

  .provider-type-tabs .type-tab:hover::before {
    border-color: var(--accent);
    transform: scale(1.02);
  }

  .provider-type-tabs .type-tab:hover i {
    color: var(--accent);
  }

  .provider-type-tabs .type-tab:hover span {
    color: var(--text-dark);
  }

  .provider-type-tabs .type-tab:after {
    display: none;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .provider-type-tabs {
    gap: 1rem;
  }

  .provider-type-tabs .type-tab::before {
    width: 48px;
    height: 48px;
  }

  .provider-type-tabs .type-tab i {
    top: 13px;
    font-size: 1.1rem;
  }

  .provider-type-tabs .type-tab span {
    font-size: 0.6rem;
    max-width: 60px;
  }
}

/* Product Category Tabs */
.product-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.product-category-tabs .category-tab {
  background: var(--bg);
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 40px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
}

.product-category-tabs .category-tab:hover {
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  background: var(--text-dark);
}

.product-category-tabs .category-tab.active {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}
/* ========================================================================
   16.5 MARKETPLACE PULSE - Compact Live Activity Feed
   ======================================================================== */
.marketplace-pulse {
  padding: 2rem 0 2.5rem 0;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  position: relative;
}

.pulse-container {
  max-width: 1000px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}

/* Activity Feed - Compact */
.pulse-feed {
  background: white;
  border-radius: 24px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 25px -12px rgba(0, 0, 0, 0.08);
  max-height: 360px;
  overflow-y: auto;
}

.pulse-feed::-webkit-scrollbar {
  width: 3px;
}

.pulse-feed::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 3px;
}

.pulse-feed::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* Activity Items */
.pulse-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.pulse-item:last-child {
  border-bottom: none;
}

.pulse-item:hover {
  background: var(--bg);
  border-radius: 12px;
  padding-left: 1rem;
}

.pulse-item.new {
  background: linear-gradient(90deg, rgba(183, 140, 90, 0.05), transparent);
  border-radius: 12px;
  animation: fadePulse 2s ease;
}

@keyframes fadePulse {
  0%,
  30% {
    background: linear-gradient(90deg, rgba(183, 140, 90, 0.12), transparent);
  }
  100% {
    background: linear-gradient(90deg, rgba(183, 140, 90, 0.05), transparent);
  }
}

.pulse-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  border: 2px solid white;
  box-shadow: 0 2px 8px -3px rgba(0, 0, 0, 0.1);
}

.pulse-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
}

.avatar-dot.provider {
  background: var(--accent);
}

.avatar-dot.customer {
  background: #10b981;
}

.pulse-content {
  flex: 1;
  min-width: 0;
}

.pulse-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
  flex-wrap: wrap;
}

.pulse-name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.pulse-badge {
  font-size: 0.55rem;
  padding: 0.15rem 0.5rem;
  border-radius: 30px;
  background: var(--bg);
  color: var(--text-soft);
  border: 1px solid var(--border-light);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pulse-badge.provider {
  background: rgba(183, 140, 90, 0.08);
  color: var(--accent);
  border-color: rgba(183, 140, 90, 0.2);
}

.pulse-text {
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.pulse-text strong {
  color: var(--accent);
  font-weight: 600;
}

.pulse-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.65rem;
}

.pulse-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pulse-time i {
  font-size: 0.55rem;
  color: var(--accent);
}

.pulse-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pulse-location i {
  font-size: 0.55rem;
  color: var(--accent);
}

.pulse-amount {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.7rem;
  background: rgba(183, 140, 90, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 30px;
  margin-left: auto;
}

/* Stats Row - Compact Badges */
.pulse-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: white;
  border-radius: 40px;
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.stat-badge:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px -6px rgba(183, 140, 90, 0.2);
}

.stat-badge.featured {
  background: var(--text-dark);
  border-color: var(--accent);
}

.stat-badge.featured .stat-label,
.stat-badge.featured .stat-number {
  color: white;
}

.stat-label {
  color: var(--text-soft);
  font-weight: 400;
}

.stat-number {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.85rem;
}

.stat-unit {
  color: var(--text-light);
  font-size: 0.65rem;
  margin-left: -0.2rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Footer Link */
.pulse-footer {
  text-align: center;
}

.pulse-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  background: white;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.pulse-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -8px rgba(183, 140, 90, 0.3);
}

.pulse-link i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.pulse-link:hover i {
  transform: translateX(4px);
}

/* Empty State */
.pulse-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-soft);
}

.pulse-empty i {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.pulse-empty p {
  font-size: 0.85rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .pulse-container {
    padding: 0 1rem;
  }

  .pulse-feed {
    max-height: 320px;
    padding: 0.75rem;
  }

  .pulse-item {
    padding: 0.6rem;
  }

  .pulse-avatar {
    width: 32px;
    height: 32px;
  }

  .pulse-name {
    font-size: 0.8rem;
  }

  .pulse-text {
    font-size: 0.75rem;
    max-width: 250px;
  }

  .pulse-stats {
    gap: 0.4rem;
  }

  .stat-badge {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
  }

  .stat-number {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .pulse-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }

  .stat-badge {
    width: 100%;
    justify-content: center;
  }

  .pulse-text {
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .pulse-item {
    flex-wrap: wrap;
  }

  .pulse-content {
    width: calc(100% - 44px);
  }

  .pulse-text {
    max-width: 100%;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .pulse-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .pulse-amount {
    margin-left: 0;
  }
}
/* ========================================================================
   7.5 TRENDING SECTION - Real-time Popular Items
   ======================================================================== */
.trending-section {
  padding: 3rem 0 4rem 0;
  background: linear-gradient(135deg, white 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.trending-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(183, 140, 90, 0.03) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

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

.section-header.minimal.with-link {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.trending-badge-container {
  display: flex;
  align-items: center;
}

.trending-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px -2px rgba(239, 68, 68, 0.3);
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* ========================================================================
   3.5 JOURNEY SECTION - Process + Dual Path Combined (Fixed Layout)
   ======================================================================== */
.journey-section {
  padding: 2.5rem 0 3rem 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.journey-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(183, 140, 90, 0.02) 0%,
    transparent 70%
  );
  animation: rotateSlow 40s linear infinite;
  pointer-events: none;
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.journey-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

/* Process Steps Row - 4 columns (ALWAYS 4 columns) */
.process-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ALWAYS 4 columns */
  gap: 1rem;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  padding: 1.5rem;
  border-radius: 32px;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Ensure 4 columns on ALL screen sizes */
@media (max-width: 768px) {
  .process-steps-row {
    grid-template-columns: repeat(4, 1fr) !important; /* Force 4 columns */
    gap: 0.5rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .process-steps-row {
    grid-template-columns: repeat(4, 1fr) !important; /* Force 4 columns */
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 360px) {
  .process-steps-row {
    grid-template-columns: repeat(4, 1fr) !important; /* Force 4 columns */
    gap: 0.25rem;
    padding: 0.6rem 0.4rem;
  }
}

.process-steps-row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-light),
    var(--accent),
    var(--accent-light)
  );
  opacity: 0.3;
}

.process-step {
  display: flex;
  flex-direction: column; /* Stack vertically on all screens */
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  background: white;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid transparent;
  width: 100%;
  min-width: 0; /* Prevent overflow */
  height: 100%;
}

/* Adjust padding for smaller screens - ensure text has room */
@media (max-width: 768px) {
  .process-step {
    padding: 0.5rem 0.35rem;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .process-step {
    padding: 0.4rem 0.25rem;
    gap: 0.3rem;
  }
}

@media (max-width: 360px) {
  .process-step {
    padding: 0.35rem 0.2rem;
    gap: 0.25rem;
  }
}

.process-step:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -8px rgba(183, 140, 90, 0.15);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Scale icons for mobile */
@media (max-width: 768px) {
  .step-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .step-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
}

@media (max-width: 360px) {
  .step-icon {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    border-radius: 8px;
  }
}

.process-step:hover .step-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

.step-content {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.step-number {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .step-number {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
  }
}

@media (max-width: 480px) {
  .step-number {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 360px) {
  .step-number {
    font-size: 0.5rem;
    letter-spacing: 0.3px;
  }
}

.process-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-dark);
  line-height: 1.3;
  white-space: normal; /* Allow wrapping */
  overflow: visible;
  text-overflow: clip;
  width: 100%;
  word-break: break-word;
  display: block;
  max-width: 100%;
}

@media (max-width: 768px) {
  .process-step h3 {
    font-size: 0.85rem;
    line-height: 1.2;
    margin-bottom: 0.15rem;
  }
}

@media (max-width: 480px) {
  .process-step h3 {
    font-size: 0.75rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
  }
}

@media (max-width: 360px) {
  .process-step h3 {
    font-size: 0.7rem;
    line-height: 1.2;
  }
}

.process-step p {
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.4;
  display: block; /* Change from -webkit-box to block */
  -webkit-line-clamp: unset;
  line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible; /* Show all text */
  width: 100%;
  word-break: break-word;
  white-space: normal;
  max-width: 100%;
}

@media (max-width: 768px) {
  .process-step p {
    font-size: 0.7rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .process-step p {
    font-size: 0.65rem;
    line-height: 1.3;
  }
}

@media (max-width: 360px) {
  .process-step p {
    font-size: 0.6rem;
    line-height: 1.2;
  }
}

/* Force text to be visible on all screens */
.process-step p,
.process-step h3,
.process-step .step-number {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.path-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  background: white;
  border-radius: 28px;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0; /* Prevent overflow */
}

/* Adjust card padding for mobile */
@media (max-width: 768px) {
  .path-card {
    padding: 1rem 0.75rem;
    gap: 0.75rem;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .path-card {
    padding: 0.75rem 0.5rem;
    gap: 0.5rem;
    border-radius: 20px;
  }
}

@media (max-width: 360px) {
  .path-card {
    padding: 0.6rem 0.4rem;
    gap: 0.4rem;
    border-radius: 16px;
  }
}

.path-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  transition: height 0.4s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.path-card:hover::before {
  height: 100%;
}

.path-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.8rem;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.05);
}

/* Scale icons for mobile */
@media (max-width: 768px) {
  .path-icon-wrapper {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .path-icon-wrapper {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
    border-radius: 14px;
  }
}

@media (max-width: 360px) {
  .path-icon-wrapper {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    border-radius: 12px;
  }
}

.path-content {
  flex: 1;
  min-width: 0;
}

/* Path content text - ensure all shown */
.path-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
  font-family: var(--font-serif);
  white-space: normal; /* Allow wrapping */
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .path-content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    line-height: 1.2;
  }
}

@media (max-width: 640px) {
  .path-content h3 {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .path-content h3 {
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
  }
}

@media (max-width: 360px) {
  .path-content h3 {
    font-size: 0.75rem;
    margin-bottom: 0.1rem;
  }
}

.path-content p {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
  line-height: 1.4;
  white-space: normal; /* Allow wrapping */
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
}

@media (max-width: 768px) {
  .path-content p {
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }
}

@media (max-width: 640px) {
  .path-content p {
    font-size: 0.72rem;
    margin-bottom: 0.4rem;
  }
}

@media (max-width: 480px) {
  .path-content p {
    font-size: 0.68rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
  }
}

@media (max-width: 360px) {
  .path-content p {
    font-size: 0.65rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }
}

.path-benefits-mini {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  list-style: none;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .path-benefits-mini {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .path-benefits-mini {
    gap: 0.4rem;
    margin-bottom: 0.4rem;
  }
}

.path-benefits-mini li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--text-soft);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .path-benefits-mini li {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .path-benefits-mini li {
    font-size: 0.6rem;
    gap: 0.15rem;
  }
}

@media (max-width: 360px) {
  .path-benefits-mini li {
    font-size: 0.55rem;
  }
}

.path-benefits-mini i {
  color: var(--accent);
  font-size: 0.6rem;
}

@media (max-width: 480px) {
  .path-benefits-mini i {
    font-size: 0.55rem;
  }
}

.path-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--bg);
  border-radius: 40px;
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .path-btn {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .path-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.68rem;
    gap: 0.3rem;
  }
}

@media (max-width: 360px) {
  .path-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.65rem;
    gap: 0.25rem;
  }
}

.path-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  gap: 0.75rem;
}

.path-btn i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

@media (max-width: 480px) {
  .path-btn i {
    font-size: 0.6rem;
  }
}

.path-btn:hover i {
  transform: translateX(4px);
}

/* ========================================================================
   7.5 TRENDING SECTION - Real-time Popular Items
   ======================================================================== */
.trending-section {
  padding: 3rem 0 4rem 0;
  background: linear-gradient(135deg, white 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.trending-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(183, 140, 90, 0.03) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

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

/* Centered header with inline badge */
.section-header.minimal.with-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 2rem;
}

.section-header.minimal.with-link .section-title-serif {
  text-align: center;
  margin-bottom: 0.5rem;
}

.trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px -2px rgba(183, 140, 90, 0.3);
  animation: pulseBadge 2s ease-in-out infinite;
  margin-top: 0.5rem;
}

.trending-badge .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* Trending Grid - Desktop Default */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2.5rem 0 2rem;
}

/* Mobile - Horizontal Slider with smaller cards */
@media (max-width: 768px) {
  .trending-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem; /* Same gap as products grid */
    padding: 0.5rem 0 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scroll-behavior: smooth;
    grid-template-columns: none;
    margin: 2rem 0 1.5rem;
    width: 100%;
  }

  .trending-grid::-webkit-scrollbar {
    height: 4px;
  }

  .trending-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .trending-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .trending-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
  }

  .trending-card {
    flex: 0 0 160px; /* Same size as product cards */
    min-width: 140px;
    max-width: 180px;
    scroll-snap-align: start;
    margin-right: 0.5rem;
    border-radius: 16px; /* Same as product cards */
  }
}

/* Small mobile - even smaller */
@media (max-width: 480px) {
  .trending-grid {
    gap: 0.5rem;
  }

  .trending-card {
    flex: 0 0 140px;
    min-width: 120px;
    max-width: 160px;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .trending-grid {
    gap: 0.4rem;
  }

  .trending-card {
    flex: 0 0 120px;
    min-width: 100px;
    max-width: 140px;
  }
}

/* Tablet - back to grid */
@media (min-width: 769px) and (max-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop - 4 cards */
@media (min-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.trending-card {
  background: white;
  border-radius: 20px; /* Match product cards */
  overflow: hidden;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.trending-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.trending-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-light),
    var(--accent),
    var(--accent-light)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 2;
}

.trending-card:hover::before {
  transform: scaleX(1);
}

.trending-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 4px 8px rgba(183, 140, 90, 0.3);
  border: 2px solid white;
}

/* Mobile rank badge - smaller */
@media (max-width: 768px) {
  .trending-rank {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    top: 6px;
    left: 6px;
  }
}

@media (max-width: 480px) {
  .trending-rank {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
    top: 4px;
    left: 4px;
    border-width: 1.5px;
  }
}

/* Special colors for top 3 ranks */
.trending-card:nth-child(1) .trending-rank {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
}

.trending-card:nth-child(2) .trending-rank {
  background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
}

.trending-card:nth-child(3) .trending-rank {
  background: linear-gradient(135deg, #cd7f32 0%, #b06d2a 100%);
}

.trending-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.trending-info {
  padding: 1rem;
  background: white;
}

/* Mobile info padding */
@media (max-width: 768px) {
  .trending-info {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .trending-info {
    padding: 0.6rem;
  }
}

.trending-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.4;
  white-space: normal; /* Allow wrapping */
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Mobile title */
@media (max-width: 768px) {
  .trending-info h4 {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    margin-bottom: 0.25rem;
  }
}

@media (max-width: 480px) {
  .trending-info h4 {
    font-size: 0.7rem;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

.trending-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

/* Mobile meta */
@media (max-width: 768px) {
  .trending-meta {
    gap: 0.4rem;
    margin-bottom: 0.3rem;
  }
}

.trending-category {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  background: var(--bg);
  border-radius: 30px;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid var(--border-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

/* Mobile category */
@media (max-width: 768px) {
  .trending-category {
    font-size: 0.6rem;
    padding: 0.1rem 0.5rem;
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  .trending-category {
    font-size: 0.55rem;
    padding: 0.1rem 0.4rem;
    max-width: 70px;
  }
}

.trending-type {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Mobile type */
@media (max-width: 768px) {
  .trending-type {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .trending-type {
    font-size: 0.55rem;
  }
}

.trending-type i {
  color: var(--accent);
  font-size: 0.55rem;
}

@media (max-width: 480px) {
  .trending-type i {
    font-size: 0.5rem;
  }
}

.trending-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

/* Mobile stats */
@media (max-width: 768px) {
  .trending-stats {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
  }
}

@media (max-width: 480px) {
  .trending-stats {
    margin-top: 0.3rem;
    padding-top: 0.3rem;
  }
}

.trending-views {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--text-soft);
  font-size: 0.7rem;
  white-space: nowrap;
}

/* Mobile views */
@media (max-width: 768px) {
  .trending-views {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .trending-views {
    font-size: 0.6rem;
  }
}

.trending-views i {
  color: var(--accent);
  font-size: 0.6rem;
}

@media (max-width: 480px) {
  .trending-views i {
    font-size: 0.55rem;
  }
}

.trending-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Mobile price */
@media (max-width: 768px) {
  .trending-price {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .trending-price {
    font-size: 0.7rem;
  }
}

.trending-price span {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-soft);
  margin-right: 0.2rem;
}

@media (max-width: 480px) {
  .trending-price span {
    font-size: 0.6rem;
  }
}

/* Trending Skeleton */
.trending-card.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border: none;
}

.trending-card.skeleton .trending-rank {
  background: #e0e0e0;
  animation: none;
}

.trending-card.skeleton img {
  background: #e0e0e0;
}

.trending-card.skeleton h4 {
  height: 16px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 8px;
}

.trending-card.skeleton .trending-meta {
  height: 14px;
  background: #e0e0e0;
  border-radius: 4px;
  width: 60%;
}

/* Add navigation hint for mobile */
@media (max-width: 768px) {
  .trending-grid::after {
    content: "";
    flex: 0 0 1rem;
    height: 1px;
  }

  .trending-section {
    position: relative;
  }

  .trending-section::before,
  .trending-section::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
  }

  .trending-section::before {
    left: 0;
    background: linear-gradient(90deg, white, transparent);
  }

  .trending-section::after {
    right: 0;
    background: linear-gradient(-90deg, white, transparent);
  }
}
/* ========================================================================
   11.5 TRUST BAR - Center on Mobile
   ======================================================================== */
.trust-bar {
  padding: 2rem 0;
  background: white;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Always a row - center items on smaller screens */
@media (max-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: repeat(4, 1fr) !important; /* Force 4 columns */
    gap: 0.5rem;
    padding: 0 0.5rem;
    justify-items: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
  }
}

@media (max-width: 640px) {
  .trust-bar-grid {
    gap: 0.35rem;
    padding: 0 0.25rem;
  }
}

@media (max-width: 480px) {
  .trust-bar-grid {
    gap: 0.25rem;
    padding: 0 0.15rem;
  }
}

@media (max-width: 360px) {
  .trust-bar-grid {
    gap: 0.15rem;
  }
}

.trust-item {
  display: flex;
  flex-direction: column; /* Stack vertically on all screens */
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: all 0.3s ease;
  width: 100%; /* Take full width of grid cell */
  max-width: 200px; /* Prevent items from getting too wide */
  margin: 0 auto; /* Center the item within its cell */
}

.trust-item:hover {
  transform: translateY(-3px);
}

.trust-item i {
  font-size: 2rem;
  color: var(--accent); /* Theme color */
  transition: all 0.3s ease;
}

.trust-item:hover i {
  transform: scale(1.1);
  color: var(--accent-dark);
}

.trust-item div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%; /* Take full width */
}

.trust-item strong {
  font-size: 0.9rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center; /* Center the text */
}

.trust-item span {
  font-size: 0.7rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center; /* Center the text */
}

/* Scale down for smaller screens */
@media (max-width: 768px) {
  .trust-item {
    gap: 0.4rem;
    padding: 0.4rem 0.25rem;
  }

  .trust-item i {
    font-size: 1.6rem;
  }

  .trust-item strong {
    font-size: 0.75rem;
  }

  .trust-item span {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .trust-item {
    gap: 0.25rem;
    padding: 0.25rem 0.15rem;
  }

  .trust-item i {
    font-size: 1.4rem;
  }

  .trust-item strong {
    font-size: 0.65rem;
  }

  .trust-item span {
    font-size: 0.55rem;
  }
}

@media (max-width: 360px) {
  .trust-item {
    gap: 0.2rem;
    padding: 0.2rem 0.1rem;
  }

  .trust-item i {
    font-size: 1.2rem;
  }

  .trust-item strong {
    font-size: 0.6rem;
  }

  .trust-item span {
    font-size: 0.5rem;
  }
}

/* ========================================================================
   2.0 CERTIFICATIONS SECTION - Global Trust Badges (SLIDER VERSION)
   ======================================================================== */
.certifications-section {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(135deg, white 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.certifications-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(183, 140, 90, 0.02) 0%,
    transparent 70%
  );
  animation: rotateSlow 40s linear infinite;
  pointer-events: none;
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.certifications-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FIXED: Eyebrow positioned at top with proper spacing */
.certifications-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1.5rem;
}

/* Decorative lines on desktop */
.certifications-eyebrow::before,
.certifications-eyebrow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
  transform: translateY(-50%);
}

.certifications-eyebrow::before {
  left: -20px;
  right: auto;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.certifications-eyebrow::after {
  right: -20px;
  left: auto;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* Title styling */
.certifications-header .section-title-serif {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.certifications-subtitle {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Mobile adjustments for eyebrow */
@media (max-width: 768px) {
  .certifications-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .certifications-eyebrow::before,
  .certifications-eyebrow::after {
    width: 25px;
  }

  .certifications-eyebrow::before {
    left: -15px;
  }

  .certifications-eyebrow::after {
    right: -15px;
  }
}

@media (max-width: 480px) {
  .certifications-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    padding: 0 0.75rem;
  }

  .certifications-eyebrow::before,
  .certifications-eyebrow::after {
    width: 20px;
  }

  .certifications-eyebrow::before {
    left: -12px;
  }

  .certifications-eyebrow::after {
    right: -12px;
  }
}

/* Certifications Slider Container */
.certifications-slider-container {
  position: relative;
  margin: 2rem 0 2.5rem;
  padding: 0 30px;
}

/* Certifications Slider - Horizontal Slider for ALL screen sizes */
.certifications-slider {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 0.5rem 0 1.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--border-light);
  -webkit-overflow-scrolling: touch;
  scroll-padding: 0 var(--container-padding);
  scroll-behavior: smooth;
  width: 100%;
}

/* Custom scrollbar styling */
.certifications-slider::-webkit-scrollbar {
  height: 4px;
}

.certifications-slider::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 4px;
}

.certifications-slider::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.certifications-slider::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

/* Certification Slide - Fixed width for consistency */
.certification-slide {
  flex: 0 0 320px;
  min-width: 300px;
  max-width: 350px;
  scroll-snap-align: start;
}

/* Adjust slide width for different screen sizes */
@media (max-width: 768px) {
  .certification-slide {
    flex: 0 0 280px;
    min-width: 260px;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .certification-slide {
    flex: 0 0 240px;
    min-width: 220px;
    max-width: 260px;
  }
}

/* Certification Card - FIXED to show all text */
.certification-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start; /* Changed from center to flex-start for better text alignment */
  gap: 1.25rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.certification-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-light),
    var(--accent),
    var(--accent-light)
  );
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 2;
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -12px rgba(183, 140, 90, 0.15);
  border-color: var(--accent-light);
}

.certification-card:hover::before {
  transform: scaleX(1);
}

.certification-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.certification-card:hover .certification-icon {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 10px 20px -8px rgba(183, 140, 90, 0.2);
}

.certification-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.certification-card:hover .certification-icon img {
  filter: grayscale(0%);
}

/* Certification Content - FIXED to show all text */
.certification-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem; /* Consistent spacing between elements */
}

.certification-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-serif);
  line-height: 1.3;
  white-space: normal; /* Allow wrapping */
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  display: block;
  width: 100%;
  margin-bottom: 0.1rem;
}

.certification-content p {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.4;
  white-space: normal; /* Allow wrapping */
  overflow: visible;
  text-overflow: clip;
  word-break: break-word;
  display: block;
  width: 100%;
  margin-bottom: 0.25rem;
}

.certification-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start; /* Keep badge left-aligned */
  white-space: nowrap; /* Keep badge on one line */
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.certification-card:hover .certification-badge {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Mobile adjustments - ensure all text remains visible */
@media (max-width: 768px) {
  .certification-card {
    padding: 1.25rem 1rem;
    gap: 1rem;
  }

  .certification-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }

  .certification-content {
    gap: 0.3rem;
  }

  .certification-content h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .certification-content p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.2rem;
  }

  .certification-badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .certification-card {
    padding: 1rem 0.75rem;
    gap: 0.75rem;
  }

  .certification-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .certification-content {
    gap: 0.25rem;
  }

  .certification-content h3 {
    font-size: 0.9rem;
    line-height: 1.3;
  }

  .certification-content p {
    font-size: 0.7rem;
    line-height: 1.3;
    margin-bottom: 0.15rem;
  }

  .certification-badge {
    font-size: 0.55rem;
    padding: 0.15rem 0.5rem;
  }
}

@media (max-width: 360px) {
  .certification-card {
    padding: 0.85rem 0.6rem;
    gap: 0.6rem;
  }

  .certification-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
  }

  .certification-content h3 {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .certification-content p {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  .certification-badge {
    font-size: 0.5rem;
    padding: 0.1rem 0.4rem;
  }
}

/* Navigation Arrows */
.certifications-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border-light);
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
}

.certifications-arrow:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.certifications-arrow.prev {
  left: 0;
}

.certifications-arrow.next {
  right: 0;
}

/* Hide arrows on mobile for cleaner look */
@media (max-width: 768px) {
  .certifications-arrow {
    display: none;
  }

  .certifications-slider-container {
    padding: 0 0;
  }
}

/* Certifications Footer */
.certifications-footer {
  text-align: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}

.certifications-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 2rem;
  background: white;
  border-radius: 40px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.05);
}

.certifications-link:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -8px rgba(183, 140, 90, 0.3);
  gap: 1rem;
}

.certifications-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.certifications-link:hover i {
  transform: translateX(6px);
}

/* Add navigation hint with fade effect on edges */
.certifications-slider-container::before,
.certifications-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.8;
}

.certifications-slider-container::before {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}

.certifications-slider-container::after {
  right: 0;
  background: linear-gradient(-90deg, white, transparent);
}

@media (max-width: 768px) {
  .certifications-slider-container::before,
  .certifications-slider-container::after {
    width: 30px;
  }
}

/* Skeleton loading */
.certification-slide.skeleton .certification-card {
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border: none;
}

.certification-slide.skeleton .certification-icon {
  background: #e0e0e0;
  border: none;
}

.certification-slide.skeleton .certification-content h3 {
  height: 16px;
  background: #e0e0e0;
  border-radius: 4px;
  width: 80%;
}

.certification-slide.skeleton .certification-content p {
  height: 12px;
  background: #e0e0e0;
  border-radius: 4px;
  width: 60%;
}

.certification-slide.skeleton .certification-badge {
  height: 20px;
  background: #e0e0e0;
  border: none;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* ========================================================================
   13. SERVICES GRID - Premium Cards with Full Text - Mobile Slider
   ======================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default for desktop */
  gap: 2rem;
  margin-top: 2rem;
}

/* Mobile - Horizontal Slider with cards same size as trending */
@media (max-width: 767px) {
  .services-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0.5rem 0 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scroll-behavior: smooth;
    grid-template-columns: none;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .services-grid::-webkit-scrollbar {
    height: 4px;
  }

  .services-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .services-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .services-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
  }

  .curated-card {
    flex: 0 0 160px; /* Same as trending card */
    min-width: 140px;
    max-width: 180px;
    scroll-snap-align: start;
    margin-right: 0.5rem;
    border-radius: 16px;
  }
}

/* Small mobile - even smaller */
@media (max-width: 480px) {
  .services-grid {
    gap: 0.5rem;
  }

  .curated-card {
    flex: 0 0 140px; /* Same as trending card */
    min-width: 120px;
    max-width: 160px;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .services-grid {
    gap: 0.4rem;
  }

  .curated-card {
    flex: 0 0 120px; /* Same as trending card */
    min-width: 100px;
    max-width: 140px;
  }
}

/* Tablet - back to grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop - 4 cards */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ========================================================================
   14. PRODUCTS SHOWCASE - Modern Grid with Mobile Slider
   ======================================================================== */
.products-showcase {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Default for desktop */
  gap: 2rem;
  margin-top: 2rem;
}

/* Mobile - Horizontal Slider with cards same size as trending */
@media (max-width: 767px) {
  .products-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding: 0.5rem 0 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 var(--container-padding);
    scroll-behavior: smooth;
    grid-template-columns: none;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .products-grid::-webkit-scrollbar {
    height: 4px;
  }

  .products-grid::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
  }

  .products-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .products-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
  }

  .curated-card {
    flex: 0 0 160px; /* Same as trending card */
    min-width: 140px;
    max-width: 180px;
    scroll-snap-align: start;
    margin-right: 0.5rem;
    border-radius: 16px;
  }
}

/* Small mobile - even smaller */
@media (max-width: 480px) {
  .products-grid {
    gap: 0.5rem;
  }

  .curated-card {
    flex: 0 0 140px; /* Same as trending card */
    min-width: 120px;
    max-width: 160px;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .products-grid {
    gap: 0.4rem;
  }

  .curated-card {
    flex: 0 0 120px; /* Same as trending card */
    min-width: 100px;
    max-width: 140px;
  }
}

/* Tablet - back to grid */
@media (min-width: 768px) and (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop - 4 cards */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ========================================================================
   CURATED CARD - Unified styling for both services and products
   ======================================================================== */
.curated-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none;
  color: inherit;
  width: 100%;
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.curated-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
  z-index: 2;
}

.curated-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.curated-card:hover::before {
  transform: scaleX(1);
}

/* Mobile card adjustments - match trending */
@media (max-width: 767px) {
  .curated-card {
    border-radius: 16px;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.1);
  }

  .curated-card:hover {
    transform: translateY(-4px);
  }
}

.curated-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
}

.curated-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.curated-card:hover .curated-card-image::after {
  opacity: 1;
}

.curated-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.curated-card:hover .curated-card-image img {
  transform: scale(1.08);
}

/* Mobile image adjustments */
@media (max-width: 767px) {
  .curated-card:hover .curated-card-image img {
    transform: scale(1.05);
  }
}

.curated-card-content {
  padding: 1rem;
  background: white;
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Mobile content padding - match trending */
@media (max-width: 767px) {
  .curated-card-content {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .curated-card-content {
    padding: 0.6rem;
  }
}

.curated-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.4rem;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

/* Mobile header */
@media (max-width: 767px) {
  .curated-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
  }
}

.curated-card-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
  flex: 1;
  word-break: break-word;
  overflow: visible;
  white-space: normal;
  display: block;
  max-width: none;
}

/* Mobile title - match trending */
@media (max-width: 767px) {
  .curated-card-header h3 {
    font-size: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .curated-card-header h3 {
    font-size: 0.7rem;
  }
}

@media (min-width: 768px) {
  .curated-card-header h3 {
    font-size: 1rem;
  }
}

.curated-rating {
  color: var(--accent);
  font-size: 0.7rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(183, 140, 90, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 30px;
  flex-shrink: 0;
}

/* Mobile rating - match trending */
@media (max-width: 767px) {
  .curated-rating {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    gap: 0.15rem;
    align-self: flex-start;
  }

  .curated-rating i {
    font-size: 0.55rem;
  }
}

@media (max-width: 480px) {
  .curated-rating {
    font-size: 0.55rem;
    padding: 0.1rem 0.35rem;
  }
}

@media (min-width: 768px) {
  .curated-rating i {
    font-size: 0.7rem;
  }
}

.curated-provider {
  color: var(--text-soft);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  font-weight: 500;
  line-height: 1.4;
}

/* Mobile provider - match trending */
@media (max-width: 767px) {
  .curated-provider {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .curated-provider {
    font-size: 0.6rem;
  }
}

@media (min-width: 768px) {
  .curated-provider {
    font-size: 0.8rem;
  }
}

.curated-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-soft);
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
}

/* Mobile location - match trending */
@media (max-width: 767px) {
  .curated-location {
    font-size: 0.6rem;
    gap: 0.25rem;
    margin-bottom: 0.35rem;
  }

  .curated-location i {
    font-size: 0.5rem;
  }
}

@media (max-width: 480px) {
  .curated-location {
    font-size: 0.55rem;
  }
}

@media (min-width: 768px) {
  .curated-location i {
    font-size: 0.6rem;
  }
}

.curated-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: normal;
  word-break: break-word;
}

/* Mobile price - match trending */
@media (max-width: 767px) {
  .curated-price {
    font-size: 0.7rem;
    padding-top: 0.35rem;
    gap: 0.15rem;
  }

  .curated-price span {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .curated-price {
    font-size: 0.65rem;
  }

  .curated-price span {
    font-size: 0.7rem;
  }
}

@media (min-width: 768px) {
  .curated-price span {
    font-size: 0.95rem;
  }
}

/* Provider Type Badge */
.provider-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
  z-index: 5;
}

/* Mobile badge - match trending */
@media (max-width: 767px) {
  .provider-type-badge {
    top: 4px;
    right: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.5rem;
    gap: 0.15rem;
  }

  .provider-type-badge i {
    font-size: 0.45rem;
  }
}

.provider-type-badge i {
  color: var(--accent);
  font-size: 0.6rem;
}

/* Add navigation hint for mobile */
@media (max-width: 767px) {
  .services-grid::after,
  .products-grid::after {
    content: "";
    flex: 0 0 1rem;
    height: 1px;
  }

  /* Add a subtle fade effect on edges to indicate scrolling */
  .services-grid-section,
  .products-showcase {
    position: relative;
  }

  .services-grid-section::before,
  .services-grid-section::after,
  .products-showcase::before,
  .products-showcase::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.7;
  }

  .services-grid-section::before,
  .products-showcase::before {
    left: 0;
    background: linear-gradient(90deg, white, transparent);
  }

  .services-grid-section::after,
  .products-showcase::after {
    right: 0;
    background: linear-gradient(-90deg, white, transparent);
  }
}
/* ========================================================================
   2.5 JOURNEY + TRUST - Merged Section
   ======================================================================== */
.journey-trust-section {
  padding: 2.5rem 0 2.5rem;
  background: white;
  position: relative;
  overflow: hidden;
}

.journey-trust-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
}

/* Process Steps Compact */
.process-steps-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.process-step-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.step-icon-mini {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content-mini {
  min-width: 0;
}

.step-number {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-content-mini h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Trust Badges Compact */
.trust-badges-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-item-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.trust-item-mini i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.1) 100%
  );
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.trust-text {
  min-width: 0;
}

.trust-text strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trust-text span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .process-steps-compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding-bottom: 1rem;
  }

  .process-step-mini {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
    padding: 0.35rem;
  }

  .step-icon-mini {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .trust-badges-compact {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .trust-item-mini {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
    padding: 0.35rem;
  }

  .trust-item-mini i {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .trust-text strong {
    font-size: 0.7rem;
  }

  .trust-text span {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .process-steps-compact {
    gap: 0.25rem;
  }

  .step-icon-mini {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .step-content-mini h4 {
    font-size: 0.7rem;
  }

  .trust-item-mini i {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .trust-text strong {
    font-size: 0.65rem;
  }

  .trust-text span {
    font-size: 0.55rem;
  }
}
/* Category tabs container animation */
.category-tabs-container {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--container-padding);
  scrollbar-width: thin;
}
/* ========================================================================
   LOGO STYLES - Text Inside C-Shape Logo with Split Colors
   ======================================================================== */

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo-link {
  display: inline-block;
  position: relative;
  text-decoration: none;
  line-height: 0;
}

.logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 1.4rem);
  letter-spacing: -0.02em;
  font-weight: bold;
  white-space: nowrap;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Adjust these values to fine-tune position inside the C */
  margin-left: 110px; /* Move right if needed */
  margin-top: -0.2px; /* Move down if needed */
  z-index: 2;
  text-align: center;
  width: max-content;
}

.logo-text-auto-hidden {
  display: none !important;
}

/* Split text colors */
.logo-text .logo-part1 {
  color: var(--text-dark); /* Dark color for "Designers" */
}

.logo-text .logo-part2 {
  color: var(--text-dark); /* Accent color for "Puzzle" */
}

.logo-dot {
  color: var(--text-dark);
  font-size: clamp(1.2rem, 3.5vw, 1.6rem);
  line-height: 0.8;
  margin-left: 2px;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .logo-image {
    height: 55px;
  }

  .logo-text {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .logo-image {
    height: 50px;
  }

  .logo-text {
    display: inline-block;
    font-size: 0.95rem;
    margin-left: 74px;
    letter-spacing: -0.01em;
  }

  .logo-text .logo-dot {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 45px;
  }

  .logo-text {
    display: inline-block;
    font-size: 0.84rem;
    margin-left: 66px;
  }

  .logo-text .logo-dot {
    font-size: 0.84rem;
  }
}

@media (max-width: 360px) {
  .logo-image {
    height: 40px;
  }

  .logo-text {
    display: inline-block;
    font-size: 0.76rem;
    margin-left: 60px;
  }

  .logo-text .logo-dot {
    font-size: 0.76rem;
  }
}
.footer-logo-text-only {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo-text-only .footer-logo-part1 {
  color: #ffffff;
  opacity: 0.9;
}

.footer-logo-text-only .footer-logo-part2 {
  color: var(--accent-light);
}

.footer-logo-text-only .footer-logo-dot {
  color: var(--accent-light);
  font-size: 1.8rem;
  line-height: 0.8;
  margin-left: 2px;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .footer-logo-text-only {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .footer-logo-text-only {
    font-size: 1.2rem;
  }
}

/* ========================================================================
   FOOTER LOGO - Match Header Design
   ======================================================================== */
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: white;
  margin-bottom: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  line-height: 1;
  /* Center the logo container on mobile */
  width: 100%;
}

.footer-logo-link {
  display: inline-block;
  position: relative;
  text-decoration: none;
  line-height: 0;
  /* Allow the link to be positioned */
  margin-left: 0;
}

.footer-logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Center the image by default */
  margin: 0 auto;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Consistent positioning for all screen sizes - matching desktop */
  margin-left: 100px;
  margin-top: -0.5px;
  z-index: 2;
  text-align: center;
  width: max-content;
}

/* Split text colors */
.footer-logo-text .footer-logo-part1 {
  color: #ffffff;
  opacity: 0.9;
}

.footer-logo-text .footer-logo-part2 {
  color: var(--bg);
}

.footer-logo-text .footer-logo-dot {
  color: var(--bg);
  font-size: 1.6rem;
  line-height: 0.8;
  margin-left: 2px;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

/* Responsive adjustments - move logo left on mobile */
@media (max-width: 768px) {
  .footer-logo {
    margin-bottom: 0.6rem;
    /* Align left instead of center */
    text-align: left;
  }

  .footer-logo-image {
    height: 45px;
    /* Remove auto margin and align left */
    margin: 0;
  }

  .footer-logo-text {
    font-size: 1.2rem;
    /* Keep the same positioning as desktop */
    margin-left: 100px;
    margin-top: -0.5px;
    /* Ensure text stays with left-aligned image */
    left: 0;
    transform: translate(0, -50%);
  }

  .footer-brand p {
    text-align: center;
  }

  .footer-logo-text .footer-logo-dot {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    margin-bottom: 0.5rem;
    text-align: center;
    margin-left: -100px;
  }

  .footer-logo-image {
    height: 40px;
    margin: 0;
  }

  .footer-logo-text {
    font-size: 1rem;
    margin-left: 39px; /* Slightly reduced for smaller screens */
    margin-top: -0.5px;
    left: 0;
    transform: translate(0, -50%);
  }

  .footer-logo-text .footer-logo-dot {
    font-size: 1.2rem;
  }
}

/* For very small screens */
@media (max-width: 360px) {
  .footer-logo {
    margin-bottom: 0.4rem;
    text-align: left;
  }

  .footer-logo-image {
    height: 35px;
    margin: 0;
  }

  .footer-logo-text {
    font-size: 0.9rem;
    margin-left: 80px; /* Further reduced for very small screens */
    margin-top: -0.5px;
    left: 0;
    transform: translate(0, -50%);
  }

  .footer-logo-text .footer-logo-dot {
    font-size: 1rem;
  }
}

/* ========================================================================
   CART DROPDOWN - FORCE STICKY WITH HEADER
   ======================================================================== */

/* Cart toggle container */
.cart-toggle-container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  z-index: 1001 !important;
}

/* Cart dropdown - FORCE positioning relative to header */
.cart-dropdown {
  position: fixed !important;
  top: 120px !important; /* Adjust based on your header height */
  right: 20px !important;
  left: auto !important;
  width: 380px !important;
  background: white !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid var(--border-light) !important;
  z-index: 2000 !important;
  display: none !important;
  overflow: hidden !important;
  margin: 0 !important;
  transform: none !important;
}

.cart-dropdown.active {
  display: block !important;
  animation: cartSlideDown 0.3s ease !important;
}

/* Different positioning based on header state */
body:not(.has-sticky-header) .cart-dropdown {
  top: 120px !important; /* Adjust for non-sticky header */
}

body.has-sticky-header .cart-dropdown {
  top: 70px !important; /* Adjust for sticky header (when scrolled) */
}

/* When top bar is visible */
body:not(.scrolled) .cart-dropdown {
  top: 120px !important; /* Top bar + header height */
}

body.scrolled .cart-dropdown {
  top: 70px !important; /* Just header height when top bar hidden */
}

/* Animation */
@keyframes cartSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cart-dropdown {
    width: 320px !important;
    right: 10px !important;
    top: 60px !important; /* Mobile header height */
  }

  body:not(.has-sticky-header) .cart-dropdown,
  body:not(.scrolled) .cart-dropdown {
    top: 110px !important; /* Mobile top bar + header */
  }

  body.has-sticky-header .cart-dropdown,
  body.scrolled .cart-dropdown {
    top: 60px !important;
  }
}

@media (max-width: 480px) {
  .cart-dropdown {
    width: 90% !important;
    right: 5% !important;
    left: 5% !important;
  }
}
/* Cart toggle styling - with !important to override */
.cart-toggle-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  position: relative !important;
  background: var(--bg) !important;
  border: 1px solid var(--border-light) !important;
  transition: all 0.3s ease !important;
  margin-right: 8px !important;
}

/* Hide by default */
.cart-toggle-container[style*="display: none"] {
  display: none !important;
}

.cart-toggle-container:hover {
  background: var(--accent) !important;
  color: white !important;
  border-color: var(--accent) !important;
}

.cart-toggle-container i {
  font-size: 1.1rem !important;
}

.cart-count {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
  background: var(--accent) !important;
  color: white !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  min-width: 18px !important;
  height: 18px !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  border: 2px solid white !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}
/* Update this section in your styles.css file */

/* ========================================================================
   7.5 TRENDING SECTION - Real-time Popular Items
   ======================================================================== */
.trending-section {
  padding: 3rem 0 4rem 0;
  background: linear-gradient(135deg, white 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.trending-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(183, 140, 90, 0.03) 0%,
    transparent 70%
  );
  animation: rotate 30s linear infinite;
}

/* Remove the white spotlight animation on smaller screens */
@media (max-width: 768px) {
  .trending-section::before {
    display: none; /* Hide the animation on mobile */
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* ========================================================================
   CATEGORY TABS - Horizontal Slider on Mobile, Centered on All Screens
   ======================================================================== */

/* Category Tabs Container - Base Styles */
.category-tabs-container {
  margin-bottom: 2rem;
  width: 100%;
  position: relative;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Category Tabs - Desktop (default) */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center; /* Center on desktop */
  align-items: center;
  padding: 0.5rem 0;
}

/* Product Category Tabs - Desktop (default) */
.product-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center; /* Center on desktop */
  align-items: center;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
}

/* Individual Tab Styles */
.category-tab {
  padding: 0.6rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  color: var(--text-soft);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Mobile - Horizontal Slider */
@media (max-width: 768px) {
  .category-tabs-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    padding: 0.25rem 0 0.75rem 0;
    margin-bottom: 1.5rem;
  }

  .category-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.25rem 1rem;
    justify-content: flex-start; /* Left align for scrolling */
    width: max-content;
    min-width: 100%;
  }

  .product-category-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.25rem 1rem 0.75rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--border-light);
    justify-content: flex-start; /* Left align for scrolling */
    margin-bottom: 1.5rem;
  }

  /* Custom scrollbar styling */
  .category-tabs-container::-webkit-scrollbar,
  .product-category-tabs::-webkit-scrollbar {
    height: 3px;
  }

  .category-tabs-container::-webkit-scrollbar-track,
  .product-category-tabs::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 3px;
  }

  .category-tabs-container::-webkit-scrollbar-thumb,
  .product-category-tabs::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
  }

  /* Adjust tab size for mobile */
  .category-tab {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    min-height: 40px;
    flex: 0 0 auto; /* Prevent shrinking */
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .category-tab {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    min-height: 36px;
  }

  .category-tabs {
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
  }

  .product-category-tabs {
    gap: 0.4rem;
    padding: 0.25rem 0.75rem 0.6rem 0.75rem;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .category-tab {
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    min-height: 32px;
  }
}

/* Add fade effect on edges to indicate scrolling (optional) */
@media (max-width: 768px) {
  .category-tabs-container {
    position: relative;
  }

  .category-tabs-container::after,
  .product-category-tabs::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, white);
    pointer-events: none;
    opacity: 0.8;
    z-index: 2;
  }

  .category-tabs-container::before,
  .product-category-tabs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, white, transparent);
    pointer-events: none;
    opacity: 0.8;
    z-index: 2;
  }

  /* Remove fade effect at the edges when scrolled (optional - requires JS) */
  .category-tabs-container.no-left-fade::before,
  .product-category-tabs.no-left-fade::before {
    opacity: 0;
  }

  .category-tabs-container.no-right-fade::after,
  .product-category-tabs.no-right-fade::after {
    opacity: 0;
  }
}

/* Tablet and up - back to centered wrap */
@media (min-width: 769px) {
  .category-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    overflow-x: visible;
  }

  .product-category-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    overflow-x: visible;
  }

  .category-tabs-container::before,
  .category-tabs-container::after,
  .product-category-tabs::before,
  .product-category-tabs::after {
    display: none;
  }
}
/* ========================================================================
   PROVIDER TYPE TABS - Clean Background Behavior
   ======================================================================== */

/* Desktop styles */
@media (min-width: 768px) {
  .provider-type-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .provider-type-tabs .type-tab {
    padding: 0.5rem 1.25rem;
    background: transparent !important; /* Force transparent background */
    border: none;
    color: var(--text-soft);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 40px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    position: relative;
    /* Remove any background on hover/press */
    -webkit-tap-highlight-color: transparent;
  }

  .provider-type-tabs .type-tab i {
    display: none;
  }

  .provider-type-tabs .type-tab span {
    display: inline;
  }

  /* Remove background on hover */
  .provider-type-tabs .type-tab:hover {
    color: var(--text-dark);
    background: transparent !important;
  }

  /* Remove background on focus/active states */
  .provider-type-tabs .type-tab:focus,
  .provider-type-tabs .type-tab:active,
  .provider-type-tabs .type-tab:focus-visible {
    background: transparent !important;
    outline: none;
  }

  /* Underline indicator - only for active state */
  .provider-type-tabs .type-tab:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s ease;
  }

  .provider-type-tabs .type-tab.active {
    color: var(--accent);
    background: transparent !important;
  }

  .provider-type-tabs .type-tab.active:after {
    background: var(--accent);
  }
}

/* Mobile - Circle Design with Clean Backgrounds */
@media (max-width: 767px) {
  .provider-type-tabs {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem 1rem 1.5rem 1rem;
    justify-content: flex-start;
    border-bottom: none;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .provider-type-tabs::-webkit-scrollbar {
    display: none;
  }

  .provider-type-tabs .type-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent !important;
    border: none;
    color: var(--text-soft);
    font-size: 0.7rem;
    min-width: 60px;
    min-height: auto;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    cursor: pointer;
    position: relative;
    /* Remove any background on tap/press */
    -webkit-tap-highlight-color: transparent;
  }

  /* Circle background - separate from button background */
  .provider-type-tabs .type-tab::before {
    content: "";
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.05);
  }

  /* Icon positioned absolutely over the circle */
  .provider-type-tabs .type-tab i {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.3rem;
    color: var(--text-soft);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
  }

  /* Text below the circle */
  .provider-type-tabs .type-tab span {
    display: block;
    font-size: 0.65rem;
    color: var(--text-soft);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 70px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

  /* Hover state - only border changes, no background fill */
  .provider-type-tabs .type-tab:hover::before {
    border-color: var(--accent);
    transform: scale(1.02);
    background: var(--bg); /* Keep background the same */
  }

  .provider-type-tabs .type-tab:hover i {
    color: var(--accent);
  }

  .provider-type-tabs .type-tab:hover span {
    color: var(--text-dark);
  }

  /* Active state - filled circle with white icon */
  .provider-type-tabs .type-tab.active::before {
    background: var(--accent) !important; /* Fill only when active */
    border-color: var(--accent);
    box-shadow: 0 8px 15px -5px rgba(183, 140, 90, 0.3);
    transform: scale(1.05);
  }

  .provider-type-tabs .type-tab.active i {
    color: white !important;
  }

  .provider-type-tabs .type-tab.active span {
    color: var(--accent);
    font-weight: 600;
  }

  /* Remove any press/active background on the button itself */
  .provider-type-tabs .type-tab:active,
  .provider-type-tabs .type-tab:focus,
  .provider-type-tabs .type-tab:focus-visible {
    background: transparent !important;
    outline: none;
  }

  /* Remove the underline for mobile */
  .provider-type-tabs .type-tab:after {
    display: none;
  }
}

/* Extra small devices - smaller circles */
@media (max-width: 480px) {
  .provider-type-tabs {
    gap: 1rem;
  }

  .provider-type-tabs .type-tab::before {
    width: 48px;
    height: 48px;
  }

  .provider-type-tabs .type-tab i {
    top: 13px;
    font-size: 1.1rem;
  }

  .provider-type-tabs .type-tab span {
    font-size: 0.6rem;
    max-width: 60px;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .provider-type-tabs {
    gap: 0.75rem;
  }

  .provider-type-tabs .type-tab::before {
    width: 44px;
    height: 44px;
  }

  .provider-type-tabs .type-tab i {
    top: 12px;
    font-size: 1rem;
  }

  .provider-type-tabs .type-tab span {
    font-size: 0.55rem;
    max-width: 50px;
  }
}
.stat-number {
  font-family: serif;
  font-weight: 100;
  font-size: 0.8rem;
}
/* ========================================================================
   MEMBERSHIP LEVELS - Premium Horizontal Slider with Modern Style
   ======================================================================== */

.membership-section {
  padding: 2rem 0 3rem 0;
  background: linear-gradient(135deg, white 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.membership-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-light),
    transparent
  );
}

/* Desktop - Grid layout */
.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Mobile - Horizontal Slider with Premium Cards */
@media (max-width: 767px) {
  .levels-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 1rem 2rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(183, 140, 90, 0.2);
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    grid-template-columns: none;
    margin: 1.5rem 0;
  }

  .levels-grid::-webkit-scrollbar {
    height: 3px;
  }

  .levels-grid::-webkit-scrollbar-track {
    background: rgba(183, 140, 90, 0.1);
    border-radius: 3px;
  }

  .levels-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
  }

  .level-card {
    flex: 0 0 280px;
    min-width: 260px;
    max-width: 300px;
    scroll-snap-align: center;
  }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Desktop (1024px and above) */
@media (min-width: 1024px) {
  .levels-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Level Card - Premium Glassmorphism Style */
.level-card {
  padding: 1.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(183, 140, 90, 0.15);
  overflow: hidden;
  height: 100%;
  width: 100%;
}

/* Mobile card adjustments */
@media (max-width: 767px) {
  .level-card {
    padding: 1.5rem 1rem;
    border-radius: 24px;
    backdrop-filter: blur(8px);
  }
}

/* Premium gradient border on hover */
.level-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--accent-light),
    var(--accent),
    var(--accent-dark)
  );
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.level-card:hover::after {
  opacity: 1;
}

.level-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 45px -15px rgba(183, 140, 90, 0.25);
  border-color: rgba(183, 140, 90, 0.3);
}

/* Popular Card - Premium Highlight */
.level-card.popular {
  background: linear-gradient(135deg, #fff 0%, rgba(183, 140, 90, 0.05) 100%);
  border: 1px solid var(--accent);
  transform: scale(1.02);
  box-shadow: 0 25px 40px -12px rgba(183, 140, 90, 0.2);
}

@media (max-width: 767px) {
  .level-card.popular {
    transform: scale(1);
    border-width: 1.5px;
  }
}

.level-popular-tag {
  position: absolute;
  top: -10px;
  right: 20px;
  left: auto;
  transform: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  box-shadow: 0 5px 15px -3px rgba(183, 140, 90, 0.4);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.level-popular-tag::before {
  content: "★";
  font-size: 0.7rem;
}

@media (max-width: 767px) {
  .level-popular-tag {
    font-size: 0.55rem;
    padding: 0.2rem 0.8rem;
    top: -8px;
    right: 15px;
  }
}

/* Level Icon - Modern */
.level-icon {
  font-size: 2.2rem;
  color: var(--accent);
  background: linear-gradient(
    135deg,
    rgba(183, 140, 90, 0.15) 0%,
    rgba(183, 140, 90, 0.05) 100%
  );
  width: 70px;
  height: 70px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.level-card:hover .level-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.05) rotate(3deg);
  border-radius: 20px;
}

@media (max-width: 767px) {
  .level-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
  }
}

/* Level Title */
.level-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: var(--font-serif);
  background: linear-gradient(135deg, var(--text-dark), #5a5248);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 767px) {
  .level-card h3 {
    font-size: 1rem;
  }
}

.level-range {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding: 0.25rem 0.75rem;
  background: rgba(183, 140, 90, 0.1);
  border-radius: 30px;
  letter-spacing: 0.3px;
}

@media (max-width: 767px) {
  .level-range {
    font-size: 0.65rem;
    margin-bottom: 1rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Level Benefits - Clean Icons */
.level-benefits {
  list-style: none;
  text-align: left;
  margin: 1rem 0 1.25rem;
  padding: 0;
}

.level-benefits li {
  padding: 0.45rem 0;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-soft);
  border-bottom: 1px dashed rgba(183, 140, 90, 0.1);
}

.level-benefits li:last-child {
  border-bottom: none;
}

@media (max-width: 767px) {
  .level-benefits li {
    padding: 0.35rem 0;
    font-size: 0.7rem;
    gap: 0.5rem;
  }
}

.level-benefits li i {
  color: var(--accent);
  font-size: 0.7rem;
  min-width: 20px;
  background: rgba(183, 140, 90, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Add navigation hint for mobile */
@media (max-width: 767px) {
  .levels-grid::after {
    content: "";
    flex: 0 0 1rem;
    height: 1px;
  }

  /* Subtle gradient fade for scrolling indication */
  .membership-section {
    position: relative;
  }

  .membership-section::before,
  .membership-section::after {
    content: "";
    position: absolute;
    top: 20%;
    bottom: 20%;
    width: 40px;
    pointer-events: none;
    z-index: 5;
    opacity: 0.6;
  }

  .membership-section::before {
    left: 0;
    background: linear-gradient(90deg, white, transparent);
  }

  .membership-section::after {
    right: 0;
    background: linear-gradient(-90deg, white, transparent);
  }
}

/* Optional: Add scroll indicator text for mobile */
@media (max-width: 767px) {
  .membership-section {
    position: relative;
  }

  .scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.65rem;
    color: var(--text-soft);
    opacity: 0.7;
  }

  .scroll-hint i {
    font-size: 0.6rem;
    color: var(--accent);
    animation: slideLeftRight 1.5s ease-in-out infinite;
  }

  @keyframes slideLeftRight {
    0%,
    100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(5px);
    }
  }
}
/* ========================================================================
   TRUST BAR - Responsive with proper spacing
   ======================================================================== */

.trust-bar {
  padding: 2rem 0;
  background: white;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile - Smaller, centered, with proper gaps */
@media (max-width: 768px) {
  .trust-bar-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0 0.5rem;
    justify-items: center;
    align-items: center;
  }

  .trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 0.35rem 0.25rem;
    width: 100%;
    max-width: 100%;
  }

  .trust-item i {
    font-size: 1.3rem;
  }

  .trust-item strong {
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .trust-item span {
    font-size: 0.55rem;
    white-space: nowrap;
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  .trust-bar-grid {
    gap: 0.35rem;
    padding: 0 0.35rem;
  }

  .trust-item {
    gap: 0.25rem;
    padding: 0.25rem 0.15rem;
  }

  .trust-item i {
    font-size: 1.1rem;
  }

  .trust-item strong {
    font-size: 0.6rem;
  }

  .trust-item span {
    font-size: 0.5rem;
  }
}

/* Very small devices (360px and below) */
@media (max-width: 360px) {
  .trust-bar-grid {
    gap: 0.25rem;
    padding: 0 0.25rem;
  }

  .trust-item {
    gap: 0.2rem;
    padding: 0.2rem 0.1rem;
  }

  .trust-item i {
    font-size: 1rem;
  }

  .trust-item strong {
    font-size: 0.55rem;
  }

  .trust-item span {
    font-size: 0.45rem;
  }
}

/* ========================================================================
   BLOG SECTION - Cards Container-Aligned, Lines Full Width
   ======================================================================== */

.blog-section-fullwidth {
  padding: 3rem 0 4rem 0;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

/* Decorative background */
.blog-section-fullwidth::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(183, 140, 90, 0.03) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-10px, -10px) rotate(2deg);
  }
  66% {
    transform: translate(10px, 10px) rotate(-2deg);
  }
}

/* Section Header - stays within container */
.section-header-fullwidth {
  margin-bottom: 2rem;
}

/* ========================================================================
   FULL WIDTH BLOG GRID - Cards Container-Aligned, Lines Edge-to-Edge
   ======================================================================== */

.blog-grid-fullwidth-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(183, 140, 90, 0.2);
  margin: 0;
  padding: 0;
}

.blog-grid-fullwidth-wrapper::-webkit-scrollbar {
  height: 4px;
}

.blog-grid-fullwidth-wrapper::-webkit-scrollbar-track {
  background: rgba(183, 140, 90, 0.1);
  border-radius: 4px;
}

.blog-grid-fullwidth-wrapper::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.blog-grid-fullwidth {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 1rem 0 2rem 0;
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
}

/* Blog Card Wrapper - Controls width alignment */
.blog-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* Blog Card - Fixed width, relative positioning for background number */
.blog-card-fullwidth {
  width: 340px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: transparent;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: default;
  min-height: auto;
  overflow: visible;
}

.blog-card-fullwidth:hover {
  transform: translateY(-8px);
}

/* HUGE Number - Centered behind entire content */
.blog-card-number-huge {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12rem;
  font-weight: 800;
  font-family: var(--font-serif);
  color: var(--accent);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  white-space: nowrap;
  text-align: center;
  width: 100%;
  letter-spacing: -5px;
}

.blog-card-fullwidth:hover .blog-card-number-huge {
  opacity: 0.12;
  transform: translate(-50%, -50%) scale(1.05);
}

/* Card Content - Positioned above the huge background number */
.blog-card-content {
  flex: 1;
  position: relative;
  z-index: 1;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Category Tag */
.blog-card-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-weight: 600;
  background: transparent;
  padding: 0;
}

.blog-card-category i {
  font-size: 0.7rem;
}

/* Title - Always visible with proper line height */
.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  font-family: var(--font-serif);
  color: var(--text-dark);
  transition: color 0.3s ease;
  display: block;
  overflow: visible;
  word-wrap: break-word;
}

.blog-card-fullwidth:hover .blog-card-title {
  color: var(--accent);
}

/* Excerpt - Always fully visible, no clipping */
.blog-card-excerpt {
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  display: block;
  overflow: visible;
  word-wrap: break-word;
  max-height: none;
}

/* Meta Info */
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--text-light);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-card-meta i {
  color: var(--accent);
  font-size: 0.6rem;
}

/* ========================================================================
   HAND-DRAWN WIGGLE LINE WRAPPER - Full Width
   ======================================================================== */

.hand-drawn-line-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: auto;
  min-width: 60px;
}

.hand-drawn-line {
  width: 60px;
  min-width: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto 0;
}

/* SVG Hand-drawn wiggly line */
.hand-drawn-line svg {
  width: 100%;
  height: 40px;
  overflow: visible;
}

.hand-drawn-line path {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
  animation: drawWiggle 0.8s ease-in-out infinite alternate;
}

@keyframes drawWiggle {
  0% {
    d: path("M 5,20 C 15,18 25,22 35,20 C 45,18 55,22 65,20");
    stroke-width: 1.8;
    opacity: 0.5;
  }
  100% {
    d: path("M 5,20 C 15,22 25,18 35,20 C 45,22 55,18 65,20");
    stroke-width: 2.2;
    opacity: 0.7;
  }
}

/* Add a second subtle line for depth */
.hand-drawn-line::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    rgba(183, 140, 90, 0.2) 4px,
    rgba(183, 140, 90, 0.2) 8px
  );
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

/* Add hand-drawn dots at the ends */
.hand-drawn-line::after {
  content: "●";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 6px;
  color: var(--accent);
  opacity: 0.5;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.hand-drawn-line .start-dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 6px;
  color: var(--accent);
  opacity: 0.5;
  animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-50%) scale(1.2);
  }
}

/* ========================================================================
   FOOTER NOTE - Full Width
   ======================================================================== */

.section-footer-fullwidth {
  margin-top: 1rem;
  text-align: center;
}

.blog-footer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border-radius: 40px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-note-text {
  font-style: italic;
  letter-spacing: 0.3px;
}

.wiggle-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: wiggleDot 1s ease-in-out infinite;
}

.wiggle-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.wiggle-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes wiggleDot {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

/* ========================================================================
   RESPONSIVE ADJUSTMENTS - FULL TEXT VISIBILITY
   ======================================================================== */

/* Large Desktop */
@media (min-width: 1400px) {
  .blog-card-fullwidth {
    width: 400px;
    padding: 2.5rem 2rem;
  }

  .blog-card-number-huge {
    font-size: 20rem;
  }

  .blog-card-title {
    font-size: 1.4rem;
  }

  .blog-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hand-drawn-line {
    width: 80px;
    min-width: 80px;
  }

  .hand-drawn-line-wrapper {
    min-width: 80px;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .blog-card-fullwidth {
    width: 320px;
    padding: 2rem 1.5rem;
  }

  .blog-card-number-huge {
    font-size: 11rem;
  }

  .blog-card-title {
    font-size: 1.2rem;
  }

  .blog-card-excerpt {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .hand-drawn-line {
    width: 55px;
    min-width: 55px;
  }

  .hand-drawn-line-wrapper {
    min-width: 55px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .blog-card-fullwidth {
    width: 300px;
    padding: 1.75rem 1.5rem;
  }

  .blog-card-number-huge {
    font-size: 9rem;
  }

  .blog-card-title {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .blog-card-excerpt {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .hand-drawn-line {
    width: 45px;
    min-width: 45px;
  }

  .hand-drawn-line-wrapper {
    min-width: 45px;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .blog-section-fullwidth {
    padding: 2rem 0 3rem 0;
  }

  .blog-grid-fullwidth {
    padding: 0.5rem 0 1.5rem 0;
    /* Force the grid to start from the first card on mobile */
    justify-content: flex-start;
  }

  .blog-card-fullwidth {
    width: 280px;
    padding: 1.5rem 1.25rem;
    /* Ensure first card is visible without centering */
    scroll-snap-align: start;
  }

  /* Override the justify-content for mobile to ensure first card is at start */
  .blog-grid-fullwidth {
    justify-content: flex-start !important;
  }

  .blog-card-number-huge {
    font-size: 7rem;
    opacity: 0.08;
  }

  .blog-card-title {
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }

  .blog-card-excerpt {
    font-size: 0.75rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  .blog-card-meta {
    font-size: 0.65rem;
    gap: 0.75rem;
    padding-top: 0.5rem;
  }

  .blog-card-category {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
  }

  .hand-drawn-line {
    width: 35px;
    min-width: 35px;
  }

  .hand-drawn-line-wrapper {
    min-width: 35px;
  }

  /* Add padding to the wrapper to ensure first card is visible */
  .blog-grid-fullwidth-wrapper {
    scroll-padding-left: 0;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .blog-card-fullwidth {
    width: 260px;
    padding: 1.25rem 1rem;
  }

  .blog-card-number-huge {
    font-size: 6rem;
    opacity: 0.1;
  }

  .blog-card-title {
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 0.4rem;
  }

  .blog-card-excerpt {
    font-size: 0.7rem;
    line-height: 1.45;
    margin-bottom: 0.5rem;
  }

  .blog-card-category {
    font-size: 0.6rem;
    margin-bottom: 0.2rem;
  }

  .blog-card-meta {
    font-size: 0.6rem;
    gap: 0.6rem;
    padding-top: 0.5rem;
  }

  .blog-card-meta i {
    font-size: 0.55rem;
  }

  .hand-drawn-line {
    width: 28px;
    min-width: 28px;
  }

  .hand-drawn-line-wrapper {
    min-width: 28px;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .blog-card-fullwidth {
    width: 240px;
    padding: 1rem 0.875rem;
  }

  .blog-card-number-huge {
    font-size: 5rem;
  }

  .blog-card-title {
    font-size: 0.9rem;
  }

  .blog-card-excerpt {
    font-size: 0.65rem;
    line-height: 1.4;
  }

  .blog-card-category {
    font-size: 0.55rem;
  }

  .blog-card-meta {
    font-size: 0.55rem;
    gap: 0.5rem;
  }
}

/* Add a subtle gradient fade on edges for scrolling indication */
.blog-grid-fullwidth-wrapper {
  position: relative;
}

.blog-grid-fullwidth-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
}

.blog-grid-fullwidth-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, var(--bg), transparent);
  pointer-events: none;
  z-index: 5;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .blog-grid-fullwidth-wrapper::after,
  .blog-grid-fullwidth-wrapper::before {
    width: 40px;
  }
}

/* ========================================================================
   MOBILE SLIDER - ENSURE FIRST CARD IS VISIBLE
   ======================================================================== */

@media (max-width: 768px) {
  /* Reset any centering that might push the first card away */
  .blog-grid-fullwidth {
    justify-content: flex-start !important;
    margin-left: 0;
    padding-left: var(--container-padding, 1rem);
  }

  /* Ensure the first card wrapper starts at the beginning */
  .blog-card-wrapper:first-child {
    margin-left: 0;
  }

  /* Optional: Add a small left padding to the wrapper for better visual spacing */
  .blog-grid-fullwidth-wrapper {
    scroll-padding-left: 16px;
  }
}

/* ========================================================================
   PULSE STATS - All Badges Equal Size
   ======================================================================== */

.pulse-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Desktop - One line, no wrapping */
@media (min-width: 768px) {
  .pulse-stats {
    flex-wrap: nowrap !important;
    overflow-x: visible;
    gap: 0.75rem;
    justify-content: center;
  }

  .stat-badge {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: auto; /* Allow natural width */
  }
}

/* Tablet - Keep one line if possible, but allow slight wrapping */
@media (min-width: 640px) and (max-width: 767px) {
  .pulse-stats {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }

  .stat-badge {
    flex: 0 0 auto;
  }
}

/* Mobile - Grid layout (2 columns) */
@media (max-width: 639px) {
  .pulse-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .stat-badge {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0.75rem;
  }
}

/* Small mobile - Keep grid but adjust padding */
@media (max-width: 480px) {
  .pulse-stats {
    gap: 0.4rem;
  }

  .stat-badge {
    padding: 0.4rem 0.6rem;
  }
}

/* ========================================================================
   STAT BADGE - Equal sizing for all badges
   ======================================================================== */

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 40px;
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  /* Ensure consistent sizing */
  min-width: 115px;
  justify-content: center;
  white-space: nowrap;
}

/* Adjust for the Month Total badge to match exactly */
.stat-badge:has(.stat-unit) {
  /* Same as other badges - no special treatment */
  min-width: 115px;
}

.stat-badge:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px -6px rgba(183, 140, 90, 0.2);
}

.stat-badge.featured {
  background: var(--text-dark);
  border-color: var(--accent);
}

.stat-badge.featured .stat-label,
.stat-badge.featured .stat-number {
  color: white;
}

.stat-label {
  color: var(--text-soft);
  font-weight: 400;
  font-size: 0.75rem;
  white-space: nowrap;
}

.stat-number {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
  white-space: nowrap;
}

.stat-unit {
  color: var(--text-light);
  font-size: 0.7rem;
  margin-left: 0;
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Desktop specific adjustments for consistent sizing */
@media (min-width: 768px) {
  .stat-badge {
    min-width: 120px;
    justify-content: center;
  }

  /* Adjust the Month Total badge to match exactly */
  .stat-badge:has(.stat-unit) {
    min-width: 120px;
  }
}

/* Tablet adjustments */
@media (max-width: 767px) and (min-width: 640px) {
  .stat-badge {
    min-width: 110px;
    padding: 0.45rem 0.9rem;
  }
}

/* Mobile grid adjustments */
@media (max-width: 639px) {
  .stat-badge {
    min-width: 0;
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0.6rem;
  }

  .stat-label,
  .stat-number,
  .stat-unit {
    white-space: nowrap;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .stat-badge {
    padding: 0.4rem 0.5rem;
    gap: 0.4rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .stat-number {
    font-size: 0.85rem;
  }

  .stat-unit {
    font-size: 0.65rem;
  }
}

/* ========================================================================
   STAT BADGE STYLES (Keep existing styling)
   ======================================================================== */

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 40px;
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.stat-badge:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px -6px rgba(183, 140, 90, 0.2);
}

.stat-badge.featured {
  background: var(--text-dark);
  border-color: var(--accent);
}

.stat-badge.featured .stat-label,
.stat-badge.featured .stat-number {
  color: white;
}

.stat-label {
  color: var(--text-soft);
  font-weight: 400;
  font-size: 0.75rem;
}

.stat-number {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.stat-unit {
  color: var(--text-light);
  font-size: 0.7rem;
  margin-left: -0.2rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}
/* ========================================================================
   CREATORS & LEVELS - Merged Section (Consistent Theme Colors)
   ======================================================================== */

.creators-levels-section {
  padding: 3rem 0 4rem 0;
  background: linear-gradient(135deg, white 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.creators-levels-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-light),
    transparent
  );
}

/* Section Header */
.section-header.centered {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header.centered .section-title-serif {
  text-align: center;
  position: relative;
  display: inline-block;
}

.section-header.centered .section-title-serif::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--accent);
}

/* Combined Grid - 4 columns desktop */
.creators-levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

/* Tablet - 2 columns */
@media (max-width: 1024px) and (min-width: 768px) {
  .creators-levels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile - Horizontal Slider */
@media (max-width: 767px) {
  .creators-levels-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(183, 140, 90, 0.2);
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin: 1.5rem 0;
  }

  .creators-levels-grid::-webkit-scrollbar {
    height: 4px;
  }

  .creators-levels-grid::-webkit-scrollbar-track {
    background: rgba(183, 140, 90, 0.1);
    border-radius: 4px;
  }

  .creators-levels-grid::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }

  .creator-level-card {
    flex: 0 0 280px;
    min-width: 260px;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

/* ========================================================================
   CREATOR LEVEL CARD - Consistent Theme Colors
   ======================================================================== */

.creator-level-card {
  background: white;
  border-radius: 24px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Subtle top border using theme accent color for all levels */
.creator-level-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.creator-level-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px -15px rgba(183, 140, 90, 0.2);
  border-color: var(--accent-light);
}

.creator-level-card:hover::before {
  transform: scaleX(1);
}

/* Featured Card (Platinum) - uses theme accent */
.creator-level-card.featured {
  position: relative;
  border: 2px solid var(--accent-light);
  box-shadow: 0 20px 35px -12px rgba(183, 140, 90, 0.2);
}

.creator-level-card.featured::after {
  content: "⭐ FEATURED";
  position: absolute;
  top: 12px;
  right: -35px;
  background: var(--accent-gradient);
  color: white;
  padding: 0.25rem 2rem;
  font-size: 0.6rem;
  font-weight: 600;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 5;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  .creator-level-card.featured::after {
    font-size: 0.5rem;
    padding: 0.2rem 1.5rem;
    top: 8px;
    right: -30px;
  }
}

/* Avatar Section */
.creator-avatar-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.creator-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    rgba(183, 140, 90, 0.2) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 auto;
}

.creator-level-card:hover .creator-avatar {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 15px 25px -8px rgba(183, 140, 90, 0.2);
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Level Badge - Consistent theme colors for all levels */
.creator-level-badge {
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%) translateY(30%);
  background: white;
  padding: 0.3rem 0.85rem;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 10px -3px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  border: 1px solid var(--accent-light);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent);
}

.creator-level-badge i {
  color: var(--accent);
}

/* Creator Info */
.creator-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
  color: var(--text-dark);
  font-family: var(--font-serif);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.creator-specialty {
  color: var(--text-soft);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.creator-specialty::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--accent-light);
}

/* Creator Stats */
.creator-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0.5rem 0;
  width: 100%;
}

.creator-stat {
  text-align: center;
}

.creator-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.2;
}

.creator-stat-label {
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Creator Rating */
.creator-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(183, 140, 90, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  margin: 0.5rem 0 1rem;
  font-size: 0.75rem;
  color: var(--accent);
}

.creator-rating i {
  color: #ffb800;
  font-size: 0.7rem;
}

.creator-rating span {
  font-weight: 600;
}

/* ========================================================================
   LEVEL BENEFITS - Consistent Theme Colors
   ======================================================================== */

.level-benefits {
  list-style: none;
  text-align: left;
  margin: 0.75rem 0 1rem;
  padding: 0;
  background: var(--bg);
  border-radius: 16px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
}

.level-benefits li {
  padding: 0.4rem 0;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-soft);
  border-bottom: 1px dashed rgba(183, 140, 90, 0.1);
}

.level-benefits li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.level-benefits li:first-child {
  padding-top: 0;
}

.level-benefits li i {
  color: var(--accent);
  font-size: 0.65rem;
  min-width: 20px;
  background: rgba(183, 140, 90, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* View Profile Button */
.creator-view-profile {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--accent);
  border-radius: 40px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-top: auto;
}

.creator-view-profile:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -5px rgba(183, 140, 90, 0.3);
}

.creator-view-profile i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.creator-view-profile:hover i {
  transform: translateX(4px);
}

/* Section Footer */
.section-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.section-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: var(--touch-target);
  border-bottom: 2px solid transparent;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: fit-content;
}

.section-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.section-link:hover {
  color: var(--text-dark);
}

.section-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.section-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.section-link:hover i {
  transform: translateX(6px);
}

/* ========================================================================
   MOBILE RESPONSIVE
   ======================================================================== */

@media (max-width: 767px) {
  .creator-level-card {
    padding: 1.5rem 1rem;
  }

  .creator-avatar {
    width: 70px;
    height: 70px;
  }

  .creator-name {
    font-size: 0.95rem;
  }

  .creator-specialty {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .creator-stats {
    gap: 1rem;
  }

  .creator-stat-value {
    font-size: 0.85rem;
  }

  .creator-stat-label {
    font-size: 0.6rem;
  }

  .creator-rating {
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    margin: 0.35rem 0 0.75rem;
  }

  .level-benefits {
    padding: 0.6rem 0.8rem;
    margin: 0.5rem 0 0.75rem;
  }

  .level-benefits li {
    font-size: 0.65rem;
    padding: 0.3rem 0;
  }

  .level-benefits li i {
    width: 20px;
    height: 20px;
    font-size: 0.55rem;
  }

  .creator-view-profile {
    padding: 0.5rem;
    font-size: 0.75rem;
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  .creator-level-card {
    padding: 1.25rem 0.875rem;
  }

  .creator-avatar {
    width: 60px;
    height: 60px;
  }

  .creator-name {
    font-size: 0.9rem;
  }

  .creator-specialty {
    font-size: 0.65rem;
  }

  .level-benefits li {
    font-size: 0.6rem;
  }
}
/* ========================================================================
   PULSE STATS - Desktop: One Line, Mobile: Horizontal Slider
   ======================================================================== */

.pulse-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

/* Desktop - One line, no wrapping */
@media (min-width: 768px) {
  .pulse-stats {
    flex-wrap: nowrap !important;
    overflow-x: visible;
    gap: 0.6rem;
    justify-content: center;
  }

  .stat-badge {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.4rem 0.9rem;
    min-width: auto;
    justify-content: center;
  }
}

/* Mobile - Horizontal Slider */
@media (max-width: 767px) {
  .pulse-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    gap: 0.6rem !important;
    padding: 0.5rem 1rem 1rem 1rem !important;
    margin-bottom: 1rem !important;
    scrollbar-width: thin !important;
    scrollbar-color: var(--accent) rgba(183, 140, 90, 0.2) !important;
    justify-content: flex-start !important;
  }

  /* Custom scrollbar styling */
  .pulse-stats::-webkit-scrollbar {
    height: 3px;
  }

  .pulse-stats::-webkit-scrollbar-track {
    background: rgba(183, 140, 90, 0.1);
    border-radius: 3px;
  }

  .pulse-stats::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
  }

  .stat-badge {
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
    white-space: nowrap !important;
    justify-content: center !important;
    padding: 0.4rem 0.9rem !important;
    min-width: auto !important;
  }

  /* First and last card spacing */
  .stat-badge:first-child {
    margin-left: 0;
  }

  .stat-badge:last-child {
    margin-right: 0;
  }
}

/* Small mobile - adjust badge size */
@media (max-width: 480px) {
  .pulse-stats {
    gap: 0.5rem !important;
    padding: 0.4rem 0.75rem 0.9rem 0.75rem !important;
  }

  .stat-badge {
    padding: 0.35rem 0.75rem !important;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .stat-number {
    font-size: 0.85rem;
  }

  .stat-unit {
    font-size: 0.65rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .pulse-stats {
    gap: 0.4rem !important;
    padding: 0.35rem 0.6rem 0.8rem 0.6rem !important;
  }

  .stat-badge {
    padding: 0.3rem 0.65rem !important;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .stat-number {
    font-size: 0.8rem;
  }

  .stat-unit {
    font-size: 0.6rem;
  }
}

/* ========================================================================
   STAT BADGE - Compact sizing that fits text naturally
   ======================================================================== */

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: white;
  border-radius: 40px;
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  justify-content: center;
  white-space: nowrap;
}

.stat-badge:hover {
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px -6px rgba(183, 140, 90, 0.2);
}

.stat-badge.featured {
  background: var(--text-dark);
  border-color: var(--accent);
}

.stat-badge.featured .stat-label,
.stat-badge.featured .stat-number {
  color: white;
}

.stat-label {
  color: var(--text-soft);
  font-weight: 400;
  font-size: 0.7rem;
  white-space: nowrap;
}

.stat-number {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.85rem;
  white-space: nowrap;
}

.stat-unit {
  color: var(--text-light);
  font-size: 0.65rem;
  margin-left: 0;
  white-space: nowrap;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* ========================================================================
   SLIDER HINT - Visual indicator for mobile
   ======================================================================== */

.pulse-stats-hint {
  display: none;
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .pulse-stats-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  .hint-text {
    font-size: 0.6rem;
    color: var(--text-soft);
    letter-spacing: 1px;
    opacity: 0.7;
    animation: fadeInOut 2s ease-in-out infinite;
  }

  .hint-arrow {
    display: flex;
    gap: 0.2rem;
  }

  .hint-arrow span {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid var(--accent);
    border-top: 1.5px solid var(--accent);
    transform: rotate(45deg);
    opacity: 0.5;
    animation: arrowPulse 1.5s ease-in-out infinite;
  }

  .hint-arrow span:nth-child(1) {
    animation-delay: 0s;
  }

  .hint-arrow span:nth-child(2) {
    animation-delay: 0.3s;
  }

  .hint-arrow span:nth-child(3) {
    animation-delay: 0.6s;
  }

  @keyframes arrowPulse {
    0%,
    100% {
      opacity: 0.3;
      transform: rotate(45deg) translateX(0);
    }
    50% {
      opacity: 1;
      transform: rotate(45deg) translateX(2px);
    }
  }

  @keyframes fadeInOut {
    0%,
    100% {
      opacity: 0.4;
    }
    50% {
      opacity: 1;
    }
  }
}
/* ========================================================================
   BACKGROUND COLOR FIX - Add this to your existing styles.css
   ======================================================================== */

/* Ensure all sections have proper background */
.hero-section,
.marketplace-pulse,
.trending-section,
.blog-section-fullwidth {
  background: linear-gradient(135deg, #faf9f7 0%, #ffffff 100%);
}

.dynamic-showcase,
.activity-section,
.creators-levels-section {
  background: linear-gradient(135deg, #ffffff 0%, #f5f3f0 100%);
}

.featured-categories,
.journey-section,
.portfolio-section,
.trust-bar {
  background: #ffffff;
}

/* Fix any sections that might have transparency issues */
section {
  background: #faf9f7;
}

/* Override specific sections with gradients */
.hero-section,
.marketplace-pulse,
.trending-section,
.blog-section-fullwidth {
  background: linear-gradient(135deg, #faf9f7 0%, #ffffff 100%) !important;
}

.dynamic-showcase,
.activity-section,
.creators-levels-section {
  background: linear-gradient(135deg, #ffffff 0%, #f5f3f0 100%) !important;
}

/* Ensure cards have consistent white background */
.curated-card,
.creator-level-card,
.feed-item,
.stat-badge,
.pulse-feed,
.level-benefits {
  background: #ffffff !important;
}

/* Remove any transparent backgrounds from containers */
.container,
.section-header,
.section-footer {
  background: transparent !important;
}

/* CTA section keeps its gradient */
.cta-section {
  background: linear-gradient(135deg, #b78c5a 0%, #9a7a4e 100%) !important;
}

/* Footer stays dark */
.footer {
  background: #1a1a1a !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-section,
  .marketplace-pulse,
  .trending-section,
  .blog-section-fullwidth {
    background: linear-gradient(135deg, #faf9f7 0%, #ffffff 100%) !important;
  }

  .dynamic-showcase,
  .activity-section,
  .creators-levels-section {
    background: linear-gradient(135deg, #ffffff 0%, #faf9f7 100%) !important;
  }

  .featured-categories,
  .journey-section,
  .portfolio-section,
  .trust-bar {
    background: #ffffff !important;
  }
}
/* ========================================================================
   HERO CAROUSEL - Complete CSS for 3 Slides
   ======================================================================== */

/* ========================================================================
   BASE CAROUSEL STRUCTURE
   ======================================================================== */

.hero-carousel-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  overflow: hidden;
  padding: 1rem 0 4rem 0;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  min-height: 650px;
  display: flex;
  flex-direction: column;
}

/* Slides Container */
.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
  pointer-events: none;
  min-height: 650px;
  display: flex;
  align-items: center;
}

.hero-carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  min-height: 650px;
}

/* Standard Layout */
.hero-layout-standard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  min-height: 580px;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-layout-standard {
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    min-height: 580px;
  }
}

/* Visual containers */
.hero-visual-3d,
.hero-visual-typing {
  flex: 1;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-visual-3d,
  .hero-visual-typing {
    max-width: 550px;
    min-height: 520px;
  }
}

/* Content container */
.hero-content-standard {
  flex: 1;
  text-align: center;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-content-standard {
    text-align: left;
    min-height: 520px;
  }
}

/* ========================================================================
   COUCH IMAGE - No Border, No Background
   ======================================================================== */

/* Desktop hero image */
.couch-image-desktop {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.couch-main-image {
  width: 100%;
  max-width: 500px;
  max-height: 480px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.couch-main-image:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
}

/* Mobile hero image */
.couch-image-mobile {
  display: none;
  text-align: center;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.couch-mobile-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.couch-hint {
  font-size: 0.7rem;
  color: var(--accent);
  margin-top: 0.75rem;
  text-align: center;
  opacity: 0.8;
  animation: pulseHint 2s infinite;
}

/* Floating animation */
@keyframes subtleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseHint {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ========================================================================
   TYPING ANIMATION
   ======================================================================== */

.typing-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 420px;
  justify-content: center;
}

@media (min-width: 992px) {
  .typing-container {
    min-height: 460px;
  }
}

.typing-avatar {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin: 0 auto 0.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.typing-bubble {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
}

.typing-line {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.typing-prefix {
  color: var(--text-dark);
}

.typing-text {
  color: var(--accent);
  font-weight: 600;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  background: var(--accent);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.typing-subline {
  border-top: 1px dashed var(--border-light);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.typing-subtext {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-style: italic;
}

.typing-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.role-tag {
  padding: 0.4rem 0.8rem;
  background: rgba(183, 140, 90, 0.1);
  border-radius: 40px;
  font-size: 0.7rem;
  color: var(--accent);
  transition: all 0.3s ease;
  cursor: default;
}

.role-tag:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* ========================================================================
   BENEFITS PANEL (Slide 4 - Member Benefits Dual Path)
   ======================================================================== */

.hero-visual-benefits {
  flex: 1;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

@media (min-width: 992px) {
  .hero-visual-benefits {
    max-width: 560px;
    min-height: 520px;
  }
}

.benefits-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 60px -28px rgba(46, 42, 40, 0.22),
    0 8px 24px -16px rgba(183, 140, 90, 0.18);
  overflow: hidden;
  isolation: isolate;
}

.benefits-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(183, 140, 90, 0.45) 25%,
    var(--accent) 50%,
    rgba(183, 140, 90, 0.45) 75%,
    transparent 100%
  );
  z-index: 2;
}

.benefits-panel-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(183, 140, 90, 0.18) 0%,
    rgba(183, 140, 90, 0) 70%
  );
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

/* Tab Switcher */
.benefits-tab-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(183, 140, 90, 0.07);
  border: 1px solid rgba(183, 140, 90, 0.18);
  border-radius: 100px;
  padding: 5px;
  margin-bottom: 1.25rem;
  z-index: 1;
}

.benefits-tab {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  cursor: pointer;
  transition:
    color 0.35s ease,
    transform 0.35s ease;
  font-family: inherit;
}

.benefits-tab i {
  font-size: 0.85rem;
  transition: transform 0.35s ease;
}

.benefits-tab:hover:not(.active) {
  color: var(--text-dark);
}

.benefits-tab.active {
  color: #ffffff;
}

.benefits-tab.active i {
  transform: scale(1.05);
}

.benefits-tab-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  background: linear-gradient(135deg, var(--accent) 0%, #c79a68 100%);
  border-radius: 100px;
  box-shadow:
    0 6px 16px -6px rgba(183, 140, 90, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transition: transform 0.45s cubic-bezier(0.68, -0.2, 0.27, 1.4);
  z-index: 1;
}

.benefits-tab-switch[data-active="customer"] .benefits-tab-indicator {
  transform: translateX(100%);
}

/* Panes */
.benefits-pane {
  position: relative;
  z-index: 1;
  display: none;
  animation: benefitsPaneIn 0.45s ease both;
}

.benefits-pane.active {
  display: block;
}

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

/* Tier Banner */
.benefits-tier {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(183, 140, 90, 0.1) 0%,
    rgba(183, 140, 90, 0.04) 100%
  );
  border: 1px solid rgba(183, 140, 90, 0.22);
  border-radius: 14px;
  margin-bottom: 1.1rem;
  position: relative;
}

.tier-medal {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #d6a978 0%,
    var(--accent) 60%,
    #8a6840 100%
  );
  color: #ffffff;
  font-size: 1.05rem;
  box-shadow:
    0 6px 14px -6px rgba(183, 140, 90, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.benefits-tier.customer .tier-medal {
  background: linear-gradient(135deg, #e6c89a 0%, #b78c5a 60%, #6f522f 100%);
}

.tier-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.tier-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.tier-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 1px;
}

.tier-chip {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.6rem;
  background: #ffffff;
  color: var(--accent);
  border: 1px solid rgba(183, 140, 90, 0.3);
  border-radius: 100px;
  text-transform: uppercase;
}

/* Benefit Groups */
.benefits-group + .benefits-group {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px dashed rgba(183, 140, 90, 0.22);
}

.benefits-group-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-dark);
  margin-bottom: 0.55rem;
}

.benefits-group-title i {
  color: var(--accent);
  font-size: 0.78rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-soft);
  padding: 0.1rem 0;
  opacity: 0;
  transform: translateX(-6px);
  animation: benefitItemIn 0.45s ease forwards;
}

.benefits-pane.active .benefits-list li:nth-child(1) {
  animation-delay: 0.05s;
}
.benefits-pane.active .benefits-list li:nth-child(2) {
  animation-delay: 0.1s;
}
.benefits-pane.active .benefits-list li:nth-child(3) {
  animation-delay: 0.15s;
}
.benefits-pane.active .benefits-list li:nth-child(4) {
  animation-delay: 0.2s;
}

@keyframes benefitItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.benefits-list li i {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 0.55rem;
  color: var(--accent);
  background: rgba(183, 140, 90, 0.12);
  border-radius: 50%;
}

/* Mobile responsive for the Benefits Panel */
@media (max-width: 991px) {
  .hero-visual-benefits {
    min-height: auto;
    padding: 0;
  }
  .benefits-panel {
    max-width: 100%;
    padding: 1.25rem 1.1rem 1.4rem;
    border-radius: 20px;
  }
}

@media (max-width: 767px) {
  .benefits-panel {
    padding: 1.1rem 1rem 1.25rem;
  }
  .benefits-tab {
    font-size: 0.72rem;
    padding: 0.55rem 0.5rem;
  }
  .benefits-tier {
    padding: 0.75rem 0.85rem;
    gap: 0.7rem;
  }
  .tier-medal {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
  .tier-name {
    font-size: 1.1rem;
  }
  .tier-chip {
    display: none;
  }
  .benefits-group-title {
    font-size: 0.62rem;
  }
  .benefits-list li {
    font-size: 0.74rem;
  }
}

@media (max-width: 480px) {
  .benefits-panel {
    padding: 1rem 0.9rem 1.15rem;
    border-radius: 18px;
  }
  .benefits-tab span {
    font-size: 0.7rem;
  }
  .benefits-tab i {
    font-size: 0.78rem;
  }
  .benefits-tier {
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.9rem;
  }
  .benefits-group + .benefits-group {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}

/* ========================================================================
   BENEFITS DUO LAYOUT (Slide 1 - Dual Path Comparison Cards)
   Full-width Provider vs Customer side-by-side cards.
   Provider card keeps the brand cream tone; Customer card is deep black
   with bronze/gold accents for a strong visual counterpoint.
   ======================================================================== */

.hero-benefits-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  align-items: stretch;
}

@media (min-width: 992px) {
  .hero-benefits-duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    min-height: 580px;
    align-items: center;
  }
}

/* --- Card base ------------------------------------------------------- */
.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  padding: 1.25rem 1.4rem 1.25rem;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.5s ease;
}

@media (min-width: 992px) {
  .benefit-card {
    height: 480px;
  }
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-card-glow {
  position: absolute;
  top: -140px;
  right: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

/* --- Provider card (light / cream) ----------------------------------- */
.benefit-card--light {
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
  border: 1px solid rgba(183, 140, 90, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 30px 70px -32px rgba(46, 42, 40, 0.22),
    0 10px 28px -18px rgba(183, 140, 90, 0.2);
}

.benefit-card--light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(183, 140, 90, 0.45) 25%,
    var(--accent) 50%,
    rgba(183, 140, 90, 0.45) 75%,
    transparent 100%
  );
  z-index: 2;
}

.benefit-card--light .benefit-card-glow {
  background: radial-gradient(
    circle at center,
    rgba(183, 140, 90, 0.2) 0%,
    rgba(183, 140, 90, 0) 70%
  );
}

/* --- Customer card (dark / black) ------------------------------------ */
.benefit-card--dark {
  background:
    radial-gradient(
      circle at top right,
      rgba(230, 200, 154, 0.08) 0%,
      rgba(230, 200, 154, 0) 55%
    ),
    linear-gradient(180deg, #1c1815 0%, #0b0907 100%);
  border: 1px solid rgba(230, 200, 154, 0.12);
  color: #f4ece0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 70px -28px rgba(0, 0, 0, 0.6),
    0 10px 28px -18px rgba(183, 140, 90, 0.35);
}

.benefit-card--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(230, 200, 154, 0.5) 25%,
    #e6c89a 50%,
    rgba(230, 200, 154, 0.5) 75%,
    transparent 100%
  );
  z-index: 2;
}

.benefit-card--dark .benefit-card-glow {
  background: radial-gradient(
    circle at center,
    rgba(230, 200, 154, 0.24) 0%,
    rgba(230, 200, 154, 0) 70%
  );
}

/* --- Card header ----------------------------------------------------- */
.benefit-card-head {
  position: relative;
  z-index: 1;
  margin-bottom: 0.85rem;
}

.benefit-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.32rem 0.75rem;
  background: rgba(183, 140, 90, 0.1);
  border: 1px solid rgba(183, 140, 90, 0.22);
  border-radius: 100px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.benefit-card--dark .benefit-eyebrow {
  background: rgba(230, 200, 154, 0.08);
  border-color: rgba(230, 200, 154, 0.22);
  color: #e6c89a;
}

.benefit-eyebrow i {
  font-size: 0.68rem;
}

.benefit-free-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: -0.2rem 0 0.75rem;
}

.benefit-card--dark .benefit-free-tag {
  color: #e6c89a;
}

.benefit-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.02;
  font-weight: 400;
  color: var(--text-dark);
  margin: 0 0 0.45rem;
}

.benefit-card--dark .benefit-card-title {
  color: #fbf7f0;
}

.benefit-card-title .title-accent {
  color: var(--accent);
}

.benefit-card--dark .benefit-card-title .title-accent {
  color: #e6c89a;
}

.benefit-card-sub {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 420px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.benefit-card--dark .benefit-card-sub {
  color: rgba(244, 236, 224, 0.72);
}

/* --- Card body (reuses .benefits-group / .benefits-list) ------------- */
.benefit-card-body {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.benefit-card .benefits-group + .benefits-group {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(183, 140, 90, 0.22);
}

.benefit-card .benefits-group-title {
  margin-bottom: 0.45rem;
}

.benefit-card .benefits-list {
  gap: 0.32rem;
}

.benefit-card .benefits-list li {
  font-size: 0.76rem;
  line-height: 1.4;
}

.benefit-card--dark .benefits-group + .benefits-group {
  border-top-color: rgba(230, 200, 154, 0.16);
}

.benefit-card--dark .benefits-group-title {
  color: #fbf7f0;
}

.benefit-card--dark .benefits-group-title i {
  color: #e6c89a;
}

.benefit-card--dark .benefits-list li {
  color: rgba(244, 236, 224, 0.82);
}

.benefit-card--dark .benefits-list li i {
  color: #e6c89a;
  background: rgba(230, 200, 154, 0.12);
}

/* Stagger the benefit items inside each card (reuses benefitItemIn kf) */
.benefit-card .benefits-list li:nth-child(1) {
  animation-delay: 0.08s;
}
.benefit-card .benefits-list li:nth-child(2) {
  animation-delay: 0.14s;
}
.benefit-card .benefits-list li:nth-child(3) {
  animation-delay: 0.2s;
}
.benefit-card .benefits-list li:nth-child(4) {
  animation-delay: 0.26s;
}

/* --- CTA inside card ------------------------------------------------- */
.benefit-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: auto;
  margin-bottom: 0.35rem;
  margin-left: auto;
  padding: 0.78rem 1.25rem;
  min-width: 215px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  align-self: flex-end;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

@media (min-width: 992px) {
  .benefit-card-cta {
    top: -14px;
  }
}

.benefit-card-cta .cta-arrow {
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1;
  transition: transform 0.35s ease;
}

.benefit-card-cta:hover .cta-arrow {
  transform: translateX(4px);
}

.benefit-card--light .benefit-card-cta {
  background: linear-gradient(135deg, var(--accent) 0%, #c79a68 100%);
  color: #ffffff;
  box-shadow:
    0 8px 20px -8px rgba(183, 140, 90, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.benefit-card--light .benefit-card-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px -10px rgba(183, 140, 90, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.benefit-card--dark .benefit-card-cta {
  background: linear-gradient(135deg, #e6c89a 0%, #c79a68 100%);
  color: #1c1815;
  box-shadow:
    0 8px 22px -8px rgba(230, 200, 154, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.benefit-card--dark .benefit-card-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px -10px rgba(230, 200, 154, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 991px) {
  /* Default (non-carousel) stacked layout */
  .hero-benefits-duo {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Horizontal scroll-snap slider */
  .hero-benefits-duo.carousel-mobile {
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    max-width: 100%;
    margin: 0 1.25rem;
    padding: 1.5rem 0 0;
    perspective: none;
    position: relative;
  }

  .hero-benefits-duo.carousel-mobile::-webkit-scrollbar {
    display: none;
  }

  /* Every card is a full-width slide */
  .hero-benefits-duo.carousel-mobile .benefit-card,
  .hero-benefits-duo.carousel-mobile .benefit-card:nth-child(1),
  .hero-benefits-duo.carousel-mobile .benefit-card:nth-child(2),
  .hero-benefits-duo.carousel-mobile .benefit-card:nth-child(n + 3),
  .hero-benefits-duo.carousel-mobile .benefit-card.mobile-active,
  .hero-benefits-duo.carousel-mobile .benefit-card.mobile-active + .benefit-card,
  .hero-benefits-duo.carousel-mobile .benefit-card.mobile-active + .benefit-card + .benefit-card {
    flex: 0 0 100%;
    min-width: 100%;
    height: auto;
    position: relative;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    z-index: auto;
    scroll-snap-align: start;
    padding: 1.35rem 1.5rem;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .benefit-card-title {
    font-size: clamp(1.55rem, 6vw, 1.95rem);
  }

  .benefit-card-cta {
    align-self: center;
    margin-top: 1.75rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .hero-benefits-duo.carousel-mobile .benefit-card,
  .hero-benefits-duo.carousel-mobile .benefit-card:nth-child(1),
  .hero-benefits-duo.carousel-mobile .benefit-card:nth-child(2) {
    padding: 1.2rem 1.25rem;
    border-radius: 18px;
  }

  .benefit-card-sub {
    font-size: 0.74rem;
  }

  .benefit-card-cta {
    font-size: 0.72rem;
    padding: 0.75rem 1.1rem;
    min-width: 200px;
  }
}

/* Mobile Slider Navigation */
@media (max-width: 991px) {
  .hero-carousel-slide {
    position: relative;
  }

}

/* ========================================================================
   HERO CONTENT STYLES (Shared)
   ======================================================================== */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(183, 140, 90, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(183, 140, 90, 0.2);
  align-self: center;
}

@media (min-width: 992px) {
  .hero-badge {
    align-self: flex-start;
  }
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-title .title-accent {
  color: var(--accent);
}

.hero-description {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: var(--text-soft);
  max-width: 500px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

@media (min-width: 992px) {
  .hero-description {
    margin: 0 0 1.75rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  min-width: 170px;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
}

.hero-statements {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-statements {
    justify-content: flex-start;
    gap: 1.5rem;
  }
}

.hero-statements .statement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 40px;
  border: 1px solid var(--border-light);
}

.hero-statements .statement-item i {
  color: var(--accent);
}

/* ========================================================================
   CAROUSEL NAVIGATION
   ======================================================================== */

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 30;
  color: var(--text-dark);
}

.carousel-arrow:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 30;
  background: transparent;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(183, 140, 90, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(183, 140, 90, 0.6);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 5px;
}

/* ========================================================================
   MOBILE RESPONSIVE
   ======================================================================== */

@media (max-width: 767px) {
  .hero-carousel-section {
    padding: 0.5rem 0 3rem 0;
  }

  .hero-carousel-container {
    min-height: 550px;
  }

  .hero-carousel-slide {
    min-height: 550px;
  }

  .hero-carousel-slide.active {
    min-height: 550px;
  }

  .hero-layout-standard {
    min-height: 520px;
    gap: 1rem;
  }

  .hero-visual-3d,
  .hero-visual-typing {
    min-height: auto;
    max-width: 100%;
    width: 100%;
  }

  .hero-content-standard {
    min-height: auto;
  }

  /* Desktop image hidden on mobile */
  .couch-image-desktop {
    display: none !important;
  }

  /* Mobile image visible and full width */
  .couch-image-mobile {
    display: block !important;
    max-width: 100% !important;
  }

  .couch-mobile-image {
    width: 100% !important;
    max-height: 350px !important;
    border-radius: 16px !important;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    display: none;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }

  .carousel-dots {
    bottom: 15px;
    gap: 8px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 20px;
  }

  /* Typing adjustments */
  .typing-container {
    min-height: 380px;
    padding: 0 0.5rem;
  }

  .typing-bubble {
    padding: 1rem;
  }

  .typing-line {
    font-size: 1rem;
  }

  .typing-roles {
    gap: 0.4rem;
  }

  .role-tag {
    padding: 0.3rem 0.6rem;
    font-size: 0.6rem;
  }

  /* Hero content adjustments */
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    min-width: 140px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .hero-statements .statement-item {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }

  .hero-badge {
    font-size: 0.6rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.75rem;
  }
}

/* ========================================================================
   SMALL MOBILE (480px and below)
   ======================================================================== */

@media (max-width: 480px) {
  .hero-carousel-container {
    min-height: 500px;
  }

  .hero-carousel-slide {
    min-height: 500px;
  }

  .hero-carousel-slide.active {
    min-height: 500px;
  }

  .hero-layout-standard {
    min-height: 480px;
  }

  .hero-visual-3d,
  .hero-visual-typing {
    min-height: auto;
    max-width: 100%;
    width: 100%;
  }

  .hero-content-standard {
    min-height: auto;
  }

  .couch-mobile-image {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 300px !important;
  }

  .couch-hint {
    font-size: 0.6rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    min-width: 115px;
    padding: 0.45rem 0.7rem;
    font-size: 0.7rem;
  }

  .typing-avatar {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .typing-bubble {
    padding: 0.875rem;
  }

  .typing-line {
    font-size: 0.9rem;
  }

  .typing-subtext {
    font-size: 0.75rem;
  }
}

/* ========================================================================
   EXTRA SMALL MOBILE (360px and below)
   ======================================================================== */

@media (max-width: 360px) {
  .hero-visual-3d,
  .hero-visual-typing {
    max-width: 260px;
  }

  .couch-mobile-image {
    max-width: 180px;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 0.7rem;
  }

  .typing-line {
    font-size: 0.8rem;
  }

  .role-tag {
    font-size: 0.55rem;
    padding: 0.25rem 0.5rem;
  }
}

/* ========================================================================
   TABLET (768px - 991px)
   ======================================================================== */

@media (min-width: 768px) and (max-width: 991px) {
  .hero-carousel-container {
    min-height: 600px;
  }

  .hero-carousel-slide,
  .hero-carousel-slide.active {
    min-height: 600px;
  }

  .hero-layout-standard {
    min-height: 560px;
  }

  .hero-visual-3d,
  .hero-visual-typing {
    min-height: 420px;
  }

  .hero-content-standard {
    min-height: 420px;
  }

  .couch-main-image {
    max-width: 380px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    min-width: 150px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}

/* ========================================================================
   LARGE DESKTOP (1400px+)
   ======================================================================== */

@media (min-width: 1400px) {
  .hero-carousel-container {
    min-height: 700px;
  }

  .hero-carousel-slide,
  .hero-carousel-slide.active {
    min-height: 700px;
  }

  .hero-layout-standard {
    min-height: 650px;
  }

  .hero-visual-3d,
  .hero-visual-typing {
    max-width: 650px;
    min-height: 560px;
  }

  .hero-content-standard {
    min-height: 560px;
  }

  .couch-main-image {
    max-width: 550px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 550px;
  }
}
/* ========================================================================
   HERO CAROUSEL - Moved Up on Desktop
   ======================================================================== */

.hero-carousel-section {
  position: relative;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  overflow: hidden;
  padding: 0.5rem 0 4rem 0; /* Reduced top padding from 1rem to 0.5rem */
}

/* Desktop specific adjustment - move up further */
@media (min-width: 992px) {
  .hero-carousel-section {
    padding: 0 0 4rem 0; /* Remove top padding completely on desktop */
    margin-top: -1rem; /* Negative margin to pull section up */
  }

  /* Alternative: adjust container margin */
  .hero-carousel-container {
    margin-top: -0.5rem;
  }
}

/* Large Desktop - move up even more */
@media (min-width: 1400px) {
  .hero-carousel-section {
    margin-top: -2rem;
  }
}

/* If you want to remove the gap from the top bar */
.hero-carousel-section {
  margin-top: -0.5rem; /* Pull up slightly to reduce gap from top bar */
}

/* Alternative method: adjust the first slide's position */
@media (min-width: 992px) {
  .hero-carousel-slide.active {
    transform: translateY(-0.5rem);
  }
}
/* ========================================================================
   BLOG SECTION - Moved Up
   ======================================================================== */

.blog-section-fullwidth {
  padding: 0.5rem 0 2rem 0;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

/* Move the blog grid wrapper up */
.blog-grid-fullwidth-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(183, 140, 90, 0.2);
  margin: -1rem 0 0 0; /* Negative margin to pull up */
  padding: 0;
}

/* Move the blog grid up */
.blog-grid-fullwidth {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0.25rem 0 1rem 0;
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
}

/* Adjust section header margin to reduce gap */
.section-header-fullwidth {
  margin-bottom: 0.5rem; /* Reduced from 2rem */
}

/* For desktop, move up further */
@media (min-width: 768px) {
  .blog-section-fullwidth {
    padding: 0.25rem 0 2rem 0;
  }

  .blog-grid-fullwidth-wrapper {
    margin-top: -1.5rem;
  }

  .section-header-fullwidth {
    margin-bottom: 0.25rem;
  }
}

/* For tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .blog-grid-fullwidth-wrapper {
    margin-top: -1rem;
  }
}

/* For mobile */
@media (max-width: 767px) {
  .blog-section-fullwidth {
    padding: 0.25rem 0 1.5rem 0;
  }

  .blog-grid-fullwidth-wrapper {
    margin-top: -0.5rem;
  }

  .section-header-fullwidth {
    margin-bottom: 0.25rem;
  }
}
/* ========================================================================
   BLOG SECTION - Move Footer Up
   ======================================================================== */

/* Reduce margin on the section footer */
.section-footer-fullwidth {
  margin-top: -1rem; /* Negative margin to pull footer up */
  text-align: center;
  position: relative;
  z-index: 5;
}

/* Adjust the blog footer note */
.blog-footer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: transparent;
  border-radius: 40px;
  font-size: 0.75rem;
  color: var(--text-soft);
  margin-top: -0.5rem; /* Pull up slightly */
}

/* For desktop */
@media (min-width: 768px) {
  .section-footer-fullwidth {
    margin-top: -2rem;
  }

  .blog-footer-note {
    margin-top: -1rem;
  }
}

/* For large desktop */
@media (min-width: 1200px) {
  .section-footer-fullwidth {
    margin-top: -2.5rem;
  }

  .blog-footer-note {
    margin-top: -1.25rem;
  }
}

/* For mobile */
@media (max-width: 767px) {
  .section-footer-fullwidth {
    margin-top: -0.75rem;
  }

  .blog-footer-note {
    margin-top: -0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* Alternative: Remove the margin from the blog grid to bring footer closer */
.blog-grid-fullwidth {
  padding-bottom: 0.5rem; /* Reduced from 2rem to 0.5rem */
}

@media (min-width: 768px) {
  .blog-grid-fullwidth {
    padding-bottom: 0.75rem;
  }
}
/* ========================================================================
   BLOG SECTION - Hide Scrollbar
   ======================================================================== */

/* Hide scrollbar on blog grid wrapper */
.blog-grid-fullwidth-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  margin: 0;
  padding: 0;
}

/* Hide scrollbar in Chrome, Safari, Edge */
.blog-grid-fullwidth-wrapper::-webkit-scrollbar {
  display: none;
}

/* Also hide on the inner grid if needed */
.blog-grid-fullwidth {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0.5rem 0 2rem 0;
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
}

/* For mobile, ensure scrollbar is hidden */
@media (max-width: 767px) {
  .blog-grid-fullwidth-wrapper {
    scrollbar-width: none;
    -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
  }

  .blog-grid-fullwidth-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* Optional: Add a subtle fade effect to indicate scrolling without scrollbar */
  .blog-grid-fullwidth-wrapper {
    position: relative;
  }

  .blog-grid-fullwidth-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, white);
    pointer-events: none;
    z-index: 5;
    opacity: 0.6;
  }

  .blog-grid-fullwidth-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, white, transparent);
    pointer-events: none;
    z-index: 5;
    opacity: 0.6;
  }
}
/* ========================================================================
   BLOG SECTION - Remove Y-Axis Scroll & Prevent Vertical Scrolling
   ======================================================================== */

.blog-section-fullwidth {
  padding: 0 0 4rem 0;
  background: linear-gradient(135deg, var(--bg) 0%, white 100%);
  position: relative;
  overflow-x: hidden;
  overflow-y: visible; /* Allow content to flow naturally, no scroll */
  width: 100%;
  height: auto; /* Let height be determined by content */
  max-height: none; /* Remove any max-height constraints */
}

/* Ensure wrapper doesn't create vertical scroll */
.blog-grid-fullwidth-wrapper {
  width: 100%;
  overflow-x: auto; /* Keep horizontal scroll for slider */
  overflow-y: visible; /* No vertical scroll */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(183, 140, 90, 0.2);
  margin: 0;
  padding: 0;
  max-height: none;
  height: auto;
}

/* Hide scrollbar on blog grid wrapper (horizontal only) */
.blog-grid-fullwidth-wrapper::-webkit-scrollbar {
  height: 4px; /* Only horizontal scrollbar height */
  width: 0; /* Remove vertical scrollbar width */
  background: transparent;
}

/* Remove any fixed heights that might cause scrolling */
.blog-grid-fullwidth {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0.5rem 0 2rem 0;
  position: relative;
  z-index: 2;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
  height: auto;
  overflow-y: visible;
}

/* Ensure cards don't create vertical overflow */
.blog-card-fullwidth {
  width: 340px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  background: transparent;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: default;
  min-height: auto; /* Remove min-height to prevent overflow */
  overflow: visible;
  height: auto;
}

/* Remove any scroll from section footer */
.section-footer-fullwidth {
  margin-top: -1rem;
  text-align: center;
  position: relative;
  z-index: 5;
  overflow: visible;
  height: auto;
}

/* Ensure no overflow on body */
body {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto;
  min-height: 100vh;
}

/* For desktop, ensure no vertical scrollbar appears */
@media (min-width: 768px) {
  .blog-section-fullwidth {
    overflow-y: visible;
    height: auto;
  }

  .blog-grid-fullwidth-wrapper {
    overflow-y: visible;
    height: auto;
  }

  /* Ensure the scrollbar doesn't add vertical space */
  .blog-grid-fullwidth-wrapper::-webkit-scrollbar {
    background: transparent;
  }

  .blog-grid-fullwidth-wrapper::-webkit-scrollbar-track {
    background: transparent;
  }

  .blog-grid-fullwidth-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .blog-section-fullwidth {
    overflow-y: visible;
    height: auto;
  }

  .blog-grid-fullwidth-wrapper {
    overflow-y: visible;
  }
}
/* ========================================================================
   BLOG SECTION - Hide Horizontal Scrollbar on Mobile
   ======================================================================== */

.blog-grid-fullwidth-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0;
}

/* Hide scrollbar on all screens by default */
.blog-grid-fullwidth-wrapper {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.blog-grid-fullwidth-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* For desktop, you can optionally show a thin scrollbar */
@media (min-width: 768px) {
  .blog-grid-fullwidth-wrapper {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(183, 140, 90, 0.2);
  }

  .blog-grid-fullwidth-wrapper::-webkit-scrollbar {
    display: block;
    height: 4px;
  }

  .blog-grid-fullwidth-wrapper::-webkit-scrollbar-track {
    background: rgba(183, 140, 90, 0.1);
    border-radius: 4px;
  }

  .blog-grid-fullwidth-wrapper::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
  }
}

/* For mobile, ensure scrollbar is completely hidden */
@media (max-width: 767px) {
  .blog-grid-fullwidth-wrapper {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .blog-grid-fullwidth-wrapper::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* Optional: Add a subtle fade effect to indicate scrolling */
  .blog-grid-fullwidth-wrapper {
    position: relative;
  }

  .blog-grid-fullwidth-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, transparent, white);
    pointer-events: none;
    z-index: 5;
    opacity: 0.7;
  }

  .blog-grid-fullwidth-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, white, transparent);
    pointer-events: none;
    z-index: 5;
    opacity: 0.7;
  }
}
/* ========================================================================
   CAROUSEL DOTS - Move Down on Mobile
   ======================================================================== */

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 30;
  background: transparent;
}

/* Move dots down on mobile */
@media (max-width: 767px) {
  .carousel-dots {
    bottom: -5px; /* Move down from 20px to -5px (25px down) */
    gap: 10px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 20px;
  }
}

/* For smaller mobile devices */
@media (max-width: 480px) {
  .carousel-dots {
    bottom: -25px; /* Move down further */
    gap: 8px;
  }
}

/* For very small devices */
@media (max-width: 360px) {
  .carousel-dots {
    bottom: -15px;
  }
}

/* ========== CLEAN STICKY HEADER SETUP ========== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #faf9f7;
}

body.scrolled .main-header {
  background: rgba(250, 249, 247, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 0.6rem 0;
}

/* ========================================================================
   06. USER MENU - Premium
   ======================================================================== */
.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  display: none;
  z-index: 10000; /* CHANGE THIS - increase to very high value */
  overflow: hidden;
  animation: dropdownFade 0.3s ease;
}

.user-menu {
  position: relative;
  display: inline-block;
  z-index: 10001; /* Add this */
}

.user-menu-button {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  border-radius: 40px;
  transition: all 0.3s ease;
  min-height: 38px;
  color: white;
  position: relative; /* Add this */
  z-index: 10002; /* Add this */
}

/* Ensure avatar image displays correctly */
#userAvatarImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none; /* Hidden by default, shown when image loads */
}

.user-avatar-small {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Mobile avatar background image support */
.mobile-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========================================================================
 * Provider role tabs — Products & Services public pages
 * Icon-circle design, horizontally centered, matches category circles.
 * ======================================================================== */
.provider-role-tabs-section {
  padding: 28px 0 12px;
}

.provider-role-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 0;
  padding: 4px 8px;
  width: 100%;
}

.provider-role-tabs .role-tab {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  max-width: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text, #1f1f1f);
  transition: transform 0.18s ease;
}

.provider-role-tabs .role-tab:hover {
  transform: translateY(-2px);
}

.provider-role-tabs .role-tab-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg, #ffffff);
  border: 2px solid var(--border-light, #e5e7eb);
  color: var(--text-soft, #6b7280);
  font-size: 1.6rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.provider-role-tabs .role-tab:hover .role-tab-icon {
  border-color: var(--accent, #c9a876);
  color: var(--accent, #c9a876);
}

.provider-role-tabs .role-tab.active .role-tab-icon {
  border-color: var(--accent, #c9a876);
  color: var(--accent, #c9a876);
  background: var(--bg, #ffffff);
  box-shadow: 0 4px 14px rgba(201, 168, 118, 0.25);
}

.provider-role-tabs .role-tab-label {
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  max-width: 120px;
  color: var(--text, #1f1f1f);
  transition: color 0.18s ease;
}

.provider-role-tabs .role-tab.active .role-tab-label {
  color: var(--accent, #c9a876);
  font-weight: 600;
}

.provider-role-tabs .role-tab:focus-visible {
  outline: none;
}

.provider-role-tabs .role-tab:focus-visible .role-tab-icon {
  outline: 2px solid var(--accent, #c9a876);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  /* Slider: tabs scroll horizontally with equal gaps, full labels shown */
  .provider-role-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding: 4px 0;
  }
  .provider-role-tabs::-webkit-scrollbar {
    display: none;
  }
  .provider-role-tabs .role-tab {
    flex: 0 0 auto;   /* natural width — no stretching */
    min-width: 84px;
    padding: 6px 10px;
  }
  .provider-role-tabs .role-tab-icon {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }
  .provider-role-tabs .role-tab-label {
    font-size: 0.72rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: 84px;
  }
}

@media (max-width: 480px) {
  .provider-role-tabs {
    gap: 4px;
    padding: 4px 0;
  }
  .provider-role-tabs .role-tab {
    min-width: 74px;
    padding: 6px 8px;
  }
  .provider-role-tabs .role-tab-icon {
    width: 52px;
    height: 52px;
    font-size: 1.15rem;
  }
  .provider-role-tabs .role-tab-label {
    font-size: 0.67rem;
    max-width: 74px;
  }
}

/* ========================================================================
   ANNOUNCEMENT TICKER
   ======================================================================== */

.announcement-ticker {
  position: relative;
  width: 100%;
  background: #15803d;
  overflow: hidden;
  padding: 0.5rem 0;
  z-index: 60;
  flex-shrink: 0;
}

/* Fade mask on the right so text fades out at the edge */
.announcement-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to right, transparent, #15803d 80%);
  pointer-events: none;
  z-index: 2;
}

/* Right-side separator for balance */
.announcement-ticker::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  z-index: 3;
  pointer-events: none;
}

/* Fixed countdown pinned flush to the left of the ticker */
.announcement-ticker .ticker-countdown {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  height: 100%;
  transform: none;
  z-index: 3;
  background: #15803d;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  padding: 0 0.3rem 0 0.3rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.announcement-ticker .ticker-countdown .countdown-num {
  color: #ffffff;
}

.announcement-ticker .ticker-countdown .countdown-sep {
  color: #ffffff;
  opacity: 0.8;
}

.announcement-ticker .ticker-countdown .countdown-label {
  color: #bbf7d0;
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 18s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: inline-block;
  flex-shrink: 0;
  padding-right: 5rem;
  font-size: 0.79rem;
  font-weight: 500;
  color: #dcfce7;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ticker-label {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-style: italic;
}

.ticker-value {
  color: #bbf7d0;
  font-weight: 800;
  font-size: 0.85rem;
}

.ticker-bracket {
  color: #a7f3d0;
  font-style: italic;
}

.ticker-quote {
  color: #86efac;
  font-style: italic;
  font-weight: 400;
}

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

@media (max-width: 991px) {
  .ticker-track {
    animation-duration: 14s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* ========================================================================
   OFFER COUNTDOWN TIMER
   ======================================================================== */

/* Row wrapper: eyebrow label left, countdown pushed right */
.benefit-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
  margin-bottom: 0.75rem;
  min-width: 0;
  width: 100%;
}

.benefit-eyebrow-row .benefit-eyebrow {
  margin-bottom: 0; /* remove any inherited bottom margin */
}

.offer-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin: 0;
  background: rgba(21, 128, 61, 0.08);
  border: 1px solid rgba(21, 128, 61, 0.25);
  border-radius: 8px;
  padding: 0.28rem 0.5rem;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 28px;
}

.countdown-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: #15803d;
  line-height: 1;
  letter-spacing: 0.01em;
}

.countdown-label {
  font-size: 0.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7280;
  margin-top: 0.1rem;
}

.countdown-sep {
  font-size: 0.8rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 0.6rem;
  opacity: 0.45;
  line-height: 1;
}

/* Dark card variant — ensure countdown is readable on dark bg */
.benefit-card--dark .offer-countdown {
  background: rgba(187, 247, 208, 0.08);
  border-color: rgba(187, 247, 208, 0.2);
}

.benefit-card--dark .countdown-num {
  color: #4ade80;
}

.benefit-card--dark .countdown-sep {
  color: #4ade80;
}

.benefit-card--dark .countdown-label {
  color: #9ca3af;
}

/* ========================================================================
   ADD TO HOME SCREEN — FLOATING BUTTON + IOS TOOLTIP
   ======================================================================== */

/* Wrapper — slides up from bottom */
.a2hs-wrap {
  position: fixed;
  bottom: 1.5rem;
  right: 1.2rem;
  transform: translateY(100px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  pointer-events: none;
}

.a2hs-wrap--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Container — relative so X badge can sit on top */
.a2hs-btn-row {
  position: relative;
  display: inline-flex;
  will-change: transform, opacity;
}

/* X badge — top-left corner of the green button */
.a2hs-dismiss-btn {
  position: absolute;
  top: -6px;
  left: -6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #374151;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
  padding: 0;
}

.a2hs-dismiss-btn:hover {
  background: #111827;
}

/* The button — icon only, circular, green */
.a2hs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #15803d;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
}

.a2hs-btn:hover {
  background: #166534;
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.55);
}

.a2hs-btn:active {
  transform: scale(0.93);
}

/* iOS tooltip bubble (appears above the button) */
.a2hs-tooltip {
  position: relative;
  background: #1f2937;
  color: #f9fafb;
  border-radius: 14px;
  padding: 0.85rem 1rem 0.85rem 1rem;
  width: min(88vw, 280px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.a2hs-tooltip-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 0.55rem;
  color: #ffffff;
  padding-right: 1.5rem;
}

.a2hs-tooltip-steps {
  margin: 0;
  padding: 0 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.a2hs-tooltip-steps li {
  font-size: 0.82rem;
  color: #d1d5db;
  line-height: 1.45;
}

/* Arrow pointing down-right toward button */
.a2hs-tooltip-arrow {
  position: absolute;
  bottom: -8px;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #1f2937;
}

/* Close X inside tooltip */
.a2hs-tooltip-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #9ca3af;
  transition: background 0.15s;
}

.a2hs-tooltip-close:hover {
  background: rgba(255,255,255,0.2);
}

/* ========================================================================
   AD SPACE BANNER SLIDER
   Auto-sliding promotional banner for Services & Products pages
   ======================================================================== */

.ad-banner-slider {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #1a1612;
  user-select: none;
}

/* ── Slides ── */
.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
}

.banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* ── Slide Themes ── */
.sl-ink {
  background: linear-gradient(125deg, #13100d 0%, #231c14 55%, #130f0b 100%);
}
.sl-parchment {
  background: linear-gradient(125deg, #f5f0e8 0%, #ece4d4 55%, #f2ede4 100%);
}
.sl-mahogany {
  background: linear-gradient(125deg, #1a0e0a 0%, #2d1810 55%, #1a0c08 100%);
}
.sl-slate {
  background: linear-gradient(125deg, #0f1214 0%, #1a2028 55%, #0d1218 100%);
}
.sl-sand {
  background: linear-gradient(125deg, #f0e8d8 0%, #e5d8c0 55%, #ede4d2 100%);
}
.sl-ebony {
  background: linear-gradient(125deg, #0a0908 0%, #18140e 55%, #0c0a08 100%);
}
.sl-linen {
  background: linear-gradient(125deg, #f8f4ee 0%, #ede6d8 55%, #f4efe6 100%);
}
.sl-terracotta {
  background: linear-gradient(125deg, #180e08 0%, #2a1508 55%, #1c1008 100%);
}

/* ── Slide Content ── */
.slide-content {
  position: relative;
  z-index: 4;
  padding: 0 clamp(2rem, 5vw, 4rem);
  max-width: 52%;
  min-width: 280px;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent, #b78c5a);
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(183, 140, 90, 0.38);
  border-radius: 2px;
}

.slide-tag::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent, #b78c5a);
  animation: adTagPulse 2s ease-in-out infinite;
}

@keyframes adTagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.6); }
}

.sl-parchment .slide-tag,
.sl-sand .slide-tag,
.sl-linen .slide-tag {
  color: #8a6535;
  border-color: rgba(138, 101, 53, 0.38);
}
.sl-parchment .slide-tag::before,
.sl-sand .slide-tag::before,
.sl-linen .slide-tag::before {
  background: #8a6535;
}

.slide-headline {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(1.35rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: #f5f0e8;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.slide-headline em {
  font-style: italic;
  color: var(--accent, #b78c5a);
}

.sl-parchment .slide-headline,
.sl-sand .slide-headline,
.sl-linen .slide-headline {
  color: #1a1410;
}

.sl-parchment .slide-headline em,
.sl-sand .slide-headline em,
.sl-linen .slide-headline em {
  color: #8a6535;
}

.slide-copy {
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.58);
  margin-bottom: 1.4rem;
  max-width: 300px;
}

.sl-parchment .slide-copy,
.sl-sand .slide-copy,
.sl-linen .slide-copy {
  color: rgba(26, 20, 16, 0.55);
}

.slide-cta {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1410;
  background: var(--accent, #b78c5a);
  padding: 0.6rem 1.6rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.slide-cta:hover {
  background: #c99d6a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(183, 140, 90, 0.35);
}

.sl-parchment .slide-cta,
.sl-sand .slide-cta,
.sl-linen .slide-cta {
  background: #1a1410;
  color: #f5f0e8;
}

.sl-parchment .slide-cta:hover,
.sl-sand .slide-cta:hover,
.sl-linen .slide-cta:hover {
  background: #2c2318;
  box-shadow: 0 6px 20px rgba(26, 20, 16, 0.2);
}

/* ── Slide Visual (decorative right side) ── */
.slide-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.slide-visual > * {
  position: absolute;
}

.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive layout layers for Canva-designed slides */
.slide-layout-desktop { display: block; }
.slide-layout-mobile  { display: none; }
@media (max-width: 767px) {
  .slide-layout-desktop { display: none; }
  .slide-layout-mobile  { display: block; }
}

/* ── sl-ink shapes ── */
.sl-ink .sv-outer {
  width: 400px; height: 400px;
  border: 1px solid rgba(183, 140, 90, 0.08);
  border-radius: 50%;
  right: -70px; top: 50%;
  transform: translateY(-50%);
}
.sl-ink .sv-c1 {
  width: 280px; height: 280px;
  border: 1px solid rgba(183, 140, 90, 0.18);
  border-radius: 50%;
  right: -10px; top: 50%;
  transform: translateY(-50%);
}
.sl-ink .sv-c2 {
  width: 170px; height: 170px;
  border: 1px solid rgba(183, 140, 90, 0.28);
  border-radius: 50%;
  right: 55px; top: 50%;
  transform: translateY(-50%);
}
.sl-ink .sv-c3 {
  width: 80px; height: 80px;
  border: 1px solid rgba(183, 140, 90, 0.42);
  border-radius: 50%;
  background: rgba(183, 140, 90, 0.06);
  right: 105px; top: 50%;
  transform: translateY(-50%);
}
.sl-ink .sv-dot1 {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent, #b78c5a);
  opacity: 0.65;
  right: 140px; top: 50%;
  transform: translateY(-50%);
}

/* ── sl-parchment shapes ── */
.sl-parchment .sv-dots {
  inset: 0;
  background-image: radial-gradient(circle, rgba(138, 101, 53, 0.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  background-position: 14px 14px;
}
.sl-parchment .sv-f1 {
  width: 220px; height: 160px;
  border: 1px solid rgba(138, 101, 53, 0.2);
  right: 35px; top: 50%;
  transform: translateY(-50%);
}
.sl-parchment .sv-f2 {
  width: 160px; height: 110px;
  border: 1px solid rgba(138, 101, 53, 0.32);
  background: rgba(138, 101, 53, 0.04);
  right: 65px; top: 50%;
  transform: translateY(-58%);
}

/* ── sl-mahogany shapes ── */
.sl-mahogany .sv-c1 {
  width: 300px; height: 300px;
  border: 1px solid rgba(183, 140, 90, 0.14);
  border-radius: 50%;
  right: -30px; top: 50%;
  transform: translateY(-50%);
}
.sl-mahogany .sv-c2 {
  width: 200px; height: 200px;
  border: 1px solid rgba(183, 140, 90, 0.22);
  border-radius: 50%;
  right: 20px; top: 50%;
  transform: translateY(-50%);
}
.sl-mahogany .sv-c3 {
  width: 100px; height: 100px;
  border: 1px solid rgba(183, 140, 90, 0.38);
  border-radius: 50%;
  background: rgba(183, 140, 90, 0.05);
  right: 70px; top: 50%;
  transform: translateY(-50%);
}
.sl-mahogany .sv-ch {
  width: 320px; height: 1px;
  background: rgba(183, 140, 90, 0.14);
  right: -30px; top: 50%;
  transform: translateY(-50%);
}
.sl-mahogany .sv-cv {
  width: 1px; height: 320px;
  background: rgba(183, 140, 90, 0.14);
  right: 120px; top: 50%;
  transform: translateY(-50%);
}

/* ── sl-slate shapes ── */
.sl-slate .sv-r1 {
  width: 190px; height: 190px;
  border: 1px solid rgba(183, 140, 90, 0.16);
  right: 65px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.sl-slate .sv-r2 {
  width: 120px; height: 120px;
  border: 1px solid rgba(183, 140, 90, 0.26);
  right: 100px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.sl-slate .sv-dot1 {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent, #b78c5a);
  opacity: 0.5;
  right: 155px; top: 50%;
  transform: translateY(-50%);
}
.sl-slate .sv-vline {
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(183, 140, 90, 0.18), transparent);
  right: 161px; top: 0;
}

/* ── sl-sand shapes ── */
.sl-sand .sv-arch {
  width: 200px; height: 280px;
  border: 1px solid rgba(138, 101, 53, 0.18);
  border-radius: 100px 100px 0 0;
  right: 40px; top: 50%;
  transform: translateY(-50%);
}
.sl-sand .sv-arch2 {
  width: 120px; height: 170px;
  border: 1px solid rgba(138, 101, 53, 0.28);
  border-radius: 60px 60px 0 0;
  background: rgba(138, 101, 53, 0.04);
  right: 80px; top: 50%;
  transform: translateY(-55%);
}

/* ── sl-ebony shapes ── */
.sl-ebony .sv-scan {
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 18px,
    rgba(183, 140, 90, 0.035) 19px
  );
}
.sl-ebony .sv-c1 {
  width: 260px; height: 260px;
  border: 1px solid rgba(183, 140, 90, 0.18);
  border-radius: 50%;
  right: -5px; top: 50%;
  transform: translateY(-50%);
}
.sl-ebony .sv-c2 {
  width: 150px; height: 150px;
  border: 1px solid rgba(183, 140, 90, 0.28);
  border-radius: 50%;
  right: 55px; top: 50%;
  transform: translateY(-50%);
}
.sl-ebony .sv-dot1 {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent, #b78c5a);
  opacity: 0.7;
  right: 118px; top: 50%;
  transform: translateY(-50%);
}

/* ── sl-linen shapes ── */
.sl-linen .sv-dots {
  inset: 0;
  background-image: radial-gradient(circle, rgba(138, 101, 53, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
}
.sl-linen .sv-f1 {
  width: 190px; height: 230px;
  border: 1px solid rgba(138, 101, 53, 0.2);
  right: 50px; top: 50%;
  transform: translateY(-50%);
}
.sl-linen .sv-f2 {
  width: 130px; height: 160px;
  border: 1px solid rgba(138, 101, 53, 0.3);
  background: rgba(138, 101, 53, 0.04);
  right: 80px; top: 50%;
  transform: translateY(-55%);
}

/* ── sl-terracotta shapes ── */
.sl-terracotta .sv-glow {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 140, 90, 0.09) 0%, transparent 70%);
  right: -50px; top: 50%;
  transform: translateY(-50%);
}
.sl-terracotta .sv-c1 {
  width: 260px; height: 260px;
  border: 1px solid rgba(183, 140, 90, 0.15);
  border-radius: 50%;
  right: -20px; top: 50%;
  transform: translateY(-50%);
}
.sl-terracotta .sv-c2 {
  width: 160px; height: 160px;
  border: 1px solid rgba(183, 140, 90, 0.26);
  border-radius: 50%;
  right: 30px; top: 50%;
  transform: translateY(-50%);
}
.sl-terracotta .sv-dot1 {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent, #b78c5a);
  opacity: 0.6;
  right: 100px; top: 50%;
  transform: translateY(-50%);
}

/* ── Navigation Arrows ── */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(20, 15, 10, 0.55);
  border: 1px solid rgba(183, 140, 90, 0.3);
  color: rgba(245, 240, 232, 0.8);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.banner-nav:hover {
  background: rgba(183, 140, 90, 0.32);
  border-color: rgba(183, 140, 90, 0.65);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}

.banner-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.banner-prev { left: 1.25rem; }
.banner-next { right: 1.25rem; }
.banner-nav svg { pointer-events: none; }

/* ── Dot Indicators ── */
.banner-dots {
  display: none;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-dot.is-active {
  background: var(--accent, #b78c5a);
  width: 22px;
}

.banner-dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.5);
}

/* Light-theme slide dot overrides */
.banner-light .banner-dot {
  background: rgba(26, 20, 16, 0.22);
}
.banner-light .banner-dot.is-active {
  background: #8a6535;
}
.banner-light .banner-dot:hover:not(.is-active) {
  background: rgba(26, 20, 16, 0.42);
}

/* ── Progress Bar ── */
.banner-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent, #b78c5a);
  z-index: 10;
  opacity: 0.85;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ad-banner-slider { height: 240px; }
  .slide-content {
    max-width: 70%;
    min-width: unset;
    padding: 0 clamp(1rem, 4vw, 2rem);
  }
  .slide-headline { font-size: clamp(1.1rem, 5vw, 1.8rem); }
  .slide-copy { display: none; }
  .slide-cta { font-size: 0.62rem; padding: 0.5rem 1.1rem; }
  .banner-prev,
  .banner-next { display: none; }
  .slide-visual { width: 40%; }
}

@media (max-width: 480px) {
  .ad-banner-slider { height: 220px; }
  .slide-content { max-width: 78%; }
  .slide-visual { width: 28%; opacity: 0.65; }
}

/* ========================================================================
   SMART DISCOVERY BAR
   Provider role tabs + categories form one connected animated card.
   ======================================================================== */

/* ── 1. Discovery card visual unity ── */
/* Role tabs section: top half of the card */
.provider-role-tabs-section {
  background: #ffffff;
  position: relative;
  z-index: 5;
  box-shadow: 0 1px 0 var(--border-light, #ede8e0);
  transition: box-shadow 0.3s ease;
}

/* When categories are open, remove the bottom shadow so sections merge */
.provider-role-tabs-section.discovery-open {
  box-shadow: none;
}

/* Categories section: bottom half of the card, hidden by default */
.categories-section,
.category-circles-section {
  background: #ffffff;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease;
  border-top: 0px solid var(--border-light, #ede8e0);
  border-bottom: 1px solid var(--border-light, #ede8e0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* When open: slide in */
.categories-section.discovery-open,
.category-circles-section.discovery-open {
  max-height: 500px;
  opacity: 1;
  border-top-width: 1px;
}

/* ── 2. Staggered icon entrance animation ── */
@keyframes catIconReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Applied via JS when section opens */
.discovery-open .category-item,
.discovery-open .category-circle {
  animation: catIconReveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* ── 3. Sliding gold indicator for active role tab ── */
.provider-role-tabs {
  position: relative;
}

.role-tab-indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  background: var(--accent, #b78c5a);
  border-radius: 3px 3px 0 0;
  transition: left 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* ── 4. Banner slide transition: translateX + opacity + stagger ── */
.banner-slide {
  transform: translateX(30px);
  transition:
    opacity 0.72s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide.is-active {
  transform: translateX(0);
}

.banner-slide.is-leaving {
  opacity: 0 !important;
  transform: translateX(-30px) !important;
  pointer-events: none;
}

/* Staggered content reveal when slide becomes active */
@keyframes bannerContentIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.banner-slide.is-active .slide-tag {
  animation: bannerContentIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}
.banner-slide.is-active .slide-headline {
  animation: bannerContentIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both;
}
.banner-slide.is-active .slide-body {
  animation: bannerContentIn 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.40s both;
}
.banner-slide.is-active .slide-cta {
  animation: bannerContentIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.50s both;
}

/* Ken Burns zoom on image */
.banner-slide .slide-visual {
  transition: transform 5.5s ease-out;
}
.banner-slide.is-active .slide-visual {
  transform: scale(1.05);
}

/* ── 5. Grid card stagger reveal ── */
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card.card-animate,
.product-card.card-animate {
  animation: cardReveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* ── 6. Subcategory slide-in (injected by JS after categories strip) ── */
.subcategories-container {
  animation: subCatsSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes subCatsSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Subcategory removal animation */
.subcategories-container.is-removing {
  animation: subCatsSlideOut 0.28s ease-in forwards;
  pointer-events: none;
}

@keyframes subCatsSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

/* ========================================================================
   STICKY COMPACT FILTER BAR — appears when user scrolls past discovery
   ======================================================================== */
.sticky-filter-bar {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  top: auto;
  left: auto;
  z-index: 200;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  pointer-events: none;
}

.sticky-filter-bar.visible {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Strip the container's horizontal padding inside the FAB */
.sticky-filter-bar .container {
  max-width: none;
  padding: 0;
  width: auto;
}

.sticky-bar-inner {
  display: block;
  min-height: auto;
  gap: 0;
}

/* Chips hidden — button is the only element */
.sticky-active-chips,
.sticky-no-filters,
.sticky-chip {
  display: none;
}

.sticky-scroll-up {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent, #b78c5a);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow:
    0 4px 20px rgba(183, 140, 90, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.sticky-scroll-up:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow:
    0 6px 28px rgba(183, 140, 90, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.22);
}

.sticky-scroll-up:active {
  transform: scale(0.93);
}

/* ========================================================================
   SMART SEARCH BAR — search input + collapsible filters pill
   ======================================================================== */
.filters-section {
  background: #ffffff;
  border-top: 1px solid var(--border-light, #ede8e0);
  border-bottom: 1px solid var(--border-light, #ede8e0);
  padding: 1.35rem 0;
}

/* Search bar: full container, search bar itself constrained to 900px centred */
.filters-section .container {
  max-width: var(--container-max, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
}

.smart-search-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.smart-search-input {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.smart-search-input > i {
  position: absolute;
  left: 1.15rem;
  color: var(--text-soft, #888);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
}

.smart-search-input input {
  width: 100%;
  height: 48px;
  padding: 0 1.25rem 0 2.75rem;
  border: 2px solid var(--border-light, #ede8e0);
  border-radius: 60px;
  background: white;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark, #1f1f1f);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.smart-search-input input:focus {
  border-color: var(--accent, #b78c5a);
  box-shadow: 0 0 0 3px rgba(183, 140, 90, 0.1);
}

.smart-search-input input::placeholder {
  color: var(--text-soft, #aaa);
}

/* Filters pill button */
.filters-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.4rem;
  border-radius: 60px;
  background: white;
  border: 2px solid var(--border-light, #ede8e0);
  cursor: pointer;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-dark, #1f1f1f);
  white-space: nowrap;
  flex-shrink: 0;
  order: -1;
  transition: all 0.22s ease;
}

.filters-pill:hover {
  border-color: var(--accent-light, #d4a96a);
  box-shadow: 0 3px 12px rgba(183, 140, 90, 0.12);
}

.filters-pill.active {
  background: var(--accent, #b78c5a);
  border-color: var(--accent, #b78c5a);
  color: white;
}

.filters-pill i { font-size: 0.82rem; }

.filters-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--accent, #b78c5a);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.filters-pill.active .filters-count-badge {
  background: rgba(255, 255, 255, 0.25);
}

.filters-count-badge:empty { display: none; }

/* Collapsible filters panel — CSS grid trick for smooth height */
.filters-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.filters-panel.open {
  grid-template-rows: 1fr;
}

.filters-panel-inner {
  min-height: 0;
  overflow-x: visible;
  overflow-y: hidden;
  padding: 0;
  transition: padding 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.filters-panel.open .filters-panel-inner {
  padding: 0.85rem 0 0.3rem;
}

/* ── Category crossfade on provider-type switch ── */
#categoriesStrip.cats-exit .category-item,
#categoryCircles.cats-exit .category-circle {
  opacity: 0 !important;
  transform: translateY(-5px) scale(0.96) !important;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
}

/* ========================================================================
   MOBILE RESPONSIVE — Smart Search, Filters Panel, Sticky Bar, Tabs
   ======================================================================== */

/* Tablets and small laptops */
@media (max-width: 768px) {
  /* Filters panel: horizontal slider on tablets */
  .filters-panel.open .filters-panel-inner {
    padding: 0.65rem 0 0.25rem;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .filters-panel.open .filters-panel-inner::-webkit-scrollbar { display: none; }
  .filter-grid-strip {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .filter-grid-strip .filter-group {
    flex: 0 0 auto;
    min-width: unset;
  }
  /* Give categories section more room on tablets */
  .categories-section.discovery-open,
  .category-circles-section.discovery-open {
    max-height: 700px;
  }
}

/* Phones */
@media (max-width: 480px) {
  /* Smart search: pill shrinks to icon-only */
  .smart-search-input input {
    height: 44px;
    font-size: 0.85rem;
  }
  .filters-pill {
    height: 44px;
    width: 44px;
    min-width: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    gap: 0;
  }
  .filters-pill-text { display: none; }
  .filters-pill .fa-sliders-h { font-size: 1rem; }
  /* Badge floats over the pill icon */
  .filters-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    font-size: 0.62rem;
  }
  .filters-pill { position: relative; }

  /* Sticky FAB — slightly smaller on mobile */
  .sticky-filter-bar { bottom: 4.5rem; right: 1rem; }
  .sticky-scroll-up {
    width: 46px;
    height: 46px;
    font-size: 0.9rem;
  }

  /* Filter grid on small phones: tighter slider items */
  .filter-grid-strip {
    gap: 0.4rem;
  }
  .filter-select-strip,
  .filter-group select,
  #countryFilter, #cityFilter, #categoryFilter, #sortFilter {
    width: 110px !important;
    font-size: 0.78rem !important;
  }


}

/* Very small phones */
@media (max-width: 360px) {
  .provider-role-tabs .role-tab {
    min-width: 66px;
    padding: 6px 7px;
  }
  .provider-role-tabs .role-tab-icon {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }
  .provider-role-tabs .role-tab-label {
    font-size: 0.62rem;
    max-width: 66px;
  }
  .smart-search-input input {
    height: 40px;
    font-size: 0.82rem;
  }
  .filters-pill {
    height: 40px;
    width: 40px;
    min-width: 40px;
  }
}

/* ============================================================
   SORT PILLS — shared between services & products grid headers
   ============================================================ */
.grid-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.sort-pills {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sort-pills-label {
  font-size: 0.64rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft, #bbb);
  margin-right: 0.15rem;
  white-space: nowrap;
}

.sort-pill {
  padding: 0.2rem 0.58rem;
  font-size: 0.67rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-light, #e5ddd0);
  background: transparent;
  color: var(--text-soft, #aaa);
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.15s ease;
  white-space: nowrap;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

.sort-pill:hover {
  border-color: var(--accent, #b78c5a);
  color: var(--accent, #b78c5a);
  transform: translateY(-1px);
}

.sort-pill.active {
  background: var(--accent, #b78c5a);
  border-color: var(--accent, #b78c5a);
  color: #fff;
  transform: none;
}

@media (max-width: 480px) {
  .sort-pills-label { display: none; }
  .sort-pill { font-size: 0.62rem; padding: 0.18rem 0.48rem; }
}

/* ============================================================
   SORT SELECT — SEARCH BAR (all screens)
   ============================================================ */

/* Wrapper — no separator line */
.sort-select-wrap {
  display: flex;
  align-items: center;
  order: 1;
  flex-shrink: 0;
}

/* The select element itself */
.sort-select-bar {
  height: 44px;
  padding: 0 2.2rem 0 1rem;
  border: 2px solid var(--border-light, #ede8e0);
  border-radius: 60px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23b78c5a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-dark, #1f1f1f);
  cursor: pointer;
  outline: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sort-select-bar:hover {
  border-color: var(--accent-light, #d4a96a);
}

.sort-select-bar:focus {
  border-color: var(--accent, #b78c5a);
  box-shadow: 0 0 0 3px rgba(183, 140, 90, 0.1);
}

@media (max-width: 600px) {
  .sort-select-bar {
    height: 34px;
    padding: 0 1.6rem 0 0.65rem;
    font-size: 0.75rem;
    border-width: 1.5px;
  }
}

/* Results-count as direct grid-header child */
.grid-header > .results-count {
  font-size: 0.78rem;
  color: var(--text-primary, #1a1a1a);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── Desktop ── */
@media (min-width: 768px) {
  /* Tidy up grid-header-right when empty */
  .grid-header-right:empty { display: none; }

  /* Results-count sits on the right side of grid-header */
  .grid-header > .results-count {
    margin-left: auto;
    order: 3;
  }
}


