/* 
=========================================
Seoul Aesthetics - Premium Vanilla CSS
=========================================
Design tokens, animations, responsive layouts,
and interactive states for skincare landing page.
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  --background: #fffcfc;
  --foreground: #2d2d2d;
  --card-bg: #ffffff;
  
  /* Brand Skincare Colors - Exact Red Theme */
  --korean-pink: #fcd0d2;
  --korean-rose: rgb(229, 9, 20); /* The exact red you requested */
  --korean-beige: #fceced;
  --korean-lavender: #f5d5d7;
  --korean-nude: #fff8f8;
  --rose-gold: rgb(158, 10, 17); /* Rich deep red harmony */
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--korean-rose) 0%, var(--rose-gold) 100%);
  --bg-gradient: linear-gradient(135deg, var(--korean-nude) 0%, #ffffff 50%, var(--korean-beige) 100%);
  
  /* Border & Shadows */
  --border-light: rgba(229, 9, 20, 0.2);
  --border-glass: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 4px 10px rgba(45, 45, 45, 0.05);
  --shadow-md: 0 10px 30px rgba(229, 9, 20, 0.12);
  --shadow-lg: 0 20px 50px rgba(158, 10, 17, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(158, 10, 17, 0.06);
  
  /* Border Radii */
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  
  /* Transition timings */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--foreground);
}

p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: rgba(45, 45, 45, 0.8);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* --- Global Utility Classes --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Flex Layouts */
.flex {
  display: flex;
  gap: 1rem;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-column {
  display: flex;
  flex-direction: column;
}

/* Custom Spacing */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

@media (min-width: 768px) {
  .py-20 { padding-top: 7.5rem; padding-bottom: 7.5rem; }
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--korean-rose) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--korean-rose);
  border: 2px solid var(--korean-rose);
}

.btn-secondary:hover {
  transform: translateY(-4px);
  background: rgba(212, 165, 165, 0.1);
}

/* --- Navigation Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  padding: 0.75rem 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(254, 251, 249, 0.4); /* High transparency frosted glass */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(254, 251, 249, 0.25);
  box-shadow: var(--shadow-sm);
  padding: 0.4rem 0;
}

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

.nav-social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.nav-social-link {
  width: 2.25rem;
  height: 2.25rem;
  background-color: rgba(229, 9, 20, 0.05);
  border: 1px solid rgba(229, 9, 20, 0.15);
  border-radius: 50%;
  color: var(--korean-rose);
  transition: all var(--transition-fast);
}

.nav-social-link svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform var(--transition-fast);
}

.nav-social-link:hover {
  background-color: var(--korean-rose);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-social-link:hover svg {
  transform: scale(1.05);
}

.brand-logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 125px;
  width: auto;
  display: block;
  transition: height var(--transition-normal), transform var(--transition-fast);
}

.site-header.scrolled .logo-image {
  height: 95px; /* Smoothly shrinks the logo on scroll to keep the header compact */
}

.brand-logo:hover .logo-image {
  transform: scale(1.04);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-gradient);
  padding-top: 7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-sparkle {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.badge-sparkle svg {
  color: var(--korean-rose);
  animation: pulse-glow 2s infinite ease-in-out;
}

.badge-sparkle span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  color: var(--foreground);
}

.hero-title span {
  color: var(--korean-rose);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--korean-pink) 0%, var(--korean-rose) 100%);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  animation: draw-line 0.8s 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(45, 45, 45, 0.8);
  line-height: 1.7;
}

.hero-description strong {
  color: var(--korean-rose);
  font-weight: 600;
}

.hero-bullet {
  font-size: 0.95rem;
  color: rgba(45, 45, 45, 0.7);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* Floating Mockup (Right Side) */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.mockup-frame {
  aspect-ratio: 9/16;
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, var(--korean-beige) 100%);
  border-radius: var(--radius-xl);
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: float-slow 6s infinite ease-in-out;
}

.mockup-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 1;
}

.carousel-image.active {
  opacity: 1;
  z-index: 2;
}

.mockup-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  padding: 2rem 1.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 5;
}

.mockup-overlay h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #ffffff;
}

.mockup-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}

.mockup-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #ffffff;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  z-index: 10;
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--korean-rose);
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-family: 'Outfit', sans-serif;
  transition: all var(--transition-fast);
  animation: scale-glow 2s infinite ease-in-out;
}

.mockup-badge:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
  background-color: var(--korean-nude);
  color: var(--rose-gold);
}

