/**
 * Vesty — Landing Page Fashion Tech 2026
 * Charte : Light/Dark, accent #A9CEF6, border-radius 24px (bulle)
 */

/* ========== View Transitions (navigation fluide entre pages) ========== */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 120ms ease out vesty-fade-out;
}

::view-transition-new(root) {
  animation: 120ms ease in vesty-fade-in;
}

@keyframes vesty-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes vesty-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ========== Variables ========== */
:root {
  /* Couleurs principales */
  --vesty-accent: #A9CEF6;
  --vesty-accent-hover: #8fbef2;
  --vesty-bg-light: #F8FAFC;
  --vesty-bg-dark: #0F172A;
  --vesty-surface-light: #ffffff;
  --vesty-surface-dark: #1e293b;
  --vesty-text-light: #0f172a;
  --vesty-text-muted-light: #64748b;
  --vesty-text-dark: #f1f5f9;
  --vesty-text-muted-dark: #94a3b8;
  --vesty-border-light: #e2e8f0;
  --vesty-border-dark: #334155;

  /* Thème par défaut (Light) */
  --vesty-bg: var(--vesty-bg-light);
  --vesty-surface: var(--vesty-surface-light);
  --vesty-text: var(--vesty-text-light);
  --vesty-text-muted: var(--vesty-text-muted-light);
  --vesty-border: var(--vesty-border-light);
  --vesty-glass: rgba(255, 255, 255, 0.72);
  --vesty-glass-border: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] {
  --vesty-bg: var(--vesty-bg-dark);
  --vesty-surface: var(--vesty-surface-dark);
  --vesty-text: var(--vesty-text-dark);
  --vesty-text-muted: var(--vesty-text-muted-dark);
  --vesty-border: var(--vesty-border-dark);
  --vesty-glass: rgba(15, 23, 42, 0.72);
  --vesty-glass-border: rgba(255, 255, 255, 0.08);
}

/* Typo : Inter (fallback Satoshi via font-face si dispo) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--vesty-bg);
  color: var(--vesty-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ========== Header flottant (Floating Bubble - Wide & Slim) ========== */
.vesty-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  /* Largeur contrôlée : large mais flottant */
  width: 90%;
  max-width: 1100px;
  
  /* Hauteur fine */
  padding: 6px 12px;
  border-radius: 100px;
  
  /* Effet Verre Premium */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 4px 20px -2px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;

  /* ANIMATION D'ENTRÉE */
  /* On définit l'état initial ici */
  width: 60px; /* Petit cercle */
  height: 60px; /* Force un carré/cercle */
  padding: 0; /* Pas de padding pour centrer le logo */
  border-radius: 50%; /* Cercle parfait au début */
  display: flex; /* Flex pour centrer le logo */
  align-items: center;
  justify-content: center;
  
  animation: headerExpand 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  white-space: nowrap;
  /* overflow: visible pour que le dropdown Profil s'affiche sous le header (sinon il est coupé) */
  overflow: visible;
}

/* KEYFRAMES */
@keyframes headerExpand {
  0% {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    overflow: hidden;
  }
  20% {
    /* Apparition et pause en cercle */
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
  }
  35% {
    /* Toujours en cercle, prêt à s'étendre */
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
  }
  99% {
    overflow: hidden;
  }
  100% {
    /* Expansion finale : overflow visible pour le dropdown Profil */
    width: 90%;
    height: auto; /* Revient à la hauteur naturelle */
    padding: 6px 12px;
    border-radius: 100px;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    overflow: visible;
  }
}

@keyframes navFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

[data-theme="dark"] .vesty-header {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

.vesty-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; /* S'assure de prendre toute la place dispo */
  height: 48px; 
}

.vesty-nav-left,
.vesty-nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1; /* Distribue l'espace équitablement */
  
  /* Animation du contenu */
  opacity: 0;
  animation: navFadeIn 0.8s ease-out forwards;
  animation-delay: 0.8s; /* Délai augmenté pour attendre l'expansion */
}

.vesty-nav-left { justify-content: flex-start; }
.vesty-nav-right { justify-content: flex-end; }

