/* ==============================================
   LAYERONE WEBSITE - Layout
   Navigation, sections, footer
   ============================================== */

/* ========== FOND ANIMÉ ========== */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--bg-gradient-1),
    var(--bg-gradient-2),
    var(--bg-gradient-3)
  );
}

.wave {
  position: absolute;
  width: 200%;
  height: 200%;
  bottom: -50%;
  left: -50%;
  transform-origin: center;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  text-decoration: none;
}

.navbar-logo:hover {
  text-decoration: none;
  color: var(--text-primary);
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

/* Nav Links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
}

.navbar-link {
  font-size: var(--text-md);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  text-decoration: none;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width var(--transition-fast);
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--text-primary);
  text-decoration: none;
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

/* Nav CTA */
.navbar-cta {
  margin-left: var(--space-lg);
}

/* Mobile Menu Button */
.navbar-toggle {
  display: none;
  padding: var(--space-sm);
  background: transparent;
  border: none;
  cursor: pointer;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: var(--z-modal);
  padding: var(--space-2xl);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-menu-link {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}

.mobile-menu-link:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-5xl)) var(--container-padding) var(--space-5xl);
}

.hero-content {
  max-width: 500px;
  text-align: center;
}

.hero-card {
  padding: var(--space-4xl) var(--space-3xl);
}

.hero-logo {
  height: 80px;
  margin: 0 auto var(--space-2xl);
}

.hero-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-3xl);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--section-padding) 0;
}

.section-light {
  background: var(--background-section);
}

/* ========== VARIANTE : VAGUES VISIBLES PARTOUT ========== */
body.waves-visible {
  background: transparent !important;
}

/* ========== VARIANTE : TEXTE AU-DESSUS DES VAGUES ========== */
body.waves-foreground .animated-background {
  z-index: 1;
  pointer-events: none;
}

body.waves-foreground main {
  position: relative;
  z-index: 2;
}

body.waves-foreground .navbar {
  z-index: 100;
}

body.waves-foreground .mobile-menu {
  z-index: 99;
}

body.waves-foreground .section,
body.waves-foreground .feature-detail,
body.waves-foreground .feature-detail-content,
body.waves-foreground .feature-detail-visual,
body.waves-foreground .section-header,
body.waves-foreground .container {
  position: relative;
  z-index: 2;
}

body.waves-visible section,
body.waves-visible .section,
body.waves-visible .section-light,
body.waves-visible .section-waves,
body.waves-visible .template-showcase,
body.waves-visible .cta-section,
body.waves-visible .hero,
body.waves-visible main,
body.waves-visible footer,
body.waves-visible .footer {
  background: transparent !important;
}

body.waves-visible .container {
  background: transparent !important;
}