/* Background Animated Bubbles */
.bg-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--korean-pink);
  border-radius: 50%;
  opacity: 0.25;
  pointer-events: none;
}

/* --- Hero Direct CTA Form Box --- */
.hero-cta-box {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 9, 20, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 0.5rem;
  z-index: 10;
  position: relative;
}

.cta-box-header {
  margin-bottom: 1rem;
}

.cta-box-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.15rem;
}

.cta-box-header p {
  font-size: 0.825rem;
  color: rgba(45, 45, 45, 0.7);
}

.cta-box-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1rem;
}

@media (min-width: 576px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(45, 45, 45, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.95rem;
  height: 0.95rem;
  color: var(--korean-rose);
  pointer-events: none;
  z-index: 5;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem !important;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(229, 9, 20, 0.15);
  background-color: #ffffff;
  color: var(--foreground);
  transition: all var(--transition-fast);
  outline: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: var(--korean-rose);
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.12);
  background-color: #ffffff;
}

.input-wrapper select {
  appearance: none;
  cursor: pointer;
}

/* Custom select dropdown arrow */
.input-wrapper:has(select)::after {
  content: '';
  position: absolute;
  right: 0.85rem;
  top: 52%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-top-color: var(--korean-rose);
  pointer-events: none;
  z-index: 5;
}

.btn-block {
  width: 100%;
}

.cta-submit-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  border: none;
  margin-top: 0.25rem;
}

@media (min-width: 576px) {
  .form-group-full {
    grid-column: span 2;
  }
}

/* --- Embedded Hero Quiz Option Button Styles --- */
.hero-option-button {
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1px solid rgba(212, 165, 165, 0.25);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
  outline: none;
}

.hero-option-button:hover {
  border-color: var(--korean-rose);
  background-color: var(--korean-nude);
}

.hero-option-button.selected {
  border-color: var(--korean-rose);
  background-color: rgba(229, 9, 20, 0.03);
}

/* Vertical red accent bar on the right side of the active selection */
.hero-option-button::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--korean-rose);
  transform: scaleY(0);
  transition: transform var(--transition-fast);
  transform-origin: center;
}

.hero-option-button.selected::after {
  transform: scaleY(1);
}

/* Option Text styling inside hero options */
.hero-option-button .option-text {
  font-weight: 500;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--foreground);
}

/* Embedded Quiz Step pane transitions */
.hero-quiz-step-pane {
  display: none;
}

.hero-quiz-step-pane.active {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: slide-in-fade 0.3s forwards ease-in-out;
}

/* Embedded Quiz Progress Bar */
.hero-quiz-progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  width: 16.66%;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Trust Section --- */
.trust-section {
  background-color: #ffffff;
  position: relative;
}

.section-header {
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-header h2 { font-size: 3rem; }
}

.trust-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, var(--korean-nude) 100%);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.trust-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.85;
}

.trust-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.trust-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow);
}

.trust-card:hover .trust-icon-box {
  transform: rotate(360deg) scale(1.05);
}

.trust-icon-box svg {
  color: #ffffff;
  width: 1.75rem;
  height: 1.75rem;
}

.trust-card h3 {
  font-size: 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.95rem;
  color: rgba(45, 45, 45, 0.7);
}

/* Glow underlay */
.trust-glow {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  background-color: rgba(212, 165, 165, 0.15);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.trust-card:hover .trust-glow {
  transform: scale(1.5);
  background-color: rgba(212, 165, 165, 0.3);
}

/* Counter Badge */
.trust-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(90deg, var(--korean-beige) 0%, var(--korean-lavender) 100%);
  border-radius: var(--radius-full);
  margin-top: 4rem;
  border: 1px solid rgba(212, 165, 165, 0.3);
  box-shadow: var(--shadow-sm);
}

.counter-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.counter-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rose-gold);
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.counter-label {
  font-size: 0.85rem;
  color: rgba(45, 45, 45, 0.7);
  font-weight: 500;
}

.counter-divider {
  width: 1px;
  height: 2.5rem;
  background-color: rgba(212, 165, 165, 0.4);
}

