/* ══════════════════════════════════════════════════════════════════════════════
   GLASSÉ · HAUTE COUTURE HOMEPAGE STYLESHEET
   Inspired by luxury ateliers: Dior, Gucci, Cartier, Gentle Monster
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Global Homepage Shell ── */
.home-page {
  background-color: var(--onyx);
  color: var(--white);
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* ── Haute Couture Preloader (Left Drawer Animation) ── */
.glasse-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  z-index: 9999999;
  pointer-events: auto;
  overflow: hidden;
  will-change: transform;
}

html.preloader-active,
body.preloader-active {
  overflow: hidden !important;
  touch-action: none;
}

.preloader-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translateX(0);
}

/* 2 Staggered Left Drawer Panels: Front Black -> White Accent */
.preloader-layer-2 {
  background: #ffffff;
  z-index: 1;
}

.preloader-layer-1 {
  background: #090909;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center Branding Typography */
.preloader-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  text-align: center;
  padding: 0 24px;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-logo-wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-text {
  font-size: clamp(3.5rem, 11vw, 6.5rem);
  color: #ffffff;
  line-height: 1;
  display: inline-block;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  letter-spacing: 0 !important;
  font-family: var(--font-display, 'CaskoLuxury', serif);
  user-select: none;
  opacity: 1;
  /* Smooth cinematic blink transition */
  transition: opacity 0.075s ease-in-out;
}

.preloader-progress-track {
  width: 120px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.14);
  margin-top: 24px;
  overflow: hidden;
  border-radius: 1px;
}

.preloader-progress-bar {
  width: 12%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), #ffffff);
  transition: width 0.16s ease-out;
}

/* ── Closing State: Cascading Left Drawer Slide (1.2s Total) ── */
.glasse-preloader.closing .preloader-center {
  opacity: 0;
  transform: translateX(-40px);
}

.glasse-preloader.closing .preloader-layer-1 {
  transform: translateX(-100%);
  transition: transform 1.05s cubic-bezier(0.85, 0, 0.15, 1) 0s;
}

.glasse-preloader.closing .preloader-layer-2 {
  transform: translateX(-100%);
  transition: transform 1.05s cubic-bezier(0.85, 0, 0.15, 1) 0.15s;
}

.glasse-preloader.hidden {
  display: none !important;
  pointer-events: none !important;
}

/* ── Floating Luxury Header ── */
.home-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
  will-change: opacity, transform;
}

.home-navbar.nav-hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.home-navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  height: 64px;
}

.home-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.home-nav-logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0;
  color: #ffffff;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.home-navbar.scrolled .home-nav-logo-text {
  color: var(--onyx);
}

.home-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.home-nav-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-nav-link:hover {
  color: #ffffff;
}

.home-nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.home-navbar.scrolled .home-nav-link {
  color: rgba(15, 15, 15, 0.65);
}

.home-navbar.scrolled .home-nav-link:hover {
  color: var(--onyx);
}

.home-navbar.scrolled .home-nav-link::after {
  background: var(--onyx);
}

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

.home-nav-cart-btn,
.home-nav-menu-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  position: relative;
  transition: color var(--transition);
}

.home-nav-cart-btn:hover,
.home-nav-menu-btn:hover {
  color: #ffffff;
  transform: none;
}

.home-navbar.scrolled .home-nav-cart-btn,
.home-navbar.scrolled .home-nav-menu-btn {
  color: var(--gray-500);
}

.home-navbar.scrolled .home-nav-cart-btn:hover,
.home-navbar.scrolled .home-nav-menu-btn:hover {
  color: var(--onyx);
  transform: none;
}

.home-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #ffffff;
  color: var(--onyx);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-navbar.scrolled .home-cart-badge {
  background: var(--onyx);
  color: #ffffff;
}

/* ── Hero Section ── */
.home-hero-section {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 10;
  touch-action: pan-y;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.home-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.35) 0%,
    rgba(15, 15, 15, 0.5) 50%,
    rgba(15, 15, 15, 0.9) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 24px;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 13vw, 10.5rem);
  font-weight: 400;
  margin: 0;
  line-height: 0.95;
  color: #ffffff;
  letter-spacing: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.4vw, 1.05rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.9);
  user-select: none;
  animation: heroFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 52px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--onyx);
  background-color: #ffffff;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: heroFadeUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-hero-cta:hover {
  transform: translateY(-4px);
  background-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

/* ── Perfectly Centered Scroll Indicator ── */
.home-hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease, opacity 0.3s ease;
  animation: heroFadeUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-hero-scroll-indicator:hover {
  color: #ffffff;
}

.scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
}

