/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - SWIPEAT LANDING
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary-hue: 358;
  --primary-sat: 100%;
  --primary-lightness: 68%;
  
  --primary: hsl(var(--primary-hue), var(--primary-sat), var(--primary-lightness)); /* #FF5A5F */
  --primary-dark: hsl(var(--primary-hue), 85%, 55%);
  --primary-light: hsl(var(--primary-hue), 100%, 96%);
  --primary-glow: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.25);
  
  --bg-color: #fafbfc;
  --card-color: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border-color: #f3f4f6;
  
  /* Swipe Colors */
  --like-color: #10b981; /* Green */
  --nope-color: #ef4444; /* Red */
  --superlike-color: #3b82f6; /* Blue */
  
  /* Layout & Shadows */
  --font-family: 'Outfit', sans-serif;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 10px 20px -5px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.4);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode settings if system preferred, but here we stay vibrant and clean */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0b0f19;
    --card-color: #161e2e;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-color: #243049;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
  }
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8e53 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px auto;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  outline: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -5px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--card-color);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

/* App Stores Buttons */
.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #0b0f19;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-btn:hover {
  background-color: #1f2937;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-btn-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.store-btn-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(250, 251, 252, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-normal);
}

@media (prefers-color-scheme: dark) {
  .header {
    background-color: rgba(11, 15, 25, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
  height: 70px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.15);
}

.badge-new-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero Showcase (Mockup + Shapes) */
.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: 0;
}

.phone-mockup-wrapper {
  position: relative;
  width: 290px;
  height: 590px;
  z-index: 2;
  perspective: 1000px;
}

.phone-mockup {
  width: 100%;
  height: 100%;
  background-color: #0b0f19;
  border: 12px solid #1e293b; /* Sleek bezel */
  border-radius: 44px;
  box-shadow: 
    0 0 0 2px #0f172a, /* Outer rim */
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 40px 80px -20px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

/* Simulated dynamic phone content */
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #161e2e 0%, #0b0f19 100%);
  display: flex;
  flex-direction: column;
  padding: 16px;
  position: relative;
}

/* Glass glare reflex */
.phone-glass-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 8;
  pointer-events: none;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  z-index: 9;
}

.phone-time {
  letter-spacing: -0.1px;
}

.phone-status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-icon {
  width: 12px;
  height: 12px;
  opacity: 0.9;
}

.phone-battery {
  width: 20px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  padding: 1px;
  position: relative;
  display: flex;
  align-items: center;
}

.phone-battery-level {
  height: 100%;
  width: 80%; /* 80% charge */
  background-color: #10b981;
  border-radius: 1px;
}

.phone-battery-cap {
  width: 1.5px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  right: -3px;
  top: 2px;
  border-radius: 0 1px 1px 0;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background-color: #1e293b; /* Matches bezel perfectly */
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

/* Realistic notch elements */
.notch-speaker {
  width: 40px;
  height: 3px;
  background-color: #0f172a;
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
}

.notch-camera {
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, #2563eb 10%, #0c111d 80%);
  border-radius: 50%;
  position: absolute;
  top: 9px;
  right: 22px;
}

/* ==========================================================================
   WIDGET INTERACTIF DE SWIPE (DEMO APP)
   ========================================================================== */
.demo-widget-container {
  width: 100%;
  height: 410px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-deck {
  width: 100%;
  height: 330px;
  position: relative;
}

.swipe-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--card-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  cursor: grab;
  user-select: none;
}

.swipe-card:nth-child(1) { transform: scale(1) translateY(0); z-index: 5; }
.swipe-card:nth-child(2) { transform: scale(0.95) translateY(12px); z-index: 4; }
.swipe-card:nth-child(3) { transform: scale(0.9) translateY(24px); z-index: 3; }
.swipe-card:nth-child(4) { transform: scale(0.85) translateY(36px); z-index: 2; opacity: 0.5; }

.card-img-container {
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.swipe-card:hover .card-img-container img {
  transform: scale(1.05);
}

.card-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  z-index: 1;
}

/* Swipe Stamps (Like / Nope indicator) */
.stamp {
  position: absolute;
  top: 24px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 3px solid currentColor;
  opacity: 0;
  transform: rotate(-15deg);
  z-index: 3;
  transition: opacity 0.15s ease;
}

.stamp-like {
  right: 24px;
  color: var(--like-color);
  transform: rotate(15deg);
}

.stamp-nope {
  left: 24px;
  color: var(--nope-color);
  transform: rotate(-15deg);
}

/* Card details styling */
.card-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: var(--card-color);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f59e0b; /* Amber star */
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.card-tag {
  font-size: 0.7rem;
  background-color: var(--border-color);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 40px;
  font-weight: 600;
}

.card-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Widget Control Buttons */
.widget-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.control-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--card-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.control-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: var(--transition-normal);
}