/* --- Concerns Section --- */
.concerns-section {
  background: linear-gradient(to bottom, #ffffff, var(--korean-nude));
}

.concerns-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem;
  margin: 0 -1.5rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.concerns-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.concern-card {
  position: relative;
  background: transparent;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all var(--transition-normal);
  overflow: hidden;
  flex: 0 0 78%; /* Shows 78% of card width on mobile carousel */
  scroll-snap-align: center;
  height: 270px;
  z-index: 1;
}

/* Background portrait image (Always Visible) */
.concern-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  opacity: 1;
  transform: scale(1);
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Gradient overlay to ensure text readability (Always Visible) */
.concern-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.6) 100%);
  z-index: -1;
  opacity: 1;
  pointer-events: none;
  transition: background 0.5s ease;
}

.concern-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.concern-card:hover .concern-card-img {
  transform: scale(1.06); /* Premium subtle zoom on hover */
}

.concern-card:hover .concern-card-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%); /* Slightly deeper contrast on hover */
}

/* Glassmorphism Icon Box */
.concern-icon-box {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  transition: all var(--transition-normal);
  z-index: 2;
}

.concern-card:hover .concern-icon-box {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.concern-icon-box svg {
  color: #ffffff;
  width: 1.35rem;
  height: 1.35rem;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease;
}

/* Icon Spins 360 degrees on hover */
.concern-card:hover .concern-icon-box svg {
  color: var(--korean-rose);
  transform: rotate(360deg) scale(1.1);
}

/* White Heading (Always readable against dark gradient) */
.concern-card h3 {
  color: #ffffff;
  font-size: 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  margin-top: auto;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: color var(--transition-normal);
  z-index: 2;
}

.concern-card:hover h3 {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Solutions reveal overlay */
.concern-solution {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  z-index: 2;
}

.concern-card:hover .concern-solution {
  max-height: 60px;
  opacity: 1;
  margin-top: 0.5rem;
}

.concern-solution p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--korean-pink);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: color var(--transition-normal);
}

.concern-card:hover .concern-solution p {
  color: #ffffff;
}

.concern-glow {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.concern-card:hover .concern-glow {
  opacity: 0.3;
  transform: scale(2);
}

/* Desktop Grid and Layout alignments */
@media (min-width: 768px) {
  .concerns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  
  .concern-card {
    flex: none;
    width: auto;
    height: 250px;
  }
}

@media (min-width: 1024px) {
  .concerns-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.concerns-cta {
  margin-top: 3.5rem;
}

.concerns-cta p {
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

/* --- How It Works --- */
.how-it-works-section {
  background-color: #ffffff;
}

.steps-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

/* Connecting timeline line for large viewports */
.steps-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--korean-pink) 0%, var(--korean-rose) 50%, var(--rose-gold) 100%);
  z-index: 1;
  transform: translateY(-50%);
  opacity: 0.8;
}

@media (min-width: 1024px) {
  .steps-line { display: block; }
}

.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
  z-index: 2;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--primary-gradient);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
}

.step-icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-md);
  margin: 0 auto 1.5rem auto;
  transition: transform var(--transition-normal);
}

.step-card:hover .step-icon-box {
  transform: translateY(-4px);
}

.step-icon-box svg {
  width: 2rem;
  height: 2rem;
}

.step-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.875rem;
  color: rgba(45, 45, 45, 0.7);
  line-height: 1.6;
}

/* Custom backgrounds for step icons based on theme index */
.step-color-0 { background: rgba(229, 9, 20, 0.1); } .step-color-0 svg { color: var(--korean-rose); }
.step-color-1 { background: rgba(229, 9, 20, 0.1); } .step-color-1 svg { color: var(--korean-rose); }
.step-color-2 { background: rgba(229, 9, 20, 0.1); } .step-color-2 svg { color: var(--korean-rose); }
.step-color-3 { background: rgba(229, 9, 20, 0.1); } .step-color-3 svg { color: var(--korean-rose); }

/* --- Before/After Section --- */
.before-after-section {
  background: linear-gradient(to bottom, var(--korean-nude), #ffffff);
}

.slider-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.slider-container {
  position: relative;
  aspect-ratio: 4/3;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
}

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

.slider-after-label, .slider-before-label {
  position: absolute;
  top: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.slider-after-label {
  right: 1.5rem;
}
.slider-after-label p {
  color: var(--korean-rose);
  font-weight: 600;
  font-size: 0.85rem;
}

.slider-before-label {
  left: 1.5rem;
}
.slider-before-label p {
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Image Clip container */
.slider-before-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0); /* Dynamic CSS variable will override this */
  transition: clip-path 0.05s linear;
}

/* Divider Handle */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #ffffff;
  left: 50%; /* Dynamic CSS variable will override this */
  z-index: 15;
  transition: left 0.05s linear;
}

