/*
Theme Name: WeloDoll - Midnight Luxe
Theme URI: https://welodoll.com
Description: Dark luxury premium companion brand theme. Designed in Ardot, converted to WordPress.
Version: 1.0
Author: WeloDoll
Text Domain: welodoll
*/

/* ============================================
   CSS Variables — Midnight Luxe Palette
   ============================================ */
:root {
  --bg: #000000;
  --bg-section: #0A0A0D;
  --bg-card: #0C0C0D;
  --red: #E11D48;
  --red-dark: #B20D33;
  --red-glow: rgba(225, 29, 72, 0.3);
  --indigo: #312E81;
  --indigo-dark: #1E1B4B;
  --indigo-light: #8289F8;
  --white: #F8FAFC;
  --gray: #94A3B8;
  --gray-dark: #64748B;
  --gray-darker: #475569;
  --img-bg: #111118;
  --canvas-width: 1440px;
  --canvas-height: 4042px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* ============================================
   Canvas Scaling (1440px design → viewport)
   ============================================ */
.page-wrapper {
  width: var(--canvas-width);
  height: auto;
  transform-origin: top center;
  margin: 0 auto;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  width: 1440px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
}
.site-logo img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
}

/* Navigation */
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  font-weight: 600;
}

/* Header CTA Button */
.header-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(90deg, #E22C57 0%, #B20D33 100%);
  box-shadow:
    0 0 14px rgba(225, 29, 72, 0.8),
    0 6px 30px rgba(225, 29, 72, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 2px rgba(0, 0, 0, 0.2);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FFF;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 20px rgba(225, 29, 72, 0.9),
    0 10px 40px rgba(225, 29, 72, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  width: 1440px;
  height: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000000;
  position: relative;
  overflow: hidden;
  gap: 32px;
  margin-top: 80px;
}

/* Hero Glow Orb */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(225, 29, 72, 0.2);
  box-shadow:
    0 0 120px rgba(225, 29, 72, 0.3),
    0 0 200px rgba(49, 46, 129, 0.2);
  pointer-events: none;
  animation: heroPulse 3s ease-in-out infinite;
}

@keyframes heroPulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.05); opacity: 0.8; }
}

/* Hero Badge */
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(30, 27, 75, 0.5);
  border: 1px solid rgba(225, 29, 72, 0.3);
  backdrop-filter: blur(8px);
  z-index: 1;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(225, 29, 72, 0.8);
}
.badge-text {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* Hero Headline */
.hero-headline {
  font-family: 'Bodoni Moda', serif;
  font-size: 120px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 120px;
  z-index: 1;
  white-space: pre-line;
  text-shadow:
    0 0 80px rgba(225, 29, 72, 0.08),
    0 0 40px rgba(225, 29, 72, 0.15),
    0 0 16px rgba(225, 29, 72, 0.25);
}

/* Hero Subline */
.hero-subline {
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--gray);
  text-align: center;
  z-index: 1;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 16px;
  z-index: 1;
}
.cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  border-radius: 8px;
  background: linear-gradient(90deg, #E22C57 0%, #B20D33 100%);
  box-shadow:
    0 0 40px rgba(225, 29, 72, 0.5),
    0 8px 20px rgba(225, 29, 72, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFF;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 60px rgba(225, 29, 72, 0.7),
    0 12px 30px rgba(225, 29, 72, 0.4);
}
.cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  border-radius: 8px;
  background: #0C0C0D;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: inset 0 0 20px rgba(225, 29, 72, 0.1);
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cta-secondary:hover {
  border-color: rgba(225, 29, 72, 0.5);
  color: var(--white);
  box-shadow: inset 0 0 30px rgba(225, 29, 72, 0.2);
}

/* ============================================
   Section Common
   ============================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.label-line {
  width: 40px;
  height: 1px;
  background: var(--red);
}
.label-text {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.05em;
}

/* ============================================
   Product Showcase
   ============================================ */
.product-showcase {
  width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  background: #0A0A0D;
  padding: 100px 120px;
}
.section-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}
.product-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
}

/* Product Card */
.product-card {
  width: 360px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #0C0C0D;
  border: 1px solid rgba(225, 29, 72, 0.25);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    0 4px 16px rgba(225, 29, 72, 0.3),
    0 20px 40px rgba(225, 29, 72, 0.15),
    inset 0 0 30px rgba(225, 29, 72, 0.08);
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(225, 29, 72, 0.6);
  box-shadow:
    0 8px 24px rgba(225, 29, 72, 0.5),
    0 30px 60px rgba(225, 29, 72, 0.25),
    inset 0 0 40px rgba(225, 29, 72, 0.12);
}