/* Liens de navigation */
.vesty-nav-link {
  color: var(--vesty-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vesty-nav-link:hover {
  color: var(--vesty-text);
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .vesty-nav-link:hover {
  color: var(--vesty-text-dark);
  background: rgba(255, 255, 255, 0.1);
}

/* Logo central */
.vesty-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Position absolue pour garantir le centrage parfait pendant l'anim */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px; /* Zone cliquable définie */
  height: 60px;
  z-index: 2;
}

.vesty-logo img {
  height: 32px; 
  width: auto;
  object-fit: contain;
}

/* Bouton CTA "S'habiller" / primary */
.vesty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  height: 36px; /* Hauteur fixe alignée */
  border-radius: 100px;
  background: var(--vesty-text);
  color: var(--vesty-bg);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  margin-left: 8px;
}

[data-theme="dark"] .vesty-cta {
  background: var(--vesty-accent);
  color: var(--vesty-bg-dark);
}

.vesty-cta:hover {
  transform: translateY(-1px);
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* CTA secondaire (Profil) : contour, moins mis en avant */
.vesty-cta-secondary {
  background: transparent;
  color: var(--vesty-text-muted);
  border: 1.5px solid var(--vesty-border);
  margin-left: 4px;
}
.vesty-cta-secondary:hover {
  color: var(--vesty-text);
  border-color: var(--vesty-text-muted);
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
}
[data-theme="dark"] .vesty-cta-secondary {
  color: var(--vesty-text-muted-dark);
  border-color: var(--vesty-border-dark);
  background: transparent;
}
[data-theme="dark"] .vesty-cta-secondary:hover {
  color: var(--vesty-text-dark);
  border-color: var(--vesty-text-muted-dark);
  background: rgba(255, 255, 255, 0.08);
}

/* CTA principal (Ajouter un nouveau look) : plus visible, accentué */
.vesty-cta-primary {
  margin-left: 8px;
  padding: 8px 22px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.vesty-cta-primary:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
[data-theme="dark"] .vesty-cta-primary {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .vesty-cta-primary:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Dropdown S'habiller : au survol déploie à gauche dans le header (Se connecter / S'inscrire) */
.vesty-cta-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

/* Pas de hover sur le conteneur : seul le bouton Profil (.vesty-cta-secondary) a un hover discret */

/* Menu déroulant : s'ouvre vers le bas, au-dessus du header (z-index) */
.vesty-cta-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 6px 0;
  background: var(--vesty-surface);
  border: 1px solid var(--vesty-border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.vesty-cta-dropdown:hover .vesty-cta-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

[data-theme="dark"] .vesty-cta-dropdown-menu {
  background: var(--vesty-surface-dark);
  border-color: var(--vesty-border-dark);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.vesty-cta-dropdown-menu .vesty-nav-link {
  display: block;
  padding: 10px 16px;
  border-radius: 0;
  white-space: nowrap;
  border: none;
}
.vesty-cta-dropdown-menu .vesty-nav-link:hover {
  border-radius: 8px;
}

.vesty-cta-dropdown-menu .vesty-nav-link-admin {
  color: var(--vesty-accent, #6366f1);
  font-weight: 600;
}

.vesty-cta-dropdown-menu .vesty-nav-link-admin:hover {
  color: var(--vesty-accent, #6366f1);
  background: rgba(99, 102, 241, 0.08);
}

/* Guest: liens qui se déroulent depuis le bouton S'habiller */
.vesty-cta-dropdown-guest {
  display: flex;
  flex-direction: row-reverse; /* Bouton à droite, liens à gauche */
  align-items: center;
  margin-left: 8px;
  position: relative;
}

.vesty-cta-dropdown-guest .vesty-cta-dropdown-menu {
  /* Affichage inline horizontal */
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;

  /* Animation de déroulement : largeur qui part de 0 */
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
}

.vesty-cta-dropdown-guest:hover .vesty-cta-dropdown-menu {
  max-width: 250px; /* Largeur suffisante pour les 2 liens */
  opacity: 1;
  margin-right: 12px; /* Espacement entre les liens et le bouton */
}

.vesty-guest-auth-inline {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.vesty-guest-auth-inline .vesty-cta {
  white-space: nowrap;
}

.vesty-cta-dropdown-guest .vesty-cta-dropdown-menu .vesty-nav-link {
  padding: 8px 12px;
  font-size: 0.9rem;
  color: var(--vesty-text-muted);
  white-space: nowrap;
  flex-shrink: 0; /* Évite le rétrécissement des liens */
}

/* Header connecté : icône recherche (loupe) */
.vesty-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  color: var(--vesty-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}
.vesty-nav-icon:hover {
  color: var(--vesty-text);
  background: rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .vesty-nav-icon:hover {
  background: rgba(255, 255, 255, 0.08);
}
.vesty-nav-icon .material-symbols-rounded {
  font-size: 22px;
}

/* ——— Recherche d'utilisateurs ——— */
.vesty-search-container {
  position: relative;
}

.vesty-search-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 320px;
  max-width: 90vw;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

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

.vesty-search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.vesty-search-input:focus {
  border-color: var(--vesty-primary, #A9CEF6);
}

.vesty-search-results {
  margin-top: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
}

.vesty-search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: #1f2937;
  transition: background 0.2s ease;
}

.vesty-search-result-item:hover {
  background: #f9fafb;
}

.vesty-search-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.vesty-search-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vesty-primary, #A9CEF6);
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.vesty-search-result-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.vesty-search-result-name {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vesty-search-private-icon {
  font-size: 16px;
  color: #9ca3af;
  flex-shrink: 0;
}

.vesty-search-empty {
  padding: 1rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
}


/* Mobile menu (burger) */
.vesty-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--vesty-text);
}

.vesty-burger span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Overlay et drawer : cachés par défaut (desktop) */
.vesty-mobile-overlay,
.vesty-mobile-drawer {
  display: none;
}

@media (max-width: 900px) {
  .vesty-header {
    position: absolute;
    width: calc(100% - 24px);
    max-width: none;
    padding: 8px 16px;
    margin: 0;
    top: 12px;
    left: 50%;
    animation: none;
    opacity: 1;
    transform: translateX(-50%);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    /* Garder le bouton burger/croix au-dessus du drawer */
    z-index: 1060;
  }

  .vesty-header-inner {
    height: auto;
    min-height: 48px;
    justify-content: space-between;
  }

  /* Masquer nav gauche et droite sur mobile */
  .vesty-nav-left,
  .vesty-nav-right {
    display: none !important;
  }

  /* Logo à gauche sur mobile */
  .vesty-logo {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
  }

  .vesty-burger {
    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 1070;
  }

  /* ——— Overlay sombre derrière le menu ——— */
  .vesty-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .vesty-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  /* ——— Drawer mobile (slide depuis la droite) ——— */
  .vesty-mobile-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100dvh;
    background: #fff;
    z-index: 1050;
    flex-direction: column;
    padding: 72px 24px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  }

  [data-theme="dark"] .vesty-mobile-drawer {
    background: #0f172a;
  }

  .vesty-mobile-drawer.is-open {
    transform: translateX(0);
  }

  .vesty-mobile-drawer .vesty-nav-link {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    padding: 16px 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--vesty-border);
    border-left: none;
    border-right: none;
    border-top: none;
    color: var(--vesty-text) !important;
    background: transparent !important;
    text-decoration: none;
    white-space: normal;
    width: 100%;
    box-sizing: border-box;
  }

  .vesty-mobile-drawer .vesty-nav-link:hover,
  .vesty-mobile-drawer .vesty-nav-link:focus {
    background: transparent !important;
    color: var(--vesty-text) !important;
    opacity: 0.7;
  }

  .vesty-mobile-drawer .vesty-nav-link:last-of-type {
    border-bottom: none;
  }

  .vesty-mobile-drawer .vesty-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 16px;
  }

  .vesty-mobile-drawer .vesty-cta-secondary {
    margin-left: 0;
    margin-top: 8px;
  }

  .vesty-mobile-drawer .vesty-cta-dropdown {
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    gap: 8px;
  }

  .vesty-mobile-drawer .vesty-cta-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-width: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  /* Burger animé en croix quand ouvert */
  .vesty-burger.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .vesty-burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .vesty-burger.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* PWA standalone : sur mobile, afficher connexion / inscription pour les guests */
@media (display-mode: standalone) and (max-width: 900px) {
  body.vesty-user-guest .vesty-nav-right {
    display: flex !important;
  }

  body.vesty-user-guest .vesty-guest-auth-inline {
    display: flex;
  }

  /* Empêche le dropdown guest de prendre le dessus (hover non fiable sur mobile) */
  body.vesty-user-guest .vesty-cta-dropdown-guest {
    display: none !important;
  }
}

/* ========== Google Icons ========== */
.material-symbols-rounded {
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

/* ========== Main (espace pour le header fixe) ========== */
.vesty-main {
  /* On enlève le padding-top fixe car le hero va gérer l'espace */
  min-height: 100vh;
  position: relative;
  overflow-x: hidden; /* Pour les blobs en background */
}

/* ========== Hero Section 2026 ========== */
.vesty-hero {
  position: relative;
  padding: 160px 24px 100px; /* Uniquement titre + sous-titre + boutons */
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  background: var(--vesty-bg); /* Même fond que la page, évite la bande blanche */
}

/* Section démo : visuel avec URL, en dessous du hero */
.vesty-demo {
  padding: 80px 24px 100px;
  display: flex;
  justify-content: center;
  background: var(--vesty-bg); /* Continuité du fond, pas de section blanche */
  position: relative;
}

/* Transition douce : léger dégradé qui prolonge l'ambiance du hero */
.vesty-demo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, 
    rgba(224, 231, 255, 0.15) 0%, 
    transparent 100%);
  pointer-events: none;
}

[data-theme="dark"] .vesty-demo::before {
  background: linear-gradient(180deg, 
    rgba(30, 27, 75, 0.2) 0%, 
    transparent 100%);
}

/* Fond Aurora (Blobs animés) */
.vesty-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatBlob 10s infinite ease-in-out alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: #E0E7FF; /* Indigo très clair */
}

.blob-2 {
  top: 20%;
  right: -20%;
  width: 40vw;
  height: 40vw;
  background: #F0F9FF; /* Bleu ciel très clair */
  animation-delay: -5s;
}

.blob-3 {
  bottom: -10%;
  left: 30%;
  width: 30vw;
  height: 30vw;
  background: #F5F3FF; /* Violet très clair */
  animation-delay: -2s;
}

[data-theme="dark"] .blob-1 { background: #1e1b4b; opacity: 0.4; }
[data-theme="dark"] .blob-2 { background: #172554; opacity: 0.4; }
[data-theme="dark"] .blob-3 { background: #312e81; opacity: 0.4; }

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 40px) scale(1.1); }
}

/* Badge Nouveauté */
.vesty-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--vesty-text-muted);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .vesty-badge {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.vesty-badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vesty-accent);
  box-shadow: 0 0 0 2px rgba(169, 206, 246, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(169, 206, 246, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(169, 206, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(169, 206, 246, 0); }
}

/* Typographie Hero */
.vesty-hero-content {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.vesty-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
  color: var(--vesty-text);
}

.text-gradient {
  background: linear-gradient(135deg, var(--vesty-text) 30%, var(--vesty-text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .text-gradient {
  background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vesty-hero p {
  font-size: 1.25rem;
  color: var(--vesty-text-muted);
  margin: 0 auto 40px;
  line-height: 1.6;
  max-width: 600px;
}

/* Actions (Boutons) */
.vesty-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vesty-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  background: var(--vesty-text);
  color: var(--vesty-bg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

[data-theme="dark"] .vesty-btn-primary {
  background: var(--vesty-accent);
  color: var(--vesty-bg-dark);
}

.vesty-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.vesty-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  background: transparent;
  color: var(--vesty-text);
  border: 1px solid var(--vesty-border);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vesty-btn-secondary:hover {
  background: var(--vesty-surface);
  border-color: var(--vesty-text-muted);
}

.vesty-btn-primary .material-symbols-rounded {
  font-size: 1.25rem;
}

.vesty-btn-secondary .material-symbols-rounded {
  font-size: 1.5rem;
}

/* Visuel Glass Interface (dans la section .vesty-demo) */
.vesty-hero-visual-container {
  width: 100%;
  max-width: 900px;
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.vesty-glass-card {
  width: 100%;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 
    0 20px 50px -10px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  transform: rotateX(2deg);
  transition: transform 0.5s ease;
  overflow: hidden;
}

[data-theme="dark"] .vesty-glass-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.4);
}

.vesty-glass-card:hover {
  transform: rotateX(0deg) translateY(-10px);
}

.glass-header {
  height: 44px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
}

[data-theme="dark"] .glass-header { border-bottom-color: rgba(255,255,255,0.05); }

.glass-header .dots {
  display: flex;
  gap: 6px;
}

.glass-header .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.glass-header .address-bar {
  flex: 1;
  height: 24px;
  background: rgba(0,0,0,0.03);
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vesty-text-muted);
}

.glass-content {
  padding: 40px;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* UI Grid Simulation - Process Flow (3 étapes) */
.ui-process-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 960px;
}

.ui-card-input {
  width: 220px;
  aspect-ratio: 3/4;
  background: var(--vesty-surface);
  border-radius: 16px;
  border: 1px solid var(--vesty-border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.ui-card-input:hover {
  transform: translateY(-4px);
}

.ui-card-result {
  flex: 1.2; /* Le résultat est un peu plus grand */
  aspect-ratio: 3/4;
  max-width: 280px;
  background: linear-gradient(135deg, var(--vesty-surface) 0%, #f0f9ff 100%);
  border-radius: 16px;
  border: 1px solid rgba(169, 206, 246, 0.4);
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(169, 206, 246, 0.15);
  position: relative;
}

[data-theme="dark"] .ui-card-result {
  background: linear-gradient(135deg, var(--vesty-surface) 0%, #1e293b 100%);
  border-color: rgba(169, 206, 246, 0.2);
}

.ui-placeholder-box, .ui-placeholder-result-box {
  flex: 1;
  background: var(--vesty-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.ui-placeholder-with-img {
  padding: 0;
  gap: 0;
}

/* Label au-dessus de l'image (ne recouvre pas la photo) */
.ui-placeholder-with-img .ui-label.ui-label-above {
  position: static;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vesty-text);
  padding: 8px 0 6px;
  text-align: center;
  background: transparent;
  backdrop-filter: none;
}

[data-theme="dark"] .ui-placeholder-with-img .ui-label.ui-label-above {
  background: transparent;
  color: var(--vesty-text);
}

.ui-demo-img-wrap {
  flex: 1;
  min-height: 0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
}

.ui-demo-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.ui-placeholder-result-box {
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .ui-placeholder-result-box {
  background: rgba(0, 0, 0, 0.2);
}

.ui-process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--vesty-text-muted);
}

.ui-icon-box .material-symbols-rounded {
  font-size: 2.5rem;
  opacity: 0.3;
}

.ui-icon-box-large .material-symbols-rounded {
  font-size: 4rem;
  color: var(--vesty-text); /* Couleur pleine pour le résultat */
}

.magic-sparkle-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--vesty-accent);
  animation: spinSparkle 4s infinite linear;
}

@keyframes spinSparkle {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Update Floating Tag position */
.ui-floating-tag {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) !important; /* Force le centrage initial */
  right: auto;
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 6px 12px;
  animation: floatTagCenter 3s infinite ease-in-out;
}

@keyframes floatTagCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

@media (max-width: 768px) {
  .ui-process-grid {
    flex-direction: column;
    gap: 12px;
  }
  .ui-card-input {
    width: 100%;
    max-width: 260px;
    aspect-ratio: auto;
    height: 200px;
  }
  .ui-card-result {
    width: 100%;
    max-width: 260px;
    aspect-ratio: auto;
    height: 200px;
  }
  .ui-process-arrow {
    transform: rotate(90deg);
  }
}

/* ========== Section Trending (Bento Box) ========== */
.vesty-section {
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.vesty-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--vesty-text);
  text-align: center;
}

.vesty-section-subtitle {
  color: var(--vesty-text-muted);
  text-align: center;
  margin: 0 0 40px;
  font-size: 1.0625rem;
}

/* Grille Bento */
.vesty-bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.vesty-bento-card {
  background: var(--vesty-surface);
  border: 1px solid var(--vesty-border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.vesty-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .vesty-bento-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.vesty-bento-card-image {
  aspect-ratio: 1;
  background: var(--vesty-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.vesty-bento-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vesty-bento-card-brand {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vesty-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vesty-bento-card-meta {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vesty-bento-card-tryons {
  font-size: 0.875rem;
  color: var(--vesty-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========== How it works ========== */
.vesty-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.vesty-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--vesty-surface);
  border: 1px solid var(--vesty-border);
  border-radius: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.vesty-step:hover {
  border-color: var(--vesty-accent);
  transform: translateY(-2px);
}

.vesty-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--vesty-accent);
  color: var(--vesty-text-light);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.vesty-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--vesty-text);
}

.vesty-step p {
  font-size: 0.9375rem;
  color: var(--vesty-text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .vesty-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ========== Footer minimaliste ========== */
.vesty-footer {
  padding: 24px 24px 32px;
  border-top: 1px solid var(--vesty-border);
  margin-top: 64px;
}

.vesty-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--vesty-text-muted);
}

.vesty-footer a {
  color: var(--vesty-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.vesty-footer a:hover {
  color: var(--vesty-accent);
}

.vesty-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.vesty-footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vesty-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vesty-border);
  color: var(--vesty-text);
  transition: background 0.2s, color 0.2s;
}

.vesty-footer-social a:hover {
  background: var(--vesty-accent);
  color: var(--vesty-text-light);
}

@media (display-mode: standalone) {
  .vesty-footer {
    display: none !important;
  }
}

/* ========== Animations au scroll (classes ajoutées par JS) ========== */
.vesty-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vesty-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vesty-reveal-delay-1 { transition-delay: 0.1s; }
.vesty-reveal-delay-2 { transition-delay: 0.2s; }
.vesty-reveal-delay-3 { transition-delay: 0.3s; }
.vesty-reveal-delay-4 { transition-delay: 0.4s; }

/* Toggle Dark Mode (optionnel) */
.vesty-theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--vesty-text);
  border-radius: 20px;
  transition: background 0.2s;
}

.vesty-theme-toggle:hover {
  background: var(--vesty-border);
}

/* ========== Page Login / Register — Split-screen (référence : image bord à bord, courbe droite) ========== */
.vesty-auth-section.vesty-auth-split {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
}

/* Page login/register : main sans marge pour image bord à bord */
.vesty-main:has(.vesty-auth-split) {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}

.vesty-auth-split {
  display: flex;
  min-height: calc(100vh - 72px);
  width: 100%;
  overflow: hidden;
}

/* Panneau image : tout sur le bord gauche, courbe organique à droite (pas coupé) */
.vesty-auth-split-panel-image {
  width: 56%;
  flex: 0 0 56%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  /* Courbe douce à droite, pas de coupure nette */
  border-radius: 0 120px 120px 0;
}

.vesty-auth-split-panel-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 0 120px 120px 0;
}

/* Panneau formulaire : fond blanc, bien séparé */
.vesty-auth-split-panel-form {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
  background: #ffffff;
}

.vesty-auth-form-card {
  width: 100%;
  max-width: 380px;
}

.vesty-auth-form-card h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.vesty-auth-form-card .vesty-auth-subtitle {
  color: var(--vesty-text-muted-light);
  font-size: 0.9375rem;
  margin: 0 0 36px;
}

.vesty-auth-btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vesty-auth-btn-google:hover {
  border-color: var(--vesty-accent);
  box-shadow: 0 0 0 3px rgba(169, 206, 246, 0.2);
}

.vesty-auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
}

.vesty-auth-divider::before,
.vesty-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.vesty-auth-divider span {
  color: #64748b;
  font-size: 0.8125rem;
}

.vesty-auth-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 14px;
}

.vesty-auth-input::placeholder {
  color: #94a3b8;
}

.vesty-auth-input:focus {
  outline: none;
  border-color: var(--vesty-accent);
  box-shadow: 0 0 0 3px rgba(169, 206, 246, 0.2);
}

.vesty-auth-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  background: #A9CEF6;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.02s;
  margin-top: 4px;
}

.vesty-auth-btn-primary:hover {
  background: var(--vesty-accent-hover);
}

.vesty-auth-btn-primary:active {
  transform: scale(0.99);
}

.vesty-auth-link-box {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9375rem;
  color: #64748b;
}

.vesty-auth-link-box a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}

.vesty-auth-link-box a:hover {
  text-decoration: underline;
  color: var(--vesty-accent);
}

.vesty-auth-msg {
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  display: none;
}

.vesty-auth-msg.success {
  background: rgba(169, 206, 246, 0.2);
  border: 1px solid var(--vesty-accent);
  color: #0f172a;
}

.vesty-auth-msg.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ========== PWA Splash Screen ========== */
.vesty-splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FAFAF9;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (display-mode: standalone) {
  .vesty-splash {
    display: flex;
  }
}

.vesty-splash-logo {
  width: 96px;
  height: 96px;
  animation: splashLogoIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes splashLogoIn {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

.vesty-splash-exit {
  animation: splashSlideUp 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes splashSlideUp {
  from { transform: translateY(0);       opacity: 1; }
  to   { transform: translateY(-100%);   opacity: 1; }
}

/* ========== PWA Bottom Bar ========== */
.vesty-bottom-bar,
.vesty-bottom-nav {
  display: none;
}

@media (display-mode: standalone) {
  .vesty-header {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: none;
    margin: 0;
    animation: none;
    opacity: 1;
  }

  /* Masquer le burger et le drawer en mode PWA */
  .vesty-burger,
  .vesty-mobile-overlay,
  .vesty-mobile-drawer {
    display: none !important;
  }

  /* Wrapper : nav pill à gauche + bouton + à droite */
  .vesty-bottom-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    z-index: 1000;
  }

  /* Nav pill */
  .vesty-bottom-nav {
    display: flex;
    flex: 1;
    align-items: stretch;
    justify-content: space-around;
    height: 64px;
    padding: 0 8px;
    background: #ffffff;
    border: 1px solid black;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  }

  .vesty-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    height: 100%;
    padding: 0;
    border-radius: 999px;
    text-decoration: none;
    color: #9ca3af;
    transition: color 0.2s ease;
  }

  .vesty-bottom-nav-item .material-symbols-rounded {
    font-size: 22px;
    flex-shrink: 0;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    transition: font-variation-settings 0.2s ease;
  }

  .vesty-bottom-nav-label {
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
  }

  /* Onglet actif : couleur bleue */
  .vesty-bottom-nav-item.is-active {
    color: black;
  }

  .vesty-bottom-nav-item.is-active .material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  }

  .vesty-bottom-nav-search {
    appearance: none;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
  }

  /* Bouton + : cercle bleu, même hauteur que la nav */
  .vesty-bottom-nav-add {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: filter 0.15s ease, transform 0.15s ease;
  }

  .vesty-bottom-nav-add:active {
    transform: scale(0.94);
    filter: brightness(0.95);
  }

  .vesty-bottom-nav-add .material-symbols-rounded {
    font-size: 28px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  }

  /* Compenser la bottom bar pour le contenu */
  .vesty-main {
    padding-bottom: calc(64px + 16px + env(safe-area-inset-bottom, 0px));
  }

}

@media (max-width: 900px) {
  .vesty-auth-split {
    flex-direction: column;
    min-height: auto;
  }

  .vesty-auth-split-panel-image {
    width: 100%;
    flex: 0 0 auto;
    min-height: 220px;
    border-radius: 0 0 80px 80px;
  }

  .vesty-auth-split-panel-image::after {
    border-radius: 0 0 80px 80px;
  }

  .vesty-auth-split-panel-form {
    padding: 40px 24px;
  }

  .vesty-auth-form-card {
    max-width: none;
  }
}

/* ==========================================================================
   LANDING PAGE 2026 — NEW SECTIONS
   ========================================================================== */

/* ---------- Hero 2 — Split layout with phone mockup ---------- */
.vesty-hero-2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 80px;
  overflow: hidden;
  background: var(--vesty-bg);
}

/* Mesh gradient orbs */
.vesty-hero2-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.vesty-hero2-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: orbDrift 14s ease-in-out infinite alternate;
}

.vesty-hero2-orb-1 {
  width: 50vw;
  height: 50vw;
  max-width: 700px;
  max-height: 700px;
  top: -15%;
  left: -10%;
  background: #dbeafe;
}

.vesty-hero2-orb-2 {
  width: 35vw;
  height: 35vw;
  max-width: 500px;
  max-height: 500px;
  bottom: -10%;
  right: -5%;
  background: #A9CEF6;
  opacity: 0.3;
  animation-delay: -6s;
}

.vesty-hero2-orb-3 {
  width: 25vw;
  height: 25vw;
  max-width: 350px;
  max-height: 350px;
  top: 40%;
  left: 50%;
  background: #ede9fe;
  opacity: 0.25;
  animation-delay: -3s;
}

[data-theme="dark"] .vesty-hero2-orb-1 { background: #1e3a5f; opacity: 0.35; }
[data-theme="dark"] .vesty-hero2-orb-2 { background: #1e3a5f; opacity: 0.2; }
[data-theme="dark"] .vesty-hero2-orb-3 { background: #312e81; opacity: 0.15; }

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

/* Container split */
.vesty-hero2-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* ---- Text column ---- */
.vesty-hero2-text {
  flex: 1;
  min-width: 0;
}

/* Badge */
.vesty-hero2-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(169, 206, 246, 0.1);
  border: 1px solid rgba(169, 206, 246, 0.25);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vesty-text-muted);
  margin-bottom: 28px;
  animation: hero2FadeUp 0.7s ease-out 0.2s both;
}

.vesty-hero2-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #A9CEF6;
  box-shadow: 0 0 0 3px rgba(169, 206, 246, 0.3);
  animation: pulse 2s infinite;
}

[data-theme="dark"] .vesty-hero2-badge {
  background: rgba(169, 206, 246, 0.06);
  border-color: rgba(169, 206, 246, 0.15);
}

/* Title */
.vesty-hero2-title {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--vesty-text);
  margin: 0 0 24px;
  animation: hero2FadeUp 0.7s ease-out 0.35s both;
}

.vesty-hero2-title-accent {
  color: #A9CEF6;
}

[data-theme="dark"] .vesty-hero2-title-accent {
  color: #A9CEF6;
}

/* Description */
.vesty-hero2-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--vesty-text-muted);
  margin: 0 0 36px;
  max-width: 520px;
  animation: hero2FadeUp 0.7s ease-out 0.5s both;
}

