/* ============================
   RIOCLICK - Premium Design System
   ============================ */

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

:root {
  /* Core Palette - More sophisticated & refined */
  --primary:         #FF7364; /* Vibrant Rio Red */
  --primary-hover:   #e65f50;
  --primary-light:   #fff1f0;
  --secondary:       #24aeb1; /* Refreshing Teal */
  --accent:          #6366f1; /* Indigo Accent */
  
  --text-dark:       #0f172a; /* Slate-900 */
  --text-mid:        #475569; /* Slate-600 */
  --text-light:      #94a3b8; /* Slate-400 */
  
  --border:          #e2e8f0; /* Slate-200 */
  --bg-light:        #f8fafc; /* Slate-50 */
  --bg-white:        #ffffff;
  
  /* Shadows - Layered for depth */
  --shadow-sm:       0 1px 20px rgba(0,0,0,0.03);
  --shadow-md:       0 4px 30px rgba(0,0,0,0.08);
  --shadow-lg:       0 10px 50px rgba(0,0,0,0.12);
  
  /* Border Radii - More precise & sharp */
  --radius-sm:       4px;
  --radius-md:       8px;
  --radius-lg:       12px;
  
  /* Transitions - Super smooth easing */
  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --duration:        0.3s;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  font-size: 15px; /* Slightly smaller base font */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--duration) var(--ease); }
img { display: block; max-width: 100%; border-radius: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; transition: var(--duration) var(--ease); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.02); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* ======================================================
   HEADER - COMPACT & STICKY
====================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 8px 0; /* Reduced padding */
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px; /* Wider for more space */
  margin: 0 auto;
  padding: 0 16px; /* Reduced side padding */
  gap: 24px;
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.logo-icon svg { color: #fff; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }

.logo-text {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.header-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding-left: 12px;
  transition: all var(--duration) var(--ease);
  max-width: 600px;
}

.header-search:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.search-location {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-right: 1.5px solid var(--border);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-size: 15px;
  background: transparent;
  color: var(--text-dark);
}

.search-btn {
  padding: 10px 24px;
  margin: 4px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}

.search-btn:hover { background: var(--primary-hover); transform: translateX(2px); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  padding: 10px 24px;
  border-radius: 14px;
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
}

.btn-login:hover { background: var(--primary); color: #fff; }

.btn-cart {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.btn-cart:hover { background: var(--primary-light); color: var(--primary); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* --- HEADER NAVIGATION --- */
.header-nav {
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,0.03);
}

.header-nav ul {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.header-nav li a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--duration) var(--ease);
  padding: 8px 0;
  position: relative;
}

.header-nav li a:hover,
.header-nav li a.active {
  color: var(--primary);
}

.header-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}

.header-nav li a:hover::after,
.header-nav li a.active::after {
  width: 100%;
}

/* ======================================================
   HERO SECTION - CINEMATIC & HIGH-IMPACT
====================================================== */
.hero {
  padding: 24px;
  background: radial-gradient(circle at top right, var(--primary-light), transparent 50%),
              radial-gradient(circle at bottom left, rgba(255,115,100,0.05), transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary-light), transparent 70%);
  top: -300px;
  right: -200px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.6;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1.3;
  animation: fadeInUp 0.8s var(--ease);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 115, 100, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 115, 100, 0.2);
  box-shadow: 0 4px 15px rgba(255, 115, 100, 0.1);
}

.hero-title {
  font-size: 44px;
  font-weight: 850;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -1.5px;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 20px;
  max-width: 520px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-lg);
  display: inline-flex;
}

.hero-stat-val {
  font-size: 28px;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 2px;
  letter-spacing: -1px;
}

.hero-stat-lbl {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  flex: 1;
  position: relative;
  animation: fadeInUp 1s var(--ease);
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
  transform: perspective(1000px) rotateY(-10deg) rotateX(4deg);
  transition: all 0.6s var(--ease);
}

.hero-visual:hover img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 80px rgba(255, 115, 100, 0.15);
}