.product-image {
  width: 360px;
  height: 400px;
  background: var(--img-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-label {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--indigo);
}

.card-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-name {
  font-family: 'Bodoni Moda', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.product-desc {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.price {
  font-family: 'Bodoni Moda', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
}
.view-btn {
  padding: 10px 20px;
  border-radius: 6px;
  background: var(--indigo-dark);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s ease;
}
.view-btn:hover {
  background: var(--indigo);
}

/* ============================================
   Brand Story
   ============================================ */
.brand-story {
  width: 1440px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  background: #000000;
  padding: 0 180px;
}
.story-content {
  width: 480px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.story-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--white);
  line-height: 64px;
  white-space: pre-line;
}
.story-body {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
  line-height: 28px;
}
.story-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 8px;
  background: #0C0C0D;
  border: 1px solid rgba(225, 29, 72, 0.4);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--red);
  text-decoration: none;
  width: fit-content;
  transition: all 0.3s ease;
}
.story-cta:hover {
  background: rgba(225, 29, 72, 0.1);
  border-color: var(--red);
}

.story-image {
  width: 520px;
  height: 420px;
  border-radius: 24px;
  background: var(--img-bg);
  border: 1px solid rgba(225, 29, 72, 0.15);
  box-shadow: inset 0 0 60px rgba(225, 29, 72, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-image .placeholder-text {
  font-family: 'Jost', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--indigo);
  text-align: center;
  line-height: 1.5;
  white-space: pre-line;
}

/* ============================================
   Customer Reviews
   ============================================ */
.customer-reviews {
  width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  background: #0A0A0D;
  padding: 100px 120px;
}
.review-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}
.review-grid {
  display: flex;
  gap: 32px;
}
.review-card {
  width: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 16px;
  background: #0C0C0D;
  border: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow:
    0 12px 30px rgba(49, 46, 129, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(49, 46, 129, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.05);
}
.stars {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: var(--red);
  letter-spacing: 4px;
}
.author-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--indigo-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.name-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviewer-name {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.reviewer-role {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}
.review-quote {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #E2E8F0;
  line-height: 26px;
}

/* ============================================
   AI Product Selector
   ============================================ */
.ai-selector {
  width: 1440px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #000000;
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
}
.ai-bg-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  border-radius: 50%;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 27, 75, 0.2);
  box-shadow:
    0 0 150px rgba(49, 46, 129, 0.4),
    0 0 100px rgba(225, 29, 72, 0.15);
  pointer-events: none;
}
.ai-label-line {
  box-shadow: 0 0 6px rgba(49, 46, 129, 0.6);
}
.ai-label-text {
  color: var(--indigo-light);
}
.ai-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  z-index: 1;
}
.ai-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--gray);
  text-align: center;
  max-width: 520px;
  z-index: 1;
}

/* AI Interaction Card — Chat */
.ai-chat-card {
  width: 800px;
  height: auto;
  min-height: 400px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 24px;
  background: rgba(12, 12, 13, 0.85);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(49, 46, 129, 0.3);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.04);
  z-index: 1;
}

/* Chat Messages Area */
.chat-messages {
  flex: 1;
  min-height: 280px;
  max-height: 380px;
  overflow-y: auto;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(49, 46, 129, 0.3) transparent;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(49, 46, 129, 0.4); border-radius: 4px; }

/* Individual Chat Message */
.chat-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.chat-msg-user {
  flex-direction: row-reverse;
}

/* Avatars */
.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.bot-avatar {
  background: linear-gradient(135deg, #312E81, #1E1B4B);
  color: #8289F8;
  font-weight: 700;
}
.user-avatar {
  background: rgba(225, 29, 72, 0.2);
  color: var(--red);
  font-weight: 700;
}

/* Chat Bubbles */
.chat-bubble {
  max-width: 75%;
  padding: 14px 20px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #E2E8F0;
}
.bot-bubble {
  background: rgba(12, 12, 13, 0.9);
  border: 1px solid rgba(49, 46, 129, 0.2);
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.user-bubble {
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.6), rgba(30, 27, 75, 0.8));
  border: 1px solid rgba(49, 46, 129, 0.3);
  border-radius: 18px 18px 4px 18px;
  color: #C7D2FE;
}

/* Quick Suggestion Buttons */
.chat-quick-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 48px;
}
.chat-quick-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(30, 27, 75, 0.25);
  border: 1px solid rgba(49, 46, 129, 0.2);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #A5B0F8;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.chat-quick-btn:hover {
  background: rgba(30, 27, 75, 0.5);
  border-color: rgba(130, 137, 248, 0.4);
  transform: translateY(-2px);
}

/* Chat Input Row */
.chat-input-row {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(49, 46, 129, 0.15);
  padding-top: 16px;
}
.chat-input {
  flex: 1;
  height: 56px;
  padding: 0 20px;
  border-radius: 12px;
  background: #18181B;
  border: 1px solid rgba(130, 137, 248, 0.3);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    inset 0 0 8px rgba(49, 46, 129, 0.25),
    0 0 20px rgba(49, 46, 129, 0.1);
}
.chat-input::placeholder { color: var(--gray-dark); }
.chat-input:focus {
  border-color: rgba(130, 137, 248, 0.8);
  box-shadow:
    inset 0 0 12px rgba(49, 46, 129, 0.4),
    0 0 30px rgba(49, 46, 129, 0.25);
}

