/* =========================================================================
   styles.css — Syrera Luxury Beauty-Tech Platform
   =========================================================================
   Premium glassmorphism × Apple polish × Dior elegance.
   Soft blush, rose gold, and ivory palette. Cormorant Garamond headlines.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap');

:root {
  /* === LUXURY PALETTE === */
  --bg-base:       #FFF5F8;
  --bg-soft:       #FDFAF7;
  --rose-bright:   #C4687A;
  --rose-mid:      #D4809A;
  --rose-deep:     #8B3A4E;
  --rose-light:    #F5C2CC;
  --blush:         #FDE8EE;
  --gold:          #C4995A;
  --gold-light:    #EDD9B0;
  --ivory:         #FDFAF7;
  --wine:          #3D1520;

  /* === TEXT === */
  --text-main:   #3D1520;
  --text-soft:   #8A5560;
  --text-muted:  #B89BA0;

  /* === GLASS RECIPE === */
  --glass-bg:          rgba(255, 255, 255, 0.55);
  --glass-bg-rich:     rgba(255, 255, 255, 0.78);
  --glass-border:      1px solid rgba(255, 255, 255, 0.72);
  --glass-shadow:      0 8px 32px -8px rgba(139, 58, 78, 0.18),
                       0 2px 8px -2px rgba(139, 58, 78, 0.10),
                       inset 0 1px 0 rgba(255, 255, 255, 0.82);
  --glass-shadow-hover: 0 24px 64px -12px rgba(139, 58, 78, 0.30),
                        0 8px 24px -8px rgba(139, 58, 78, 0.18),
                        inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-blur:  blur(22px) saturate(185%);

  /* === SHAPE & MOTION === */
  --radius:    20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:  cubic-bezier(0.0, 0.0, 0.2, 1);
  --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: 'Jost', sans-serif;
  background: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  line-height: 1.05;
}

/* =========================================================================
   LIVING BACKGROUND — drifting blush blobs behind everything
   ========================================================================= */
.bg-layer {
  position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(65px);
}
.blob-1 { top: -8%; left: -8%; width: 520px; height: 520px;
  background: radial-gradient(circle, #F5C2CC, transparent 65%);
  opacity: 0.5; animation: drift1 20s ease-in-out infinite; }
.blob-2 { bottom: -8%; right: -8%; width: 480px; height: 480px;
  background: radial-gradient(circle, #EDAAB8, transparent 65%);
  opacity: 0.42; animation: drift2 24s ease-in-out infinite; }
.blob-3 { top: 32%; left: 38%; width: 420px; height: 420px;
  background: radial-gradient(circle, #F5E0E8, transparent 65%);
  opacity: 0.38; animation: drift3 28s ease-in-out infinite; }
.blob-4 { top: 12%; right: 12%; width: 360px; height: 360px;
  background: radial-gradient(circle, #EDD9B0, transparent 65%);
  opacity: 0.28; animation: drift1 32s ease-in-out infinite 5s; }

@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(80px,50px) scale(1.12); }
  66%      { transform: translate(-50px,70px) scale(0.9); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-90px,-45px) scale(1.18); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%      { transform: translate(55px,-55px) scale(1.08); }
  80%      { transform: translate(-35px,28px) scale(0.94); }
}

/* All real content sits above the background */
.content { position: relative; z-index: 2; }

/* =========================================================================
   SPOTLIGHT — subtle radial glow that follows the mouse
   ========================================================================= */
#spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(700px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 104, 130, 0.055) 0%,
    rgba(212, 104, 130, 0.022) 35%,
    transparent 60%);
}

/* =========================================================================
   PARTICLES — floating blush sparks
   ========================================================================= */
#particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,194,204,0.9), rgba(196,104,122,0.5));
  animation: particleRise linear infinite;
  pointer-events: none;
}
@keyframes particleRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  6%   { opacity: 1; }
  88%  { opacity: 0.55; }
  100% { transform: translateY(-105vh) scale(0.4); opacity: 0; }
}

/* =========================================================================
   FLOATING LIGHT ORBS
   ========================================================================= */
.orb {
  position: fixed; border-radius: 50%; background: var(--rose-mid); z-index: 1;
  pointer-events: none; box-shadow: 0 0 16px 4px rgba(196, 104, 122, 0.35);
}
.orb-1 { top: 16%; left: 9%;  width: 7px; height: 7px; animation: orbFloat 6s ease-in-out infinite; }
.orb-2 { top: 70%; left: 16%; width: 5px; height: 5px; animation: orbFloat 8s ease-in-out infinite 1s; }
.orb-3 { top: 28%; right: 12%; width: 6px; height: 6px; animation: orbFloat 7s ease-in-out infinite .5s; }
@keyframes orbFloat { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-18px);} }

/* =========================================================================
   GLASS PANEL — base frosted glass, used on nav/cards/forms
   ========================================================================= */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* =========================================================================
   GLASS CARD — enhanced with gradient border glow
   ========================================================================= */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.85) 0%,
    rgba(212, 130, 150, 0.22) 50%,
    rgba(196,153,90,0.18) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