/* CTA row */
.vesty-hero2-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: hero2FadeUp 0.7s ease-out 0.65s both;
}

.vesty-hero2-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  background: var(--vesty-text);
  color: var(--vesty-bg);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .vesty-hero2-btn-primary {
  background: #A9CEF6;
  color: #0f172a;
}

.vesty-hero2-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

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

.vesty-hero2-btn-primary .material-symbols-rounded {
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.vesty-hero2-btn-primary:hover .material-symbols-rounded {
  transform: translateX(4px);
}

.vesty-hero2-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 100px;
  background: transparent;
  color: var(--vesty-text);
  border: 1.5px solid var(--vesty-border);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.vesty-hero2-btn-outline:hover {
  border-color: #A9CEF6;
  background: rgba(169, 206, 246, 0.06);
  transform: translateY(-2px);
}

/* Tags — in flow, never overlapping text */
.vesty-hero2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: hero2FadeUp 0.7s ease-out 0.8s both;
}

.vesty-hero2-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--vesty-surface);
  border: 1px solid var(--vesty-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vesty-text-muted);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.vesty-hero2-tag:hover {
  border-color: #A9CEF6;
  transform: translateY(-2px);
}

.vesty-hero2-tag .material-symbols-rounded {
  font-size: 15px;
  color: #A9CEF6;
}