.scroll-line-container {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ffffff, transparent);
  animation: scrollDown 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0%); }
  100% { transform: translateY(100%); }
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Section Containers ── */
.home-section {
  position: relative;
  width: 100%;
  padding: 110px 0;
  scroll-margin-top: 64px;
}

.home-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Editorial Section Header ── */
.editorial-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.editorial-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.editorial-title:last-child {
  margin-bottom: 0;
}

.editorial-sub {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ── Section 1: Featured Products ── */
.featured-section {
  background-color: #ffffff;
  color: var(--onyx);
}

.featured-section .editorial-tag {
  color: #888888;
}

.featured-section .editorial-title {
  color: var(--onyx);
}

.featured-section .editorial-sub {
  color: #666666;
}

/* ── Haute Couture Editorial Showcase (Full-Width Dior Aesthetic) ── */
.featured-editorial-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-bottom: 70px;
}

.featured-editorial-item {
  position: relative;
  width: 100%;
  display: block;
  color: #ffffff;
  background-color: #f7f6f4;
  overflow: hidden;
  cursor: default;
}

.featured-editorial-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 720px;
  overflow: hidden;
  display: block;
  cursor: default;
}

.featured-editorial-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  cursor: default;
  user-select: none;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.featured-editorial-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 48px 30px;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.62) 0%,
    rgba(17, 17, 17, 0.25) 40%,
    rgba(17, 17, 17, 0.03) 65%,
    transparent 100%
  );
  pointer-events: none;
}

.featured-editorial-name {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  user-select: none;
  cursor: default;
}

.featured-editorial-btn {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: capitalize;
  color: #ffffff;
  text-decoration: none;
  padding-bottom: 4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  pointer-events: auto;
}

/* Underline fills left-to-right slowly on hover, and slims down left-to-right when moving away */
.featured-editorial-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.featured-editorial-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

/* Featured Product Card */
.featured-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--onyx);
  position: relative;
  background: #ffffff;
  border: 1px solid #f0f0f0;
}

.featured-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background-color: #f7f7f7;
  overflow: hidden;
}

.featured-card-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.featured-card-img-wrap .img-primary {
  opacity: 1;
  z-index: 1;
}

.featured-card-img-wrap .img-secondary {
  opacity: 0;
  z-index: 2;
}

.featured-card:hover .img-primary {
  opacity: 0;
}

.featured-card:hover .img-secondary {
  opacity: 1;
}

.featured-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--onyx);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  z-index: 3;
}

.featured-card-soldout {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #666;
  z-index: 3;
}

.featured-card-content {
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-card-gender {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 6px;
}

.featured-card-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--onyx);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-card-desc {
  font-size: 12px;
  color: #777777;
  line-height: 1.5;
  margin-bottom: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

.featured-card-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--onyx);
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-card-price .orig-price {
  font-size: 12px;
  color: #999999;
  text-decoration: line-through;
  font-weight: 400;
}

.featured-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--onyx);
}

.featured-card-stars {
  letter-spacing: 1px;
}

.featured-bottom-cta-wrap {
  text-align: center;
}

.featured-explore-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--onyx);
  background: transparent;
  border: 1px solid var(--onyx);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-explore-all-btn svg {
  transition: transform 0.3s ease;
}

.featured-explore-all-btn:hover {
  background: var(--onyx);
  color: #ffffff;
}

.featured-explore-all-btn:hover svg {
  transform: translateX(4px);
}

/* ── Section 2: AI Face Scan Feature Card (White Background, Black Animation Card) ── */
.ai-scan-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
}

.ai-scan-section::before {
  display: none;
}

.ai-scan-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  color: var(--onyx);
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

/* Left: Interactive Biometric Visual (White background, black frame inside) */
.ai-scan-visual {
  position: relative;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  overflow: hidden;
  border-right: 1px solid var(--gray-200);
}

.biometric-hud-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #181818 0%, #080808 85%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28), 0 4px 14px rgba(0, 0, 0, 0.14);
}

.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(255, 255, 255, 0.7);
  z-index: 6;
  pointer-events: none;
}

.hud-corner.tl { top: 12px; left: 12px; border-top: 2px solid; border-left: 2px solid; }
.hud-corner.tr { top: 12px; right: 12px; border-top: 2px solid; border-right: 2px solid; }
.hud-corner.bl { bottom: 12px; left: 12px; border-bottom: 2px solid; border-left: 2px solid; }
.hud-corner.br { bottom: 12px; right: 12px; border-bottom: 2px solid; border-right: 2px solid; }

/* Biometric Particle Canvas & Scan Badge */
.biometric-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  cursor: crosshair;
  touch-action: pan-y;
}

.hud-scan-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  font-family: monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 6;
  pointer-events: none;
  white-space: nowrap;
}