/* =========================================================================
   LAYOUT
   ========================================================================= */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.page {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: 80px 20px;
}

/* =========================================================================
   NAVIGATION — floating glass pill
   ========================================================================= */
.nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px; margin: 20px auto 0; max-width: 1040px;
  border-radius: 100px;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem; letter-spacing: 6px; text-transform: uppercase;
  font-weight: 500; color: var(--wine);
}
.brand span { color: var(--rose-bright); }
.nav-links {
  display: flex; gap: 32px; font-size: 0.72rem; letter-spacing: 2.5px;
  color: var(--rose-deep); text-transform: uppercase;
}
.nav-links a { color: inherit; text-decoration: none; transition: color 0.3s; }
.nav-links a:hover { color: var(--rose-bright); }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 48px; border: none; border-radius: 100px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), letter-spacing 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, #D4809A 0%, #C4687A 50%, #8B3A4E 100%);
  color: #fff;
  box-shadow: 0 12px 40px -10px rgba(196, 104, 122, 0.5);
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 22px 52px -10px rgba(196, 104, 122, 0.65);
  letter-spacing: 2.5px;
}
.btn-ghost {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  color: var(--rose-deep);
  border: 1px solid rgba(196, 104, 122, 0.28);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.85);
  border-color: var(--rose-bright);
  transform: translateY(-2px);
}
.btn-large { padding: 20px 64px; font-size: 0.92rem; }

/* =========================================================================
   EYEBROW PILL
   ========================================================================= */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 100px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(196, 104, 122, 0.22);
  backdrop-filter: blur(10px);
  font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--rose-deep); font-weight: 500; margin-bottom: 28px;
}

/* =========================================================================
   HERO — shared base (index uses .lux-hero, other pages use .hero/.page)
   ========================================================================= */
.hero { text-align: center; max-width: 720px; margin: 0 auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 6px; font-size: 0.7rem;
  color: var(--rose-bright); margin-bottom: 26px;
}

/* Large luxury headline */
.hero h1, .lux-headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.0; margin-bottom: 28px;
  color: var(--wine); font-weight: 300; letter-spacing: -0.5px;
  text-shadow: 0 2px 30px rgba(196, 104, 122, 0.10);
}

/* Shimmering gradient word */
.shimmer {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg,
    var(--rose-mid), var(--rose-deep), var(--gold), var(--rose-bright), var(--rose-mid));
  background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 9s linear infinite;
}
@keyframes shine {
  0%   { background-position: -300% center; }
  100% { background-position:  300% center; }
}

.hero p, .lux-subtext {
  font-size: 1.1rem; color: var(--text-soft);
  max-width: 520px; margin: 0 auto 40px;
  font-weight: 300; line-height: 1.78;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

/* Trust row */
.trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  font-size: 0.72rem; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--text-muted);
}
.trust-row .sep { opacity: 0.35; }

/* Floating stat cards */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(155px,1fr));
  gap: 18px; max-width: 580px; margin: 52px auto 0;
}
.stat { border-radius: 20px; padding: 26px 20px; text-align: center; }
.stat .icon { font-size: 1.5rem; color: var(--rose-bright); margin-bottom: 8px; }
.stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; color: var(--rose-deep); font-weight: 500; line-height: 1;
}
.stat .label {
  font-size: 0.63rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-soft); margin-top: 6px;
}
.stat:nth-child(1) { animation: floatP  7s ease-in-out infinite; }
.stat:nth-child(2) { animation: floatP2 8s ease-in-out infinite; }
.stat:nth-child(3) { animation: floatP  7.5s ease-in-out infinite 0.4s; }
@keyframes floatP  { 0%,100%{transform:translateY(0) rotate(0);}   50%{transform:translateY(-13px) rotate(.3deg);} }
@keyframes floatP2 { 0%,100%{transform:translateY(0) rotate(0);}   50%{transform:translateY(-19px) rotate(-.5deg);} }

/* =========================================================================
   SECTION STRUCTURE
   ========================================================================= */
.lux-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--wine); font-weight: 300; line-height: 1.05;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1rem; color: var(--text-soft); font-weight: 300;
  max-width: 480px; margin: 0 auto; line-height: 1.75;
}

/* =========================================================================
   AI METRICS SHOWCASE
   ========================================================================= */
.ai-metrics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px; margin-bottom: 56px;
}
.ai-metric {
  padding: 36px 28px; text-align: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.ai-metric:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
}
.metric-icon {
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, var(--rose-light), var(--rose-bright));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px -8px rgba(196, 104, 122, 0.45);
}
.metric-icon .ti { font-size: 1.45rem; color: #fff; }
.metric-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem; color: var(--rose-deep); font-weight: 500;
  line-height: 1; margin-bottom: 10px;
}
.metric-label {
  font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--text-soft); font-weight: 500;
}

/* Analysis demo strip inside AI section */
.analysis-demo {
  padding: 36px 40px;
  display: flex; gap: 40px; align-items: center;
}
.analysis-items { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }
.analysis-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 12px;
  font-size: 0.84rem; color: var(--text-soft); cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}
