/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; color: #333; background: #fdfdfd; }
a { text-decoration: none; color: inherit; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* HEADER */
.header { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 1rem; }
.logo { font-size: 1.7rem; font-weight: bold; color: #673ab7; }
.nav a { margin: 0 1rem; font-weight: 500; transition: color 0.3s; }
.nav a:hover { color: #673ab7; }
.btn { padding: 0.6rem 1.2rem; border-radius: 8px; background: #eee; transition: 0.3s; display: inline-block; }
.btn:hover { background: #ddd; }
.btn-primary { background: linear-gradient(135deg, #673ab7, #ce00ff); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { border: 1px solid #fff; color: #fff; background: transparent; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.burger { display: none; cursor: pointer; font-size: 1.5rem; }

/* HERO */
.hero { padding: 6rem 1rem; background: linear-gradient(135deg, #673ab7, #ff00f7); color: white; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 2rem; }
.hero h1 { font-size: 2.7rem; font-weight: 800; margin-bottom: 1rem; }
.hero h1 span { color: #ffeb3b; }
.hero p { margin-bottom: 1rem; font-size: 1.4rem; font-weight: 400; color: #f5f5f5; }
.hero-cta { display: flex; gap: 1rem; }
.hero-mockup img { width: 100%; max-width: 500px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.hero #typed-text { margin-top: 0.5rem; font-size: 1.4rem; font-weight: 600; color: #ffeb3b; }
.hero .no-cc { font-size: 0.9rem; color: #ddd; margin-top: 0.8rem; }

/* USE CASES */
.usecases { padding: 4rem 1rem; background: #fff; text-align: center; }
.usecases h2 { font-size: 2rem; margin-bottom: 1rem; font-weight: 800; color: #222; }
.usecases-sub { font-size: 1.1rem; color: #666; margin-bottom: 2.5rem; }
.usecases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.usecase { background: #f9f9fb; padding: 2rem; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); text-align: left; }
.usecase i { color: #673ab7; margin-bottom: 1rem; }
.usecase h3 { font-size: 1.3rem; margin-bottom: 0.5rem; font-weight: 700; color: #333; }
.usecase p { font-size: 1rem; color: #555; line-height: 1.5; }



/* TRUSTED */
.trusted { background: #fafafa; padding: 3rem 1rem; text-align: center; }
.trusted p { font-size: 1.1rem; margin-bottom: 1rem; }
.trusted .logos { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.trusted .logos img {height: 40px; width: auto; object-fit: contain;filter: grayscale(100%) brightness(0.9); opacity: 0.9; transition: all 0.3s ease;}
.trusted .logos img:hover {filter: grayscale(0%) brightness(1); opacity: 1;}
.trusted-title {text-align: center;font-size: 1.5rem;font-weight: 600;margin-bottom: 0.5rem;color: #333;}

/* FEATURES */
.features {background: #fafafa; padding: 4rem 1rem;}
.features h2 { text-align: center; font-size: 2rem; margin-bottom: 0.5rem; }
.features-sub { text-align: center; color: #666; margin-bottom: 2rem; }
.steps { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.step { flex: 1; min-width: 250px; max-width: 320px; background: white; border-radius: 12px; padding: 2rem 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-align: center; }
.step i { background: #673ab7; color: white; padding: 0.8rem; border-radius: 50%; font-size: 1.5rem; margin-bottom: 1rem; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 768px) {.steps {justify-content: center;}}


/* SECURITY */
.security { background:#f9f9fb; padding:4rem 1rem; }
.security-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem; align-items:center; max-width:1000px; margin:0 auto; }
.security-image img { width:100%; max-width:400px; margin:0 auto; display:block; }
.security-text h3 { font-size:1.8rem; margin-bottom:1rem; font-weight:800; color:#673ab7; }
.security-text p { font-size:1rem; color:#444; margin-bottom:1rem; }
.security-points { list-style:none; padding:0; margin:0 0 1rem; }
.security-points li { margin:0.5rem 0; font-size:1rem; color:#333; }
.security-note { font-size:0.9rem; color:#777; font-style:italic; margin-top:1rem; }
.security-image { display: flex; justify-content: center; }
.security-image img { width: 100%; max-width: 400px; height: auto; }

@media (max-width: 768px) {
  .security-grid { grid-template-columns: 1fr; text-align: center; }
  .security-text { text-align: center; }
  .security-points { text-align: left; display:inline-block; margin: 1rem auto; }
}


/* PRICING */
.pricing { background: #fafafa; padding: 4rem 1rem; }
.pricing .toggle { text-align: center; margin-bottom: 2rem; display: flex; justify-content: center; align-items: center; gap: 1rem; }
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { display: none; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #ccc; transition: .4s; border-radius: 24px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background: #673ab7; }
input:checked + .slider:before { transform: translateX(26px); }

.pricing .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.price-card { padding: 2rem; border: 1px solid #eee; border-radius: 12px; background: #fff; text-align: center; transition: transform 0.3s; }
.price-card:hover { transform: scale(1.02); }
.price-card.highlight { border: 2px solid #673ab7; }
.price { font-size: 2rem; margin: 1rem 0; color: #673ab7; }
.badge { background: #673ab7; color: #fff; padding: 0.2rem 0.5rem; border-radius: 6px; font-size: 0.8rem; margin-left: 0.5rem; }
.price-card .note { font-size: 0.9rem; color: #666; margin-top: -0.5rem; margin-bottom: 1rem; }
.btn-light { background: #fff; border: 1px solid #ccc; color: #333; padding: 0.6rem 1.2rem; border-radius: 6px; transition: 0.3s; }
.btn-light:hover { background: #f5f5f5; border-color: #999; }
.btn-primary { background: linear-gradient(90deg, #673ab7, #ff00f7); border: none; color: #fff; padding: 0.6rem 1.2rem; border-radius: 6px; transition: 0.3s; }
.btn-primary:hover { opacity: 0.9; }
.social-proof { text-align: center; margin-top: 2rem; font-size: 1rem; color: #444; }
.social-proof strong { color: #673ab7; }
.pricing h2 {text-align: center;font-size: 2rem;margin-bottom: 0.5rem;}

/* WALLET SECTION */
.wallet { background: #fff; padding: 4rem 1rem; }
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.wallet-image img { width: 100%; max-width: 400px; }
.wallet-text h2 { font-size: 2rem; margin-bottom: 1rem; color: #333; }
.wallet-sub { font-size: 1.1rem; color: #666; margin-bottom: 1.5rem; }
.wallet-points { list-style: none; padding: 0; margin-bottom: 2rem; }
.wallet-points li { margin-bottom: 0.8rem; font-size: 1rem; color: #444; }
.wallet-points strong { color: #673ab7; }
.wallet-tagline {font-size: 1rem;color: #673ab7;font-weight: 500;margin-bottom: 0.5rem;}
@media (max-width: 768px) {
  .wallet-grid { grid-template-columns: 1fr; text-align: center; }
  .wallet-image img { margin: 0 auto; }
}


/* TESTIMONIALS */
.testimonials { background: #fafafa; padding: 4rem 1rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.testimonial { background: #fff; padding: 1.5rem; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-align: center; }
.testimonial p { font-style: italic; margin-bottom: 1rem; color: #444; }
.testimonial .stars { color: #ffb400; margin-bottom: 0.5rem; }
.testimonial h4 { margin: 0; font-size: 1rem; }
.testimonial h4 span { font-weight: normal; color: #777; font-size: 0.9rem; }
.testimonials h2{text-align: center;font-size: 2rem;margin-bottom: 0.5rem;}

/* CONTACT */
.contact { background: #fff; padding: 4rem 1rem; }
.contact form { max-width: 600px; margin: auto; display: flex; flex-direction: column; gap: 1rem; }
.contact input, .contact textarea { padding: 0.8rem; border: 1px solid #ccc; border-radius: 8px; }
.contact button { align-self: flex-end; }
.contact h2{text-align: center;font-size: 2rem;margin-bottom: 0.5rem;}

/* FOOTER */
.footer { background: #2c3e50; color: #fff; text-align: center; padding: 1rem; }
.footer .socials { margin-top: 0.5rem; display: flex; gap: 1rem; justify-content: center; }
.footer .socials a { color: #fff; transition: color 0.3s; }
.footer .socials a:hover { color: #00c6ff; }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { flex-direction: column; }
  .nav { display: none; flex-direction: column; gap: 1rem; }
  .nav.active { display: flex; }
  .burger { display: block; }
}

.hero-mockup video {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.section-divider-gradient {
  border: 0;
  height: 2px;
  width: 80%;
  margin: 3rem auto;
  background: linear-gradient(90deg, transparent, #673ab7, transparent);
}

/* Bouton croix caché par défaut */
.close-btn {display: none;}


@media (max-width: 768px) {
  .nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.9); display: none; justify-content: center; align-items: center; flex-direction: column; gap: 2rem; z-index: 2000; transition: opacity 0.3s ease; }
  .nav.active { display: flex; animation: fadeIn 0.3s ease forwards; }
  .nav a { font-size: 1.5rem; font-weight: 600; color: #fff; transition: color 0.3s; }
  .nav a:hover { color: #ff00f7; }
  .nav .btn { background: linear-gradient(90deg, #673ab7, #ff00f7); color: #fff; padding: 0.8rem 2rem; border-radius: 8px; font-size: 1.1rem; }
  .burger { display: block; z-index: 2100; }
  .close-btn {display: block;position: absolute;top: 1rem;right: 1rem;font-size: 2rem;color: #fff;cursor: pointer;z-index: 2200;}
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
}