.hud-scan-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  animation: nodePulse 1.8s infinite ease-in-out;
}

/* Right: AI Scan Content (White background, Onyx text) */
.ai-scan-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  color: var(--onyx);
}

.ai-scan-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.ai-scan-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--onyx);
  box-shadow: 0 0 6px rgba(15, 15, 15, 0.3);
}

.ai-scan-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--onyx);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.ai-scan-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.ai-scan-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.ai-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ai-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--onyx);
  flex-shrink: 0;
  margin-top: 2px;
}

.ai-feature-text {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.55;
}

.ai-feature-text strong {
  color: var(--onyx);
  font-weight: 600;
}

.luxury-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--onyx);
  background: transparent;
  border: 1px solid var(--onyx);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

/* AI Scan CTA Button (Styled like Explore All Frames) */
.ai-scan-cta-btn,
.ai-scan-content .luxury-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--onyx);
  background: transparent;
  border: 1px solid var(--onyx);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.ai-scan-cta-btn:hover,
.ai-scan-content .luxury-cta-btn:hover {
  background: var(--onyx);
  color: #ffffff;
  border-color: var(--onyx);
  box-shadow: none;
  transform: none;
}

.ai-scan-cta-btn svg,
.ai-scan-content .luxury-cta-btn svg {
  transition: transform 0.3s ease;
}

.ai-scan-cta-btn:hover svg,
.ai-scan-content .luxury-cta-btn:hover svg {
  transform: translateX(4px);
}

.luxury-cta-light {
  background: #ffffff;
  color: var(--onyx);
  border: 1px solid #ffffff;
}

.luxury-cta-light:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.luxury-cta-light svg,
.luxury-cta-dark svg {
  transition: transform 0.3s ease;
}

.luxury-cta-light:hover svg,
.luxury-cta-dark:hover svg {
  transform: translateX(4px);
}

/* ── Section 3: Bespoke Doctor Consultation Feature Card (White Theme) ── */
.consultation-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.consult-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
}

/* Left: Consultation Editorial Content */
.consult-card-main {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
}

.consult-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--onyx);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.consult-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.consult-privilege-banner {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 16px 20px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: var(--radius);
}

.privilege-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.privilege-divider {
  height: 1px;
  background: var(--gray-200);
  width: 100%;
}

.privilege-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--onyx);
  padding: 4px 10px;
  flex-shrink: 0;
  border-radius: var(--radius);
}

.privilege-text {
  font-size: 13px;
  color: var(--onyx);
  line-height: 1.45;
  font-weight: 500;
}

/* Consultation CTA Button (Styled like Explore All Frames) */
.consult-cta-btn,
.consult-card-main .luxury-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 44px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--onyx);
  background: transparent;
  border: 1px solid var(--onyx);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.consult-cta-btn:hover,
.consult-card-main .luxury-cta-btn:hover {
  background: var(--onyx);
  color: #ffffff;
  border-color: var(--onyx);
  box-shadow: none;
  transform: none;
}

.consult-cta-btn svg,
.consult-card-main .luxury-cta-btn svg {
  transition: transform 0.3s ease;
}

.consult-cta-btn:hover svg,
.consult-card-main .luxury-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Right: Consultation Steps */
.consult-card-steps {
  padding: 64px 44px;
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.consult-steps-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 12px;
}

.consult-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.consult-step-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-400);
  line-height: 1;
  width: 32px;
  flex-shrink: 0;
}

.consult-step-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--onyx);
  letter-spacing: 0.01em;
  margin-bottom: 5px;
}

.consult-step-info p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}