[data-theme="dark"] .vesty-hero2-tag {
  background: var(--vesty-surface-dark);
  border-color: var(--vesty-border-dark);
}

/* Staggered fade-up */
@keyframes hero2FadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Visual column — Stacked cards ---- */
.vesty-hero2-visual {
  flex: 0 0 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: hero2VisualIn 0.9s ease-out 0.4s both;
}

@keyframes hero2VisualIn {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.vesty-hero2-stack {
  position: relative;
  width: 320px;
  height: 440px;
}

/* Shared card style */
.vesty-hero2-card {
  position: absolute;
  width: 280px;
  height: 390px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.18);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease;
}

.vesty-hero2-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

/* Back card — tilted left, behind */
.vesty-hero2-card-back {
  top: 24px;
  left: 0;
  transform: rotate(-6deg);
  z-index: 1;
  box-shadow: 0 16px 48px -10px rgba(0, 0, 0, 0.12);
}

/* Front card — tilted right, on top */
.vesty-hero2-card-front {
  top: 0;
  right: 0;
  left: auto;
  transform: rotate(3deg);
  z-index: 2;
  box-shadow:
    0 28px 64px -12px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(169, 206, 246, 0.15);
}

/* Hover — cards spread apart dramatically */
.vesty-hero2-stack:hover .vesty-hero2-card-back {
  transform: rotate(-10deg) translateX(-80px) translateY(-20px);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.20);
}

