*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a14;
  --bg-card: #12121e;
  --text: #f0f0f5;
  --text-muted: #9595a8;
  --accent: #fbbf24;
  --accent2: #a855f7;
  --gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #a855f7 100%);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 20, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}
.nav-logo-img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.nav-logo-text { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.5px; }
.nav-cta {
  background: var(--gradient);
  color: #000; font-weight: 700; font-size: 0.85rem;
  padding: 10px 22px; border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(251, 191, 36, 0.3); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--accent);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 480px; margin-bottom: 36px; line-height: 1.7;
}

/* STORE BUTTONS */
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-buttons.centered { justify-content: center; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 14px;
  text-decoration: none; color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.store-btn.apple { background: #000; }
.store-btn.google { background: #1a1a2e; }
.store-btn small { display: block; font-size: 0.7rem; opacity: 0.7; font-weight: 400; }
.store-btn strong { display: block; font-size: 1rem; font-weight: 700; }

/* PHONE MOCKUP */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup {
  width: 280px; height: 280px;
  padding: 0;
  border-radius: 56px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.phone-app-img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 56px;
  display: block;
  position: relative; z-index: 1;
}
.phone-mockup::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 56px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.12) 25%, transparent 50%, rgba(0,0,0,0.05) 75%, rgba(255,255,255,0.08) 100%);
}
.phone-mockup::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 56px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.2), inset 0 -1px 2px rgba(0,0,0,0.1);
}

/* FEATURES */
.features { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.2);
}
.feature-icon {
  font-size: 2rem; margin-bottom: 16px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251, 191, 36, 0.08);
  border-radius: 14px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* HOW IT WORKS */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.03) 50%, transparent 100%);
}
.steps {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: wrap;
}
.step {
  text-align: center; flex: 1; min-width: 200px; max-width: 280px;
  padding: 32px 24px;
}
.step-number {
  width: 56px; height: 56px;
  background: var(--gradient);
  color: #000; font-weight: 800; font-size: 1.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }
.step-arrow {
  font-size: 1.8rem; color: var(--accent); font-weight: 700;
  opacity: 0.4;
}

/* TESTIMONIALS */
.testimonials { padding: 80px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p {
  color: var(--text-muted); font-size: 0.95rem;
  line-height: 1.7; margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author { font-weight: 700; font-size: 0.9rem; color: var(--text); }

/* CTA */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #1e1040 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
}
.cta-box h2 {
  font-size: 2.2rem; font-weight: 800; margin-bottom: 12px;
}
.cta-box p {
  color: var(--text-muted); font-size: 1.1rem;
  margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.1rem;
}
.footer-logo { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.footer-copy { color: var(--text-muted); font-size: 0.85rem; }

/* DELETE PAGE */
.delete-section {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 24px 60px;
}
.delete-card {
  max-width: 560px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
}
.delete-icon { font-size: 3rem; margin-bottom: 16px; }
.delete-card h1 {
  font-size: 1.8rem; font-weight: 800;
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.delete-description {
  color: var(--text-muted); font-size: 0.92rem;
  line-height: 1.7; margin-bottom: 32px;
}
.delete-form { text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem;
  font-weight: 600; margin-bottom: 8px;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; color: var(--text);
  font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.delete-submit {
  width: 100%; padding: 16px;
  background: var(--gradient); color: #000;
  font-weight: 700; font-size: 1rem;
  border: none; border-radius: 12px;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.delete-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.3);
}
.delete-submit:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}
.success-message {
  padding: 32px 0; text-align: center;
}
.success-icon { font-size: 3rem; margin-bottom: 12px; }
.success-message h2 {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 8px;
}
.success-message p {
  color: var(--text-muted); font-size: 0.92rem; margin-bottom: 24px;
}
.back-link {
  color: var(--accent); text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
}
.back-link:hover { text-decoration: underline; }
.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px; padding: 16px;
  margin-top: 16px; text-align: center;
}
.error-message p { color: #fca5a5; font-size: 0.85rem; }
.delete-note {
  color: var(--text-muted); font-size: 0.8rem;
  margin-top: 24px; line-height: 1.6;
}
.delete-note a { color: var(--accent); text-decoration: none; }
.delete-note a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 768px) {
  /* Hero : reduire gaps entre sections */
  .hero { min-height: auto; padding: 90px 20px 30px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .hero-subtitle { margin-left: auto; margin-right: auto; font-size: 0.85rem; margin-bottom: 18px; }
  .hero-badge { font-size: 0.75rem; padding: 6px 14px; margin-bottom: 14px; }
  .hero h1 { font-size: 2rem; margin-bottom: 10px; }
  .store-buttons { justify-content: center; gap: 10px; }
  .store-btn { padding: 10px 18px; }
  .store-btn small { font-size: 0.6rem; }
  .store-btn strong { font-size: 0.85rem; }

  /* Logo central */
  .hero-visual { order: -1; margin-top: 10px; }
  .phone-mockup { width: 180px; height: 180px; border-radius: 40px; padding: 0; }
  .phone-app-img { border-radius: 40px; }

  /* Features : moins d'espace, cards plus petites */
  .features { padding: 40px 0 30px; }
  .section-header { margin-bottom: 24px; }
  .section-header h2 { font-size: 1.3rem; margin-bottom: 6px; }
  .section-header p { font-size: 0.85rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-card { padding: 18px 14px; }
  .feature-icon { width: 40px; height: 40px; font-size: 1.3rem; margin-bottom: 10px; border-radius: 10px; }
  .feature-card h3 { font-size: 0.85rem; margin-bottom: 4px; }
  .feature-card p { font-size: 0.75rem; line-height: 1.4; }

  /* How it works : rapprocher */
  .how-it-works { padding: 30px 0; }
  .steps { flex-direction: column; gap: 8px; }
  .step { padding: 16px 16px; min-width: unset; }
  .step-number { width: 42px; height: 42px; font-size: 1.1rem; margin-bottom: 10px; }
  .step h3 { font-size: 0.95rem; }
  .step p { font-size: 0.8rem; }
  .step-arrow { transform: rotate(90deg); font-size: 1.2rem; }

  /* Testimonials : rapprocher */
  .testimonials { padding: 30px 0; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 12px; }
  .testimonial-card { padding: 20px 18px; }
  .stars { font-size: 1rem; margin-bottom: 10px; }
  .testimonial-card p { font-size: 0.82rem; margin-bottom: 10px; }

  /* CTA + Footer */
  .cta-section { padding: 30px 0; }
  .cta-box { padding: 32px 20px; }
  .cta-box h2 { font-size: 1.5rem; }
  .cta-box p { font-size: 0.9rem; margin-bottom: 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .store-btn { width: 100%; justify-content: center; }
}
