/* ==========================================================================
   WELLUNEX - BESPOKE HIGH-END LUXURY LANDING PAGE STYLES
   Engineered for world-class aesthetics, zero AI-cliché feel, and ultra-fluid UX.
   ========================================================================== */

/* 1. Ambient Lighting & Background Canvas */
.hero-ambient-canvas {
  position: relative;
  min-height: 90vh;
  padding: 100px 0 120px 0;
  background: 
    radial-gradient(800px circle at 50% 10%, rgba(212, 175, 55, 0.15), transparent 70%),
    radial-gradient(600px circle at 80% 40%, rgba(74, 14, 23, 0.25), transparent 65%),
    radial-gradient(700px circle at 20% 60%, rgba(45, 74, 62, 0.2), transparent 70%),
    #0B0C10;
  overflow: hidden;
}

.hero-ambient-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 85%);
  pointer-events: none;
}

/* 2. Bespoke Editorial Typography */
.hero-editorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(21, 23, 30, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D4AF37;
  box-shadow: 0 0 10px #D4AF37;
  animation: pulseGold 2s infinite ease-in-out;
}

.hero-tag-text {
  font-family: var(--font-royal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-champagne);
}

.hero-title-main {
  font-family: var(--font-royal);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero-title-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #FFFFFF 20%, #E5C06E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: #9CA3AF;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 38px;
  font-weight: 300;
}

/* 3. CTA Action Buttons & Shimmer */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-luxury-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  font-family: var(--font-royal);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0B0C10;
  background: linear-gradient(135deg, #ECC876 0%, #D4AF37 50%, #B8860B 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px -5px rgba(212, 175, 55, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-luxury-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.8s ease;
}

.btn-luxury-primary:hover::after {
  transform: rotate(25deg) translateY(100%);
}

.btn-luxury-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -5px rgba(212, 175, 55, 0.7);
}

.btn-luxury-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 14px;
  font-family: var(--font-royal);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F8F9FA;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-luxury-secondary:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: #D4AF37;
  color: #FFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* 4. Social Proof / Metrics Pill */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-avatar-stack {
  display: flex;
  align-items: center;
}

.hero-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #0B0C10;
  background: #1E2430;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-royal);
  font-size: 0.75rem;
  font-weight: 700;
  color: #D4AF37;
  margin-left: -8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-avatar-circle:first-child { margin-left: 0; }

.hero-proof-text {
  font-size: 0.85rem;
  color: #8E95A5;
  line-height: 1.4;
}

.hero-proof-text strong {
  color: #F8F9FA;
  font-weight: 600;
}

/* 5. Realistic 3D Phone Showcase with Floating Cards */
.hero-device-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-frame {
  width: 336px;
  height: 672px;
  background: #11141C;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 30px 70px -15px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(212, 175, 55, 0.25);
  position: relative;
  transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-phone-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
}

.hero-phone-inner {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-phone-iframe {
  width: 375px;
  height: 780px;
  border: none;
  background: #FAF7F2;
  transform: scale(0.83);
  transform-origin: top left;
  display: block;
}

/* Floating Glass Micro-Cards Around Phone */
.floating-glass-card {
  position: absolute;
  background: rgba(21, 23, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
  z-index: 10;
  animation: floatCard 6s ease-in-out infinite;
}

.floating-glass-card.top-left {
  top: -10px;
  left: -32px;
  animation-delay: 0s;
}

.floating-glass-card.bottom-right {
  bottom: 20px;
  right: -32px;
  animation-delay: 3s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseGold {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* 6. Bento Grid System (Apple / Linear Luxury Aesthetics) */
.hero-grid-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 10;
}

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

.bento-card {
  background: #13161F;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.12);
}

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

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

/* 7. Interactive Lookbook Tabs & Filter */
.lookbook-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.lookbook-tab-btn {
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(21, 23, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8E95A5;
  font-family: var(--font-royal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lookbook-tab-btn:hover,
.lookbook-tab-btn.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: #D4AF37;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

/* 8. Live Interactive Guest URL Simulator Bar */
.live-simulator-bar {
  background: linear-gradient(135deg, rgba(21, 23, 30, 0.95) 0%, rgba(14, 16, 22, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 28px 36px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(212, 175, 55, 0.15);
  margin-top: -50px;
  position: relative;
  z-index: 20;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Media Queries
   ========================================================================== */

@media (max-width: 992px) {
  .hero-ambient-canvas {
    min-height: auto;
    padding: 60px 0 80px 0;
  }
  
  .hero-grid-container {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    text-align: center !important;
  }

  .hero-title-main {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 18px;
  }

  .hero-description-lead {
    font-size: 0.95rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
  }

  .hero-social-proof {
    justify-content: center;
    padding-top: 18px;
  }

  .hero-device-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
  }

  .hero-phone-frame {
    transform: none !important;
    max-width: 320px;
    height: 600px;
    margin: 0 auto;
  }

  .hero-phone-iframe {
    width: 375px;
    height: 740px;
    transform: scale(0.79);
  }

  .floating-glass-card {
    display: none !important;
  }

  .live-simulator-bar {
    margin-top: 0;
    padding: 22px 18px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-col-8, .bento-col-4, .bento-col-6, .bento-col-12 {
    grid-column: span 1 !important;
  }

  .bento-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .hero-ambient-canvas {
    padding: 40px 0 60px 0;
  }

  .hero-title-main {
    font-size: 1.85rem;
    line-height: 1.15;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-luxury-primary,
  .btn-luxury-secondary {
    width: 100%;
    padding: 14px 20px;
    box-sizing: border-box;
    justify-content: center;
    font-size: 0.85rem;
  }

  .hero-phone-frame {
    max-width: 290px;
    height: 540px;
    padding: 8px;
    border-radius: 34px;
  }

  .hero-phone-inner {
    border-radius: 26px;
  }

  .hero-phone-iframe {
    width: 375px;
    height: 700px;
    transform: scale(0.72);
  }

  .live-simulator-bar {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .live-simulator-bar input {
    min-width: 100% !important;
  }

  .live-simulator-bar button {
    width: 100%;
  }
}