.control-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.control-btn:active {
  transform: scale(0.95);
}

.btn-rewind-control {
  color: #ff9f43; /* Ambre chaud */
  width: 38px;
  height: 38px;
}
.btn-rewind-control:hover {
  background-color: rgba(255, 159, 67, 0.05);
  border-color: #ff9f43;
}
.btn-rewind-control svg {
  width: 14px;
  height: 14px;
}

.btn-nope-control { color: var(--nope-color); }
.btn-nope-control:hover { background-color: rgba(239, 68, 68, 0.05); border-color: var(--nope-color); }
.btn-nope-control svg { width: 16px; height: 16px; }

.btn-super-control { 
  color: var(--superlike-color);
  width: 38px;
  height: 38px;
}
.btn-super-control:hover { background-color: rgba(59, 130, 246, 0.05); border-color: var(--superlike-color); }
.btn-super-control svg { width: 14px; height: 14px; fill: currentColor; }

.btn-like-control { color: var(--like-color); }
.btn-like-control:hover { background-color: rgba(16, 185, 129, 0.05); border-color: var(--like-color); }
.btn-like-control:hover svg { fill: var(--like-color); }

/* MATCH SCREEN FINAL STATE */
.match-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(22, 30, 46, 0.98) 0%, rgba(11, 15, 25, 0.99) 100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  border-radius: var(--border-radius-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.match-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.match-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  animation: pop-match 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.match-text {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 24px;
  max-width: 220px;
}

.match-restaurants-match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  position: relative;
}

.match-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--border-color);
}

.match-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-icon-heart {
  background-color: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  position: absolute;
  z-index: 3;
  animation: pulse-heart 1.2s infinite;
}

.match-overlay .btn-match-cta {
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: var(--border-radius-md);
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
  width: 100%;
}

.match-overlay .btn-match-cta:hover {
  background-color: var(--primary-dark);
}

.match-reset {
  margin-top: 16px;
  font-size: 0.75rem;
  color: #6b7280;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-fast);
}

.match-reset:hover {
  color: white;
}

/* ==========================================================================
   FEATURES GRID (GOURMETS)
   ========================================================================== */
.features {
  padding: 100px 0;
  background-color: var(--card-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.2);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.2px;
}

.feature-card:hover .feature-icon-box {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.05) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SWIPEAT EN GROUPE (SECTION DÉTAILLÉE)
   ========================================================================== */
.group-section {
  padding: 100px 0;
}

.group-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.group-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Interactive group demonstration mockups */
.group-mockups {
  display: flex;
  gap: 20px;
  position: relative;
}

.mockup-lobby {
  width: 220px;
  height: 450px;
  background-color: #0b0f19;
  border: 8px solid #1f2937;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: rotate(-4deg);
}

.mockup-match {
  width: 220px;
  height: 450px;
  background-color: #0b0f19;
  border: 8px solid #1f2937;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(30px) rotate(4deg);
}

.lobby-screen {
  padding: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: white;
}

.lobby-header {
  font-weight: 700;
  font-size: 0.75rem;
  text-align: center;
  margin-bottom: 12px;
  color: #9ca3af;
}

.lobby-code-box {
  background-color: rgba(255,255,255,0.05);
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 8px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  margin-bottom: 16px;
}

.lobby-code-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  color: #6b7280;
}

.lobby-code {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.lobby-users-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.lobby-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255,255,255,0.03);
  padding: 6px 10px;
  border-radius: 40px;
  font-size: 0.7rem;
}

.lobby-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #3b82f6;
  font-weight: 700;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lobby-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--like-color);
  margin-left: auto;
}

.lobby-start-btn {
  width: 100%;
  background-color: var(--primary);
  color: white;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
}

/* Detailed texts for Group section */
.group-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.group-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.group-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.group-feature-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-feature-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

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

/* ==========================================================================
   ESPACE PRO - RESTAURATEURS (B2B DEEP STYLE)
   ========================================================================== */