.analysis-item.active {
  background: rgba(255,255,255,0.7);
  border-color: rgba(196, 104, 122, 0.25);
  color: var(--rose-deep);
  font-weight: 500;
}
.analysis-item .ti { font-size: 1.1rem; color: var(--rose-bright); }
.analysis-vis { flex: 1; display: flex; justify-content: center; align-items: center; }

/* =========================================================================
   FEATURE CARDS (luxury glassmorphism + tilt)
   ========================================================================= */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 42px 38px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.feature-card:hover { box-shadow: var(--glass-shadow-hover); }
.feature-icon {
  width: 54px; height: 54px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(245,194,204,0.55), rgba(196,104,122,0.35));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.35s var(--spring), background 0.35s;
  box-shadow: 0 4px 16px -6px rgba(196, 104, 122, 0.35);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(6deg);
  background: linear-gradient(135deg, rgba(245,194,204,0.8), rgba(196,104,122,0.6));
}
.feature-icon .ti { font-size: 1.55rem; color: var(--rose-bright); }
.feature-card h3 { font-size: 1.75rem; color: var(--rose-deep); margin-bottom: 12px; }
.feature-card p { color: var(--text-soft); font-size: 0.95rem; line-height: 1.65; flex: 1; font-weight: 300; }
.card-arrow {
  margin-top: 26px; display: flex; align-items: center; gap: 8px;
  font-size: 0.75rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--rose-deep); font-weight: 600;
  transition: gap 0.35s var(--ease);
}
.feature-card:hover .card-arrow { gap: 16px; }
.card-arrow .ti { font-size: 1rem; transition: transform 0.35s var(--ease); }
.feature-card:hover .card-arrow .ti { transform: translateX(5px); }

/* Original .card styles (kept for other pages) */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px; width: 100%; max-width: 720px; margin: 0 auto;
}
.card { border-radius: var(--radius-lg); padding: 38px 32px; transition: all 0.55s var(--ease); }
.card .icon { font-size: 1.7rem; color: var(--rose-bright); margin-bottom: 14px; }
.card h3 { font-size: 1.7rem; color: var(--rose-deep); margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.95rem; }
.card.clickable { cursor: pointer; }
.card.clickable:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 32px 64px -16px rgba(60,20,35,0.28), inset 0 1px 0 rgba(255,255,255,0.7);
}
.card.disabled { opacity: 0.7; }
.badge {
  display: inline-block; margin-top: 16px; padding: 6px 16px; font-size: 0.66rem;
  letter-spacing: 2px; text-transform: uppercase; background: rgba(245,194,204,0.22);
  color: var(--text-main); border-radius: 100px; border: 1px solid rgba(196,104,122,0.28);
}

/* =========================================================================
   REPORT PREVIEW SECTION
   ========================================================================= */
.report-section { padding: 80px 0 100px; }
.report-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.report-text h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--wine); margin-bottom: 20px; line-height: 1.05;
}
.report-text p {
  color: var(--text-soft); font-weight: 300; line-height: 1.78; margin-bottom: 32px;
}
.report-features { list-style: none; margin-bottom: 36px; }
.report-features li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 0; color: var(--text-main); font-size: 0.96rem; font-weight: 300;
  border-bottom: 1px solid rgba(196,104,122,0.08);
}
.report-features li:last-child { border-bottom: none; }
.report-features .check {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; margin-top: 1px;
  background: linear-gradient(135deg, var(--rose-light), var(--rose-bright));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -4px rgba(196,104,122,0.45);
}
.report-features .check::after { content: '✓'; color: #fff; font-size: 0.68rem; font-weight: 700; }

/* 3D stacked PDF mockup */
.report-mockup {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 380px;
}
.pdf-shadow-2 {
  position: absolute;
  width: 256px; height: 350px;
  background: rgba(255,255,255,0.32);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.5);
  left: 50%; transform: translateX(-50%) rotate(10deg);
  z-index: 0; top: 18px;
}
.pdf-shadow-1 {
  position: absolute;
  width: 264px; height: 352px;
  background: rgba(255,255,255,0.48);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.6);
  left: 50%; transform: translateX(-50%) rotate(5deg);
  z-index: 1; top: 10px;
}
.pdf-float {
  position: relative; z-index: 2;
  width: 272px; padding: 28px 24px;
  border-radius: var(--radius-lg);
  animation: pdfFloat 7s ease-in-out infinite;
}
@keyframes pdfFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-18px) rotate(2deg); }
}
.pdf-brand-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(196,104,122,0.12);
}
.pdf-brand-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  letter-spacing: 5px; color: var(--rose-deep); text-transform: uppercase; font-weight: 500;
}
.pdf-brand-sub {
  font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-soft);
}
.pdf-face-viz {
  width: 100%; height: 110px;
  background: linear-gradient(145deg, var(--blush), rgba(245,194,204,0.25));
  border-radius: 14px; overflow: hidden; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.pdf-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0; border-bottom: 1px solid rgba(196,104,122,0.07);
}
.pdf-row:last-child { border-bottom: none; }
.pdf-key { color: var(--text-soft); font-size: 0.62rem; letter-spacing: 1.5px; text-transform: uppercase; }
.pdf-val { color: var(--rose-deep); font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; font-weight: 500; }
.pdf-unlock-bar {
  margin-top: 14px; padding: 10px 14px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(196,104,122,0.12), rgba(139,58,78,0.08));
  border: 1px solid rgba(196,104,122,0.18);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.72rem; color: var(--rose-deep); font-weight: 500; letter-spacing: 1px;
}
.pdf-unlock-bar .ti { font-size: 0.9rem; }

