/* 
   LuvLnk - Relationship Support Platform 
   Premium Design System 
*/

:root {
  /* Brand Colors - Love & Trust Theme */
  --color-bg-dark: #0a0e17;
  --color-bg-card: #161b28;

  /* Trust (Blue) */
  --color-primary: #0984e3;
  /* Love (Pink) */
  --color-secondary: #e84393;

  --color-accent: #00cec9;

  --color-text-white: #ffffff;
  --color-text-muted: #b2b2b2;

  /* Gradient: Trust to Love */
  --gradient-main: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  --gradient-warm: linear-gradient(135deg, var(--color-secondary), #fab1a0);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Modal Headers */
.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  /* background: linear-gradient(to right, #fff, #ccc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; */
  color: white;
  margin-bottom: 0.5rem;
}

.modal-content p {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
}

/* Sections */
section {
  padding: var(--spacing-xl) 0;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  /* or your heading font */
  font-weight: 900;
  /* Extra Bold */

  /* Massive Responsive Size */
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  /* Tight tracking */

  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  /* Lift off bg */
  color: white;
}

/* --- Hero Subtext & Typewriter Animation --- */
.hero-subtext {
  display: block;
  /* Change to block to force new line behavior naturally if needed, or keep inline-flex with <br> */
  /* Actually, the <br> in HTML handles the break. */
  /* To prevent layout shift, we need a fixed height for the typewriter part */

  /* Gradient for the whole line */
  background: linear-gradient(135deg, #e84393, #0984e3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  font-weight: 700;
  min-height: 1.5em;
  /* Reserve space for the text */
}

/* Cursor Effect */
.typewriter-cursor::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  color: #e84393;
  /* Pink cursor matches gradient end */
  animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero p {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
}

/* --- Hero Cards (Gen-Z Premium) --- */
.hero-cards-container {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-card {
  /* Structure */
  flex: 1;
  min-width: 300px;
  max-width: 340px;
  height: 110px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-align: left;

  /* Glassmorphism Base */
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  /* Organic "Squircle" Shape */
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  /* Interaction */
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Springy feel */
  position: relative;
  overflow: hidden;
}

/* 1. Individual Session - "Zen Blue" */
.hero-card-individual {
  background: linear-gradient(135deg, rgba(9, 132, 227, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(9, 132, 227, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-card-individual:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #0984e3;
  box-shadow:
    0 20px 40px rgba(9, 132, 227, 0.3),
    inset 0 0 20px rgba(9, 132, 227, 0.1);
}

.hero-card-individual .icon-box {
  font-size: 2.2rem;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  /* Matching squircle */
  background: linear-gradient(135deg, rgba(9, 132, 227, 0.2), rgba(9, 132, 227, 0.05));
  border: 1px solid rgba(9, 132, 227, 0.2);
  color: #74b9ff;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
  overflow: hidden;
  /* Ensure icon doesn't spill out */
  transform-origin: center;
}

/* Specific selector for the inner icon container */
.hero-card-individual:hover .icon-box {
  background: #0984e3;
  color: white;
  /* NO ROTATION, NO SCALE OF CONTAINER */
}

/* Scale ONLY the content inside */
.hero-card-individual .icon-box>* {
  transition: transform 0.4s ease;
  display: inline-block;
}

.hero-card-individual:hover .icon-box>* {
  transform: scale(1.25);
  /* Scale ONLY the icon/emoji */
}


/* 2. Couple Session - "Love Pop" */
.hero-card-couple {
  background: linear-gradient(135deg, rgba(232, 67, 147, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(232, 67, 147, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-card-couple:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #fd79a8;
  box-shadow:
    0 20px 40px rgba(232, 67, 147, 0.4),
    inset 0 0 20px rgba(232, 67, 147, 0.1);
}

.hero-card-couple .icon-img {
  width: 55px;
  height: 55px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid rgba(232, 67, 147, 0.3);
  transition: transform 0.4s ease, border-color 0.4s ease;
  transform-origin: center;
}

.hero-card-couple:hover .icon-img {
  /* Scale the image itself since it's an img tag, acting as the content */
  transform: scale(1.15);
  border-color: #e84393;
  /* NO ROTATION */
}

/* 3. Instant Therapy - "Holographic Urgent" */
.hero-card-instant {
  /* Holographic/Iridescent Gradient */
  background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 50%, #fff0f5 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  /* Added subtle border base */
  box-shadow: 0 10px 40px rgba(255, 154, 158, 0.4);
  /* RE-ADDED FLOAT ANIMATION LATER in keyframes */
  animation: float-breath 6s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-card-instant:hover {
  /* LIFT ON HOVER - Same as others */
  transform: translateY(-8px) scale(1.02);
  border-color: #ff7675;
  /* Glow Border */
  box-shadow:
    0 20px 50px rgba(255, 107, 107, 0.6),
    inset 0 0 20px rgba(255, 255, 255, 0.5);
  /* Inner Glow */
  animation: none;
  /* Stop floating on hover so it stays lifted */
}

.hero-card-instant .icon-box {
  font-size: 2.2rem;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #e17055;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  overflow: hidden;
}

/* No container scale/rotate on hover */

/* Scale ONLY the content inside (Heart) */
.hero-card-instant .icon-box>span {
  transition: transform 0.4s ease;
  display: inline-block;
}

.hero-card-instant:hover .icon-box>span {
  transform: scale(1.25);
  /* Scale ONLY the heart icon */
  /* Remove heartbeat animation on hover? Or kept? Keeping for now, add scale */
}


/* Breathing Animation for Instant Card - DEFAULT STATE */
@keyframes float-breath {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }

  /* Hover state overrides this with explicit transform */
}

/* --- Animated Gradient Text --- */
.shiny-text {
  background-image: linear-gradient(120deg, #b5b5b5 0%, #b5b5b5 35%, #ffffff 50%, #b5b5b5 65%, #b5b5b5 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shiny-text-animation 2s linear infinite;
  display: inline-block;
}

@keyframes shiny-text-animation {
  0% {
    background-position: 150% center;
  }

  100% {
    background-position: -50% center;
  }
}

.animated-gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 100%;
  animation: gradient-move 8s linear infinite alternate;
  font-weight: 800;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.gradient-text-individual {
  background-image: linear-gradient(to right, #0984e3, #74b9ff, #00cec9, #0984e3);
}

.gradient-text-couple {
  background-image: linear-gradient(to right, #e84393, #fd79a8, #ff7675, #e84393);
}

.gradient-text-instant {
  background-image: linear-gradient(to right, #2d3436, #636e72, #2d3436);
}

/* Text Consistency */
.hero-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
  display: block;
  letter-spacing: -0.5px;
}

/* Specific text colors */
/* Specific text colors replaced by gradients */
/* .hero-card-individual .hero-card-title { color: #dff9fb; } */
/* .hero-card-couple .hero-card-title { color: #ffeaa7; } */
/* .hero-card-instant .hero-card-title { color: #2d3436; font-weight: 800; } */

.hero-card-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  opacity: 0.8;
  display: block;
  font-weight: 500;
}

.hero-card-individual .hero-card-subtitle {
  color: #b2bec3;
}

.hero-card-couple .hero-card-subtitle {
  color: #ffcccc;
}

/* Instant subtitle handles its own gradient in HTML or can be moved here */

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-cards-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.6rem !important;
    margin-top: 3.5rem !important;
  }

  .hero-card {
    width: 80% !important;
    max-width: 80% !important;
    height: auto !important;
    padding: 0.95rem !important;
    min-height: 72px !important;
    margin-left: 0 !important;
    /* Force reset */
  }

  .hero-card-title {
    font-size: 1.2rem !important;
  }

  .hero-card-subtitle {
    font-size: 0.7rem !important;
  }

  .hero p {
    margin-bottom: 0.8rem !important;
  }


  /* Robust Hamburger Hiding */
  .mobile-menu-active #hamburger-btn,
  .mobile-menu-active .mobile-menu-toggle {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

/* Cards */
.card {
  background: var(--color-bg-card);
  padding: var(--spacing-md);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-intensity: 0;
  --glow-radius: 1200px;
  --glow-color: 232, 67, 147;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(var(--glow-radius) circle at var(--glow-x) var(--glow-y),
      rgba(var(--glow-color), calc(var(--glow-intensity) * 0.8)),
      transparent 40%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: var(--glow-intensity);
  transition: opacity 0.3s ease;
  z-index: 10;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(var(--glow-radius) circle at var(--glow-x) var(--glow-y),
      rgba(var(--glow-color), calc(var(--glow-intensity) * 0.25)),
      transparent 40%);
  pointer-events: none;
  opacity: var(--glow-intensity);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card>* {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Magic Bento Particles */
.magic-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
}

/* Global Spotlight for Magic Bento */
.global-spotlight {
  position: fixed;
  width: 1200px;
  height: 1200px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  /* Dual Pink to Blue Gradient Spotlight */
  background: radial-gradient(circle,
      rgba(232, 67, 147, 0.25) 0%,
      rgba(9, 132, 227, 0.15) 20%,
      rgba(9, 132, 227, 0.05) 40%,
      transparent 70%);
}

/* Floating animation for icons/imgs */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
  animation: float 4s ease-in-out infinite;
}

/* Form Styles */
.form-group {
  margin-bottom: 0.8rem;
}

/* Base Input Styles */
input,
textarea,
select {
  width: 100%;
  padding: 1.1rem 1.5rem;
  /* Premium padding for ultra-rounded look */
  background: rgba(255, 255, 255, 0.03);
  /* More transparent/glossy */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  /* Ultra-rounded pill shape */
  color: white;
  margin-bottom: 0.8rem;
  /* Tightened spacing */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  font-family: 'Outfit', sans-serif;
  /* Premium primary font */
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  /* Elite tracking */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Placeholder Styling */
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

/* Hover State */
input:hover:not(:focus),
textarea:hover:not(:focus) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Focus State - Active typing */
input:focus,
textarea:focus {
  outline: none;
  background: rgba(10, 14, 23, 0.8);
  /* Darker background to pop text */
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(9, 132, 227, 0.15), 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  /* Subtle lift */
}

/* Filled State - When block is filled (relies on placeholder presence in HTML) */
input:not(:placeholder-shown):not(:focus),
textarea:not(:placeholder-shown):not(:focus) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 67, 147, 0.5);
  /* Subtle pink/primary border */
  box-shadow: inset 0 0 10px rgba(232, 67, 147, 0.05);
  color: #fff;
}

/* Input Validation / Autocomplete states */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #1a1e29 inset !important;
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.38rem 10px;
  max-width: 98%;

  /* Liquid Glass / Matte Transparent */
  background: rgba(10, 14, 23, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);

  /* Sticky at top */
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  /* Reduced 30% from 3rem */
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 2.1rem;
  background: linear-gradient(135deg, #e84393 0%, #0984e3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links a {
  margin-left: 2rem;
  font-weight: 500;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--spacing-lg) 0;
  text-align: center;
  color: var(--color-text-muted);
}

@keyframes blink {
  50% {
    opacity: 0.5;
  }
}

.blink-fast {
  animation: blink 1s linear infinite;
}

.payment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(5px);
  border-radius: inherit;
  /* Inherit border radius from parent */
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}

/* --- RESPONSIVE NAVIGATION (GLOBAL) --- */
.mobile-menu-toggle {
  display: none;
  /* Hidden by default, shown by JS if logged in */
  background: transparent !important;
  /* Invisible Background */
  border: none !important;
  /* Invisible Border */
  font-size: 1.8rem;
  /* Larger Icon */
  color: white;
  cursor: pointer;
  margin-right: 0.5rem;
  /* Reduced Gap to Logo */
  padding: 0;
  /* Remove internal padding */
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  box-shadow: none !important;
  /* Remove Shadow */
  backdrop-filter: none !important;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
  color: var(--color-primary);
  /* Only color change on hover */
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.nav-links {
  display: none !important;
  /* Hidden Globally - Sidebar is Main Nav */
}

/* --- MOBILE SIDEBAR (Premium) --- */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2999;
  display: none;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  /* Width reduced 20% from 300px */
  height: 100%;
  background: #161b28;
  /* Dark Blue Theme */
  backdrop-filter: blur(28px);
  /* Increased Blur */
  -webkit-backdrop-filter: blur(28px);
  z-index: 3000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    15px 0 35px rgba(0, 0, 0, 0.6),
    /* Deeper Shadow */
    inset 1px 1px 0 rgba(255, 255, 255, 0.1),
    /* Top-Left Light Edge */
    inset -1px -1px 0 rgba(0, 0, 0, 0.3),
    /* Bottom-Right Dark Edge */
    1px 0 0 rgba(232, 67, 147, 0.3);
  /* Pink Right Edge */
  border-right: 1px solid rgba(232, 67, 147, 0.3);
  /* Pink Border */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* For glass sheen containment */
}

/* Glossy Reflection (Real Glass Look) */
.mobile-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(125deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.02) 40%,
      transparent 60%);
  pointer-events: none;
  z-index: 1;
  /* Above bg, below content */
}

/* Liquid Glow for Mobile Menu */
.mobile-sidebar::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 150px;
  background: linear-gradient(90deg, #e84393, #0984e3);
  /* Pink -> Blue */
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
  animation: liquidPulse 6s ease-in-out infinite alternate;
}

.mobile-sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  padding: 0.2rem 1.5rem;
  /* Ultra compact height */
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

/* 3D Premium Profile Picture */
.sidebar-user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid transparent;
  /* Required for gradient border */
  background-image: linear-gradient(#111, #111), linear-gradient(135deg, #e84393, #0984e3);
  /* Dark Blue -> Pink */
  background-origin: border-box;
  background-clip: content-box, border-box;
  object-fit: cover;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.5),
    /* Deep Shadow */
    0 0 15px rgba(232, 67, 147, 0.4);
  /* Pink Glow */
}

.close-sidebar-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.8rem;
  cursor: pointer;
}

.sidebar-menu {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 8px 12px;
  /* Further Reduced Padding */
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 1.05rem;
  /* Increased 30% from 0.8rem */
  font-weight: 500;
  display: block;
  transition: all 0.3s ease;
  border-radius: 8px;
  /* More compact radius */
  margin-bottom: 2px;
  /* Much tighter spacing */
  letter-spacing: 0.3px;
  position: relative;
  z-index: 2;
}

.sidebar-item .icon {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.sidebar-item:hover {
  background: rgba(9, 132, 227, 0.1);
  color: white;
  transform: translateX(5px);
}

/* Premium Blue Liquid Glass Button (My Bookings) - NO DOT */
.sidebar-item-blue {
  /* Reset to Standard Link Style */
  background: transparent;
  border: none;

  /* Synced with Modal Header Style - Premium 3D */
  /* background: linear-gradient(135deg, #e84393 0%, #0984e3 100%); */
  /* -webkit-background-clip: text; */
  /* background-clip: text; */
  color: #f5f5f5;
  /* Premium Off-White */
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  /* Exact shadow from modal */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));

  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 8px 12px;
  /* Match standard padding */
  font-size: 1.45rem !important;
  /* INCREASED 80% from 0.8rem */
  font-family: 'Outfit', sans-serif;
  /* Explicitly match header font */
  font-weight: 700;
  /* Bold */
  letter-spacing: 0.5px;
  /* text-transform: uppercase; */
  /* Optional for premium feel */

  text-align: left;
  /* Reset alignment */
  justify-content: flex-start;
  margin-bottom: 2px;
  /* Match standard margin */
  border-radius: 8px;
  /* Match standard border-radius */
  display: flex;
  /* Keep flex for icon alignment */
  align-items: center;
  gap: 15px;
  /* Keep gap for icon alignment */
}

/* Optional: Keep a subtle active/hover state if needed, but for now completely normal */
.sidebar-item-blue:hover {
  /* Pink/Blue Gradient + Glow */
  background: linear-gradient(135deg, #e84393 0%, #0984e3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  box-shadow: 0 4px 20px rgba(232, 67, 147, 0.3);
  border-color: rgba(9, 132, 227, 0.4);
}

/* Blue Dot Removed */
@keyframes pulseBlue {
  0% {
    box-shadow: 0 0 0 0 rgba(116, 185, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(116, 185, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(116, 185, 255, 0);
  }
}

/* Premium Red Liquid Glass Logout Button */
.sidebar-item.logout-item {
  margin-top: auto;
  background: rgba(231, 76, 60, 0.1);
  /* Red Glass Base */
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(0, 0, 0, 0));
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #ff7675;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 50px;
  /* Fully Rounded */
  padding-left: 35px;
  /* Space for Dot on Left */
}

.sidebar-item.logout-item:hover {
  background: rgba(231, 76, 60, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
  color: white;
  border-color: #ff7675;
}

/* Red Dot Indicator (Left Side) */
.sidebar-item.logout-item::before {
  content: '';
  position: absolute;
  left: 15px;
  /* Left Positioning */
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #ff7675;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 118, 117, 0.8);
  animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 118, 117, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(255, 118, 117, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 118, 117, 0);
  }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero p {
    font-size: 0.85rem !important;
    /* Reduced further to ~30% total */
  }

  /* Reduce "Before They Become" by 10% relative to h1 */
  .hero-subtext {
    font-size: 0.9em;
  }

  /* Hide Desktop Nav Links - Already Global */
  /* .nav-links { display: none; } */

  /* Show Hamburger - Already Global */
  /* .mobile-menu-toggle { display: block; } */

  /* Mobile Header Adjustments */

  /* Align Hamburger to left edge */
  .mobile-menu-toggle {
    justify-content: flex-start !important;
    width: auto !important;
    padding-left: 0 !important;
  }

  nav.container {
    padding-left: 0 !important;
    /* Flush Left as requested */
    padding-right: 10px !important;
    /* Minimal Right Padding */
    max-width: 100%;
    /* Use full width */
  }

  /* 1. Hide Login Button on Mobile details */
  /* 1. Login Button Visibility: Restored for Mobile (User Request) */
  nav a.btn[href="user_login.html"] {
    display: inline-block !important;
  }

  /* 2. Show Original Profile Image and Text (Scaled) - BUT HIDE DEFAULT LOGIN PROMPT */
  .nav-info-container {
    display: none !important;
    /* Hide by default on mobile (User Request) */
  }

  /* ONLY show if it contains an image (Logged In State) - This will be handled by JS adding a class or simply relying on the fact that the image is inside.
     Actually, the user request says "Remove this i icon and message".
     The login prompt is static HTML. The profile is dynamic.
     Let's hide the container. If the user is logged in, the script replaces the Login Button with a profile.
     The .nav-info-container holds the "Please LogIn" message.
  */

  /* Ensure text is visible and scaled */
  /* (Empty rule removed) */

  .nav-info-container>* {
    font-size: 0.9rem !important;
    /* Scaled down from desktop */
    color: white !important;
    display: block !important;
  }

  /* Enforce Image Visibility & Interaction */
  .nav-info-container img {
    display: block !important;
    width: 35px;
    /* Slightly smaller than desktop 40px */
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    /* margin-left: 10px;  Removed to use gap */
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    pointer-events: auto;
  }

  /* Blink Animation Class (Used by JS) */
  .blink-anim {
    animation: avatarBlink 0.3s ease-in-out;
  }

  @keyframes avatarBlink {
    0% {
      opacity: 1;
      transform: scale(1);
    }

    50% {
      opacity: 0.5;
      transform: scale(0.9);
    }

    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Tooltip for "Hi Name" */
  .mobile-avatar-tooltip {
    position: absolute;
    top: 65px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2000;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .mobile-avatar-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Desktop default for avatar */
.mobile-user-avatar {
  display: none;
}

/* Expert Filters */
.expert-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Expert Card Details */
.expert-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.expert-avatar {
  width: 60px;
  height: 60px;
  background: #333;
  border-radius: 50%;
  object-fit: cover;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-right: 5px;
}

/* 3D White Dot (Pearl) */
/* 3D Green Dot (Pearl) - ROBUST FIX */
.green-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  /* Prevent collapse */
  min-height: 8px;
  background: radial-gradient(circle at 35% 35%, #2ecc71, #27ae60);
  /* Green Gradient */
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(46, 204, 113, 0.6), 1px 1px 3px rgba(0, 0, 0, 0.3);
  /* Green Glow + Shadow */
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
  opacity: 1 !important;
  /* Force visibility */
  position: relative;
  /* Ensure z-index context */
  z-index: 10;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #e74c3c;
  /* Urgent red */
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
  animation: pulse 2s infinite;
}

.sticky-cta:hover {
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

/* Quiz Styles */
@keyframes starBlink {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.star-blink {
  animation: starBlink 2s infinite ease-in-out;
}

#quiz-questions {
  /* Ensure visibility overrides */
  display: none;
  /* JS toggles this */
  animation: fadeIn 0.5s ease-out;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-option:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* New Pill Option for AI Diagnosis */
.quiz-option-pill {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  margin-bottom: 0.5rem;
  border-radius: 50px;
  background: rgba(232, 67, 147, 0.1);
  border: 2px solid rgba(232, 67, 147, 0.4);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}

.quiz-option-pill:hover {
  background: rgba(232, 67, 147, 0.3);
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(232, 67, 147, 0.3);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s;
}

.modal-content {
  background: rgba(22, 27, 40, 0.75);
  /* Dark Glass */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin: 5% auto;
  padding: 2rem;
  /* Increased padding */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  /* More Rounded */
  width: 90%;
  max-width: 450px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  /* Bouncy Entrance */
}

/* Modal Glow Wrapper */
.modal-content-glow-wrapper::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -5%;
  right: -5%;
  bottom: -5%;
  background: linear-gradient(135deg, rgba(232, 67, 147, 0.4), rgba(9, 132, 227, 0.4));
  filter: blur(80px);
  z-index: -1;
  opacity: 0.8;
  border-radius: 30px;
  pointer-events: none;
  animation: modal-pulse-glow 4s infinite alternate ease-in-out;
}

@keyframes modal-pulse-glow {
  0% {
    opacity: 0.6;
    transform: scale(0.98);
  }

  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* Session Info Box */
.session-info-box {
  padding: 1rem;
  border-radius: 12px;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  margin-bottom: 1rem;
}

.individual-theme {
  border-color: rgba(9, 132, 227, 0.5);
  background: linear-gradient(135deg, rgba(9, 132, 227, 0.1), rgba(9, 132, 227, 0.05));
}

.couple-theme {
  border: none;
  background: linear-gradient(135deg, #e84393 0%, #fd79a8 100%);
  box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

.instant-theme {
  border: none;
  background: linear-gradient(135deg, #d63031 0%, #ff7675 100%);
  box-shadow: 0 4px 15px rgba(214, 48, 49, 0.3);
}

/* Upload Container */
.upload-container {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

.close-modal {
  color: #aaa;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  z-index: 1000;
}

.close-modal:hover,
.close-modal:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .grid-2-feature {
    display: grid;
  }
}

@media (max-width: 768px) {
  .grid-2-feature {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .modal-content {
    margin: 20% auto;
    padding: 1.5rem;
  }
}

/* --- PRICING REDESIGN (Final Polish) --- */
.pricing-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  /* Balanced spacing */
  flex-wrap: nowrap;
  /* Force single line on desktop */
  padding: 3rem 1rem;
  margin-top: 1rem;
  overflow-x: auto;
  /* Safety scroll for very small screens */
  padding-bottom: 4rem;
  /* For hover effects */
}

@media (max-width: 900px) {
  .pricing-grid {
    justify-content: flex-start;
    padding-left: 10vw;
    padding-right: 10vw;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
  }

  .pricing-grid .pricing-card {
    min-width: 75vw;
    width: 75vw;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

.pricing-card {
  /* Base Glassy Structure */
  border-radius: 20px;
  padding: 3rem 1.5rem 2rem 1.5rem;
  /* Compact padding */
  width: 300px;
  /* Slightly narrower */
  min-width: 280px;
  min-height: 420px;
  /* Compact height */
  position: relative;
  /* For icon positioning */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  /* Bouncy 3D Scale */
  flex-shrink: 0;
}

/* Hover 3D Scale Effect */
.pricing-card:hover {
  transform: scale(1.05) translateY(-10px);
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5) !important;
}

/* Variant: Individual (Dark Blue Glassy) */
.pricing-card-individual {
  background: rgba(10, 14, 25, 0.9);
  /* Deep Dark */
  border: 1px solid rgba(9, 132, 227, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Subtle Blue Inner Glow */
  background: radial-gradient(circle at top right, rgba(9, 132, 227, 0.15), transparent 60%),
    linear-gradient(180deg, rgba(15, 20, 30, 0.95), rgba(10, 10, 15, 0.98));
}

/* Variant: Couple (Pink Glassy Mix) */
.pricing-card-couple {
  background: rgba(25, 10, 20, 0.8);
  border: 1px solid rgba(232, 67, 147, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Pink/Light Mix */
  background: radial-gradient(circle at top right, rgba(232, 67, 147, 0.2), transparent 50%),
    linear-gradient(135deg, rgba(30, 15, 25, 0.9) 0%, rgba(45, 20, 35, 0.8) 100%);
}

/* Variant: Instant (Pink Glassy Mix - Similar to Couple but Lighter feel) */
.pricing-card-instant {
  background: rgba(30, 20, 25, 0.8);
  border: 1px solid rgba(255, 154, 158, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Red Gradient for Emergency/Panic */
  background: radial-gradient(circle at top right, rgba(255, 71, 87, 0.4), transparent 60%),
    linear-gradient(135deg, rgba(60, 10, 10, 0.95) 0%, rgba(100, 20, 20, 0.9) 100%);
}


/* Icons (Small, Top Right Corner) */
.pricing-header-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  /* Small size */
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  /* Small icon font size */
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.pricing-header-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Blinking Animation for Broken Heart */
@keyframes blink-heart {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.9);
  }
}

.icon-blink {
  animation: blink-heart 1s infinite ease-in-out;
  /* Faster blink */
}


/* Typography (Large 3D Bold) */
.pricing-title {
  font-size: 2.2rem;
  /* Large Main Word */
  color: #fff;
  font-weight: 900;
  /* Super Bold */
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  /* 3D Text Shadow Effect */
  text-shadow:
    1px 1px 0 #000,
    2px 2px 0 #000,
    3px 3px 0 #000,
    4px 4px 10px rgba(0, 0, 0, 0.5);
  background: none;
  -webkit-text-fill-color: initial;
  display: flex;
  flex-direction: column;
  /* Stack words: Title on top, suffix below */
  align-items: flex-start;
}

/* Suffix Style (Session/Therapy) */
.title-suffix {
  font-size: 0.5em;
  /* 50% of the title size */
  font-weight: 700;
  opacity: 0.8;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: none;
  /* Cleaner look for small text */
}

/* Instant Card Text Colors */
.pricing-card-instant .pricing-title {
  color: #fff;
}



.pricing-card-instant .pricing-per {
  color: #ccc;
}

.pricing-card-instant .pricing-features li {
  color: #ddd;
}

.pricing-card-instant .check-icon {
  background: #fff;
  color: #ff7675;
}


/* Content Styling */
.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

/* Pricing Amounts & Text */
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2ecc71;
  /* Green Price */
  font-family: var(--font-heading);
  text-shadow: none;
}



/* Ensure "per 20 mins" etc is white/light */
.pricing-per {
  font-size: 1rem;
  color: #e0e0e0;
  /* Off-White */
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f1f2f6;
  /* White text for features */
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}


/* Feature List */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.5rem 0;
  width: 100%;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #bdc3c7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
}


/* Highlights / Badge */
.pricing-card-stacked .check-icon {
  background: #dcdde1;
  color: #2f3542;
}

.save-badge {
  display: block;
  /* SHOW THE BADGE */
  position: absolute;
  top: -12px;
  /* Close to card edge */
  left: 50%;
  transform: translateX(-50%) perspective(500px) translateZ(30px);
  background: linear-gradient(145deg, #ff4757, #ff6b81);
  color: white;
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  /* 3D Shadows & Bevel */
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.4),
    /* Deep Drop Shadow */
    0 4px 0 #c41e30,
    /* 3D Edge/Thickness */
    inset 0 2px 5px rgba(255, 255, 255, 0.5);
  /* Inner Highlight */
  white-space: nowrap;
  z-index: 100;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Button Styling (Theme Matched) */
.btn-pricing {
  width: 100%;
  padding: 1rem;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  color: white;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Individual: Blue */
.pricing-card-individual .btn-pricing {
  background: #0984e3;
}

.pricing-card-individual .btn-pricing:hover {
  box-shadow: 0 8px 25px rgba(9, 132, 227, 0.6);
  transform: translateY(-3px);
}

/* Couple: Pink */
.pricing-card-couple .btn-pricing {
  background: #e84393;
}

.pricing-card-couple .btn-pricing:hover {
  box-shadow: 0 8px 25px rgba(232, 67, 147, 0.6);
  transform: translateY(-3px);
}

/* Instant: Red/Pink (Red requested, but matching border usually looks best. Using bright Red-Pink) */
.pricing-card-instant .btn-pricing {
  background: #ff4757;
  /* Red */
}

.pricing-card-instant .btn-pricing:hover {
  background: #ff6b81;
  /* Lighter Red hover */
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
  transform: translateY(-3px);
}

.btn-pricing-highlight {
  background: #0984e3;
  /* Brand Blue */
  box-shadow: 0 4px 15px rgba(9, 132, 227, 0.3);
}

.btn-pricing-highlight:hover {
  background: #00cec9;
  /* Cyan hover */
  box-shadow: 0 8px 25px rgba(0, 206, 201, 0.4);
  transform: translateY(-2px);
}

/* --- Recording Animation --- */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

.pulse-anim {
  animation: pulse 1.5s infinite;
  background: #c0392b !important;
  border-color: #ff7675 !important;
}

/* Instant Therapy Glow Effect */
@keyframes glow-pink {
  0% {
    transform: scale(1.05);
    box-shadow: 0 0 0 0 rgba(255, 154, 158, 0.7);
  }

  50% {
    transform: scale(1.08);
    /* Slight pop */
    box-shadow: 0 0 20px 10px rgba(255, 154, 158, 0.4);
  }

  100% {
    transform: scale(1.05);
    box-shadow: 0 0 0 0 rgba(255, 154, 158, 0);
  }
}

.instant-highlight {
  animation: glow-pink 2s infinite ease-in-out;
  position: relative;
}

.instant-highlight::after {
  position: absolute;
  top: -15px;
  right: -10px;
  background: #FF9A9E;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: float 2s infinite;
}

/* Instant Therapy Title Animation */
@keyframes neon-shake {

  0%,
  100% {
    opacity: 1;
    transform: translateX(0);
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }

  50% {
    opacity: 0.4;
    text-shadow: none;
  }
}

/* Instant Therapy Button Text (Large Premium 3D) */
.hero-card-instant>div:last-child>div:first-child {
  font-size: 1.45rem !important;
  /* Reduced 10% */
  font-weight: 900 !important;
  color: #2d3436 !important;
  /* Dark text for contrast on light bg */
}

.instant-title-anim {
  color: #ff0000 !important;
  font-weight: 800 !important;
  font-size: 2.5rem !important;
  text-transform: uppercase;
  animation: neon-shake 1.2s infinite;
  margin-bottom: 1.5rem !important;
  text-align: center;
  display: block;
  letter-spacing: 1px;
}

/* --- Video Room Styles --- */
.video-room-body {
  background-color: #000;
  overflow: hidden;
  /* Prevent scrolling */
  height: 100vh;
  width: 100vw;
  color: white;
  font-family: 'Outfit', sans-serif;
}

.video-room-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

/* Expert View (Full Screen Background) */
.expert-view {
  flex: 1;
  position: relative;
  height: 100%;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.expert-view .video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.participant-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(5px);
  z-index: 10;
}

/* User View (Draggable, Floating) */
.user-view {
  position: absolute;
  width: 180px;
  height: 240px;
  background: #333;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
  cursor: grab;
  top: 20px;
  right: 380px;
  /* Initial position to left of chat */
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
}

.user-view:active {
  cursor: grabbing;
  transform: scale(1.02);
}

.user-view .video-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Chat Sidebar */
.chat-sidebar {
  width: 350px;
  background: #1e1e1e;
  border-left: 1px solid #333;
  display: flex;
  flex-direction: column;
  z-index: 50;
  transition: transform 0.3s ease;
}

.chat-header {
  padding: 20px;
  border-bottom: 1px solid #333;
  text-align: center;
  background: #252525;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 85%;
  font-size: 0.9rem;
  line-height: 1.4;
}

.message.system {
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  text-align: center;
  align-self: center;
  border-radius: 50px;
  font-size: 0.8rem;
}

.message.sent {
  background: var(--color-primary);
  /* Uses existing blue variable */
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

/* Glassmorphism Utilities (Ported from Login) */
.glass-card {
  background: rgba(22, 27, 40, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-modal-content {
  background: rgba(22, 27, 40, 0.85);
  /* Slightly darker for modal readability */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  margin: 5% auto;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* Bouncy pop */
}

/* Dropdown Animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-animate {
  animation: dropdownFade 0.2s ease-out forwards;
}


.message.received {
  background: #333;
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.chat-input-area {
  padding: 20px;
  background: #252525;
  display: flex;
  gap: 10px;
}

.chat-input-area input {
  flex: 1;
  background: #111;
  border: 1px solid #444;
  padding: 12px;
  border-radius: 25px;
  color: white;
  outline: none;
  margin-bottom: 0;
}

.chat-input-area button {
  background: var(--color-secondary);
  /* Pink */
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: transform 0.2s;
}

.chat-input-area button:hover {
  transform: scale(1.1);
}

/* Status Indicator */
.status-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  z-index: 100;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge.connecting {
  color: #f1c40f;
}

.status-badge.connected {
  color: #2ecc71;
}

.status-badge.disconnected {
  color: #e74c3c;
}

/* Quotes Section */
.quotes-container {
  position: absolute;
  bottom: 100px;
  /* Above controls */
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  text-align: center;
  z-index: 20;
  pointer-events: none;
}

.quote-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to right, #fff, #ffeaa7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.5s;
  font-family: 'Outfit', sans-serif;
}

/* Bottom Controls */
.controls-bar {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  display: flex;
  gap: 15px;
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  /* Centering icon */
  justify-content: center;
  /* Centering icon */
  align-items: center;
  /* Centering icon */
}

.control-btn:hover {
  background: white;
  color: #333;
  transform: translateY(-3px);
}

.control-btn.muted,
.control-btn.off {
  background: #e74c3c;
  color: white;
}

.control-btn.end-call {
  background: #ff4757;
  width: 60px;
  /* Slightly bigger */
}

.control-btn.end-call:hover {
  background: #ff6b81;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.user-view {
  animation: float 6s ease-in-out infinite;
}

/* Stop float when dragging - handled by JS removing class or overriding transform if needed, but transform translation is separate from top/left */


/* Partner View Specifics */
.partner-view {
  right: 580px;
  /* Position next to user view */
  border-color: rgba(232, 67, 147, 0.4);
  /* Pinkish border for partner */
  box-shadow: 0 10px 30px rgba(232, 67, 147, 0.2);
  animation-delay: -3s;
  /* Offset float animation */
}


/* --- Session Timer --- */
.session-timer {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 50;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 2px;
  transition: color 1s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Premium Payment Overlay --- */
.payment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  /* Darker backdrop */
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.payment-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.payment-content {
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
  max-width: 90%;
}

.payment-title {
  font-size: 1.8rem;
  color: #ffd700;
  /* Gold */
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  font-family: 'Outfit', sans-serif;
}

.payment-subtitle {
  color: #ccc;
  margin-bottom: 25px;
  font-size: 1rem;
}

.payment-btn {
  background: linear-gradient(45deg, #ffd700, #f1c40f);
  color: #000;
  border: none;
  padding: 12px 35px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.payment-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.premium-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}


/* --- Watermark --- */
.watermark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  z-index: 15;
  /* Above video, below controls */
  pointer-events: none;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}

/* --- Red Blink Animation --- */
@keyframes blinkRed {

  0%,
  100% {
    color: #e74c3c;
    opacity: 1;
  }

  50% {
    color: #ff0000;
    opacity: 0.5;
  }
}

.blink-red {
  animation: blinkRed 1s infinite;
  font-weight: 800;
  /* Extra bold when warning */
}


/* --- Chat Body Container for Overlay --- */
.chat-body-container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Ensure overlay stays inside */
}

/* --- RESCHEDULE MODAL STYLES --- */
.date-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccc;
  padding: 10px 5px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.date-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.date-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.4);
}

.time-select {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 10px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.time-select:focus {
  border-color: var(--color-primary);
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Heartbeat Animation for Broken Heart Icon */
@keyframes heartBeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.3);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.3);
  }

  70% {
    transform: scale(1);
  }
}

.heart-beat-animation {
  display: inline-block;
  animation: heartBeat 1.3s infinite ease-in-out;
}

/* Scroll Animation Utility */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


/* OTP & Verification Styles (Ported) */
.otp-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(9, 132, 227, 0.2);
  color: #0984e3;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  cursor: pointer;
  border: 1px solid rgba(9, 132, 227, 0.4);
  transition: all 0.2s;
  font-weight: 600;
}

.otp-btn:hover {
  background: rgba(9, 132, 227, 0.4);
  color: white;
}

.verified-badge {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #2ecc71;
  font-size: 1rem;
}

.inline-otp-container {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(10, 14, 23, 0.95);
  padding: 0 5px;
  border-radius: 8px;
  display: none;
}

.inline-otp-input {
  width: 70px;
  background: #1f2937;
  border: 1px solid #374151;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-align: center;
  outline: none;
}

.inline-confirm-btn {
  background: #2ecc71;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  font-weight: bold;
}

/* Profile Picture Edit */
.profile-pic-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  cursor: pointer;
}

.profile-pic-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
  box-shadow: 0 0 20px rgba(9, 132, 227, 0.3);
}

.profile-edit-icon {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: var(--color-secondary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  border: 2px solid #161b28;
  transition: transform 0.2s;
}

.profile-pic-container:hover .profile-edit-icon {
  transform: scale(1.1);
}

/* --- ANIMATIONS --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes blink {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.9);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.blink-animation {
  animation: blink 0.5s ease-in-out;
}

/* --- Premium Floating Login Note --- */
/* --- Premium Floating Login Note --- */
.nav-info-container {
  display: flex;
  align-items: center;
  position: relative;
  margin-right: 1.5rem;
}

.info-icon {
  width: 15px;
  /* Increased size */
  height: 15px;
  /* Increased size */
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: black;
  /* Black 'i' */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Times New Roman', serif;
  font-style: italic;
  font-weight: bold;
  font-size: 10px;
  /* Slightly larger font */
  cursor: pointer;
  background: white;
  /* White background */
  transition: all 0.3s ease;
}

.info-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.floating-note {
  position: absolute;
  top: 10px;
  /* Nudged up */
  right: 14px;
  /* Nudged right to connect */
  left: auto;
  /* Reset left */
  transform: none;
  background: rgba(255, 255, 255, 0.5);
  /* 50% opacity */
  backdrop-filter: blur(5px);
  color: #2d3436;
  padding: 0.25rem 0.4rem;
  border-radius: 8px;
  font-size: 0.6rem;
  font-weight: 600;
  font-style: italic;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  animation: float-note-side 3s ease-in-out infinite;
  z-index: 1000;
}

/* Removed Little triangle for the note */

@keyframes float-note-side {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-5px);
    /* Gentle float away from icon */
  }
}

/* --- User Greeting Text Scaling --- */
.user-greeting-text {
  font-size: 1.7rem;
  /* Default Desktop Size */
  transition: font-size 0.3s ease;
}

/* Mobile Profile wrapper adjustments */
@media (max-width: 768px) {

  /* Scale down the greeting text */
  .user-greeting-text {
    font-size: 0.9rem !important;
  }

  /* Scale down the profile picture wrapper */
  .profile-pic-small {
    width: 35px !important;
    height: 35px !important;
    font-size: 0.8rem !important;
  }

  /* Adjust gap in the wrapper */
  #profile-trigger {
    gap: 8px !important;
    margin-right: 0 !important;
    /* Push to edge (User Request) */
    justify-content: flex-end !important;
    /* Ensure content aligns right if width allows */
  }
}

/* --- Infinite Scroll Layout (Desktop) --- */
.desktop-problems-view {
  display: none;
  /* Hidden on Mobile */
}

.mobile-problems-view {
  display: block;
  /* Visible on Mobile */
}

@media (min-width: 900px) {

  /* Adjust breakpoint as needed */
  .desktop-problems-view {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    height: 600px;
    /* Fixed viewport height */
    overflow: hidden;
    position: relative;
    /* Optional: Fade masks at top/bottom */
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
  }

  .mobile-problems-view {
    display: none;
  }
}

.scroll-column {
  flex: 1;
  max-width: 320px;
  display: flex;
  flex-direction: column;
}

.scroll-track {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  /* Gap for seamless loop */
}

/* Upward Scroll Animation */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* Downward Scroll Animation */
@keyframes scrollDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

.track-up {
  animation: scrollUp 40s linear infinite;
}

.track-down {
  animation: scrollDown 45s linear infinite;
}

/* Pause on Hover */
.desktop-problems-view:hover .scroll-track {
  animation-play-state: paused;
}

/* --- Horizontal Marquee (Mobile) --- */
.mobile-scroll-view {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  padding: 20px 0;
  gap: 2rem !important;
  /* Increased spacing */
  overflow: hidden;
  position: relative;
  /* Horizontal Blur Mask */
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.scroll-row {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.scroll-track-horizontal {
  display: flex;
  gap: 1.25rem;
  width: max-content;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.track-left {
  animation: scrollLeft 40s linear infinite;
  /* Slower for readability */
}

.track-right {
  animation: scrollRight 40s linear infinite;
}

/* Card Sizing for Mobile Horizontal */
.mobile-scroll-view .card {
  width: 260px;
  /* Fixed width prevents squashing */
  min-height: 180px;
  /* Uniform height */
  padding: 1.2rem;
  flex-shrink: 0;
  white-space: normal;
  /* Allow text wrapping INSIDE card */
}

.mobile-scroll-view .card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.mobile-scroll-view .card p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.mobile-scroll-view .card-icon {
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Force hide mobile marquee on desktop */
@media (min-width: 900px) {
  .mobile-scroll-view {
    display: none !important;
  }
}


/* Section Background Update */
#how-it-works {
  background: transparent;
}

/* My Bookings Liquid Glass Style */
.glass-modal-liquid {
  background: rgba(22, 27, 40, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
}

/* Fluid Text Utility */
.fluid-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(0.75rem, 1vw, 0.85rem) !important;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* How It Works Card Styles (Premium Glassy) */
.how-it-works-card {
  position: relative;
  overflow: visible;
  /* Needed for connecting line */
  padding: 3rem 2rem 2rem 2rem;
  /* Top padding for corner number */
  border-radius: 20px;
  /* Glassmorphism Background: Dark semi-transparent gradient */
  background: linear-gradient(135deg, rgba(22, 27, 40, 0.7), rgba(30, 37, 50, 0.4));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 1rem;
}

/* CONNECTING LINE ANIMATION (Continuous) */
/* Line on the Grid Container */
.grid-3 {
  position: relative;
  /* Context for line */
}

.grid-3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 16.66%;
  /* Center of 1st Card (100% / 6) */
  width: 0;
  /* Animate to 66.66% */
  height: 4px;
  background: linear-gradient(90deg, rgba(9, 132, 227, 0.5), rgba(232, 67, 147, 0.5));
  z-index: 0;
  /* Behind cards */
  transition: width 2s ease-in-out;
  /* Slow draw */
  filter: blur(2px);
  border-radius: 4px;
}

/* Trigger Drawing when Grid is visible */
/* We need a trigger class on the grid or section */
#how-it-works.is-visible .grid-3::before,
.grid-3.is-visible::before {
  width: 66.66%;
  /* Span from 16.66% to 83.33% (Center of 3rd Card) */
}

/* Hover - Highlight Path */
.grid-3:hover::before {
  background: linear-gradient(90deg, #e84393, #0984e3);
  filter: blur(0px) drop-shadow(0 0 10px rgba(232, 67, 147, 0.6));
  height: 6px;
}


/* Heart Leaf Pattern Background */
.how-it-works-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Custom Heart-Leaf SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23e84393' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-repeat: repeat;
  opacity: 0.15;
  /* Subtly visible by default */
  transition: all 0.5s ease-in-out;
  z-index: 0;
  filter: grayscale(100%) contrast(0.5);
  border-radius: 20px;
  /* Clip to border */
}

.how-it-works-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(232, 67, 147, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 67, 147, 0.1);
  /* Subtle pink glow */
}

.how-it-works-card:hover::before {
  opacity: 0.25;
  /* More visible on hover */
  transform: scale(1.05) rotate(2deg);
  /* Dynamic movement */
  filter: grayscale(0%) contrast(1);
  /* Reveal color */
}

/* Typography Scaling */
.card-visible {
  z-index: 2;
  transition: transform 0.4s ease;
  text-align: center;
  /* Center visuals */
  position: static;
  /* Let children position relatively or absolutely */
}

/* Step Number: Small, Top-Left Corner */
.card-visible h1 {
  font-size: 1.5rem !important;
  opacity: 0.6 !important;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  margin: 0 !important;
  transition: all 0.3s ease;
}

/* Title: Big & Bold */
.card-visible h3 {
  font-size: 2.2rem !important;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Gradient text */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Icon transition */
.card-visible div {
  font-size: 3.5rem !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



.how-it-works-card:hover .card-visible h1 {
  font-size: 1.5rem !important;
  /* Keep static or pulse */
  opacity: 0 !important;
  /* Hide on hover */
  transform: scale(0.5);
  /* Shrink away */
}

.how-it-works-card:hover .card-visible div {
  font-size: 2rem !important;
  /* Scale down icon */
}

.how-it-works-card:hover .card-visible h3 {
  font-size: 1.8rem !important;
  /* Slight scale down */
  transform: translateY(-5px);
}

.mobile-scroll-view .card p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.mobile-scroll-view .card-icon {
  width: 35px;
  height: 35px;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Force hide mobile marquee on desktop */
@media (min-width: 900px) {
  .mobile-scroll-view {
    display: none !important;
  }
}


/* Section Background Update */
#how-it-works {
  background: transparent;
}

/* How It Works Card Styles (Premium Glassy) */
.how-it-works-card {
  position: relative;
  overflow: visible;
  /* Needed for connecting line */
  /* Fluid Padding for responsive shrinking */
  padding: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem) clamp(1.5rem, 2vw, 2rem) clamp(1rem, 2vw, 2rem);
  /* Top padding for corner number */
  border-radius: 20px;
  /* Glassmorphism Background: Dark semi-transparent gradient */
  background: linear-gradient(135deg, rgba(22, 27, 40, 0.7), rgba(30, 37, 50, 0.4));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 1rem;
}

/* CONNECTING LINE ANIMATION (Continuous) */
/* Line on the Grid Container */
.grid-3 {
  position: relative;
  /* Context for line */
}

.grid-3::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 16.66%;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(9, 132, 227, 0.5), rgba(232, 67, 147, 0.5));
  z-index: 0;
  transition: width 2s ease-in-out;
  filter: blur(2px);
  border-radius: 4px;
  /* END DESKTOP LINE STYLES */
}

/* Mobile Carousel Adjustments */
@media (max-width: 900px) {
  .grid-3 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2rem 1.5rem 4rem 1.5rem;
    width: 100%;
  }

  /* Hide Desktop Line on Mobile */
  .grid-3::before {
    display: none;
  }

  .how-it-works-card {
    min-width: 85vw;
    scroll-snap-align: center;
    margin: 0;
  }
}

/* Trigger Drawing when Grid is visible */
/* We need a trigger class on the grid or section */
#how-it-works.is-visible .grid-3::before,
.grid-3.is-visible::before {
  width: 66.66%;
  /* Span from 16.66% to 83.33% (Center of 3rd Card) */
}

/* Hover - Highlight Path */
.grid-3:hover::before {
  background: linear-gradient(90deg, #e84393, #0984e3);
  filter: blur(0px) drop-shadow(0 0 10px rgba(232, 67, 147, 0.6));
  height: 6px;
}


/* Mobile Connecting Lines (Bridge) */
@media (max-width: 900px) {
  .how-it-works-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    /* Extend into the gap */
    width: 2rem;
    /* Bridge the gap */
    height: 4px;
    background: linear-gradient(90deg, rgba(9, 132, 227, 0.5), rgba(232, 67, 147, 0.5));
    z-index: -1;
    border-radius: 2px;
  }

  /* Hide line for last card */
  .how-it-works-card:last-child::after {
    display: none;
  }
}


/* Mobile Connecting Lines (Bridge) */
@media (max-width: 900px) {
  .how-it-works-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    /* Extend into the gap */
    width: 2rem;
    /* Bridge the gap */
    height: 4px;
    background: linear-gradient(90deg, rgba(9, 132, 227, 0.5), rgba(232, 67, 147, 0.5));
    z-index: -1;
    border-radius: 2px;
  }

  /* Hide line for last card */
  .how-it-works-card:last-child::after {
    display: none;
  }
}

/* Heart Leaf Pattern Background */
.how-it-works-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Custom Heart-Leaf SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23e84393' fill='none' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  background-repeat: repeat;
  opacity: 0.15;
  /* Subtly visible by default */
  transition: all 0.5s ease-in-out;
  z-index: 0;
  filter: grayscale(100%) contrast(0.5);
  border-radius: 20px;
  /* Clip to border */
}

.how-it-works-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(232, 67, 147, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(232, 67, 147, 0.1);
  /* Subtle pink glow */
}

.how-it-works-card:hover::before {
  opacity: 0.25;
  /* More visible on hover */
  transform: scale(1.05) rotate(2deg);
  /* Dynamic movement */
  filter: grayscale(0%) contrast(1);
  /* Reveal color */
}

/* Typography Scaling */
.card-visible {
  z-index: 2;
  transition: transform 0.4s ease;
  text-align: center;
  /* Center visuals */
  position: static;
  /* Let children position relatively or absolutely */
}

/* Step Number: Small, Top-Left Corner */
.card-visible h1 {
  font-size: 1.5rem !important;
  opacity: 0.6 !important;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  margin: 0 !important;
  transition: all 0.3s ease;
}

/* Title: Big & Bold */
.card-visible h3 {
  font-size: 2.2rem !important;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Gradient text */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Icon transition */
.card-visible div {
  font-size: 3.5rem !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



.how-it-works-card:hover .card-visible h1 {
  font-size: 1.5rem !important;
  /* Keep static or pulse */
  opacity: 0 !important;
  /* Hide on hover */
  transform: scale(0.5);
  /* Shrink away */
}

.how-it-works-card:hover .card-visible div {
  font-size: 2rem !important;
  /* Scale down icon */
}

.how-it-works-card:hover .card-visible h3 {
  font-size: 1.8rem !important;
  /* Slight scale down */
  transform: translateY(-5px);
}

.how-it-works-card:hover .card-visible {
  transform: translateY(-15px);
}

.card-content {
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  z-index: 2;
  position: relative;
}

.how-it-works-card:hover .card-content {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

/* --- PRIVACY SECTION ANIMATIONS --- */

@keyframes privacySlideIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Privacy list items: always animate in on load */
.privacy-list li {
  animation: privacySlideIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
  /* start invisible, animation brings to opacity:1 via forwards fill */
  margin-bottom: 0.5rem;
}

.privacy-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.privacy-list li:nth-child(2) {
  animation-delay: 0.2s;
}

.privacy-list li:nth-child(3) {
  animation-delay: 0.3s;
}

.privacy-list li:nth-child(4) {
  animation-delay: 0.4s;
}

/* Ensure right image is centered */
.privacy-video-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* --- PRIVACY SHIELD PATTERN BACKGROUND --- */

#privacy-pattern-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: auto;
  opacity: 1 !important;
}

/* Fix interactivity: Allow clicks to pass through grid container to shields, but catch on content */
.card .grid-2-feature {
  pointer-events: none;
  z-index: 2;
  /* Keep above shields */
}

.card .grid-2-feature>* {
  pointer-events: auto;
}

/* Individual Shield Emojis */
.privacy-shield {
  position: absolute;
  font-size: 7rem;
  opacity: 0.025;
  /* 50% less than 0.05 */
  cursor: default;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  user-select: none;
  filter: grayscale(100%);

  /* 3D Effect using text-shadow */
  text-shadow:
    1px 1px 0px rgba(0, 0, 0, 0.5),
    2px 2px 0px rgba(0, 0, 0, 0.4),
    3px 3px 0px rgba(0, 0, 0, 0.3),
    5px 5px 10px rgba(0, 0, 0, 0.5);

  /* Random Blinking Animation */
  animation: shieldBlink 8s infinite ease-in-out;
}

@keyframes shieldBlink {

  0%,
  100% {
    opacity: 0.025;
  }

  50% {
    opacity: 0.4;
  }

  /* Peak opacity increased to 40% as requested */
}

/* Blink up to 15% opacity */


/* Hover: Pause blinking and slightly lift */
.privacy-shield:hover {
  animation-play-state: paused;
  opacity: 0.2;
  /* Slightly more visible on hover */
  transform: scale(1.1) translateY(-5px) !important;
  z-index: 10;
}

/* Optional: Random blink animation for some life (if JS adds class) */
@keyframes shieldBlink {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 0.5;
  }
}

.privacy-shield.anim-blink {
  animation: shieldBlink 3s infinite;
}

/* --- AI DIAGNOSIS QUIZ REDESIGN --- */

/* Background Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  animation: float 10s infinite ease-in-out;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: #6c5ce7;
  top: -100px;
  left: -50px;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: #00cec9;
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

/* Glassy Card */
/* Glassy Card - Compact & 3D */
.glass-quiz-card {
  background: rgba(20, 20, 30, 0.75);
  /* Darker for contrast */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  /* Glossy top */
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 480px;
  /* Compact Size */
  margin: 3rem auto 0 auto;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    /* Deep Shadow */
    inset 0 0 20px rgba(255, 255, 255, 0.05);
  /* Inner Glow */
  position: relative;
  overflow: hidden;
  text-align: left;
  transform: perspective(1000px) rotateX(2deg);
  /* 3D Tilt */
  transition: transform 0.3s ease;
}

.glass-quiz-card:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-5px);
  /* Lift on hover */
}

/* Neon Badge */
.neon-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #00cec9;
  border: 1px solid rgba(0, 206, 201, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0, 206, 201, 0.2);
  background: rgba(0, 206, 201, 0.05);
}

/* Typography */
.section-title-large {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient-cyan {
  background: linear-gradient(to right, #00cec9, #6c5ce7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Quiz Content */
.ai-icon-container {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #6c5ce7;
  opacity: 0;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.quiz-heading {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.quiz-desc {
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Buttons */
.btn-quiz-start {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, #6c5ce7, #a29bfe);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.btn-quiz-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(108, 92, 231, 0.5);
}

/* Quiz Options (Questions) */
.quiz-option {
  width: 100%;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--color-text-light);
  /* Ensure variable exists or fallback */
  color: #dfe6e9;
  text-align: left;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-option:hover {
  background: rgba(108, 92, 231, 0.1);
  border-color: #6c5ce7;
  transform: translateX(5px);
}

.quiz-option::after {
  content: 'âž';
  opacity: 0;
  transition: opacity 0.2s;
}

.quiz-option:hover::after {
  opacity: 1;
}

/* AI Loader */
/* AI Loader - Radar Sweeper */
.ai-scanner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(232, 67, 147, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(232, 67, 147, 0.2);
  background: radial-gradient(circle, rgba(232, 67, 147, 0.05) 0%, transparent 70%);
}

.ai-scanner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  transform-origin: 0% 0%;
  background: linear-gradient(45deg, rgba(232, 67, 147, 0) 0%, rgba(232, 67, 147, 0.8) 100%);
  animation: radar-sweep 2s infinite linear;
}

@keyframes radar-sweep {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 2rem;
  overflow: hidden;
}

.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #e84393, #0984e3);
  width: 0%;
  animation: load 2.5s ease-in-out forwards;
}

@keyframes load {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.neon-text-blink {
  color: #e84393;
  font-weight: 700;
  animation: blink 1.5s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Results */
.result-icon-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.result-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #6c5ce7;
  filter: blur(40px);
  opacity: 0.6;
}

.result-heading {
  font-size: 2rem;
  background: linear-gradient(to right, #fff, #a29bfe);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.result-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #dfe6e9;
  margin-bottom: 2rem;
}

.result-divider {
  width: 100px;
  height: 2px;
  background: transparent;
  border-bottom: 2px dashed rgba(232, 67, 147, 0.6);
  margin: 1rem auto;
}

.btn-quiz-action {
  background: rgba(232, 67, 147, 0.1);
  color: white;
  font-weight: 700;
  padding: 1rem 2rem;
  border: 1px solid rgba(232, 67, 147, 0.5);
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(232, 67, 147, 0.1);
  font-family: 'Outfit', sans-serif;
}

.btn-quiz-action:hover {
  transform: scale(1.05);
  background: rgba(232, 67, 147, 0.3);
  box-shadow: 0 10px 25px rgba(232, 67, 147, 0.3);
  border-color: rgba(232, 67, 147, 0.8);
}

/* Neon Badge (Pink/Blue Theme) */
.neon-badge {
  background: rgba(232, 67, 147, 0.1);
  color: #e84393;
  border: 1px solid #e84393;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(232, 67, 147, 0.3);
}

/* LUVLNK AI Icon Animations */
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.15);
  }

  /* Fast pump */
  30% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.15);
  }

  /* Second pump */
  60% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }

  /* Pause */
}

.heart-anim {
  animation: heartbeat 2s infinite ease-in-out;
  transform-origin: center;
}

@keyframes ecgDraw {
  0% {
    stroke-dashoffset: 200;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.ecg-anim {
  stroke-dasharray: 200;
  /* Total length of path approx */
  stroke-dashoffset: 200;
  animation: ecgDraw 2s linear infinite;
}

/* --- WALL OF LOVE (3D Floating Reviews) --- */
#reviews {
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  /* Essential for 3D effect */
}

#reviews-container {
  position: relative;
  height: 600px;
  width: 100%;
  margin-top: 3rem;
  transform-style: preserve-3d;
  z-index: 10;
}

/* 3D Glassy Card */
.review-card {
  position: absolute;
  width: 280px;
  padding: 1.5rem;
  border-radius: 20px;

  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

  color: rgba(255, 255, 255, 0.9);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;

  /* 3D Transform */
  transform: translateZ(0);
  will-change: transform, opacity, filter;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* Floating Animation */
@keyframes floatUpBlur {
  0% {
    transform: translateY(650px) scale(0.9) rotateX(10deg);
    opacity: 0;
    filter: blur(4px);
  }

  10% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(500px) scale(1) rotateX(0deg);
  }

  80% {
    opacity: 1;
    filter: blur(0px);
  }

  100% {
    transform: translateY(-100px) scale(0.95) rotateX(-10deg);
    opacity: 0;
    filter: blur(8px);
    /* Blurry exit */
  }
}

/* --- ADD REVIEW BUTTON & MODAL --- */
.add-review-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #0984e3, #6c5ce7);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(9, 132, 227, 0.4);
  cursor: pointer;
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  /* Flex to center icon */
  /* Added flex */
  align-items: center;
  /* Center icon */
  gap: 8px;
  /* Gap between icon and text */
}

.add-review-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(9, 132, 227, 0.6);
}

.star-rating-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.star {
  font-size: 2rem;
  cursor: pointer;
  color: #444;
  /* Inactive color */
  transition: color 0.2s, transform 0.2s;
}

.star.active,
.star:hover {
  color: #ffd700;
  /* Gold */
  transform: scale(1.2);
}

.glass-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  color: white;
  font-size: 1rem;
  outline: none;
  resize: none;
  font-family: 'Outfit', sans-serif;
}

.glass-input:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}