.vesty-hero2-stack:hover .vesty-hero2-card-front {
  transform: rotate(5deg) translateX(40px) translateY(-24px);
  box-shadow:
    0 40px 80px -16px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(169, 206, 246, 0.3);
}

/* Card badges */
.vesty-hero2-card-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vesty-hero2-card-badge-back {
  background: rgba(255, 255, 255, 0.82);
  color: #0f172a;
}

.vesty-hero2-card-badge-back .material-symbols-rounded {
  font-size: 14px;
  color: #64748b;
}

.vesty-hero2-card-badge-front {
  background: rgba(169, 206, 246, 0.88);
  color: #0f172a;
}

.vesty-hero2-card-badge-front .material-symbols-rounded {
  font-size: 14px;
}

/* Floating item card */
.vesty-hero2-item-card {
  position: absolute;
  bottom: -12px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--vesty-surface);
  border: 1px solid var(--vesty-border);
  border-radius: 16px;
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.12);
  z-index: 4;
  animation: hero2ItemFloat 4s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .vesty-hero2-item-card {
  background: var(--vesty-surface-dark);
  border-color: var(--vesty-border-dark);
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.4);
}

.vesty-hero2-item-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--vesty-bg);
}

.vesty-hero2-item-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vesty-text);
  white-space: nowrap;
}