.pro-section {
  padding: 100px 0;
  background-color: #0b0f19; /* Sleek dark aesthetic for B2B portal context */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.pro-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 90, 95, 0.08) 0%, transparent 70%);
  z-index: 1;
}

.pro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pro-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pro-badge {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.pro-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.pro-description {
  font-size: 1.1rem;
  color: #9ca3af;
  margin-bottom: 36px;
  max-width: 540px;
}

.pro-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  margin-bottom: 40px;
}

.pro-stat-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 24px;
  transition: var(--transition-normal);
}

.pro-stat-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 90, 95, 0.2);
}

.pro-stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.pro-stat-label {
  font-size: 0.9rem;
  color: #9ca3af;
  font-weight: 500;
}

/* Pro mockup styling */
.pro-visual {
  display: flex;
  justify-content: center;
}

.pro-card-dashboard {
  background-color: #161e2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg), 0 30px 50px rgba(0,0,0,0.5);
  position: relative;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.dashboard-title-box {
  display: flex;
  flex-direction: column;
}

.dashboard-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.dashboard-subtitle {
  font-size: 0.7rem;
  color: #9ca3af;
}

.dashboard-badge-active {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--like-color);
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 40px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  margin-bottom: 12px;
}

.dashboard-row-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

.dashboard-row-text {
  display: flex;
  flex-direction: column;
}

.dashboard-row-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.dashboard-row-desc {
  font-size: 0.7rem;
  color: #6b7280;
}

.dashboard-row-value {
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION STYLISH STYLE)
   ========================================================================== */
.faq {
  padding: 100px 0;
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--card-color);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.2);
}

.faq-summary {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  padding: 16px 24px 24px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid transparent;
  transition: var(--transition-normal);
  letter-spacing: 0.01em;
}

.faq-item[open] .faq-content {
  border-top-color: var(--border-color);
}

/* ==========================================================================
   CTA DOWNLOAD BLOCK
   ========================================================================== */
.cta-block {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #ff7e40 100%);
  border-radius: var(--border-radius-lg);
  padding: 60px 48px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg), 0 20px 40px -10px hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.5);
  position: relative;
  z-index: 2;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at top left, rgba(255,255,255,0.15) 0%, transparent 60%);
  z-index: -1;
}

.cta-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 40px;
  max-width: 600px;
}

.cta-box .store-buttons {
  justify-content: center;
}

.cta-box .store-btn {
  background-color: rgba(11, 15, 25, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
}

.cta-box .store-btn:hover {
  background-color: #0b0f19;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #0b0f19;
  color: #ffffff;
  padding: 64px 0 32px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.8fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 24px;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: var(--transition-normal);
}

.social-link:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: #9ca3af;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  font-size: 0.85rem;
  color: #6b7280;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes pulse-heart {
  0% { transform: scale(1); }
  15% { transform: scale(1.2); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}

@keyframes pop-match {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* Scroll reveal helper classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FIRST INTERFACE ADAPTATION)
   ========================================================================== */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .store-buttons {
    justify-content: center;
  }
  
  .group-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .group-visual {
    order: 2;
  }
  
  .group-content {
    text-align: center;
    align-items: center;
  }
  
  .pro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .pro-content {
    text-align: center;
    align-items: center;
  }
  
  .pro-stats-grid {
    max-width: 500px;
    margin: 0 auto 32px auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Burger menu handles this on mobile */
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--card-color);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .burger-menu.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-cta {
    display: none;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .faq-summary {
    font-size: 0.95rem;
    padding: 16px 20px;
  }
}

/* ==========================================================================
   UI-UX PRO MAX OPTIMIZATIONS (QR CODE & SVG UTILS)
   ========================================================================== */
.qr-code-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--card-color);
  padding: 12px 18px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.qr-code-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: hsla(var(--primary-hue), var(--primary-sat), var(--primary-lightness), 0.2);
}

.qr-code-container {
  width: 52px;
  height: 52px;
  color: var(--text-main);
  flex-shrink: 0;
}

.qr-code-svg {
  width: 100%;
  height: 100%;
}

.qr-code-info {
  display: flex;
  flex-direction: column;
}

.qr-code-info-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.qr-code-info-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.icon-svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

/* Responsive exception for QR code B2C helper */
@media (max-width: 640px) {
  .qr-code-wrapper {
    display: none !important;
  }
}

