/* ═══════════════════════════════════════════════════════
   ShopBot AI — Landing Page Styles
   Light theme: White → Blue gradient, Rose #E3005C accent
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-blue: #eef2ff;
  --bg-deep: #1e3a8a;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --rose: #E3005C;
  --rose-light: rgba(227,0,92,0.08);
  --rose-border: rgba(227,0,92,0.15);
  --blue: #3B82F6;
  --blue-dark: #1e3a8a;
  --card: #ffffff;
  --card-hover: #f8fafc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  color: var(--rose); background: var(--rose-light); border: 1px solid var(--rose-border);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 5vw, 42px); font-weight: 800; line-height: 1.2;
  margin-bottom: 16px; color: var(--text);
}
.section-subtitle {
  font-size: 18px; color: var(--text-light); max-width: 640px; margin: 0 auto 48px;
}
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--rose), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; transition: all 0.3s ease; text-decoration: none;
}
.btn-primary {
  background: var(--rose); color: #fff;
  box-shadow: 0 4px 24px rgba(227,0,92,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(227,0,92,0.35); filter: brightness(1.1); }
.btn-outline { background: transparent; color: var(--text-light); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--rose); color: var(--rose); }
.btn-sm { padding: 10px 20px; font-size: 13px; border-radius: 10px; }

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}
.header.scrolled { background: rgba(255,255,255,0.95); box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--text); }
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--rose); display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.nav { display: flex; gap: 32px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text-light); transition: color 0.2s; position: relative; }
.nav a:hover { color: var(--rose); }
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--rose); transition: width 0.3s;
}
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* --- Hero --- */
.hero { padding: 140px 0 100px; position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(227,0,92,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  color: var(--rose); background: var(--rose-light);
  border: 1px solid var(--rose-border); margin-bottom: 24px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--rose);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: var(--text); }
.hero p { font-size: 18px; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-value { font-size: 28px; font-weight: 800; color: var(--text); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Hero Widget Mockup */
.hero-visual { position: relative; }
.widget-mockup {
  background: var(--bg-deep); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
  width: 380px; max-width: 100%; margin-left: auto;
  box-shadow: 0 24px 64px rgba(30,58,138,0.25); overflow: hidden;
  animation: float 6s ease-in-out infinite; color: #e2e8f0;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.widget-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(227,0,92,0.15), rgba(59,130,246,0.1));
}
.widget-avatar {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--rose); display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.widget-name { font-weight: 700; font-size: 15px; color: #fff; }
.widget-status { font-size: 12px; color: #34d399; display: flex; align-items: center; gap: 4px; }
.widget-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #34d399; }
.widget-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg {
  max-width: 85%; padding: 12px 16px; border-radius: 16px;
  font-size: 13px; line-height: 1.5; animation: msgFade 0.5s ease;
}
@keyframes msgFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.user { align-self: flex-end; background: var(--rose); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.bot {
  align-self: flex-start; background: rgba(255,255,255,0.07); color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.1); border-bottom-left-radius: 4px;
}
.chat-product {
  display: flex; gap: 12px; align-self: flex-start;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 10px; max-width: 90%;
}
.chat-product-img {
  width: 60px; height: 60px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.chat-product-info { display: flex; flex-direction: column; gap: 2px; }
.chat-product-name { font-size: 13px; font-weight: 600; color: #fff; }
.chat-product-price { font-size: 14px; font-weight: 700; color: #34d399; }
.chat-product-btn {
  font-size: 11px; color: #fff; background: var(--rose);
  padding: 4px 10px; border-radius: 6px; display: inline-block;
  margin-top: 4px; width: fit-content;
}
.widget-input {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-top: 1px solid rgba(255,255,255,0.08);
}
.widget-input-field {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 10px 14px; color: rgba(255,255,255,0.4); font-size: 13px;
}
.widget-input-send {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--rose); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px;
}

/* --- Features --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--blue)); opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.06); border-color: #cbd5e1; }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--rose-light); border: 1px solid var(--rose-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* --- How It Works --- */
.section-blue { background: linear-gradient(180deg, var(--bg-blue) 0%, var(--bg) 100%); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 48px; left: 15%; right: 15%;
  height: 2px; background: linear-gradient(90deg, var(--rose), var(--blue)); opacity: 0.25;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px;
  background: var(--rose); display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #fff;
  box-shadow: 0 8px 32px rgba(227,0,92,0.25);
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.step p { font-size: 14px; color: var(--text-light); max-width: 280px; margin: 0 auto; }
.step-icon { font-size: 32px; margin-bottom: 16px; }

/* --- Multi-métier --- */
.metiers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.metier-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; transition: all 0.3s ease;
}
.metier-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.metier-icon { font-size: 40px; margin-bottom: 16px; }
.metier-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.metier-card p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.metier-attrs { display: flex; flex-wrap: wrap; gap: 6px; }
.metier-attr {
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500;
  background: var(--rose-light); color: var(--rose); border: 1px solid var(--rose-border);
}

/* --- Pricing --- */
.section-gradient { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-blue) 50%, var(--bg) 100%); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pricing-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 28px; position: relative; transition: all 0.3s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.pricing-card.popular {
  border-color: var(--rose); box-shadow: 0 0 48px rgba(227,0,92,0.1);
}
.pricing-card.popular::before {
  content: 'Populaire'; position: absolute; top: -12px; right: 24px;
  padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700;
  background: var(--rose); color: #fff;
}
.pricing-plan { font-size: 16px; font-weight: 700; color: var(--text-light); margin-bottom: 8px; }
.pricing-price { font-size: 48px; font-weight: 800; margin-bottom: 4px; color: var(--text); }
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light); }
.pricing-feature .check { color: var(--rose); font-size: 16px; }

/* --- Testimonials --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; transition: all 0.3s ease;
}
.testimonial-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.testimonial-stars { color: #f59e0b; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--text); }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* --- FAQ --- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--rose); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 15px;
  color: var(--text); transition: color 0.2s; user-select: none;
}
.faq-question:hover { color: var(--rose); }
.faq-chevron { transition: transform 0.3s; font-size: 14px; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--rose); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-deep), #0f2557);
  border-radius: 24px; padding: 64px 48px; text-align: center; color: #fff;
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; color: #fff; }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.8); }
.cta-banner .btn-outline:hover { border-color: #fff; color: #fff; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; max-width: 280px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--rose); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted);
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text-light); transition: all 0.2s;
}
.footer-socials a:hover { border-color: var(--rose); color: var(--rose); background: var(--rose-light); }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: flex; justify-content: center; margin-top: 40px; }
  .widget-mockup { margin-left: 0; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    flex-direction: column; gap: 0; background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px); padding: 24px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--border-light); color: var(--text); }
  .nav a::after { display: none; }
  .mobile-toggle { display: block; }
  .header-cta .btn { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }
  .widget-mockup { width: 340px; }
}