@keyframes hero2ItemFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---- Hero responsive ---- */
@media (max-width: 1024px) {
  .vesty-hero2-container {
    gap: 48px;
  }
  .vesty-hero2-visual {
    flex: 0 0 340px;
  }
  .vesty-hero2-stack {
    width: 270px;
    height: 380px;
  }
  .vesty-hero2-card {
    width: 240px;
    height: 340px;
  }
}

@media (max-width: 768px) {
  .vesty-hero-2 {
    padding: 120px 20px 60px;
    min-height: auto;
  }
  .vesty-hero2-container {
    flex-direction: column;
    text-align: center;
    gap: 56px;
  }
  .vesty-hero2-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .vesty-hero2-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .vesty-hero2-desc {
    text-align: center;
  }
  .vesty-hero2-cta-row {
    justify-content: center;
  }
  .vesty-hero2-tags {
    justify-content: center;
  }
  .vesty-hero2-visual {
    flex: 0 0 auto;
  }
  .vesty-hero2-stack {
    width: 250px;
    height: 360px;
  }
  .vesty-hero2-card {
    width: 220px;
    height: 310px;
  }
  .vesty-hero2-item-card {
    left: -16px;
    bottom: -10px;
  }
}

/* ---------- Marquee ---------- */
.vesty-marquee-wrap {
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid var(--vesty-border);
  border-bottom: 1px solid var(--vesty-border);
  background: var(--vesty-surface);
}