/* =========================================================================
   CHAT PREVIEW
   ========================================================================= */
.chat-preview-section { padding: 80px 0; }
.chat-preview-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.chat-preview-text h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--wine); margin-bottom: 16px; }
.chat-preview-text p { color: var(--text-soft); font-weight: 300; line-height: 1.78; margin-bottom: 28px; }
.chat-preview-perks { list-style: none; margin-bottom: 36px; }
.chat-preview-perks li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px 0; font-size: 0.95rem; font-weight: 300;
  color: var(--text-main); border-bottom: 1px solid rgba(196,104,122,0.06);
}
.chat-preview-perks li:last-child { border-bottom: none; }
.chat-preview-perks .perk-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose-bright); flex-shrink: 0; margin-top: 7px;
}

.chat-preview-widget {
  width: 100%; max-width: 360px; margin: 0 auto;
  border-radius: 26px; overflow: hidden;
  box-shadow: var(--glass-shadow-hover);
}
.chat-preview-head {
  background: linear-gradient(135deg, var(--rose-bright), var(--rose-deep));
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
}
.chat-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem;
  color: #fff; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.42);
}
.chat-head-meta strong { color: #fff; font-size: 0.95rem; display: block; }
.chat-head-meta span { color: rgba(255,255,255,0.82); font-size: 0.72rem; }
.chat-preview-body {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.preview-msg {
  padding: 12px 15px; border-radius: 18px;
  font-size: 0.88rem; line-height: 1.55; max-width: 86%;
}
.preview-msg.bot {
  background: var(--blush); color: var(--text-main); border-bottom-left-radius: 5px;
}
.preview-msg.user {
  background: linear-gradient(135deg, var(--rose-light), var(--rose-bright));
  color: #fff; align-self: flex-end; border-bottom-right-radius: 5px;
}
.preview-typing {
  display: inline-flex; align-items: center; gap: 4px; padding: 12px 15px;
  background: var(--blush); border-radius: 18px; border-bottom-left-radius: 5px;
}
.preview-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--rose-mid);
  animation: chatdot 1.2s infinite ease-in-out both;
}
.preview-typing span:nth-child(2) { animation-delay: 0.2s; }
.preview-typing span:nth-child(3) { animation-delay: 0.4s; }
.preview-prompts {
  background: rgba(255,255,255,0.92);
  padding: 4px 20px 20px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.preview-prompt-btn {
  padding: 8px 15px; border-radius: 20px;
  border: 1px solid rgba(196,104,122,0.25);
  background: rgba(255,255,255,0.8); color: var(--rose-deep);
  font-size: 0.78rem; cursor: default; font-family: 'Jost', sans-serif;
}

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 860px; margin: 0 auto;
}
.how-step { text-align: center; padding: 40px 28px; }
.step-number {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--rose-bright));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600;
  margin: 0 auto 22px;
  box-shadow: 0 10px 28px -8px rgba(196, 104, 122, 0.52);
}
.how-step h4 { font-size: 1.35rem; color: var(--rose-deep); margin-bottom: 10px; }
.how-step p { color: var(--text-soft); font-size: 0.92rem; font-weight: 300; line-height: 1.65; }

/* =========================================================================
   CTA SECTION
   ========================================================================= */
.cta-section { padding: 100px 0; text-align: center; }
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  color: var(--wine); margin-bottom: 22px; line-height: 1.02;
}
.cta-inner p {
  color: var(--text-soft); font-size: 1.06rem; font-weight: 300;
  margin-bottom: 44px; line-height: 1.75;
}
.price-note {
  margin-top: 18px; font-size: 0.72rem; color: var(--text-muted);
  letter-spacing: 2px; text-transform: uppercase;
}

/* =========================================================================
   SCROLL REVEAL
   ========================================================================= */
