/* ==========================================================================
   HYDRALIFE DESIGN SYSTEM & STYLE SHEET
   Premium, Responsive Vanilla CSS for HydraLife Website
   ========================================================================== */

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

:root {
  /* Colors */
  --primary: #0EA5E9;       /* Sky Blue */
  --primary-rgb: 14, 165, 233;
  --secondary: #22C55E;     /* Success Green */
  --secondary-rgb: 34, 197, 94;
  --dark: #0F172A;          /* Charcoal text */
  --dark-rgb: 15, 23, 42;
  
  /* Gradients & Glows */
  --bg-color: #F8FAFC;
  --bg-gradient: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  --blue-glow: radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
  --green-glow: radial-gradient(circle at 10% 40%, rgba(34, 197, 94, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
  
  /* Surfaces & Borders */
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-bg-hover: rgba(255, 255, 255, 0.95);
  --border: rgba(226, 232, 240, 0.8);
  --border-focus: rgba(14, 165, 233, 0.4);
  
  /* Typography */
  --font-title: 'Instrument Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.09);
  --shadow-cta: 0 12px 32px rgba(14, 165, 233, 0.25);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  background-color: var(--bg-color);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.main-content-wrapper {
  position: relative;
  z-index: 1;
}

/* Background gradient & glows moved to fixed container */
.body-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  pointer-events: none;
}

.body-bg-container::before, .body-bg-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.body-bg-container::before {
  background: var(--blue-glow);
}

.body-bg-container::after {
  background: var(--green-glow);
}


/* Typography styles */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  transition: var(--transition);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--dark) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Glassmorphic Lang Dropdown */
.lang-selector-wrapper {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.lang-btn:hover {
  background: #FFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.lang-btn::after {
  content: "▾";
  font-size: 0.8rem;
  margin-top: 1px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  transition: var(--transition);
  width: 100%;
}

.lang-option:hover {
  background: rgba(14, 165, 233, 0.08);
  color: var(--primary);
}

.lang-option.active {
  background: var(--primary);
  color: #FFF;
}

/* ==========================================================================
   BUTTONS & APP STORE CTA
   ========================================================================== */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  color: #FFF;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #111;
}

.btn-appstore svg {
  width: 24px;
  height: 24px;
}

.btn-appstore-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.btn-appstore-text span:first-child {
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.btn-appstore-text span:last-child {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Floating CTA button at bottom center */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 99;
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  pointer-events: none;
}

.floating-cta.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-cta .btn-appstore {
  box-shadow: var(--shadow-cta);
  background: #0FA8DD;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.floating-cta .btn-appstore:hover {
  background: #0d96c5;
  transform: scale(1.05);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 5rem 0 2rem 0;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-avatars {
  display: flex;
  align-items: center;
}

.hero-badge-avatars img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #FFF;
  margin-left: -6px;
}
.hero-badge-avatars img:first-child {
  margin-left: 0;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--dark);
  max-width: 1100px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.05;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

.hero-cta {
  margin-bottom: 4rem;
}

.hero-mockup-wrapper {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
}

.hero-mockup {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  transform: rotateX(5deg);
  transition: var(--transition-bounce);
}

.hero-mockup:hover {
  transform: rotateX(0deg) scale(1.02);
}

/* ==========================================================================
   HOW IT WORKS (COMMENT CA MARCHE)
   ========================================================================== */
.stats-section {
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid var(--border);
}

.how-it-works-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid var(--border);
}

.how-it-works-section .section-badge-wrapper {
  margin-bottom: 2.5rem;
}

/* Stats Row */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.stat-item {
  flex: 1;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border);
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Steps Cards Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.2);
  background: var(--card-bg-hover);
}

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

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   CREATURES SHOWCASE (LES CREATURES)
   ========================================================================== */
.creatures-section {
  padding: 6rem 0;
}

.section-badge-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.05);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  max-width: 1100px;
  margin: 0 auto 1.5rem auto;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.creatures-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: stretch;
}

.creatures-checklist {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.checklist-item:hover {
  transform: translateX(5px);
  border-color: rgba(14, 165, 233, 0.2);
}

.checklist-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checklist-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.checklist-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Creature Display Card Box */
.creature-card-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.creature-card-glow {
  position: absolute;
  top: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
  transition: var(--transition);
}

.creature-status-pill {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.creature-status-pill.free {
  background: rgba(34, 197, 94, 0.1);
  color: var(--secondary);
}

.creature-status-pill.premium {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

.creature-image-container {
  flex-grow: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  position: relative;
  width: 100%;
}

.creature-img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

.creature-card-box:hover .creature-img {
  transform: scale(1.08) translateY(-5px);
}

.creature-name {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.creature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: 1.5rem;
  z-index: 1;
}

/* Creature Status Metrics */
.creature-metrics {
  width: 100%;
  max-width: 300px;
  margin-bottom: 2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 500;
}

.metric-label {
  color: var(--text-secondary);
}

.metric-value-bar {
  width: 150px;
  height: 8px;
  background: rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-pill);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-fill.success-fill {
  background: var(--secondary);
}

/* Tabs list at the bottom */
.creature-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid var(--border);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  z-index: 1;
}

.creature-tab-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  color: var(--text-secondary);
}

.creature-tab-btn:hover {
  color: var(--dark);
}

.creature-tab-btn.active {
  background: #FFF;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   FEATURES GRID (FONCTIONNALITES)
   ========================================================================== */
.features-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.features-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.feature-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.15);
  background: var(--card-bg-hover);
}