/* ── Scroll Reveal System ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive Adaptations ── */
@media (max-width: 1100px) {
  .featured-editorial-list {
    gap: 56px;
    margin-bottom: 56px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .ai-scan-card,
  .consult-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .ai-scan-visual {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 32px 20px;
  }
  .consult-card-main {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 40px 32px;
  }
  .consult-card-steps {
    padding: 40px 32px;
  }
  .ai-scan-content {
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  /* ── Hero Section Mobile Viewport Optimization ── */
  .home-hero-section {
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: unset;
    min-height: 0;
    box-sizing: border-box;
    padding-top: 60px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 16px));
    touch-action: pan-y;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .home-hero-content {
    padding: 0 20px;
    margin-top: -18px;
    max-width: 100%;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .home-hero-title {
    font-size: clamp(3.2rem, 14vw, 4.8rem);
    line-height: 0.96;
  }

  .home-hero-subtitle {
    font-size: clamp(0.68rem, 2.6vw, 0.82rem);
    letter-spacing: 0.24em;
    margin-top: 10px;
    margin-bottom: 22px;
  }

  .home-hero-cta {
    padding: 13px 32px;
    font-size: 11.5px;
    letter-spacing: 0.12em;
    gap: 8px;
  }

  .home-hero-scroll-indicator {
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
    gap: 6px;
    padding: 4px 12px;
  }

  .scroll-text {
    font-size: 9px;
    letter-spacing: 0.22em;
  }

  .scroll-line-container {
    height: 24px;
  }

  .home-navbar,
  .home-navbar.scrolled {
    padding: 0 20px;
    height: 60px;
  }
  .home-nav-links {
    display: none;
  }
  .home-container {
    padding: 0 20px;
  }
  .home-section {
    padding: 70px 0;
  }
  .featured-editorial-list {
    gap: 44px;
    margin-bottom: 48px;
  }
  .featured-editorial-banner {
    aspect-ratio: 16 / 10;
    min-height: 380px;
  }
  .featured-editorial-banner img {
    object-position: center 20%;
  }
  .featured-editorial-overlay {
    padding: 36px 20px;
  }
  .featured-editorial-name {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .featured-editorial-btn {
    font-size: 12px;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .featured-card-content {
    padding: 14px 12px 18px;
  }
  .featured-card-name {
    font-size: 13px;
  }
  .featured-card-price {
    font-size: 12px;
  }
  .ai-scan-card {
    min-height: unset;
  }
  .ai-scan-visual {
    padding: 24px 16px;
  }
  .biometric-hud-frame {
    max-width: 290px;
    border-radius: 6px;
    touch-action: pan-y;
  }
  .hud-corner {
    width: 11px;
    height: 11px;
  }
  .hud-corner.tl { top: 9px; left: 9px; }
  .hud-corner.tr { top: 9px; right: 9px; }
  .hud-corner.bl { bottom: 9px; left: 9px; }
  .hud-corner.br { bottom: 9px; right: 9px; }
  .hud-scan-badge {
    bottom: 10px;
    padding: 3px 10px;
    font-size: 8.5px;
  }
  .biometric-particle-canvas {
    pointer-events: none;
    touch-action: pan-y;
  }
  .ai-scan-content {
    padding: 28px 20px 32px;
  }
  .ai-scan-title {
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    margin-bottom: 14px;
  }
  .ai-scan-desc {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .ai-scan-features {
    gap: 11px;
    margin-bottom: 26px;
  }
  .ai-feature-icon {
    width: 17px;
    height: 17px;
  }
  .ai-feature-text {
    font-size: 12.5px;
    color: var(--gray-500);
  }
}

@media (max-width: 480px) {
  .home-hero-content {
    margin-top: -14px;
  }

  .home-hero-title {
    font-size: clamp(2.8rem, 14.5vw, 4.2rem);
  }

  .home-hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    margin-top: 8px;
    margin-bottom: 20px;
  }

  .home-hero-cta {
    padding: 12px 28px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .home-hero-scroll-indicator {
    bottom: max(10px, env(safe-area-inset-bottom, 10px));
  }

  .scroll-line-container {
    height: 20px;
  }

  .featured-editorial-list {
    gap: 36px;
    margin-bottom: 40px;
  }
  .featured-editorial-banner {
    aspect-ratio: 4 / 3;
    min-height: 340px;
  }
  .featured-editorial-banner img {
    object-position: center 15%;
  }
  .featured-editorial-overlay {
    padding: 28px 16px;
  }
  .featured-editorial-name {
    font-size: 11px;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
  }
  .featured-editorial-btn {
    font-size: 11.5px;
    padding-bottom: 3px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
  }
  .featured-card-content {
    padding: 10px 8px 14px;
  }
  .featured-card-name {
    font-size: 12px;
  }
  .featured-card-desc {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .featured-card-price {
    font-size: 12px;
  }
  .featured-card-badge {
    font-size: 8px;
    padding: 3px 6px;
    top: 8px;
    left: 8px;
  }
  .ai-scan-visual {
    padding: 20px 12px;
  }
  .biometric-hud-frame {
    max-width: 265px;
  }
  .ai-scan-content {
    padding: 22px 16px 26px;
  }
}

@media (max-height: 650px) and (max-width: 768px) {
  .home-hero-section {
    min-height: 0;
    padding-top: 50px;
    padding-bottom: 8px;
  }
  .home-hero-content {
    margin-top: -8px;
  }
  .home-hero-title {
    font-size: 2.5rem;
  }
  .home-hero-subtitle {
    margin-top: 6px;
    margin-bottom: 14px;
    font-size: 0.65rem;
  }
  .home-hero-cta {
    padding: 9px 22px;
    font-size: 10.5px;
  }
  .home-hero-scroll-indicator {
    bottom: 6px;
    gap: 4px;
  }
  .scroll-line-container {
    height: 16px;
  }
}