.hero-visual-icon {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: #fff;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  font-size: 56px;
  color: var(--primary);
  animation: float 5s ease-in-out infinite;
  z-index: 2;
  border: 1px solid var(--border);
}

.hero-visual-icon::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 4px solid var(--primary-light);
  opacity: 0.5;
  animation: pulse-soft 3s infinite;
}

/* ======================================================
   TRUST BADGES - SUBTLE & CLEAN
====================================================== */
.trust-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 24px 16px; /* Reduced padding */
}

.trust-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--duration) var(--ease);
}

.trust-item:hover { color: var(--primary); transform: translateY(-2px); }

.trust-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  font-size: 20px;
}

/* ======================================================
   PRODUCT CARDS / LISTING - MODAL-LIKE
====================================================== */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1px;
}

.section-link {
  color: var(--primary);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-link:hover { gap: 12px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  border: 1px solid var(--border);
  background: var(--bg-white);
  padding: 32px;
  position: relative;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--duration) var(--ease);
}

.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.product-card:hover::before { opacity: 1; }

.product-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.1);
}

.product-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  color: var(--primary);
  transition: var(--duration) var(--ease);
}

.product-card:hover .product-icon-wrap {
  background: var(--primary);
  color: #fff;
  transform: rotate(10deg);
}

.product-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.product-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}

.product-includes {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 32px;
  flex: 1;
  line-height: 1.6;
}

.product-includes span { color: var(--text-dark); font-weight: 700; }

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

.product-price-wrap { display: flex; flex-direction: column; gap: 4px; }

.product-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.product-price-orig {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-discount {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: #fff1f2;
  padding: 2px 8px;
  border-radius: 6px;
}

.btn-book {
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  transition: all var(--duration) var(--ease);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-book:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

/* ======================================================
   MLM REFERRAL BANNER - IMMERSIVE
====================================================== */
.mlm-banner {
  background: var(--text-dark);
  padding: 100px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mlm-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 70% 50%, rgba(79, 70, 229, 0.2), transparent);
  pointer-events: none;
}

.mlm-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
  z-index: 1;
}

.mlm-content { flex: 1.2; }

.mlm-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.1);
}

.mlm-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.mlm-sub {
  font-size: 19px;
  opacity: 0.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.mlm-levels {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.mlm-level {
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.3);
}

.mlm-level-label {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 4px;
}

.mlm-level-pct {
  font-size: 26px;
  font-weight: 800;
}

.mlm-level-name {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 2px;
}

.btn-join {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--primary);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.mlm-visual {
  flex-shrink: 0;
  width: 300px;
}

.mlm-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mlm-tree-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.mlm-node {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mlm-node.root {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.9);
  font-size: 28px;
}

/* ======================================================
   HOW IT WORKS
====================================================== */
.how-section {
  background: var(--bg-light);
  padding: 60px 24px;
}

.how-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease);
  position: relative;
  border: 1px solid var(--border);
}

/* ======================================================
   TESTIMONIALS / SUCCESS STORIES
====================================================== */
/* ======================================================
   TESTIMONIALS / SUCCESS STORIES - PREMIUM
====================================================== */
.success-stories {
  padding: 100px 24px;
  background: var(--bg-white);
  position: relative;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  position: relative;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  background: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}

.quote-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 40px;
  color: var(--primary);
  opacity: 0.1;
  transition: opacity 0.3s;
}

.testimonial-card:hover .quote-icon {
  opacity: 0.3;
}

.rating-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  color: #fbbf24;
  font-size: 14px;
}

.quote-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 32px;
  flex: 1;
  font-style: italic;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}

.user-info h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  color: #0ea5e9;
  font-size: 12px;
}

.user-info span {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ======================================================
   FAQ ACCORDION
====================================================== */
/* ======================================================
   FAQ ACCORDION - MODERN & ANIMATED
====================================================== */
.faq-section {
  padding: 100px 24px;
  background: var(--bg-light);
  position: relative;
}

.faq-container {
  max-width: 860px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.01);
}