/* AI Results Section */
.ai-results {
  width: 900px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  z-index: 1;
}
.ai-products-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   FAB (Floating Action Button)
   ============================================ */
.fab-container {
  position: fixed;
  right: 30px;
  bottom: 40px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fab-pulse {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid rgba(225, 29, 72, 0.2);
  box-shadow: 0 0 30px rgba(225, 29, 72, 0.15);
  animation: fabPulse 2s ease-in-out infinite;
}
@keyframes fabPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}
.fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E22C57 0%, #B20D33 100%);
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 24px rgba(225, 29, 72, 0.6),
    0 8px 24px rgba(225, 29, 72, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fab-btn:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 32px rgba(225, 29, 72, 0.8),
    0 12px 32px rgba(225, 29, 72, 0.5);
}
.fab-icon {
  font-size: 24px;
  color: #FFF;
  font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  width: 1440px;
  background: #0A0A0D;
  border-top: 1px solid rgba(49, 46, 129, 0.15);
  padding: 80px 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.footer-top {
  display: flex;
  gap: 120px;
}
.footer-brand {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo-text {
  font-family: 'Bodoni Moda', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.footer-tagline {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-dark);
  line-height: 22px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col-title {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.footer-col a {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(49, 46, 129, 0.25);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copyright {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-darker);
}
.social-icons {
  display: flex;
  gap: 20px;
}
.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(30, 27, 75, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: rgba(30, 27, 75, 0.5);
  color: var(--white);
}

/* ============================================
   Responsive Scaling
   ============================================ */
.js-scale-wrapper {
  position: relative;
  min-height: 100vh;
}


/* ============================================
   AI Modal Trigger Button
   ============================================ */
.ai-modal-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #312E81 0%, #1E1B4B 100%);
    border: 1px solid rgba(130, 137, 248, 0.4);
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #C7D2FE;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow:
        0 0 20px rgba(49, 46, 129, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}
.ai-modal-trigger:hover {
    background: linear-gradient(135deg, #3E3B8F 0%, #2D2961 100%);
    border-color: rgba(130, 137, 248, 0.7);
    transform: translateY(-2px);
    box-shadow:
        0 0 32px rgba(49, 46, 129, 0.6),
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.trigger-icon {
    font-size: 18px;
    color: #8289F8;
}

/* ============================================
   AI Chat Modal Overlay & Window
   ============================================ */
.welodoll-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.welodoll-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.welodoll-modal {
    width: 720px;
    max-width: 90vw;
    max-height: 85vh;
    background: rgba(10, 10, 13, 0.97);
    border-radius: 24px;
    border: 1px solid rgba(49, 46, 129, 0.4);
    box-shadow:
        0 0 60px rgba(49, 46, 129, 0.25),
        0 24px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.welodoll-modal-overlay.active .welodoll-modal {
    transform: translateY(0) scale(1);
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(49, 46, 129, 0.2);
}
.modal-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.modal-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #312E81, #1E1B4B);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #8289F8;
    flex-shrink: 0;
    border: 1px solid rgba(130, 137, 248, 0.2);
}
.modal-brand-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 20px;
    font-weight: 700;
    color: #F8FAFC;
    line-height: 1.2;
}
.modal-brand-sub {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #64748B;
}
.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 27, 75, 0.25);
    border: 1px solid rgba(49, 46, 129, 0.2);
    color: #94A3B8;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Jost', sans-serif;
    line-height: 1;
}
.modal-close:hover {
    background: rgba(225, 29, 72, 0.2);
    border-color: rgba(225, 29, 72, 0.4);
    color: #F8FAFC;
}

/* Chat in modal */
.welodoll-modal .chat-messages {
    min-height: 320px;
    max-height: 420px;
    padding: 20px 28px;
}

/* Modal Product Cards */
.modal-product-card {
    background: rgba(30, 27, 75, 0.15);
    border: 1px solid rgba(49, 46, 129, 0.2);
    border-radius: 14px;
    padding: 16px 20px;
    margin: 6px 0;
    max-width: 85%;
}
.modal-product-card .mpc-name {
    font-family: 'Jost', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #C7D2FE;
    margin-bottom: 4px;
}
.modal-product-card .mpc-desc {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: #94A3B8;
    margin-bottom: 10px;
}
.modal-product-card .mpc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-product-card .mpc-price {
    font-family: 'Bodoni Moda', serif;
    font-size: 16px;
    font-weight: 700;
    color: #E2E8F0;
}
.modal-product-card .mpc-link {
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #8289F8;
    text-decoration: none;
    transition: color 0.3s ease;
}
.modal-product-card .mpc-link:hover {
    color: #A5B0F8;
}

@media (max-width: 768px) {
    .welodoll-modal {
        width: 95vw;
        max-height: 92vh;
        border-radius: 20px;
    }
    .welodoll-modal .chat-messages {
        max-height: 340px;
    }
    .modal-header {
        padding: 16px 20px;
    }
}