.slider-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-handle-circle svg {
  color: var(--korean-rose);
  width: 1.25rem;
  height: 1.25rem;
  transform: rotate(90deg);
}

.before-after-quote {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.before-after-quote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--korean-rose);
  font-weight: 500;
  animation: pulse-slow 3s infinite ease-in-out;
}

.stats-grid {
  margin-top: 3.5rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-box h4 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--korean-rose);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 0.25rem;
}

.stat-box p {
  font-size: 0.85rem;
  color: rgba(45, 45, 45, 0.7);
}

/* --- Testimonials Section --- */
.testimonials-section {
  background-color: #ffffff;
  position: relative;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  position: relative;
  height: 380px;
}

@media (min-width: 768px) {
  .testimonial-track { height: 280px; }
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95) translateX(50px);
  transition: all var(--transition-slow);
  z-index: 1;
}

.testimonial-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateX(0);
  z-index: 5;
}

.testimonial-bubble {
  background: linear-gradient(135deg, #ffffff 0%, var(--korean-nude) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-row {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.stars-row svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: var(--korean-rose);
  color: var(--korean-rose);
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--foreground);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary-gradient);
  border-radius: 50%;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.author-details p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--foreground);
}

.author-details span {
  font-size: 0.8rem;
  color: var(--korean-rose);
}

.author-details .location {
  color: rgba(45, 45, 45, 0.5);
  margin-left: 0.5rem;
}

/* Nav Chevron Buttons */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 2.75rem;
  height: 2.75rem;
  background: #ffffff;
  border: 2px solid var(--korean-rose);
  color: var(--korean-rose);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--korean-rose);
  color: #ffffff;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(212, 165, 165, 0.3);
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background-color: var(--korean-rose);
}

/* Testimonial Avatars stack bottom */
.avatars-stack {
  margin-top: 4rem;
}

.avatars-stack p {
  font-size: 0.85rem;
  color: rgba(45, 45, 45, 0.6);
  margin-bottom: 0.75rem;
}

.stacked-circles {
  display: flex;
  justify-content: center;
}

.stacked-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--primary-gradient);
  margin-left: -0.75rem;
  box-shadow: var(--shadow-sm);
}

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

/* --- Final CTA Section --- */
.final-cta-section {
  position: relative;
  overflow: hidden;
  background-color: #1a1516; /* Fallback dark rose background */
  color: #ffffff;
}

.cta-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  opacity: 0.8; /* Increased opacity to make video highly visible */
  filter: saturate(1.15) contrast(1.05); /* Enriches video aesthetics */
}

.cta-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.35) 0%, rgba(26, 21, 22, 0.55) 100%); /* Softer, theme-tinted transparent blend */
  z-index: 1;
  pointer-events: none;
}

.cta-badge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
}

.cta-badge-circle {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: pulse-glow 2s infinite ease-in-out;
}

.cta-badge span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.final-cta-section h2 {
  font-size: 2.75rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .final-cta-section h2 { font-size: 3.75rem; }
}

.final-cta-section h2 span {
  position: relative;
  display: inline-block;
}

.final-cta-section h2 span::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
}

.cta-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.cta-desc strong {
  font-weight: 600;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 576px) {
  .cta-actions {
    flex-direction: row;
  }
}

.btn-white {
  background-color: #ffffff;
  color: var(--korean-rose);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-4px);
  background-color: var(--korean-nude);
}