.feature-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.feature-box:nth-child(even) .feature-icon-wrapper {
  background: rgba(34, 197, 94, 0.1);
  color: var(--secondary);
}

.feature-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.features-center-phone {
  text-align: center;
  position: relative;
  transition: var(--transition-bounce);
}

.features-center-phone:hover {
  transform: translateY(-8px);
}

.features-phone-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-bounce);
  animation: float-subtle 3.5s ease-in-out infinite;
}

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

/* ==========================================================================
   BEFORE/AFTER HYDRATION SLIDER
   ========================================================================== */
.slider-section {
  padding: 6rem 0;
}

.slider-container {
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 1179 / 2385;
  user-select: none;
  --position: 50%;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.slider-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-label {
  position: absolute;
  top: 1rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFF;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 15;
}

.slider-label-before {
  left: 1.5rem;
}

.slider-label-after {
  right: 1.5rem;
  z-index: 5;
}

/* Drag Handle */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #FFF;
  z-index: 20;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: #FFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: transform 0.2s ease;
}

.slider-container:hover .slider-handle-button {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Invisible range input for dragging */
.slider-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 30;
}

/* ==========================================================================
   PREMIUM PLANS (TARIFS)
   ========================================================================== */
.premium-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.premium-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.premium-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: var(--transition);
}

.premium-card.popular {
  border-color: var(--primary);
  background: var(--card-bg-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.premium-card.popular::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.popular-badge {
  position: absolute;
  top: -12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #FFF;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.2);
}

.premium-card.popular:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.plan-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  font-family: var(--font-title);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.plan-features-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.plan-feature-check {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: bold;
}

.plan-btn {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
}

.plan-btn-secondary {
  background: rgba(241, 245, 249, 0.8);
  color: var(--dark);
  border: 1px solid var(--border);
}

.plan-btn-secondary:hover {
  background: rgba(226, 232, 240, 1);
  border-color: var(--text-muted);
}

.plan-btn-primary {
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.plan-btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   SOCIAL PROOF (TEMOIGNAGES)
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
}

.testimonials-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 2rem 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 350px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.15);
  background: var(--card-bg-hover);
}

.stars {
  display: flex;
  gap: 0.2rem;
  color: #FBBF24; /* Star Gold */
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.25rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.user-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ SECTION (ACCORDEON)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: rgba(255, 255, 255, 0.2);
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(14, 165, 233, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  font-family: var(--font-title);
  letter-spacing: -0.01em;
}

.faq-chevron {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(248, 250, 252, 0.5);
  border-top: 0px solid var(--border);
}

.faq-answer-inner {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Active accordion styles */
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-item.active .faq-answer {
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 4rem 0 6rem 0;
}

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

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

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
}

.footer-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.footer-email {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-email a:hover {
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.footer-link-item:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-download {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   LEGAL PAGES STYLING (CGU, PRIVACY)
   ========================================================================== */
.legal-page-body {
  background: var(--bg-color);
  color: var(--dark);
}

.legal-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem;
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  transition: var(--transition);
}

.legal-back-btn:hover {
  color: var(--primary);
  transform: translateX(-3px);
}

.legal-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
  color: var(--dark);
}

.legal-content p {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   ANIMATIONS & FLOAT EFFECT
   ========================================================================== */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet Breakpoint (max-width: 992px) */
@media (max-width: 992px) {
  .creatures-showcase-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .features-grid-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .features-center-phone {
    grid-column: span 2;
    order: -1;
  }
  
  .premium-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
  
  .premium-card.popular {
    grid-column: span 2;
    transform: none;
  }
  
  .premium-card.popular:hover {
    transform: translateY(-5px);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .footer-download {
    grid-column: span 1;
    align-items: flex-start;
  }
  

}

/* Mobile Breakpoint (max-width: 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .hero-section {
    padding: 3rem 0 1rem 0;
  }

  .stats-section {
    padding: 3rem 0;
  }
  
  .stats-row {
    flex-direction: column;
    gap: 2rem;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-grid-layout {
    grid-template-columns: 1fr;
  }
  
  .features-center-phone {
    grid-column: span 1;
  }
  
  .premium-container {
    grid-template-columns: 1fr;
  }
  
  .premium-card.popular {
    grid-column: span 1;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .footer-logo-row {
    justify-content: center;
  }
  
  .footer-download {
    display: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center;
  }
  
  .legal-container {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }
  
  .lang-dropdown {
    grid-template-columns: 1fr;
    width: 150px;
  }
  
  .floating-cta {
    bottom: 1rem;
  }
}

/* ==========================================================================
   BACKGROUND BUBBLES ANIMATION
   ========================================================================== */
.bubbles-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -60px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 50%;
  will-change: transform, opacity;
  animation: float-bubble infinite linear;
}

@keyframes float-bubble {
  0% {
    transform: translateY(0) scale(1) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-115vh) scale(1.3) translateX(var(--drift, 20px));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubble {
    display: none !important;
  }
}