.reveal {
  opacity: 0; transform: translateY(44px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.10s; }
.reveal.delay-2 { transition-delay: 0.20s; }
.reveal.delay-3 { transition-delay: 0.30s; }
.reveal.delay-4 { transition-delay: 0.40s; }
.reveal.delay-5 { transition-delay: 0.50s; }

/* =========================================================================
   ENTRANCE ANIMATIONS (used on nav / immediate-load elements)
   ========================================================================= */
@keyframes reveal-in { from { opacity: 0; transform: translateY(32px) scale(.975); } to { opacity: 1; transform: none; } }
.animate { opacity: 0; animation: reveal-in 1.1s var(--ease) forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.26s; }
.delay-3 { animation-delay: 0.40s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.70s; }

/* Loading spinner */
.spinner {
  width: 44px; height: 44px; border: 3px solid rgba(196,104,122,0.2);
  border-top-color: var(--rose-bright); border-radius: 50%;
  animation: spin 0.9s linear infinite; margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   FORM
   ========================================================================= */
.form-card { border-radius: var(--radius-lg); padding: 48px; width: 100%; max-width: 600px; }
.form-card h2 { font-size: 2.4rem; color: var(--wine); margin-bottom: 8px; }
.form-card .subtitle { color: var(--text-soft); margin-bottom: 34px; font-weight: 300; }
.field { margin-bottom: 28px; }
.field label {
  display: block; font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--rose-bright); margin-bottom: 12px;
}
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.option {
  padding: 11px 22px; border: 1px solid rgba(196,104,122,0.28); border-radius: 100px;
  background: rgba(255,255,255,0.5); color: var(--text-main); cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 0.95rem;
  transition: all 0.25s ease; user-select: none;
}
.option:hover { border-color: var(--rose-bright); background: rgba(255,255,255,0.82); }
.option.selected {
  background: linear-gradient(135deg, var(--rose-mid), var(--rose-bright));
  color: #fff; border-color: transparent;
}
select {
  width: 100%; padding: 14px 18px; border: 1px solid rgba(196,104,122,0.28);
  border-radius: 14px; background: rgba(255,255,255,0.5); color: var(--text-main);
  cursor: pointer; font-family: 'Jost', sans-serif; font-size: 1rem; appearance: none;
}
select option { background: #fff; color: var(--text-main); }
select:focus { outline: none; border-color: var(--rose-bright); }

/* =========================================================================
   RESULTS
   ========================================================================= */
.results-header { text-align: center; margin-bottom: 44px; }
.results-header h2 { font-size: 3rem; color: var(--wine); }
.results-header p { color: var(--text-soft); font-weight: 300; }
.routine-step {
  border-radius: var(--radius); padding: 30px 32px; margin-bottom: 20px;
  border-left: 4px solid var(--rose-bright);
}
.routine-step .step-tag { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.routine-step h3 { font-size: 1.6rem; color: var(--rose-deep); margin: 6px 0; }
.routine-step .why { color: var(--text-soft); margin-bottom: 6px; }
.routine-step .time { font-size: 0.85rem; color: var(--rose-bright); font-style: italic; }
.products { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Product cards */
.product-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.55); border: 1px solid rgba(196,104,122,0.15);
  border-radius: 16px; padding: 12px 14px; min-width: 260px; flex: 1 1 260px;
}
.product-img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.product-img.placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rose-mid), var(--rose-bright));
  color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.6rem;
}
.product-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.product-info strong { color: var(--text-main); font-size: 0.92rem; font-weight: 500; }
.product-info .brand { color: var(--text-soft); font-size: 0.78rem; }
.product-info .price { color: var(--rose-deep); font-size: 0.92rem; font-weight: 500; }
.product-info .reasons { color: var(--text-soft); font-size: 0.72rem; margin-top: 2px; line-height: 1.3; }
.shop-btn {
  background: linear-gradient(135deg, var(--rose-mid), var(--rose-bright));
  color: #fff; text-decoration: none; padding: 8px 18px; border-radius: 100px;
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.shop-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -6px rgba(196,104,122,0.52); }
.product-pill {
  background: rgba(255,255,255,0.55); border: 1px solid rgba(196,104,122,0.15);
  border-radius: 14px; padding: 12px 16px; font-size: 0.88rem;
}
.product-pill strong { color: var(--rose-bright); display: block; }
.product-pill .price { color: var(--text-soft); font-size: 0.82rem; }
.notes-box { border-radius: var(--radius); padding: 28px 32px; margin: 32px 0; }
.notes-box h3 { color: var(--rose-bright); margin-bottom: 12px; font-size: 1.5rem; }
.notes-box ul { list-style: none; }
.notes-box li { padding-left: 22px; position: relative; margin-bottom: 10px; color: var(--text-main); }
.notes-box li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* =========================================================================
   PAYWALL
   ========================================================================= */