.btn-outline-white {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.cta-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 3.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-item svg {
  width: 1.15rem;
  height: 1.15rem;
  color: #ffffff;
}

/* --- Footer --- */
.site-footer {
  background-color: #2d2d2d;
  color: #ffffff;
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: inline-block;
}

.logo-image-footer {
  height: 115px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* Makes the logo perfectly white on the dark footer */
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.footer-logo:hover .logo-image-footer {
  opacity: 1;
  transform: scale(1.04);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--korean-rose);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--korean-rose);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-col a:hover {
  color: var(--korean-rose);
  padding-left: 4px;
}

.footer-col .disclaimer {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-credit svg {
  color: var(--korean-rose);
  fill: var(--korean-rose);
  width: 0.875rem;
  height: 0.875rem;
}

/* Floating WhatsApp Badge */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.75rem;
  height: 3.75rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  z-index: 30;
  transition: transform var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
}

.floating-whatsapp svg {
  width: 1.85rem;
  height: 1.85rem;
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  background-color: #25D366;
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
  animation: pulse-ring 2s infinite ease-in-out;
}

/* --- Quiz Modal System --- */
.quiz-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.quiz-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quiz-modal.open .quiz-container {
  transform: scale(1) translateY(0);
}

/* Modal Progress Bar */
.quiz-progress-track {
  height: 6px;
  background-color: var(--korean-beige);
  position: relative;
  width: 100%;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  width: 0%;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modal Inner Content */
.quiz-content {
  padding: 2.25rem;
}

@media (min-width: 768px) {
  .quiz-content { padding: 3rem; }
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.quiz-header-text p {
  font-size: 0.85rem;
  color: var(--korean-rose);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.quiz-header-text h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

.quiz-close-btn {
  color: rgba(45, 45, 45, 0.4);
  transition: color var(--transition-fast);
  padding: 0.25rem;
  margin-top: -0.5rem;
  margin-right: -0.5rem;
}

.quiz-close-btn:hover {
  color: var(--foreground);
}

.quiz-close-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Quiz Steps Container */
.quiz-step-pane {
  display: none;
}

.quiz-step-pane.active {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: slide-in-fade 0.35s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

/* Options Grid/Stack */
.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

/* Styled Scrollbars for options lists */
.quiz-options-list::-webkit-scrollbar {
  width: 5px;
}
.quiz-options-list::-webkit-scrollbar-track {
  background: var(--korean-nude);
  border-radius: 10px;
}
.quiz-options-list::-webkit-scrollbar-thumb {
  background: var(--korean-rose);
  border-radius: 10px;
}

.option-button {
  width: 100%;
  padding: 1.15rem 1.5rem;
  text-align: left;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 2px solid rgba(212, 165, 165, 0.2);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-button:hover {
  border-color: var(--korean-rose);
  background-color: var(--korean-nude);
}

.option-button.selected {
  border-color: var(--korean-rose);
  background-color: rgba(212, 165, 165, 0.15);
}

.option-text {
  font-weight: 500;
  color: var(--foreground);
}

.option-check {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--korean-rose);
  display: none;
}

.option-button.selected .option-check {
  display: block;
}

/* Lead Capturing Form */
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

@media (min-width: 576px) {
  .form-row { grid-template-columns: 1fr 1.2fr; }
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-group input {
  padding: 0.85rem 1.15rem;
  background-color: #ffffff;
  border: 2px solid rgba(212, 165, 165, 0.25);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

.form-group input:focus {
  border-color: var(--korean-rose);
}

/* WhatsApp disclaimer banner in form */
.form-banner-whatsapp {
  display: flex;
  gap: 0.75rem;
  background-color: var(--korean-beige);
  border-radius: var(--radius-sm);
  padding: 1rem;
  align-items: flex-start;
}

.form-banner-whatsapp svg {
  color: var(--korean-rose);
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.form-banner-whatsapp p {
  font-size: 0.8rem;
  color: rgba(45, 45, 45, 0.8);
  line-height: 1.4;
}

/* Navigation Row in Modal */
.quiz-actions-nav {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.quiz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--korean-rose);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.quiz-back-btn:hover {
  color: var(--rose-gold);
}

/* Sub-text modal back button trigger */
.quiz-back-text-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--korean-rose);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1.25rem;
}

.quiz-back-text-btn:hover {
  color: var(--rose-gold);
}

/* Custom Alert/Toast notifications */
.custom-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background-color: #ffffff;
  border-left: 5px solid #25D366;
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  max-width: 90%;
  width: 400px;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.custom-toast-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #25D366;
  flex-shrink: 0;
}

.custom-toast-details h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foreground);
}

.custom-toast-details p {
  font-size: 0.8rem;
  color: rgba(45, 45, 45, 0.7);
}

/* --- KEYFRAME ANIMATIONS --- */

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes draw-line {
  to { transform: scaleX(1); }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 0 rgba(212, 165, 165, 0)); }
  50% { transform: scale(1.1); opacity: 0.8; filter: drop-shadow(0 0 10px rgba(212, 165, 165, 0.5)); }
}

@keyframes scale-glow {
  0%, 100% { transform: scale(1); box-shadow: var(--shadow-sm); }
  50% { transform: scale(1.05); box-shadow: var(--shadow-md); }
}

@keyframes rotate-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0.5; }
}