.btn-primary:hover {
  background: #00cec9;
  /* Lighter Cyan */
}

/* --- CUSTOMER REVIEW FEATURE --- */
.add-review-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.add-review-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(9, 132, 227, 0.3);
}

/* Star Rating System */
.star-rating-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}

.stars input {
  display: none;
}

.stars label {
  font-size: 2.5rem;
  color: #444;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 0.2rem;
}

.stars label:hover,
.stars label:hover~label,
.stars input:checked~label {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.stars input:checked+label:hover,
.stars input:checked+label:hover~label,
.stars input:checked~label:hover,
.stars input:checked~label:hover~label,
.stars label:hover~input:checked~label {
  color: #e6c200;
}

/* --- LIQUID GLASS MODAL THEME (Reference Image) --- */
/* Base Modal Container */
.glass-modal-liquid {
  position: relative;
  background: #161b28;
  /* Dark Blue Theme */
  box-shadow:
    0 0 0 1px rgba(232, 67, 147, 0.5),
    /* Pink Border */
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(22, 27, 40, 0.8);
  /* Dark Inner Depth */
  border-radius: 40px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  border: 1px solid rgba(232, 67, 147, 0.3);
  /* Outer Pink Edge */
  padding: 0;
}

/* The "Liquid" Colored Glow at Bottom */
.glass-modal-liquid::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 150px;
  background: linear-gradient(90deg, #e84393, #0984e3);
  /* Pink -> Blue */
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
  animation: liquidPulse 6s ease-in-out infinite alternate;
}

/* Top "Glass Highlight" Reflection */
.glass-modal-liquid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 40px 40px 100% 100% / 40px 40px 20px 20px;
  /* Curved highlight */
  pointer-events: none;
}

