/* Import Orbitron from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Poppins:wght@400;500;600;700&display=swap');

/* Global */
:root {
  --primary-color: #FF6B00;
  --primary-dark: #E55A00;
  --primary-light: #FF7F1A;
  --dark-bg: #0a0a0a;
  --card-bg: #111;
  --text-color: #f2f2f2;
  --text-muted: #999;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --cyan-color: #00ffff;
  --tech-glow: 0 0 20px rgba(0, 255, 255, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--dark-bg);
  color: var(--text-color);
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* Utiliser Orbitron pour les titres et éléments tech */
h1, h2, h3 {
  font-family: 'Orbitron', monospace;
  line-height: 1.2;
  font-weight: 700;
  padding-bottom: 0.6em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

section {
  padding: 2rem 2rem 5rem 2rem;
  max-width: 1200px;
  margin: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Navbar */
nav {
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 2px solid var(--primary-color);
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.95);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  z-index: 1000;
  font-weight: 900;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: var(--tech-glow);
}

.logo .fit-highlight {
  background: var(--primary-color);
  color: #000;
  padding: 0.2em 0.4em;
  border-radius: 6px;
  margin-left: 2px;
  font-weight: 700;
}

/* Menu hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-links a {
  margin-left: 1.2rem;
  color: var(--text-color);
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-color);
  text-shadow: var(--tech-glow);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  box-shadow: var(--tech-glow);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Responsive Menu */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100dvh;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    transition: right 0.4s ease;
    overflow-y: auto;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    margin: 1.5rem 0;
    font-size: 1.2rem;
  }
  
  .nav-links a::after {
    display: none;
  }
}

/* Hero */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #330000 100%);
  text-align: center;
  padding: 6rem 2rem 4rem;
  margin-top: 60px;
}

header h1 {
  font-family: 'Orbitron', monospace;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

header h1 .fit-highlight {
  background: var(--primary-color);
  color: #000;
  padding: 0.1em 0.3em;
  border-radius: 8px;
  margin-left: 4px;
  font-size: 0.9em;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  header h1 {
    font-size: 3rem;
  }
}

header p {
  font-size: 1.5rem;
  max-width: 700px;
  margin: auto;
  font-weight: 500;
  margin-bottom: 3rem;
}

.hero-img {
  margin: 0 auto;
  width: 80%;
  max-width: 600px;
  height: 400px;
  background: url('fitness.jpg') center/cover no-repeat;
  border-radius: var(--border-radius);
  box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
}

@media screen and (max-width: 768px) {
  .hero-img {
    height: 250px;
    width: 90%;
  }
}

/* Section métriques */
.metrics-section {
  padding: 5rem 2rem !important;
  background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%) !important;
  border-top: 3px solid var(--primary-color) !important;
}

.metrics-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.metrics-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Orbitron', monospace;
  color: var(--primary-color);
  text-shadow: var(--tech-glow);
}

/* DESKTOP : Forcer 3 colonnes en ligne */
.metrics-dashboard {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: 2rem !important;
  margin-bottom: 3rem !important;
}

.metric-card {
  background: linear-gradient(145deg, #222222 0%, #1a1a1a 100%) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  flex: 1 !important;
  min-width: 250px !important;
}

.metric-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 107, 0, 0.3) !important;
}

.metric-value {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  margin-bottom: 1rem !important;
}

.counter {
  font-family: 'Orbitron', monospace !important;
  font-size: 3rem !important;
  font-weight: 900 !important;
  color: var(--primary-color) !important;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.5) !important;
}

.metric-suffix {
  font-family: 'Orbitron', monospace !important;
  font-size: 1.5rem !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  margin-left: 4px !important;
}

