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

:root {
  --bg-primary: #070709;
  --bg-secondary: #0f1015;
  --bg-tertiary: #16171f;
  --accent: #ff2e54;
  --accent-hover: #ff476a;
  --accent-glow: rgba(255, 46, 84, 0.4);
  --accent-glow-subtle: rgba(255, 46, 84, 0.08);
  --text-main: #f4f4f6;
  --text-muted: #8c8f9c;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 46, 84, 0.5);
  --transition-speed: 0.3s;
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-glow);
}

/* Glassmorphism utility */
.glass {
  background: rgba(15, 16, 21, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glowing text utility */
.text-glow {
  text-shadow: 0 0 20px var(--accent-glow);
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  font-family: var(--font-family);
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

/* Floating Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-speed) ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  height: 70px;
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-speed) ease;
}

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

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

.cart-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

.cart-icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 6px var(--accent);
}

/* Section styling */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* Home Hero Section */
.hero {
  min-height: 100vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(7, 7, 9, 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-align: left;
}

.hero-title span {
  color: var(--accent);
  background: linear-gradient(135deg, #ff2e54 0%, #ff6e85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  text-align: left;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-benefits-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  width: 100%;
}

.hero-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  text-align: left;
  color: var(--text-main);
}

.hero-benefit-item svg {
  margin-top: 4px;
  flex-shrink: 0;
}

.hero-image-wrapper {
  width: 100%;
  position: relative;
}

/* Trust Badge Banner */
.trust-banner {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.trust-item svg {
  color: var(--accent);
}

/* Interactive Before/After Slider */
.slider-wrapper {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
}

.slider-container {
  width: 100%;
  height: 480px;
  position: relative;
  user-select: none;
  overflow: hidden;
}

.slider-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  pointer-events: none;
}

.image-after {
  z-index: 1;
}

.image-before {
  z-index: 2;
  /* clip-path will be adjusted by JS */
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px; /* Wider grab target */
  height: 100%;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
  background: transparent;
}

.slider-handle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px; /* Centered visible line */
  width: 4px;
  height: 100%;
  background-color: var(--text-main);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--accent-glow);
  pointer-events: none;
}

.slider-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  background-color: rgba(7, 7, 9, 0.8);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  z-index: 4;
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

/* Dermatologist Quote Section */
.derm-section {
  background-color: var(--bg-secondary);
}

.derm-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.derm-img-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.derm-img {
  width: 100%;
  height: auto;
  display: block;
}

.derm-content {
  display: flex;
  flex-direction: column;
}

.quote-symbol {
  font-size: 80px;
  line-height: 1;
  color: var(--accent-glow);
  font-family: Georgia, serif;
  margin-bottom: -20px;
}

.derm-quote {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
  font-style: italic;
}

.derm-author {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.derm-title {
  font-size: 14px;
  color: var(--text-muted);
}

/* Product Selection Carousel/Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  border-radius: 20px;
  padding: 24px;
  transition: all var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 46, 84, 0.2);
  box-shadow: 0 10px 30px rgba(255, 46, 84, 0.05);
}

.product-card-img-wrapper {
  background-color: var(--bg-primary);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 240px;
}

.product-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.product-card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

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

.product-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

/* 2. Product Detail Page (contour.html) specific styling */
.pdp-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.pdp-gallery {
  position: sticky;
  top: 110px;
}

.pdp-gallery-main {
  border-radius: 24px;
  padding: 32px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.pdp-gallery-main img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

.pdp-gallery-thumbs {
  display: flex;
  gap: 16px;
}

.pdp-gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pdp-gallery-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.pdp-gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pdp-title-section {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.stars {
  color: #eab308; /* yellow */
  font-size: 16px;
  letter-spacing: 1px;
}

.pdp-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.pdp-price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.pdp-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
}

.pdp-price-was {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pdp-price-installments {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pdp-checkout-form {
  border-radius: 20px;
  padding: 24px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 14px;
  transition: all var(--transition-speed) ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow-subtle);
}

/* Accordion Component */
.accordion {
  border-top: 1px solid var(--border-color);
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color var(--transition-speed) ease;
}

.accordion-header:hover {
  color: var(--accent);
}

.accordion-icon {
  font-size: 18px;
  font-weight: 400;
  transition: transform var(--transition-speed) ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease;
}

.accordion-content-inner {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.specs-list, .box-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.specs-item, .box-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 6px;
}

.specs-label {
  font-weight: 600;
  color: var(--text-main);
}

.box-item {
  justify-content: flex-start;
  gap: 12px;
}

.box-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* 3. Science Page (science.html) specific styling */
.science-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.science-card {
  padding: 40px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
}

.science-card-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--accent-glow-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  align-self: flex-start;
}

.science-card-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
}

.science-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  flex-grow: 1;
}

.science-card-wave {
  margin-top: 24px;
  height: 6px;
  border-radius: 3px;
  background-color: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}

.science-card:nth-child(2) .science-card-wave {
  background-color: #ff5a78;
  box-shadow: 0 0 15px #ff5a78;
}

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

.trial-card {
  padding: 40px 32px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.trial-percentage {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  background: linear-gradient(135deg, #ff2e54 0%, #ff6e85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.trial-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.trial-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Call To Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Slide-out Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  border-left: 1px solid var(--border-color);
}

.cart-drawer.open {
  right: 0;
}

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

.cart-title {
  font-size: 20px;
  font-weight: 800;
}

.cart-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

.cart-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.cart-items-container {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.cart-item-price {
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cart-checkout-btn {
  width: 100%;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-speed) ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* Footer Section */
footer {
  padding: 60px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.footer-link:hover {
  color: var(--text-main);
}

/* Hamburger Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: var(--text-main);
  transition: all var(--transition-speed) ease;
  z-index: 3200;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: currentColor;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Hamburger State (Transform to X) */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 4000;
  padding: 100px 32px 40px 32px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
}

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

/* Mobile Nav Overlay Backdrop */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 3800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  touch-action: none;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.mobile-nav-link::after {
  content: '→';
  position: absolute;
  right: 20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--accent);
  font-weight: 800;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--text-main);
  background: rgba(255, 46, 84, 0.06);
  padding-left: 24px;
}

.mobile-nav-link:hover::after, .mobile-nav-link.active::after {
  opacity: 1;
  transform: translateX(0);
}

html.no-scroll, body.no-scroll {
  overflow: hidden !important;
  height: 100% !important;
  position: fixed !important;
  width: 100% !important;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 46, 84, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 46, 84, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 46, 84, 0);
  }
}

@keyframes glow-pulse {
  0% {
    box-shadow: 0 0 60px 5px var(--accent-glow-subtle);
  }
  100% {
    box-shadow: 0 0 90px 15px var(--accent-glow);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    text-align: center;
  }
  .hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
  }
  .hero-benefits-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 32px;
  }
  .hero-image-wrapper {
    order: -1;
    max-width: 600px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .derm-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pdp-gallery {
    position: static;
  }
  .science-visual-grid {
    grid-template-columns: 1fr;
  }
  .trial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-benefits-list {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 30px auto 0 auto;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

/* FAQ Accordion Section Styles */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}

.faq-question {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color var(--transition-speed) ease;
}

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

.faq-icon {
  font-size: 20px;
  transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed) ease;
}

.faq-answer-content {
  padding-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Lightbox Checkout Modal & Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 850px;
  max-height: 90vh;
  background: rgba(18, 18, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  z-index: 3100;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px;
}

.checkout-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-main);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
}