.blurred { filter: blur(6px); pointer-events: none; user-select: none; }
.locked-zone { position: relative; margin-top: 20px; }
.unlock-overlay { display: flex; align-items: center; justify-content: center; padding: 24px 20px 8px; }
.unlock-card { border-radius: var(--radius-lg); padding: 34px 30px; max-width: 440px; text-align: center; }
.unlock-card h3 { color: var(--rose-deep); font-size: 1.7rem; margin-bottom: 4px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  margin-top: 60px;
  background: rgba(255,255,255,0.52);
  border-top: 1px solid rgba(255,255,255,0.72);
  backdrop-filter: blur(18px) saturate(155%);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px;
}
.footer-col h4 { color: var(--text-main); font-size: 1rem; margin-bottom: 14px; font-weight: 500; }
.footer-col .brand { font-size: 1.55rem; font-weight: 600; color: var(--text-main); margin-bottom: 12px; }
.footer-col .brand span { color: var(--rose-bright); }
.footer-col p { color: var(--text-soft); font-size: 0.86rem; line-height: 1.72; margin-bottom: 10px; }
.footer-col a { display: block; color: var(--text-soft); text-decoration: none; font-size: 0.87rem; padding: 5px 0; transition: color .22s; }
.footer-col a:hover { color: var(--rose-bright); }
.footer-social { display: flex; gap: 12px; margin-top: 10px; }
.footer-social a { display: inline-flex; align-items: center; gap: 7px; color: var(--rose-deep); font-weight: 600; font-size: 0.9rem; }
.footer-social a .ti { font-size: 1.3rem; }
.footer-bottom {
  max-width: 1080px; margin: 28px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(139,58,78,0.08);
  text-align: center; color: var(--text-soft); font-size: 0.76rem; line-height: 1.65;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 22px; } }

/* =========================================================================
   FACIAL FINDINGS
   ========================================================================= */
.finding-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px; align-items: start; }
.finding-photo { border-radius: var(--radius); padding: 10px; position: sticky; top: 16px; }
.finding-photo img { width: 100%; border-radius: 16px; display: block; }
.finding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.finding-card { border-radius: 18px; padding: 16px; display: flex; gap: 12px; align-items: flex-start; transition: transform .35s var(--ease); }
.finding-card:hover { transform: translateY(-3px); }
.finding-icon { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--rose-light), var(--rose-bright)); display: flex; align-items: center; justify-content: center; }
.finding-icon .ti { font-size: 1.25rem; color: #fff; }
.finding-body { flex: 1; min-width: 0; }
.finding-label { font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rose-deep); font-weight: 700; margin-bottom: 3px; }
.finding-value { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; color: var(--text-main); line-height: 1.1; margin-bottom: 4px; }
.finding-note { font-size: 0.8rem; color: var(--text-soft); line-height: 1.45; }
@media (max-width: 760px) {
  .finding-layout { grid-template-columns: 1fr; }
  .finding-photo { position: static; }
  .finding-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   CHATBOT WIDGET
   ========================================================================= */
#syrera-chat { position: fixed; bottom: 24px; right: 24px; z-index: 9999; }
#chat-toggle {
  width: 64px; height: 64px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--rose-light), var(--rose-bright)); color: #fff;
  box-shadow: 0 12px 36px -8px rgba(139,58,78,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease);
}
#chat-toggle:hover { transform: scale(1.1); box-shadow: 0 18px 44px -8px rgba(139,58,78,0.62); }
#chat-toggle .ti { font-size: 1.8rem; }
#chat-panel {
  position: absolute; bottom: 80px; right: 0; width: 360px; max-width: 88vw;
  height: 520px; max-height: 78vh; border-radius: 26px; overflow: hidden;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(26px) saturate(190%);
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: 0 36px 90px -20px rgba(139,58,78,0.42);
  display: none; flex-direction: column;
}
#chat-panel.open { display: flex; animation: chatpop .4s var(--spring); }
@keyframes chatpop { from { opacity: 0; transform: translateY(14px) scale(0.95); } to { opacity: 1; transform: none; } }
.chat-head {
  background: linear-gradient(135deg, var(--rose-bright), var(--rose-deep)); color: #fff;
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between;
}
.chat-head strong { display: block; font-size: 1rem; }
.chat-head span { font-size: 0.74rem; opacity: 0.9; }
.chat-head button { background: none; border: none; color: #fff; cursor: pointer; font-size: 1.1rem; opacity: 0.85; }
.chat-head button:hover { opacity: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 0.88rem; line-height: 1.48; }
.chat-msg.bot { background: var(--blush); color: var(--text-main); align-self: flex-start; border-bottom-left-radius: 5px; }
.chat-msg.user { background: linear-gradient(135deg, var(--rose-light), var(--rose-bright)); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.chat-msg.typing { color: var(--rose-deep); font-weight: 700; letter-spacing: 2px; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(139,58,78,0.08); }
.chat-input input { flex: 1; border: 1px solid rgba(139,58,78,0.18); border-radius: 20px; padding: 10px 14px; font-size: 0.88rem; outline: none; background: rgba(255,255,255,0.82); color: var(--text-main); }
.chat-input input:focus { border-color: var(--rose-bright); }
.chat-input button { width: 42px; border: none; border-radius: 50%; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--rose-light), var(--rose-bright)); }
.chat-typing { display: inline-flex; align-items: center; gap: 4px; padding: 4px 2px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--rose-bright); display: inline-block; animation: chatdot 1.2s infinite ease-in-out both; }
.chat-typing span:nth-child(1) { animation-delay: 0s; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatdot { 0%,80%,100%{transform:scale(0.7);opacity:0.5;} 40%{transform:scale(1);opacity:1;} }
.chat-msg.bot p { margin: 0 0 8px; line-height: 1.55; }
.chat-msg.bot p:last-child { margin-bottom: 0; }
.chat-error { color: #c0392b; font-size: 0.84rem; }
.chat-head-info strong { display: block; font-size: 1rem; }
.chat-head-info span   { font-size: 0.74rem; opacity: 0.88; }
#chat-refresh { background: none; border: none; color: #fff; cursor: pointer; font-size: 1rem; opacity: 0.75; padding: 4px; transition: opacity .2s, transform .3s; }
#chat-refresh:hover { opacity: 1; transform: rotate(180deg); }

/* Avatar in the chat header */
.chat-head-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.22); border: 2px solid rgba(255,255,255,0.42);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: #fff;
}