@keyframes slide-in-fade {
  from {
    opacity: 0;
    transform: translateX(15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Brand-Specific Social Media Links (Always Styled with Brand Colors & White Icons) --- */

/* Ensure all social SVGs are rendered in white, display properly, and have correct sizes */
.nav-social-link svg,
.social-link svg {
  display: block !important;
  stroke: #ffffff !important;
  fill: none !important;
  stroke-width: 2px !important;
}

/* X (formerly Twitter) brand shape uses filled path, not stroke outline */
.nav-social-link.twitter svg,
.social-link.twitter svg {
  fill: #ffffff !important;
  stroke: none !important;
}

.nav-social-link svg {
  width: 1.1rem !important;
  height: 1.1rem !important;
}

.social-link svg {
  width: 1.25rem !important;
  height: 1.25rem !important;
}

/* Instagram Style */
.nav-social-link.instagram,
.social-link.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.nav-social-link.instagram:hover,
.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  filter: brightness(1.1) !important;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.4) !important;
}

/* Facebook Style */
.nav-social-link.facebook,
.social-link.facebook {
  background-color: #1877F2 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.nav-social-link.facebook:hover,
.social-link.facebook:hover {
  background-color: #1877F2 !important;
  filter: brightness(1.1) !important;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4) !important;
}

/* X (formerly Twitter) Style */
.nav-social-link.twitter,
.social-link.twitter {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.nav-social-link.twitter:hover,
.social-link.twitter:hover {
  background-color: #1a1a1a !important;
  filter: brightness(1.2) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

/* --- Why Trust Seoul Aesthetics Mobile Carousel (Responsive Swipeable Slider) --- */

@media (max-width: 767px) {
  .trust-cards-carousel {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 1.25rem !important;
    padding: 1rem 0.75rem 2rem 0.75rem !important;
    margin: 0 -0.75rem !important;
    scrollbar-width: none !important; /* Hide Firefox scrollbars */
  }

  .trust-cards-carousel::-webkit-scrollbar {
    display: none !important; /* Hide Chrome/Safari scrollbars */
  }

  .trust-cards-carousel .trust-card {
    flex: 0 0 85% !important; /* Visual peek effect for next card */
    scroll-snap-align: center !important;
    margin: 0 !important;
  }
}

/* Mobile Trust Carousel Dots Navigation */
.trust-carousel-dots {
  display: none;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .trust-carousel-dots {
    display: flex;
  }
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(229, 9, 20, 0.2);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.trust-dot.active {
  width: 24px;
  border-radius: var(--radius-full);
  background-color: var(--korean-rose);
}

/* Mobile-only CTA Next Button inside Hero Embedded Quiz */
.hero-quiz-cta {
  display: none !important;
}

@media (max-width: 767px) {
  .hero-quiz-cta {
    display: inline-flex !important;
    width: 100% !important;
    justify-content: center !important;
    margin-top: 1rem !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
}

/* Mobile-only layout shifts for Hero Quiz Card */
@media (max-width: 767px) {
  /* Hide the cramped embedded quiz card completely on mobile view */
  .hero-cta-box {
    display: none !important;
  }

  /* Show the premium mobile-only hero CTA trigger */
  .hero-mobile-quiz-trigger {
    display: inline-flex !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 1.15rem 2rem !important;
    font-size: 1.1rem !important;
    margin-top: 1.5rem !important;
    box-shadow: var(--shadow-lg) !important;
  }
}

/* Hide the mobile trigger on desktop by default */
.hero-mobile-quiz-trigger {
  display: none !important;
}

/* Sleek & Slim Testimonials Carousel Footer (Navigation & Dots) on Mobile */
@media (max-width: 767px) {
  /* Reduce nav bar top margin */
  .testimonials-nav {
    margin-top: 1rem !important;
    gap: 1rem !important;
  }

  /* Make prev/next chevron buttons slim and slick */
  .carousel-btn {
    width: 2.25rem !important;
    height: 2.25rem !important;
    border-width: 1.5px !important;
  }

  /* Reduce chevron svg icon size inside nav buttons */
  .carousel-btn svg {
    width: 1rem !important;
    height: 1rem !important;
  }

  /* Make testimonial dots sleek */
  .carousel-dots {
    gap: 0.4rem !important;
  }

  .carousel-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .carousel-dot.active {
    width: 16px !important;
  }

  /* Slim down avatars stack below testimonials */
  .avatars-stack {
    margin-top: 2rem !important;
  }

  .avatars-stack p {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }

  .stacked-circle {
    width: 2rem !important;
    height: 2rem !important;
    margin-left: -0.6rem !important;
  }
}