.modal-section-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
  color: var(--text-main);
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-item-img {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  object-fit: cover;
}

.modal-item-details {
  flex-grow: 1;
}

.modal-item-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-main);
}

.modal-item-qty {
  font-size: 12px;
  color: var(--text-muted);
}

.modal-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.summary-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 16px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.summary-total-row.final-total {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 14px;
}

.modal-trust-info {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.trust-badge-item svg {
  color: #10b981;
}

.trust-text {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Compact Cart Item Quantity Editor */
.cart-item-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-item-qty-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: all var(--transition-speed) ease;
}

.cart-item-qty-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.cart-item-qty-val {
  font-size: 13px;
  font-weight: 700;
  width: 20px;
  text-align: center;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .checkout-modal {
    padding: 20px;
    width: 95%;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .modal-right {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
  }
  #header nav {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .pdp-gallery-main {
    padding: 16px;
    border-radius: 16px;
  }
  .pdp-gallery-thumbs {
    gap: 8px;
    justify-content: center;
  }
  .pdp-gallery-thumb {
    width: 60px;
    height: 60px;
    padding: 4px;
  }
}

/* Science Grid Responsive Styling */
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .science-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .specs-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* Gallery Grid Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.gallery-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 46, 84, 0.3);
}

.gallery-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card-content {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.gallery-user {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-user-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 46, 84, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.gallery-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Call to Action Banner */
.gallery-cta-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--accent-glow-subtle) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-cta-banner {
    padding: 32px 20px;
  }
}