/* Suggested prompt chips */
.chat-suggestions {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 10px 14px 4px; border-top: 1px solid rgba(139,58,78,0.06);
}
.chat-suggestions:empty { display: none; }
.chat-chip {
  padding: 7px 13px; border-radius: 18px; cursor: pointer;
  border: 1px solid rgba(196,104,122,0.28); background: rgba(255,255,255,0.7);
  color: var(--rose-deep); font-size: 0.76rem; font-family: 'Jost', sans-serif;
  transition: all .25s var(--ease);
}
.chat-chip:hover {
  background: linear-gradient(135deg, var(--rose-light), var(--rose-bright));
  color: #fff; border-color: transparent; transform: translateY(-1px);
}

/* Attach (upload report) button in the input row */
#chat-attach {
  width: 40px; flex-shrink: 0; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(196,104,122,0.1); color: var(--rose-bright);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s var(--spring);
}
#chat-attach:hover { background: rgba(196,104,122,0.2); transform: scale(1.08); }
#chat-attach .ti { font-size: 1.15rem; }

/* Uploaded-file chip shown as a user bubble */
.chat-attachment { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; }
.chat-attachment .ti { font-size: 1.05rem; }

/* =========================================================================
   AUTH MODAL
   ========================================================================= */
#auth-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(61,21,32,0.42); backdrop-filter: blur(6px); }
#auth-modal.open { display: flex; }
.auth-card { width: 100%; max-width: 380px; border-radius: 26px; padding: 32px 28px; position: relative; background: rgba(255,255,255,0.95); box-shadow: 0 36px 80px -20px rgba(61,21,32,0.32); }
.auth-card h3 { color: var(--text-main); font-size: 1.5rem; margin-bottom: 4px; text-align: center; }
.auth-sub { color: var(--text-soft); font-size: 0.9rem; text-align: center; margin-bottom: 20px; }
.auth-x { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.6rem; color: var(--text-soft); cursor: pointer; line-height: 1; }
.auth-social { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; margin-bottom: 10px; border-radius: 14px; cursor: pointer; border: 1px solid rgba(139,58,78,0.16); background: rgba(255,255,255,0.7); color: var(--text-main); font-size: 0.92rem; font-weight: 500; position: relative; }
.auth-social:disabled { opacity: 0.55; cursor: not-allowed; }
.auth-social .ti { font-size: 1.3rem; color: var(--rose-bright); }
.auth-social .soon { position: absolute; right: 12px; font-size: 0.62rem; letter-spacing: 1px; background: var(--gold); color: #fff; padding: 2px 7px; border-radius: 10px; text-transform: uppercase; }
.auth-or { text-align: center; margin: 16px 0; position: relative; color: var(--text-soft); font-size: 0.78rem; }
.auth-or::before, .auth-or::after { content: ""; position: absolute; top: 50%; width: 32%; height: 1px; background: rgba(139,58,78,0.12); }
.auth-or::before { left: 0; } .auth-or::after { right: 0; }
#auth-modal input { width: 100%; padding: 12px 14px; margin-bottom: 10px; border-radius: 12px; border: 1px solid rgba(139,58,78,0.16); font-size: 0.92rem; outline: none; background: rgba(255,255,255,0.8); color: var(--text-main); }
#auth-modal input:focus { border-color: var(--rose-bright); }
.auth-err { color: #c0392b; font-size: 0.82rem; text-align: center; min-height: 18px; margin-top: 6px; }
.auth-fine { color: var(--text-soft); font-size: 0.72rem; text-align: center; margin-top: 10px; line-height: 1.4; }

/* =========================================================================
   ASK SYRERA RAG WIDGET
   ========================================================================= */
#ask-syrera { position: fixed; bottom: 24px; left: 24px; z-index: 9998; }
#ask-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 12px 20px; border: none; border-radius: 30px; color: #fff; background: linear-gradient(135deg, var(--gold), var(--rose-bright)); box-shadow: 0 10px 28px -8px rgba(139,58,78,0.48); font-weight: 600; font-size: 0.9rem; transition: transform .3s var(--ease); }
#ask-toggle:hover { transform: translateY(-2px); }
#ask-toggle .ti { font-size: 1.2rem; }
#ask-panel { position: absolute; bottom: 66px; left: 0; width: 360px; max-width: 88vw; height: 500px; max-height: 74vh; border-radius: 26px; overflow: hidden; background: rgba(255,255,255,0.92); backdrop-filter: blur(22px) saturate(185%); border: 1px solid rgba(255,255,255,0.78); box-shadow: 0 32px 80px -20px rgba(139,58,78,0.42); display: none; flex-direction: column; }
#ask-panel.open { display: flex; animation: chatpop .4s var(--spring); }
.ask-head { background: linear-gradient(135deg, var(--gold), var(--rose-deep)); color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.ask-head strong { display: block; font-size: 1rem; }
.ask-head span { font-size: 0.74rem; opacity: 0.9; }
.ask-head button { background: none; border: none; color: #fff; cursor: pointer; font-size: 1.1rem; }
.ask-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ask-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 0.88rem; line-height: 1.5; }
.ask-msg.bot { background: var(--blush); color: var(--text-main); align-self: flex-start; border-bottom-left-radius: 5px; }
.ask-msg.user { background: linear-gradient(135deg, var(--gold-light), var(--rose-bright)); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.ask-typing { color: var(--rose-deep); font-style: italic; }
.ask-cites { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(139,58,78,0.1); font-size: 0.74rem; color: var(--text-soft); }
.ask-source { display: inline-block; background: rgba(196,153,90,0.14); color: var(--rose-deep); padding: 2px 8px; border-radius: 10px; margin: 2px 3px 0 0; text-transform: capitalize; }
.ask-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(139,58,78,0.08); }
.ask-input input { flex: 1; border: 1px solid rgba(139,58,78,0.16); border-radius: 20px; padding: 10px 14px; font-size: 0.88rem; outline: none; background: rgba(255,255,255,0.82); color: var(--text-main); }
.ask-input input:focus { border-color: var(--rose-bright); }
.ask-input button { width: 42px; border: none; border-radius: 50%; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--gold), var(--rose-bright)); }

/* =========================================================================
   RITUAL STYLES
   ========================================================================= */
.ritual-hero { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.ritual-eyebrow { display: inline-block; font-size: 0.72rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.ritual-hero h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--rose-deep); margin-bottom: 10px; line-height: 1.05; }
.ritual-sub { color: var(--text-soft); font-size: 1rem; line-height: 1.6; margin-bottom: 18px; }
.ritual-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ritual-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 30px; background: rgba(255,255,255,0.55); border: 1px solid rgba(196,104,122,0.16); color: var(--text-main); font-size: 0.85rem; font-weight: 500; text-transform: capitalize; }
.ritual-pill .ti { color: var(--rose-bright); font-size: 1rem; }
.ritual-pill.highlight { background: linear-gradient(135deg, var(--rose-light), var(--rose-bright)); color: #fff; border: none; }
.ritual-pill.highlight .ti { color: #fff; }
.ritual-timeline { position: relative; max-width: 720px; margin: 0 auto; }
.ritual-step { display: flex; gap: 18px; border-radius: 22px; padding: 22px; margin-bottom: 16px; }
.ritual-step-num { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--rose-light), var(--rose-bright)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(139,58,78,0.42); }
.ritual-step-body { flex: 1; min-width: 0; }
.ritual-step-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.step-kicker { display: block; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rose-deep); font-weight: 700; margin-bottom: 2px; }
.ritual-step-head h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--text-main); margin: 0; }
.time-badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; white-space: nowrap; background: rgba(196,104,122,0.1); color: var(--rose-deep); }
.time-badge .ti { font-size: 0.9rem; }
.time-badge.morning { background: rgba(245,200,100,0.15); color: #b58a3c; }
.time-badge.night { background: rgba(100,90,150,0.12); color: #5a4e8c; }
.time-badge.both { background: rgba(196,104,122,0.1); color: var(--rose-deep); }
.ritual-step .why { color: var(--text-soft); font-size: 0.92rem; line-height: 1.55; margin-bottom: 12px; }
.ritual-notes { list-style: none; padding: 0; margin: 0; }
.ritual-notes li { display: flex; gap: 8px; align-items: flex-start; color: var(--text-main); font-size: 0.9rem; line-height: 1.5; padding: 6px 0; }
.ritual-notes li .ti { color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* =========================================================================
   PERFORMANCE & RESPONSIVE
   ========================================================================= */
@media (max-width: 860px) {
  .report-layout, .chat-preview-layout { grid-template-columns: 1fr; gap: 48px; }
  .how-steps { gap: 16px; }
  .analysis-demo { flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
  :root { --glass-blur: blur(14px) saturate(150%); }
  .form-card { padding: 32px 24px; }
  .hero h1, .lux-headline { font-size: 2.85rem; }
  .results-header h2 { font-size: 2.2rem; }
  .blob { filter: blur(44px); }
  .container { padding: 0 20px; }
  .lux-section { padding: 64px 0; }
  .how-steps { grid-template-columns: 1fr; }
  .btn { padding: 14px 36px; }
  .btn-large { padding: 16px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .animate, .reveal { opacity: 1; transform: none; }
  #particles { display: none; }
}