body.waves-visible .feature-detail {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

body.waves-visible .glass-card,
body.waves-visible .feature-card,
body.waves-visible .pricing-card,
body.waves-visible .card,
body.waves-visible .testimonial {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.waves-visible .mockup-window {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.waves-visible .navbar.scrolled {
  background: rgba(255, 255, 255, 0.7) !important;
}

body.waves-visible .mobile-menu {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

body.waves-visible .footer-grid,
body.waves-visible .footer-bottom {
  background: transparent !important;
}

/* ========== VARIANTE : DESIGN MORPHING GLASS ========== */
body.design-morphing-glass {
  background: transparent !important;
}

body.design-morphing-glass section,
body.design-morphing-glass .section,
body.design-morphing-glass .section-light,
body.design-morphing-glass .section-waves,
body.design-morphing-glass .template-showcase,
body.design-morphing-glass .cta-section,
body.design-morphing-glass .hero,
body.design-morphing-glass main,
body.design-morphing-glass footer,
body.design-morphing-glass .footer,
body.design-morphing-glass .download-section,
body.design-morphing-glass .faq-section {
  background: transparent !important;
}

body.design-morphing-glass .container {
  background: transparent !important;
}

body.design-morphing-glass .feature-detail {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

body.design-morphing-glass .glass-card,
body.design-morphing-glass .feature-card,
body.design-morphing-glass .pricing-card,
body.design-morphing-glass .card,
body.design-morphing-glass .testimonial,
body.design-morphing-glass .contact-form,
body.design-morphing-glass .contact-info,
body.design-morphing-glass .download-card {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.design-morphing-glass .accordion {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.design-morphing-glass .accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}

body.design-morphing-glass .comparison-table {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

body.design-morphing-glass .comparison-table th,
body.design-morphing-glass .comparison-table td {
  background: transparent !important;
}

body.design-morphing-glass .mockup-window {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.design-morphing-glass .navbar.scrolled {
  background: rgba(255, 255, 255, 0.7) !important;
}

body.design-morphing-glass .mobile-menu {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

body.design-morphing-glass .footer {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.design-morphing-glass .footer-grid,
body.design-morphing-glass .footer-bottom,
body.design-morphing-glass .footer-inline {
  background: transparent !important;
}

body.design-morphing-glass .requirements {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.section-waves {
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-5xl);
}

.section-header h2 {
  margin-bottom: var(--space-lg);
}

.section-header p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

/* ========== GRIDS ========== */
.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ========== FEATURE SECTION ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

/* ========== FEATURE DETAIL SECTION ========== */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5xl);
  align-items: center;
  padding: var(--space-5xl) 0;
  border-bottom: 1px solid var(--border-light);
}

.feature-detail:last-child {
  border-bottom: none;
}

.feature-detail.reverse {
  direction: rtl;
}

.feature-detail.reverse > * {
  direction: ltr;
}

.feature-detail.reverse .feature-detail-content {
  text-align: right;
}

.feature-detail.reverse .check-list {
  display: inline-block;
  text-align: left;
}

.feature-detail-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-lg);
}

.feature-detail-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

.feature-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-detail-image img {
  width: 100%;
  height: auto;
}

/* ========== PRICING SECTION ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

/* ========== DOWNLOAD SECTION ========== */
.download-section {
  text-align: center;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3xl);
  max-width: 800px;
  margin: 0 auto;
}

.download-card {
  padding: var(--space-4xl);
}

.download-card .icon {
  font-size: 3rem;
  margin-bottom: var(--space-xl);
}

.download-card h3 {
  margin-bottom: var(--space-sm);
}

.download-card .subtitle {
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
}

.download-card .btn {
  margin-bottom: var(--space-md);
}

.download-alt {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.download-alt a {
  color: var(--accent-primary);
}

/* Platform notice (pour Windows/Android) */
.platform-notice {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.platform-notice .icon {
  font-size: 3rem;
  margin-bottom: var(--space-xl);
  color: var(--text-muted);
}

.platform-notice h3 {
  margin-bottom: var(--space-lg);
}

.platform-notice p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

/* Requirements */
.requirements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3xl);
  max-width: 800px;
  margin: var(--space-5xl) auto 0;
  text-align: left;
}

.requirements h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.requirements ul {
  list-style: none;
  padding: 0;
}

.requirements li {
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5xl);
}

.contact-form {
  padding: var(--space-3xl);
}

.contact-info {
  padding: var(--space-3xl);
}

.contact-info h3 {
  margin-bottom: var(--space-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.contact-item .icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(102, 153, 255, 0.15);
  color: var(--accent-primary);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: var(--text-md);
  margin-bottom: var(--space-xs);
}

.contact-item-content p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-item-content a {
  color: var(--text-secondary);
}

.contact-item-content a:hover {
  color: var(--accent-primary);
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: var(--space-7xl) 0;
}

.cta-card {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-4xl);
}

.cta-card h2 {
  margin-bottom: var(--space-lg);
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--text-white);
  border-top: 1px solid var(--border-light);
  padding: var(--space-sm) 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

/* Espace pour le footer fixe */
body {
  padding-bottom: 50px;
}

.footer-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: var(--text-xs);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand img {
  height: 24px;
  width: 24px;
}

.footer-brand p {
  display: none;
}

.footer-column {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-column h4 {
  display: none;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--space-md);
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--text-xs);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  padding-top: 0;
  border-top: none;
  margin-left: auto;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--background-section);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

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

/* ========== FAQ SECTION ========== */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

/* ========== COMPARISON TABLE ========== */
.comparison-table {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-4xl);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-lg);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--background-section);
  font-weight: var(--font-semibold);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .check {
  color: var(--success);
}

.comparison-table .cross {
  color: var(--text-muted);
}

/* ========== SUCCESS MESSAGE ========== */
.success-message {
  display: none;
  text-align: center;
  padding: var(--space-4xl);
}

.success-message.show {
  display: block;
}

.success-message .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 170, 68, 0.15);
  color: var(--success);
  border-radius: 50%;
  font-size: 2rem;
}