.vesty-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.vesty-marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScroll 20s linear infinite;
  will-change: transform;
}

.vesty-marquee-track span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--vesty-text-muted);
  flex-shrink: 0;
}

.vesty-marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vesty-accent);
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Demo section header ---------- */
.vesty-demo-header {
  text-align: center;
  margin-bottom: 48px;
}

.vesty-demo {
  padding: 100px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--vesty-bg);
  position: relative;
}

/* ---------- Categories Bento Grid — Image-forward editorial ---------- */
.vesty-categories-section {
  padding: 100px 24px;
}

/* Header block */
.vesty-cat-header {
  text-align: center;
  margin-bottom: 56px;
}

.vesty-cat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vesty-accent);
  margin-bottom: 16px;
}

.vesty-cat-eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--vesty-accent);
  border-radius: 2px;
}

/* Bento grid container */
.vesty-bento-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 260px 260px 240px;
  grid-template-areas:
    "feature shoes  bijoux"
    "feature hair   makeup"
    "feature tattoo tattoo";
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Base card */
.vesty-bento-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--vesty-surface);
  border: 1px solid var(--vesty-border);
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
}

.vesty-bento-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(169, 206, 246, 0.55);
  box-shadow: 0 24px 60px -16px rgba(169, 206, 246, 0.22),
              0 8px 24px -8px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .vesty-bento-card:hover {
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.5),
              0 8px 24px -8px rgba(169, 206, 246, 0.08);
}

/* Grid area assignments */
.vesty-bento-feature { grid-area: feature; }
.vesty-bento-shoes   { grid-area: shoes; }
.vesty-bento-bijoux  { grid-area: bijoux; }
.vesty-bento-hair    { grid-area: hair; }
.vesty-bento-makeup  { grid-area: makeup; }
.vesty-bento-wide    { grid-area: tattoo; }

/* Image wrapper */
.vesty-bento-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.vesty-bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contain mode for product-on-white images */
.vesty-bento-img-contain {
  object-fit: contain;
  object-position: center center;
  padding: 24px;
  background: var(--vesty-surface);
}

/* Duo layout — deux images côte à côte en cover */
.vesty-bento-img-duo {
  display: flex;
  flex-direction: row;
  gap: 0;
  background: transparent;
}

.vesty-bento-img-half {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vesty-bento-card:hover .vesty-bento-img-half {
  transform: scale(1.06);
}

/* Chaussures — cover, centré sur la chaussure */
.vesty-bento-img-shoes-img {
  object-fit: cover;
  object-position: center 45%;
  transform-origin: center 45%;
}

/* Coiffure — cover, cadrée sur la tête */
.vesty-bento-img-hair {
  object-fit: cover;
  object-position: center 20%;
  transform-origin: center 20%;
}

/* Maquillage — cover, cadrée sur le visage */
.vesty-bento-img-makeup {
  object-fit: cover;
  object-position: center 15%;
  transform-origin: center 15%;
}

.vesty-bento-card:hover .vesty-bento-img {
  transform: scale(1.06);
}

/* Gradient overlay — fort en bas pour que le texte soit toujours lisible */
.vesty-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 18, 36, 0.55) 65%,
    rgba(10, 18, 36, 0.88) 100%
  );
  pointer-events: none;
}

/* Overlay for contain images (tatouage) */
.vesty-bento-img-wrap:has(.vesty-bento-img-contain) .vesty-bento-overlay {
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 18, 36, 0.45) 65%,
    rgba(10, 18, 36, 0.82) 100%
  );
}