.faq-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: transparent;
  transition: background 0.3s;
}

.faq-item.active .faq-header {
  background: var(--primary-light);
}

.faq-header h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
  padding-right: 20px;
}

.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  transition: transform 0.4s var(--ease), background 0.4s;
}

.faq-item.active .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(180deg);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
  color: var(--text-mid);
}

.faq-item.active .faq-body {
  grid-template-rows: 1fr;
}

.faq-content-inner {
  overflow: hidden;
  padding: 0 32px 32px;
  font-size: 15px;
  line-height: 1.8;
}

/* ======================================================
   FINAL PARTNER CTA
====================================================== */
.cta-banner {
  padding: 80px 24px; /* Reduced vertical padding */
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--text-dark);
  color: #fff;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.3), transparent);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.cta-sub {
  font-size: 20px;
  opacity: 0.8;
  margin-bottom: 48px;
}

.btn-premium {
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-premium:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.5);
}

/* Responsive Adjustments Continued */
@media (max-width: 1024px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: 40px; }
}

/* ======================================================
   PROFESSIONAL FOOTER - PREMIUM & CLEAN
====================================================== */
.footer {
  background: var(--text-dark);
  color: #fff;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand-name {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.footer-brand-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: all 0.3s var(--ease);
  border: 1px solid rgba(255,255,255,0.05);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 115, 100, 0.3);
  border-color: var(--primary);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links li a {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  transition: all 0.2s var(--ease);
  display: inline-block;
  position: relative;
}

.footer-links li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}

.footer-links li a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links li a:hover::after {
  width: 100%;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.contact-info-text {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 32px;
}

.footer-legal a:hover {
  color: #fff;
}

/* ======================================================
   PRODUCT DETAIL PAGE
====================================================== */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-light); }

.detail-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.detail-main { min-width: 0; }

.detail-header {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
}

.detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.detail-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.detail-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

.detail-stat-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.detail-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.detail-highlight {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.detail-highlight-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.detail-highlight-lbl {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

.detail-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}

.detail-section-title {
  font-size: 17px;
  font-weight: 700;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}

.detail-section-body {
  padding: 20px 24px;
}

.detail-section-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: background 0.2s;
}
.accordion-trigger:hover { background: var(--bg-light); }

.accordion-icon {
  font-size: 20px;
  color: var(--text-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 0 24px 16px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}
.accordion-item.open .accordion-body { display: block; }

/* Test list */
.test-list {
  display: flex;
  flex-direction: column;
}

.test-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.test-item:last-child { border-bottom: none; }

.test-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* Booking sidebar */
.booking-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow-md);
}

.booking-card-header {
  background: linear-gradient(135deg, #fff5f4, #fff);
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.booking-old-price {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

.booking-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 4px 0;
}

.booking-discount {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.booking-card-body {
  padding: 20px 24px;
}

.booking-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-mid);
}

.booking-info-row svg { color: var(--teal); flex-shrink: 0; }

.btn-book-full {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 20px 0 14px;
  transition: all 0.2s;
}
.btn-book-full:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(255,111,97,0.4);
  transform: translateY(-1px);
}

.booking-lab-info {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
}

.booking-lab-name {
  font-weight: 600;
  color: var(--text-dark);
}

.safe-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}

/* Rating row */
.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.stars { color: #fbbf24; font-size: 14px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--text-light); }

/* Tags / synonyms */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag {
  background: #eeeeee;
  color: var(--text-mid);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
}

/* ======================================================
   MOBILE SIDEBAR SLIDER
====================================================== */
.mobile-toggle {
  display: none;
  font-size: 22px;
  color: var(--primary);
  background: var(--primary-light);
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
}

.mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0; left: -300px;
  width: 300px; height: 100vh;
  background: #fff;
  z-index: 2001;
  box-shadow: 20px 0 60px rgba(0,0,0,0.1);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.sidebar-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-nav {
  padding: 24px;
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-mid);
  transition: all 0.3s;
}