.success-message h3 {
  margin-bottom: var(--space-md);
}

.success-message p {
  color: var(--text-secondary);
}

/* ========== TEMPLATE SHOWCASE SECTION ========== */
.template-showcase {
  background: var(--background-section);
  position: relative;
  overflow: hidden;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-5xl);
  align-items: center;
}

.showcase-badge {
  display: inline-block;
  background: var(--accent-gradient);
  color: white;
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-lg);
}

.showcase-text h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
}

.showcase-text > p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
}

.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: var(--text-md);
}

.showcase-features .check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}

/* Template Mockup Visual */
.showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
}

.template-arrow {
  font-size: 2rem;
  color: var(--accent-purple);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
}

.template-mockup {
  width: 200px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform var(--transition-base);
}

.template-mockup:hover {
  transform: scale(1.02);
}

.template-mockup.pdf {
  width: 220px;
  box-shadow: 0 20px 40px rgba(140, 100, 240, 0.2);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
}

.mockup-dots {
  display: flex;
  gap: 4px;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title {
  font-size: 10px;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.pdf-header {
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

.pdf-header .mockup-title {
  color: white;
}

.pdf-icon {
  background: white;
  color: #ee5a5a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: bold;
}

.mockup-content {
  padding: var(--space-lg);
}

.mockup-logo {
  width: 40px;
  height: 40px;
  background: #e0e0e0;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.mockup-logo.filled {
  background: var(--accent-gradient);
}

.mockup-line {
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.mockup-line.filled {
  background: #d0d0d0;
}

.mockup-line.accent {
  background: var(--accent-gradient);
}

.mockup-line.w-30 { width: 30%; margin-left: auto; }
.mockup-line.w-40 { width: 40%; }
.mockup-line.w-60 { width: 60%; }
.mockup-line.w-70 { width: 70%; }
.mockup-line.w-80 { width: 80%; }
.mockup-line.w-90 { width: 90%; }

.mockup-divider {
  height: 2px;
  background: #e0e0e0;
  margin: var(--space-md) 0;
}

.mockup-divider.colored {
  background: var(--accent-gradient);
}

.mockup-table {
  margin: var(--space-md) 0;
}

.mockup-row {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
}

.mockup-row span {
  flex: 1;
  height: 6px;
  background: #e8e8e8;
  border-radius: 3px;
}

.mockup-row.header span {
  background: #d0d0d0;
}

.mockup-row.header.colored span {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

.mockup-total {
  margin-top: var(--space-md);
  text-align: right;
}

/* Responsive */
@media (max-width: 900px) {
  .showcase-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .showcase-features {
    display: inline-block;
    text-align: left;
  }
  
  .showcase-visual {
    flex-direction: column;
  }
  
  .template-arrow {
    transform: rotate(90deg);
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 0.5; transform: rotate(90deg) translateX(0); }
    50% { opacity: 1; transform: rotate(90deg) translateX(5px); }
  }
}

/* ========== FEATURE DETAIL MOCKUPS ========== */
.feature-detail-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-mockup {
  width: 100%;
  max-width: 400px;
}

.mockup-window {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(180deg, #f8f8f8, #efefef);
  border-bottom: 1px solid #ddd;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.mockup-body {
  padding: var(--space-xl);
}

/* Devis Mockup */
.mockup-form-row {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.mockup-label {
  width: 80px;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
}

.mockup-label.short {
  width: 50px;
}

.mockup-input {
  flex: 1;
  height: 32px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
}

.mockup-table-preview {
  margin: var(--space-xl) 0;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.table-header, .table-row {
  display: flex;
  gap: 2px;
}

.table-header span, .table-row span {
  flex: 1;
  height: 24px;
  background: #f0f0f0;
}

.table-header span {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
}

.table-row span.accent {
  background: var(--accent-gradient);
  opacity: 0.3;
}

.mockup-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, rgba(66, 133, 255, 0.1), rgba(236, 72, 180, 0.1));
  border-radius: var(--radius-sm);
  font-weight: var(--font-semibold);
}

.mockup-total-box .amount {
  font-size: var(--text-xl);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Factures Mockup */
.mockup-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-bottom: 1px solid #f0f0f0;
}

.mockup-list-item:last-child {
  border-bottom: none;
}

.list-icon {
  font-size: 1.5rem;
}

.list-content {
  flex: 1;
}

.list-title {
  width: 120px;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
  margin-bottom: 6px;
}

.list-subtitle {
  width: 80px;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
}

.list-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

.list-badge.paid {
  background: rgba(0, 170, 68, 0.15);
  color: var(--success);
}

.list-badge.pending {
  background: rgba(255, 136, 0, 0.15);
  color: var(--warning);
}

/* Clients Mockup */
.mockup-client-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.client-avatar {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
}

.client-info {
  flex: 1;
}

.client-name {
  width: 140px;
  height: 14px;
  background: #e0e0e0;
  border-radius: 7px;
  margin-bottom: 8px;
}

.client-company {
  width: 100px;
  height: 10px;
  background: #f0f0f0;
  border-radius: 5px;
}

.client-stats {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
}

.client-stats .stat {
  text-align: center;
  padding: var(--space-md) var(--space-xl);
  background: #f8f8f8;
  border-radius: var(--radius-sm);
}

.stat-value {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* Sync Mockup */
.feature-mockup.sync {
  max-width: 500px;
}

.sync-devices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
}

.device.mac {
  width: 180px;
}

.device.mac .device-screen {
  background: white;
  border: 3px solid #333;
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  height: 120px;
}

.device.mac .device-base {
  width: 60%;
  height: 8px;
  background: linear-gradient(180deg, #ccc, #999);
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
}

.device.phone {
  width: 70px;
}

.device.phone .device-screen {
  background: white;
  border: 3px solid #333;
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  height: 130px;
}

.screen-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(66, 133, 255, 0.1), rgba(236, 72, 180, 0.1));
  border-radius: var(--radius-sm);
}

.sync-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.sync-arrows {
  width: 50px;
  height: 50px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  animation: syncPulse 2s ease-in-out infinite;
}

@keyframes syncPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.sync-label {
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: var(--font-semibold);
}

/* Signature Mockup */
.signature-doc {
  margin-bottom: var(--space-lg);
}

.doc-preview {
  height: 80px;
  background: repeating-linear-gradient(
    0deg,
    #f5f5f5,
    #f5f5f5 10px,
    #e8e8e8 10px,
    #e8e8e8 11px
  );
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.signature-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  border: 2px dashed var(--accent-purple);
  border-radius: var(--radius-sm);
  background: rgba(140, 100, 240, 0.05);
  color: var(--accent-purple);
  font-size: var(--text-sm);
}

.signature-icon {
  font-size: 1.5rem;
}

.signature-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(0, 170, 68, 0.1);
  border-radius: var(--radius-sm);
  color: var(--success);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.status-icon {
  width: 20px;
  height: 20px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Responsive Mockups */
@media (max-width: 900px) {
  .sync-devices {
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .sync-arrows {
    transform: rotate(90deg);
  }
}

/* ========== DESIGN 1 : CARDS FLOTTANTES ========== */
body.design-floating-cards {
  background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 50%, #e8f0ff 100%);
}

body.design-floating-cards .animated-background {
  display: none;
}

body.design-floating-cards .section {
  background: transparent;
  padding: var(--space-3xl) 0;
}

body.design-floating-cards .container {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 
    0 20px 60px rgba(66, 133, 255, 0.1),
    0 8px 20px rgba(140, 100, 240, 0.08);
  padding: var(--space-3xl);
  margin-bottom: var(--space-2xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.design-floating-cards .container:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 30px 80px rgba(66, 133, 255, 0.15),
    0 15px 30px rgba(140, 100, 240, 0.1);
}

body.design-floating-cards .section-header {
  margin-bottom: var(--space-2xl);
}

body.design-floating-cards .feature-detail {
  border-bottom: none;
  padding: var(--space-2xl) 0;
}

body.design-floating-cards .mockup-window {
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05);
}

body.design-floating-cards .navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.design-floating-cards footer {
  background: transparent;
}

body.design-floating-cards footer .container {
  margin-bottom: 0;
}

/* ========== DESIGN : MORPHING GLASS ========== */
body.design-morphing-glass {
  background: linear-gradient(180deg, #f8faff 0%, #f0f4ff 100%);
}

body.design-morphing-glass .animated-background {
  opacity: 0.5;
}

body.design-morphing-glass .feature-detail {
  position: relative;
  border-bottom: none;
}

body.design-morphing-glass .feature-detail-content {
  position: relative;
  z-index: 2;
}

body.design-morphing-glass .feature-detail-visual {
  position: relative;
  z-index: 2;
}

/* Carte glass unique qui se déplace */
.morphing-glass-single {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 15px 50px rgba(66, 133, 255, 0.15),
    0 5px 20px rgba(140, 100, 240, 0.1);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}

/* État boule avec aura (même couleur que la carte) */
.morphing-glass-single.ball {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.5),
    0 0 40px rgba(255, 255, 255, 0.3),
    0 0 60px rgba(140, 100, 240, 0.2);
  animation: auraGlow 1s ease-in-out infinite alternate;
}

/* Traînée d'étoile filante */
.morphing-glass-single.ball::before,
.morphing-glass-single.ball::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.morphing-glass-single.ball::before {
  width: 40px;
  height: 40px;
  top: 10px;
  left: -30px;
  opacity: 0.6;
  filter: blur(4px);
  animation: trailMove 0.4s ease-out;
}

.morphing-glass-single.ball::after {
  width: 25px;
  height: 25px;
  top: 17px;
  left: -55px;
  opacity: 0.3;
  filter: blur(6px);
  animation: trailMove 0.4s ease-out 0.1s;
}

/* Particules de traînée - étoiles scintillantes */
.trail-particle {
  position: absolute;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  z-index: 9999;
  box-shadow:
    0 0 4px white,
    0 0 8px rgba(140, 100, 240, 0.9),
    0 0 12px rgba(66, 133, 255, 0.7);
  animation: sparkle 0.6s ease-out forwards;
}

/* Particules traînée souris - légères mais visibles */
.mouse-particle {
  position: absolute;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  z-index: 9998;
  box-shadow:
    0 0 4px white,
    0 0 8px rgba(140, 100, 240, 0.8),
    0 0 12px rgba(66, 133, 255, 0.5);
  animation: mouseSparkle 0.5s ease-out forwards;
}

@keyframes mouseSparkle {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  40% {
    opacity: 0.6;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.4) translateY(-8px);
  }
}

@keyframes sparkle {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 0.9;
    transform: scale(1.3);
  }
  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes trailMove {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.4;
    transform: translateX(0);
  }
}

@keyframes auraGlow {
  0% {
    box-shadow:
      0 0 20px rgba(255, 255, 255, 0.5),
      0 0 40px rgba(255, 255, 255, 0.3),
      0 0 60px rgba(140, 100, 240, 0.2);
  }
  100% {
    box-shadow:
      0 0 30px rgba(255, 255, 255, 0.6),
      0 0 50px rgba(255, 255, 255, 0.4),
      0 0 80px rgba(140, 100, 240, 0.3);
  }
}