/* Content block — collé au bas */
.vesty-bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px 24px;
  z-index: 2;
}

/* Suppression de l'animation translateY sur le contenu — texte fixe en bas */
.vesty-bento-card:hover .vesty-bento-content {
  transform: none;
}

/* Category tag chip */
.vesty-bento-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(169, 206, 246, 0.18);
  border: 1px solid rgba(169, 206, 246, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #A9CEF6;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.vesty-bento-tag .material-symbols-rounded {
  font-size: 14px;
}

/* Card title */
.vesty-bento-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
  line-height: 1.3;
}

.vesty-bento-feature .vesty-bento-content h3 {
  font-size: 1.35rem;
}

/* Card description */
.vesty-bento-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.55;
  max-width: 340px;
  opacity: 0.82;
}

/* Shimmer accent line on hover */
.vesty-bento-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(169, 206, 246, 0.08) 50%,
    transparent 60%
  );
  pointer-events: none;
  transition: left 0.6s ease;
  z-index: 3;
}

.vesty-bento-card:hover .vesty-bento-shimmer {
  left: 150%;
}


/* ---- Responsive ---- */
@media (max-width: 900px) {
  .vesty-bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "feature feature"
      "shoes   bijoux"
      "hair    makeup"
      "tattoo  tattoo";
  }

  .vesty-bento-feature {
    min-height: 320px;
  }

  .vesty-bento-card {
    min-height: 240px;
  }

  .vesty-bento-content p {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .vesty-bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "feature"
      "shoes"
      "bijoux"
      "hair"
      "makeup"
      "tattoo";
  }

  .vesty-bento-card {
    min-height: 220px;
  }
}

/* ---------- How it works — Timeline ---------- */
.vesty-how-section {
  padding: 100px 24px;
}

.vesty-timeline {
  position: relative;
  max-width: 700px;
  margin: 56px auto 0;
}

.vesty-timeline-line {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 2px;
  bottom: 22px;
  background: var(--vesty-border);
  border-radius: 2px;
  z-index: 0;
}

.vesty-timeline-progress {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #4da3ff 0%, var(--vesty-accent) 100%);
  border-radius: 2px;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vesty-timeline-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}

.vesty-timeline-step:last-child {
  padding-bottom: 0;
}

.vesty-timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--vesty-surface);
  border: 2px solid var(--vesty-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.vesty-timeline-step.is-visible .vesty-timeline-dot {
  border-color: var(--vesty-accent);
  box-shadow: 0 0 0 6px rgba(169, 206, 246, 0.15);
}

.vesty-timeline-dot .material-symbols-rounded {
  font-size: 20px;
  color: var(--vesty-accent);
}

.vesty-timeline-content {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.vesty-timeline-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--vesty-accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.vesty-timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--vesty-text);
}

.vesty-timeline-content p {
  font-size: 0.95rem;
  color: var(--vesty-text-muted);
  margin: 0;
  line-height: 1.65;
}

/* ---------- Stats Section ---------- */
.vesty-stats-section {
  padding: 80px 24px;
  background: var(--vesty-surface);
  border-top: 1px solid var(--vesty-border);
  border-bottom: 1px solid var(--vesty-border);
}

.vesty-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
}

.vesty-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vesty-stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--vesty-text);
  line-height: 1.1;
  background: linear-gradient(135deg, #4da3ff, var(--vesty-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vesty-stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--vesty-text);
}

.vesty-stat-detail {
  font-size: 0.85rem;
  color: var(--vesty-text-muted);
}

.vesty-stat-divider {
  width: 1px;
  height: 60px;
  background: var(--vesty-border);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .vesty-stats-inner {
    flex-direction: column;
    gap: 32px;
  }
  .vesty-stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* ---------- Final CTA ---------- */
.vesty-final-cta {
  position: relative;
  padding: 120px 24px;
  text-align: center;
  overflow: hidden;
  background: var(--vesty-bg);
}

.vesty-final-cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.vesty-final-cta-bg .blob-1 {
  top: -30%;
  left: -20%;
  width: 60vw;
  height: 60vw;
  background: rgba(169, 206, 246, 0.15);
  filter: blur(100px);
}

.vesty-final-cta-bg .blob-2 {
  bottom: -30%;
  right: -20%;
  width: 50vw;
  height: 50vw;
  background: rgba(77, 163, 255, 0.1);
  filter: blur(100px);
  animation-delay: -4s;
}

[data-theme="dark"] .vesty-final-cta-bg .blob-1 {
  background: rgba(169, 206, 246, 0.06);
}

[data-theme="dark"] .vesty-final-cta-bg .blob-2 {
  background: rgba(77, 163, 255, 0.04);
}

.vesty-final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.vesty-final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  color: var(--vesty-text);
}

.vesty-final-cta p {
  font-size: 1.15rem;
  color: var(--vesty-text-muted);
  margin: 0 0 40px;
  line-height: 1.6;
}

.vesty-final-cta-actions {
  display: flex;
  justify-content: center;
}

.vesty-btn-large {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* ---------- Mobile hero adjustments ---------- */
@media (max-width: 768px) {
  .vesty-hero {
    padding: 140px 20px 60px;
    min-height: auto;
  }
  .vesty-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .vesty-hero-subtitle {
    font-size: 1rem;
  }
  .vesty-btn-hero-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  .vesty-btn-hero-ghost {
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  .vesty-final-cta {
    padding: 80px 20px;
  }
  .vesty-btn-large {
    padding: 16px 32px;
    font-size: 1rem;
  }
  .vesty-timeline-step {
    grid-template-columns: 36px 1fr;
    gap: 16px;
  }
  .vesty-timeline-dot {
    width: 36px;
    height: 36px;
  }
  .vesty-timeline-line {
    left: 18px;
  }
}