.sidebar-nav li a i {
  width: 24px;
  color: var(--primary);
  font-size: 18px;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.desktop-only { display: flex; }

@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .mobile-toggle { display: flex; }
  .header-nav { display: none; }
}

/* ======================================================
   MODAL / POPUP
====================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  text-align: center;
  animation: slideUp 0.3s;
}

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

.modal-icon { font-size: 52px; margin-bottom: 14px; }
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.modal-sub { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }

.modal-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.modal-input:focus { outline: none; border-color: var(--primary); }

.modal-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.2s;
}
.modal-btn:hover { background: var(--primary-dark); }

.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 24px;
  color: var(--text-light);
  cursor: pointer;
}

/* ======================================================
   TOAST
====================================================== */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  z-index: 3000;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ======================================================
   UTILITIES
====================================================== */
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.font-bold { font-weight: 700; }

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 1024px) {
  .product-card[style*="grid-column: span 3"] {
    grid-column: span 1 !important;
    flex-direction: column !important;
    text-align: center;
    padding: 32px !important;
  }
  .product-card[style*="grid-column: span 3"] div {
    border: none !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .product-card[style*="grid-column: span 3"] .product-price-wrap {
    justify-content: center;
  }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-visual { width: 260px; height: 180px; }
  .detail-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
}

@media (max-width: 768px) {
  .header-top { padding: 12px 16px; flex-wrap: wrap; gap: 12px; }
  .header-search { order: 3; max-width: 100%; border-radius: 12px; }
  .search-location { display: none; }
  .logo-text { font-size: 20px; }
  .logo-icon { width: 34px; height: 34px; border-radius: 8px; font-size: 14px; }
  .btn-login { padding: 8px 16px; font-size: 12px; }
  .btn-refer-earn { padding: 8px 12px; font-size: 10px; border-radius: 10px; }
  .btn-cart { width: 40px; height: 40px; border-radius: 10px; }

  .header-nav { padding: 0; }
  .header-nav ul { 
    overflow-x: auto; 
    white-space: nowrap; 
    padding: 8px 16px;
    gap: 20px;
    scrollbar-width: none; /* Hide for Firefox */
  }
  .header-nav ul::-webkit-scrollbar { display: none; } /* Hide for Chrome/Safari */
  .header-nav li a { font-size: 12px; }

  .hero { padding: 40px 16px; text-align: center; }
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-content { flex: 1; display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: 32px; line-height: 1.2; letter-spacing: -1px; }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px; width: 100%; }
  .hero-stat [style*="width: 1px"] { display: none !important; }
  .hero-stat-val { font-size: 24px; }
  .hero-visual { display: none; } /* Hide hero image on phones to prioritize CTA */
  
  .trust-bar { padding: 16px; }
  .trust-item { font-size: 13px; gap: 10px; }
  .trust-item-icon { width: 36px; height: 36px; font-size: 16px; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  
  .mlm-inner { flex-direction: column; gap: 40px; text-align: center; }
  .mlm-title { font-size: 32px; }
  .mlm-levels { flex-direction: column; width: 100%; }
  .mlm-visual { display: none; }
  
  .steps-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-brand-desc { max-width: 100%; margin: 0 auto 32px; }
  .footer-socials { justify-content: center; }
  .contact-info-item { justify-content: center; text-align: left; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-stats { grid-template-columns: 1fr; }
  .cta-title { font-size: 28px; }
  .btn-premium { font-size: 14px; padding: 16px 32px; }
}

/* ======================================================
   ANIMATED COLORFUL BUTTONS
   ====================================================== */
@keyframes rainbow-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 115, 100, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 115, 100, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 115, 100, 0); }
}

.btn-refer-earn {
  background: linear-gradient(-45deg, #FF7364, #facc15, #24aeb1, #6366f1);
  background-size: 300% 300%;
  animation: rainbow-shimmer 4s ease infinite, pulse-glow 2s infinite;
  color: #fff !important;
  border: none !important;
  font-weight: 850 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-refer-earn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  filter: brightness(1.1);
}

.btn-refer-earn i {
  font-size: 16px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