@keyframes liquidPulse {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translateX(-50%) scale(1.1);
    opacity: 0.7;
  }
}

/* Inner Content Wrapper to go above the glow */
.liquid-content-wrapper {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  /* Better readability on glass */
}

/* --- SESSIONS LIST SCROLLBAR --- */
#sessions-list::-webkit-scrollbar {
  width: 6px;
}

#sessions-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

#sessions-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

#sessions-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Ensure list items don't shrink */
#sessions-list>div {
  flex-shrink: 0;
}

/* --- PREMIUM LIQUID GLASS AESTHETIC --- */
.liquid-glass-modal {
  background: linear-gradient(160deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.02) 40%,
      rgba(9, 132, 227, 0.15) 80%,
      /* Dark Blue hint */
      rgba(232, 67, 147, 0.15) 100%
      /* Pink hint */
    ) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
  /* Catch light on top */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  border-radius: 24px !important;
  color: white;
}

/* Liquid Glass Buttons */
.liquid-glass-modal .btn,
.liquid-glass-modal button[type="submit"] {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.liquid-glass-modal .btn:hover,
.liquid-glass-modal button[type="submit"]:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  box-shadow:
    0 8px 25px rgba(9, 132, 227, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* --- Share Your Problem UI (Premium Interactive) --- */

.share-problem-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  position: relative;
  overflow: visible;
  /* Allow tooltips */
}

.add-action-container {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  /* justify-content: flex-start;  Removed to center initially if desired, or let flex do its job */
}

/* Circular Plus Button */
.btn-circle-plus {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0984e3 0%, #00cec9 100%);
  /* Default Blue-Teal */
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(9, 132, 227, 0.4);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
  z-index: 5;
  outline: none;
  padding-bottom: 5px;
  /* Visual center adjustment for font */
}

/* Couple Theme for Plus Button */
.couple-theme-card .btn-circle-plus {
  background: linear-gradient(135deg, #e84393 0%, #fd79a8 100%);
  box-shadow: 0 5px 15px rgba(232, 67, 147, 0.4);
}

.btn-circle-plus:hover {
  transform: scale(1.1);
}

.btn-circle-plus.rotated {
  transform: rotate(45deg) scale(1.1);
  background: #d63031;
  /* Red for close state */
}

.couple-theme-card .btn-circle-plus.rotated {
  background: #d63031;
}

/* Hidden Options Container (Expands out) */
.media-options {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: absolute;
  left: 70px;
  /* Right of the button */
  pointer-events: none;
}

.media-options.expanded {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

/* Option Buttons */
.option-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  /* Professional Gray/Black Gradient */
  background: linear-gradient(135deg, #4b4b4b 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  /* Deeper shadow */
}

/* SVG Icon Styling */
.option-btn svg {
  width: 24px;
  height: 24px;
  fill: #e0e0e0;
  /* Light gray fill for contrast against dark button */
  transition: fill 0.3s ease;
}

.option-btn:hover {
  background: linear-gradient(135deg, #5b5b5b 0%, #2a2a2a 100%);
  /* Slightly lighter on hover */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.option-btn:hover svg {
  fill: white;
}

/* Tooltips */
.option-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.option-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Instruction Text */
.instruction-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: 0;
  max-width: 80%;
  line-height: 1.5;
}

/* Hide original inputs securely but keep accessible if needed (display:none) */
.hidden-input {
  display: none !important;
}

/* --- REFINEMENTS (Layout & Styling) --- */

/* 1. Wider Booking Container (Match Edit Profile) */
.booking-card {
  width: 95% !important;
  max-width: 900px !important;
  /* Maximized width */
  position: relative;
  margin: 2rem auto;
  padding: 3rem !important;
  /* More spacious padding */
}

/* 2. Large Transparent Back Arrow */
.booking-card .back-btn-container {
  position: absolute;
  top: 25px;
  left: 25px;
  /* Floated top-left */
  margin: 0;
  z-index: 20;
}

.booking-card .back-btn {
  background: transparent !important;
  /* No background */
  border: none !important;
  /* No border */
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 2.5rem !important;
  /* Double size arrow */
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}

.booking-card .back-btn:hover {
  color: white !important;
  transform: translateX(-5px);
  /* Slide left effect */
  background: transparent !important;
}

/* 3. Blue "ADD +" Pill Button */
.btn-pill-add {
  background: linear-gradient(135deg, #0984e3 0%, #74b9ff 100%);
  /* Blue Theme */
  color: white;
  border: none;
  border-radius: 50px;
  /* Pill shape */
  padding: 15px 38px;
  /* Increased padding 50% */
  font-size: 1.65rem;
  /* Increased font size 50% */
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(9, 132, 227, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 5;
}

.btn-pill-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(9, 132, 227, 0.5);
}

/* Rotate/Close State for ADD button */
.btn-pill-add.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  visibility: hidden;
}

.btn-pill-add.rotated {
  background: #d63031;
  /* Red for close */
  box-shadow: 0 4px 15px rgba(214, 48, 49, 0.4);
  padding: 10px 15px;
  /* Shrink slightly to just show X ideally, or keep pill */
}

/* Adjust Options Container Position relative to Pill */
.add-action-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center horizontally */
  min-height: 60px;
  /* Ensure height stability */
  width: 100%;
}

.media-options {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  /* Start slightly down */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  pointer-events: none;
  z-index: 4;
  width: 100%;
}

.media-options.expanded {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  /* Center perfectly */
  pointer-events: auto;
}

/* 4. Side-by-Side Form Inputs */
.form-row-split {
  display: flex;
  gap: 2rem;
  /* Spacious gap */
  margin-bottom: 2rem;
}

.form-row-split>div {
  flex: 1;
}

@media (max-width: 768px) {
  .booking-card {
    padding: 1.5rem !important;
  }

  .form-row-split {
    flex-direction: column;
    gap: 1rem;
  }

  .media-options {
    left: 0;
    top: 0;
    position: relative;
    margin-top: 1.5rem;
    display: flex;
    /* Ensure flex is applied */
    justify-content: center;
    /* Center horizontally */
    width: 100%;
  }

  .media-options.expanded {
    transform: translateY(0);
  }

  .add-action-container {
    flex-direction: column;
    align-items: center;
    /* Fix "tilted" look by centering */
    justify-content: center;
  }

}

/* --- Interactive Recording Interface (Global) --- */

.recording-interface {
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.recording-interface video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.audio-visualizer {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2d3436, #000);
}

.wave-animation {
  display: flex;
  gap: 5px;
  align-items: center;
  height: 50px;
}

.wave-bar {
  width: 6px;
  height: 20px;
  background: #0984e3;
  border-radius: 3px;
  animation: wave 1s infinite ease-in-out;
}

.wave-bar:nth-child(even) {
  animation-duration: 1.2s;
  background: #e84393;
}

.wave-bar:nth-child(3n) {
  animation-duration: 0.8s;
}

@keyframes wave {

  0%,
  100% {
    height: 20px;
  }

  50% {
    height: 60px;
  }
}

.controls-overlay {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 10;
  padding: 0 20px;
}

.rec-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-start {
  background: #e84393;
}

.btn-start:hover {
  transform: scale(1.1);
  background: #ff7675;
}

.btn-pause {
  background: #f1c40f;
  color: black;
}

.btn-stop {
  background: #d63031;
}

.timer-display {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 12px;
  border-radius: 20px;
  color: white;
  font-family: monospace;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.review-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 20;
}

.review-actions {
  display: flex;
  gap: 30px;
}

.btn-confirm {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #00b894;
  color: white;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 184, 148, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-retake {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ff7675;
  color: white;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 118, 117, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-confirm:hover,
.btn-retake:hover {
  transform: scale(1.1);
}

/* Fix for Mobile Menu Leaking to Desktop */
@media (min-width: 769px) {

  #mobile-menu,
  #mobile-profile-section,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* Ensure Mobile Menu Overlay is correctly positioned on Mobile */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  /* Default hidden */
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.mobile-menu-content {
  text-align: center;
  width: 100%;
}

.mobile-menu-content a {
  display: block;
  font-size: 1.5rem;
  margin: 1.5rem 0;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-menu-content a:hover {
  color: var(--color-primary);
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

/* =========================================
   WRAPPER RESIZING LOGIC
   ========================================= */
/* =========================================
   WRAPPER RESIZING LOGIC
   ========================================= */
.share-problem-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  transition: max-width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Smooth ease-out */
}

/* Active Recording/Preview State (Stable Layout) */
.share-problem-wrapper.recording-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  /* Keeping stable max-width to avoid jumps */
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide input fields smoothly while recording */
.share-problem-wrapper.recording-active textarea,
.share-problem-wrapper.recording-active label,
.share-problem-wrapper.recording-active .file-upload-label,
.share-problem-wrapper.recording-active .section-title {
  display: none !important; 
  /* Still using display:none but JS will handle centering to avoid perceived jumps */
}

/* =========================================
   MEDIA RECORDING & PREVIEW UI (New Design)
   ========================================= */
.media-card {
  position: relative;
  background: #161b28;
  /* Dark Card Background */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.media-player-wrapper {
  width: 100%;
  height: 320px;
  /* Fixed height for consistency */
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.media-player-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fill the card */
}

/* Timer Badge (Top Right) */
.media-timer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
}

/* Action Buttons Container (Bottom Center) */
.media-action-btns {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 20;
  padding: 0 1rem;
}

/* Base Rounded Button */
.media-action-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.media-action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.media-action-btn:active {
  transform: scale(0.95);
}

/* Specific Button Styles */
.media-btn-rerecord {
  background: #ff4757;
  /* Red */
  color: white;
}

.media-btn-play {
  background: #ffffff;
  /* White */
  color: #333;
  width: 60px;
  /* Slightly larger play button */
  height: 60px;
}

.media-btn-confirm {
  background: #2ed573;
  /* Green */
  color: white;
}

/* Recording Pulse Animation */
@keyframes pulse-rec {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
  }
}

/* --- SHARE PROBLEM WRAPPER (New UI) --- */
.share-problem-wrapper {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  /* Ensure content doesn't spill during resize */
  border-radius: 12px;
  /* Match inputs */
}

/* COLLAPSED STATE (During Recording/Preview) */
.share-problem-wrapper.recording-active {
  max-width: fit-content;
  /* Shrink to fit video */
  margin: 0 auto;
  /* Center it */
  padding: 0;
  /* Remove internal padding */
  background: transparent;
  /* Remove background if any */
  border: none;
  /* Remove border if any */
}

/* Hide Add Button & Instructions when active */
.share-problem-wrapper.recording-active .add-action-container,
.share-problem-wrapper.recording-active .instruction-text {
  display: none;
}

/* Ensure Media Player fits nicely */
.share-problem-wrapper.recording-active .media-card {
  margin: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  /* Highlight the video */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

/* --- AUDIO WAVE ANIMATION --- */
.audio-wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  /* Match video preview max-height (280-300px) */
  width: 100%;
  max-width: 100%;
  background: black;
  /* Dark background like video player */
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .share-problem-wrapper.recording-active {
    max-width: 100% !important;
    width: 100% !important;
  }

  .media-card {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .media-player-wrapper,
  .audio-wave-container {
    max-width: 100%;
  }

  .audio-wave {
    gap: 6px !important;
  }

  .audio-wave span {
    width: 8px !important;
  }
}

.audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  /* Increased gap */
  height: 100px;
  /* Increased height from 60px */
}

.audio-wave span {
  display: block;
  width: 12px;
  /* Thicker bars */
  background: linear-gradient(to top, #e84393, #0984e3);
  border-radius: 6px;
  animation: audio-wave 1.2s ease-in-out infinite;
}

.audio-wave span:nth-child(1) {
  animation-delay: 0.1s;
  height: 20%;
}

.audio-wave span:nth-child(2) {
  animation-delay: 0.2s;
  height: 40%;
}

.audio-wave span:nth-child(3) {
  animation-delay: 0.3s;
  height: 60%;
}

.audio-wave span:nth-child(4) {
  animation-delay: 0.4s;
  height: 80%;
}

.audio-wave span:nth-child(5) {
  animation-delay: 0.5s;
  height: 100%;
}

.audio-wave span:nth-child(6) {
  animation-delay: 0.4s;
  height: 80%;
}

.audio-wave span:nth-child(7) {
  animation-delay: 0.3s;
  height: 60%;
}

.audio-wave span:nth-child(8) {
  animation-delay: 0.2s;
  height: 40%;
}

.audio-wave span:nth-child(9) {
  animation-delay: 0.1s;
  height: 20%;
}

.audio-wave span:nth-child(10) {
  animation-delay: 0.2s;
  height: 40%;
}

.audio-wave span:nth-child(11) {
  animation-delay: 0.3s;
  height: 60%;
}

.audio-wave span:nth-child(12) {
  animation-delay: 0.4s;
  height: 80%;
}

.audio-wave span:nth-child(13) {
  animation-delay: 0.5s;
  height: 100%;
}

.audio-wave span:nth-child(14) {
  animation-delay: 0.4s;
  height: 80%;
}

.audio-wave span:nth-child(15) {
  animation-delay: 0.3s;
  height: 60%;
}

.audio-wave span:nth-child(16) {
  animation-delay: 0.2s;
  height: 40%;
}

.audio-wave span:nth-child(17) {
  animation-delay: 0.1s;
  height: 20%;
}

.audio-wave span:nth-child(18) {
  animation-delay: 0.2s;
  height: 40%;
}

.audio-wave.paused span {
  animation-play-state: paused;
  transform: scaleY(0.5);
  /* Reset to base state */
}

@keyframes audio-wave {

  0%,
  100% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }

  50% {
    transform: scaleY(1.2);
    opacity: 1;
  }
}

/* --- RESTORED MISSING STYLES --- */

/* 1. Animation Utility */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Review Cards (Floating) */
.review-card {
  position: absolute;
  top: 100%;
  /* Start below the container */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 16px;
  max-width: 300px;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0;
  /* Hidden initially */
}

/* Standard Desktop Styles */
.review-stars {
  color: #fdcb6e;
  /* Gold */
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.verified-badge-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  vertical-align: text-bottom;
}

.review-card .review-author {
  margin-top: 1rem;
  font-weight: bold;
  color: var(--color-secondary);
  text-align: right;
  font-size: 0.9rem;
}

/* Mobile Adjustments for Reviews */
@media (max-width: 768px) {
  .review-card {
    max-width: 220px;
    /* Smaller width */
    padding: 1rem;
    /* Less padding */
    font-size: 0.8rem;
    /* Smaller text */
    border-radius: 12px;
  }

  .review-card .review-author {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}

/* 3. Floating Animation */
@keyframes floatUpBlur {
  0% {
    transform: translateY(0) scale(0.9);
    opacity: 0;
    filter: blur(5px);
  }

  10% {
    opacity: 1;
    filter: blur(0);
  }

  90% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translateY(-1200px) scale(0.9);
    /* Move up by 1200px to ensure full exit */
    opacity: 0;
    filter: blur(5px);
  }
}

/* 4. Mobile Menu Visibility (Force Override) */
@media (max-width: 768px) {
  /* mobile-menu-toggle visibility now controlled by JS auth logic */

  /* --- FIXES FOR VISIBILITY & INTERACTIVITY (Manual Patch) --- */

  /* 1. Privacy List Visibility */
  .privacy-list li {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* 2. Hero Buttons Visibility */
  .hero-card-standard,
  .hero-card-couple,
  .hero-card-instant {
    display: flex !important;
    /* Force flex */
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* 3. Mobile Scroll View (Horizontal) */
  .mobile-scroll-view {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .mobile-scroll-view .scroll-row {
    display: flex;
    flex-wrap: nowrap;
  }

  .mobile-scroll-view .card {
    min-width: 280px;
    scroll-snap-align: center;
    flex: 0 0 auto;
  }

  /* 4. Typewriter Cursor Fix */
  .typewriter-cursor::after {
    content: '|';
    color: #e84393;
    animation: blink-cursor 1s infinite;
  }

  /* mobile-menu-toggle visibility override removed - controlled by JS auth logic */

  /* 6. Review Floating Animation Fix */
  #reviews-container {
    overflow: hidden;
    /* Ensure floats are contained */
  }

  /* 7. Ensure Body is visible */
  body {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* 6. Review Floating Animation Fix */
#reviews-container {
  overflow: hidden !important;
  position: relative;
  width: 100%;
  height: 600px;
  /* Ensure fixed height */
  mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%);
}


@keyframes floatUpBlur {
  0% {
    transform: translateY(0) scale(0.9);
    opacity: 0;
    filter: blur(5px);
  }

  5% {
    opacity: 1;
    filter: blur(0);
  }

  95% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    transform: translateY(-800px) scale(0.9);
    /* Stay clearly visible until top */
    opacity: 0;
    filter: blur(5px);
  }
}

/* --- Redesigned How It Works Section --- */

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Connecting Line (Desktop) */
.hiw-line {
  position: absolute;
  top: 80px;
  /* Adjust based on icon position */
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg,
      rgba(108, 92, 231, 0) 0%,
      rgba(108, 92, 231, 0.5) 50%,
      rgba(108, 92, 231, 0) 100%);
  z-index: 0;
}

/* Add Green Dots on the line */
.hiw-line::before,
.hiw-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #00b894;
  /* Green Dot */
  border-radius: 50%;
  box-shadow: 0 0 10px #00b894;
}

.hiw-line::before {
  left: 33%;
}

.hiw-line::after {
  right: 33%;
}

.hiw-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  z-index: 1;
}

.hiw-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(108, 92, 231, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(108, 92, 231, 0.2);
}

.hiw-step-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  z-index: 0;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}

.hiw-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hiw-icon {
  color: #a29bfe;
  /* Light Purple */
  filter: drop-shadow(0 0 5px rgba(162, 155, 254, 0.5));
}

.hiw-card:nth-child(3) .hiw-icon {
  color: #fd79a8;
}

/* Pink for Brain */
.hiw-card:nth-child(4) .hiw-icon {
  color: #ffeaa7;
}

/* Yellow for Bulb */


.hiw-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hiw-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hiw-line {
    display: none;
    /* Hide line on mobile */
  }

  .hiw-card {
    padding: 2rem;
  }
}


/* Emoji Style Update */
.hiw-emoji {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  transition: transform 0.3s ease;
}

.hiw-card:hover .hiw-emoji {
  transform: scale(1.2) rotate(5deg);
}


/* --- Updated How It Works Visuals --- */

/* Remove Circle Wrapper Styles (No longer needed) */
.hiw-icon-wrapper {
  display: none;
  /* Hide old wrapper if present */
}

/* Emoji Styling - Free Standing */
.hiw-emoji {
  font-size: 4.5rem;
  /* Larger */
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Card Hover & Active (Mobile) = Emoji Scale & Move */
.hiw-card:hover .hiw-emoji,
.hiw-card.active .hiw-emoji {
  transform: scale(1.1) translateY(-10px);
}

/* Hidden Content (Description + Green Dots) */
.hiw-content-hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

/* Reveal on Hover or Active */
.hiw-card:hover .hiw-content-hidden,
.hiw-card.active .hiw-content-hidden {
  max-height: 300px;
  /* Increased slightly to fit new text */
  opacity: 1;
  transform: translateY(0);
  margin-top: 1rem;
}

/* Green Dots Text Styling */
.green-dots-text {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 800;
  margin-top: 1rem;
  opacity: 0.8;
}

/* Adjust Card Padding for cleaner look when collapsed */
.hiw-card {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* Start collapsed */
  min-height: auto;
  transition: all 0.3s ease;
}

.hiw-card.active {
  padding-bottom: 2rem;
}


/* --- Mobile Horizontal Scroll Layout (Audio Feedback) --- */
@media (max-width: 768px) {
  .hiw-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 2rem;
    /* Space for scrollbar/shadow */
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll iOS */

    /* Hide Scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
  }

  .hiw-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .hiw-card {
    min-width: 85%;
    /* Show 85% of card to peek next one */
    scroll-snap-align: center;
    margin: 0;
    /* Override previous margin */
    flex-shrink: 0;
  }

  /* Connecting Line Mobile */
  .hiw-line {
    display: block;
    /* Show line */
    top: 50%;
    /* Center vertically behind cards */
    transform: translateY(-50%);
    width: 100%;
    /* Full width of container */
    left: 0;
    right: 0;
    z-index: 0;
  }

  /* Ensure dots are positioned relative to the full scroll width if possible, 
       or hide/adjust for mobile simplicity if line is enough. 
       For now, let's keep the line simple on mobile. */
  .hiw-line::before,
  .hiw-line::after {
    display: none;
    /* Hide dots on mobile line to avoid misalignment */
  }
}


/* --- Mobile Card Sizing Update (Audio Feedback 2) --- */
@media (max-width: 768px) {
  .hiw-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 3rem;
    /* Double the gap */
    padding: 0 1.5rem 2rem 1.5rem;
    scroll-padding-left: 1.5rem;
    -webkit-overflow-scrolling: touch;

    /* Hide Scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hiw-grid::-webkit-scrollbar {
    display: none;
  }

  .hiw-card {
    flex: 0 0 40%;
    width: 40%;
    max-width: 40%;
    scroll-snap-align: start;
    margin: 0;
    padding: 1rem;
  }

  /* Ensure line spans the full scrollable width */
  .hiw-line {
    width: 250%;
    /* Extend line for larger gaps */
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
  }
}

/* --- CRITICAL FIX FOR MOBILE MENU OVERLAY --- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 27, 40, 0.98);
  /* Opaque Dark Background */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3001 !important;
  /* Higher than Nav & Sidebar */
  display: none;
  /* Toggled by JS */
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.mobile-menu-content a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu-content a:hover {
  color: #e84393;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

/* =====================================================
   PRIVACY PROMISE SECTION — REDESIGNED
   ===================================================== */

/* --- Keyframes --- */
@keyframes privacyScan {
  0% {
    top: -4px;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes privacyCheckPop {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  70% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- Card Wrapper --- */
.privacy-card {
  position: relative;
  background: linear-gradient(135deg, #0d1117 0%, #161b28 50%, #1a1f2e 100%);
  border: 1px solid rgba(100, 200, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(100, 200, 255, 0.05),
    0 25px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* --- Animated Grid Background --- */
.privacy-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(64, 180, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(64, 180, 255, 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  /* Subtle radial fade so edges are darker */
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* --- Scanning Line --- */
.privacy-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(64, 200, 255, 0.0) 10%,
      rgba(64, 200, 255, 0.6) 40%,
      rgba(120, 220, 255, 0.9) 50%,
      rgba(64, 200, 255, 0.6) 60%,
      rgba(64, 200, 255, 0.0) 90%,
      transparent 100%);
  box-shadow: 0 0 15px 4px rgba(64, 200, 255, 0.45), 0 0 50px 8px rgba(64, 200, 255, 0.15);
  animation: privacyScan 4s linear infinite;
  top: 0;
}

/* --- Inner Grid Layout --- */
.privacy-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 2.5rem;
}

/* --- Text Container --- */
.privacy-text-container {
  padding: 1rem;
  position: relative;
}

/* --- Headline Row --- */
.privacy-headline-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.privacy-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.65rem, 2.75vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.privacy-promise-gradient {
  background: linear-gradient(135deg, #e84393 0%, #0984e3 100%);
  /* Theme Blue to Pink */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.privacy-lock-icon {
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 8px rgba(64, 180, 255, 0.5));
  flex-shrink: 0;
}

/* --- Description --- */
.privacy-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(200, 220, 255, 0.7);
  margin-bottom: 1.5rem;
}

.privacy-desc strong {
  color: rgba(200, 220, 255, 0.95);
  font-weight: 700;
}

/* --- Privacy List --- */
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --- List Items --- */
.privacy-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(230, 245, 255, 0.9);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.privacy-list-item:hover {
  background: rgba(0, 184, 148, 0.07);
  border-color: rgba(0, 184, 148, 0.25);
  transform: translateX(4px);
}

/* --- Check Icon --- */
.privacy-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  animation: privacyCheckPop 0.4s ease-out forwards;
}

.privacy-check-icon svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 4px rgba(0, 184, 148, 0.5));
}

/* --- Italic note text --- */
.privacy-item-note {
  font-weight: 400;
  font-size: 0.85em;
  color: rgba(200, 220, 255, 0.5);
  margin-left: 4px;
}

/* --- Video Container (Right Side) --- */
.privacy-video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* --- Glassmorphic Video Wrapper --- */
.glass-video-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 18px;
  padding: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(100, 200, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(100, 200, 255, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(100, 180, 255, 0.12);
  transition: box-shadow 0.3s;
}

.glass-video-wrapper:hover {
  box-shadow:
    0 0 0 1px rgba(100, 200, 255, 0.1),
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 50px rgba(100, 180, 255, 0.2);
}

.glass-video-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  .privacy-inner-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .privacy-headline-row {
    justify-content: center;
    text-align: center;
  }

  .privacy-headline {
    font-size: 1.55rem;
  }

  .privacy-video-container {
    padding: 0.5rem;
  }

  .glass-video-wrapper {
    width: 100%;
  }

  .glass-video-wrapper img {
    width: 100%;
  }

  .privacy-list-item {
    font-size: 0.78rem;
    padding: 0.4rem 0.7rem;
    gap: 8px;
  }

  .privacy-item-note {
    font-size: 0.65rem;
  }

  .privacy-check-icon {
    width: 18px;
    height: 18px;
  }
}

/* ========================================= */
/* GLOBAL GLOWING & NOISE BACKGROUND UTILS    */
/* ========================================= */
.bg-noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  /* Base level grain */
}

/* Base style for a glowing animated blob */
.bg-glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
  animation: floatBgBlob 15s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes floatBgBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, 60px) scale(1.15);
  }
}

/* Generic Colors */
.blob-primary {
  background: radial-gradient(circle, rgba(9, 132, 227, 0.4) 0%, rgba(232, 67, 147, 0.1) 70%);
}

.blob-secondary {
  background: radial-gradient(circle, rgba(232, 67, 147, 0.3) 0%, rgba(10, 14, 23, 0) 70%);
}

.blob-light {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
}

/* --- MASSIVE FOOTER TEXT --- */
.massive-footer-text {
  position: absolute;
  bottom: -2vw;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(8rem, 21vw, 25rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  /* Increased visibility */
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -5px;
  line-height: 0.8;
  user-select: none;
}

/* ===== MOBILE OFFER BAR ===== */
#offer-bar {
  display: none;
  /* Hidden by default, shown by JS */
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  overflow: hidden;
  z-index: 1000;
  align-items: center;
  height: fit-content;
  /* Force container to be EXACTLY inner's height */
  padding-top: env(safe-area-inset-top);
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  margin: 0;
}

#offer-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.25'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.offer-bar-inner {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  padding: 4px 0;
  /* Reduced to match minimal size */
  margin: 0;
  line-height: 1;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.offer-bar-marquee {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  /* little bit bolder */
  color: #ffffff;
  letter-spacing: 0.3px;
  animation: offerMarquee 12s linear infinite;
  padding-left: 100%;
}

@keyframes offerMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Show offer bar ONLY on mobile */
@media (min-width: 769px) {
  #offer-bar {
    display: none !important;
  }
}

/* ===== VARIABLE PROXIMITY EFFECT ===== */
.card p span {
  font-family: 'Outfit', sans-serif;
  transition: font-variation-settings 0.1s ease-out;
}

.card p {
  color: #fff !important;
  /* Force white text */
}