.metric-label {
  font-family: 'Orbitron', monospace !important;
  font-size: 1.1rem !important;
  color: var(--text-color) !important;
  font-weight: 500 !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* CYAN ÉLECTRIQUE FORCÉ */
.metric-trend {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-family: 'Orbitron', monospace !important;
  font-size: 0.9rem !important;
  color: #00ffff !important;
  font-weight: 600 !important;
  background: rgba(0, 255, 255, 0.2) !important;
  padding: 0.6rem 1rem !important;
  border-radius: 20px !important;
  border: 1px solid #00ffff !important;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5) !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.trend-value {
  color: #00ffff !important;
}

.success-indicator {
  display: flex !important;
  justify-content: center !important;
}

.success-badge {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  padding: 1.5rem 2rem !important;
  background: linear-gradient(145deg, #222222 0%, #1a1a1a 100%) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 25px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.success-badge i {
  color: #fbbf24 !important;
  font-size: 1.2rem !important;
}

.success-badge span {
  font-family: 'Orbitron', monospace !important;
  color: var(--text-color) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* MOBILE : Une colonne */
@media screen and (max-width: 768px) {
  .metrics-dashboard {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  
  .metric-card {
    min-width: auto !important;
  }
  
  .counter {
    font-size: 2.2rem !important;
  }
}

/* Features grid */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--card-bg);
  padding: 2rem;
  border-top: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card h3 {
  font-family: 'Orbitron', monospace;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-shadow: var(--tech-glow);
}

.card p {
  margin-top: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Pricing */
.pricing-cards {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pricing-card {
  background: var(--card-bg);
  border: 0px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
}

.pricing-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-shadow: var(--tech-glow);
}

.pricing-card .price {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  margin: 1rem 0;
  color: #fff;
  font-weight: 900;
  text-shadow: var(--tech-glow);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.pricing-card p {
  color: var(--text-muted);
  margin: 1rem 0;
}

/* CTA */
.cta {
  background: var(--primary-color);
  color: black;
  text-align: center;
  padding: 5rem 2rem;
  border-top: 10px solid #000;
}

.cta h2 {
  font-family: 'Orbitron', monospace;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

.cta p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 1rem auto;
  font-weight: 500;
}

.cta a {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 3rem;
  background: black;
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  font-weight: 600;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta a:hover {
  background: #222;
  transform: translateY(-3px);
  text-shadow: var(--tech-glow);
}

/* Formulaire */
.signup-form-container {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(0,0,0,0.2);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.form-group {
  position: relative;
}

/* Labels */
label {
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Champs de texte */
input, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: rgba(255,255,255,0.9);
  color: #333;
  transition: var(--transition);
}

/* Focus sur les champs */
input:focus, textarea:focus {
  border-color: #000;
  outline: none;
  background-color: #fff;
}

/* Message d'erreur ou de succès */
#form-message {
  padding: 0.75rem;
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
}

.error-message {
  color: #fff;
  background-color: rgba(220, 53, 69, 0.8);
}

.success-message {
  color: #fff;
  background-color: rgba(25, 135, 84, 0.8);
}

/* Indicateur de validation */
.validation-icon {
  position: absolute;
  right: 10px;
  top: 38px;
  font-size: 1.2rem;
}

.valid-input .validation-icon {
  color: #198754;
}

.invalid-input .validation-icon {
  color: #dc3545;
}

/* Style du bouton */
button[type="submit"] {
  padding: 1rem;
  font-size: 1.2rem;
  background: black;
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

button[type="submit"]:hover:not(:disabled) {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
  text-shadow: var(--tech-glow);
}

button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

button[type="submit"]:active {
  transform: translateY(1px);
}

/* Footer */
footer {
  background: #000;
  color: var(--text-muted);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  font-family: 'Orbitron', monospace;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  text-shadow: var(--tech-glow);
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  color: var(--text-color);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  color: #000;
  transform: translateY(-3px);
  box-shadow: var(--tech-glow);
}

.copyright {
  font-family: 'Orbitron', monospace;
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #222;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .signup-form-container {
    padding: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-column a:hover {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  input, textarea {
    font-size: 0.9rem;
    padding: 0.7rem;
  }

  label {
    font-size: 0.9rem;
  }
  
  .pricing-card h3 {
    font-size: 1.5rem;
  }
  
  .pricing-card .price {
    font-size: 2rem;
  }
  
  header h1 {
    font-size: 2.5rem;
  }
  
  .logo {
    font-size: 1.8rem;
  }
}