/* SmartShop AI landing — shared stylesheet (EN/FR/ES)
   Palette 5: Minimalist Indigo */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #fafafa;
  --bg-alt: #ffffff;
  --fg: #111827;
  --fg-soft: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-soft: #f3f4f6;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-soft: #eef2ff;
  --success: #059669;
  --card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 4px 16px -4px rgba(79, 70, 229, 0.08), 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 20px 40px -16px rgba(79, 70, 229, 0.18), 0 2px 6px rgba(17, 24, 39, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-w: 1200px;
  --gutter: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: 'Inter Tight', system-ui, -apple-system, sans-serif; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.55; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ===== NAV ===== */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 26px var(--gutter); max-width: var(--max-w); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.025em; color: var(--fg); }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; display: block; box-shadow: 0 4px 12px -2px rgba(79, 70, 229, 0.25); }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lang { display: flex; gap: 0; font-size: 13px; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.lang a { padding: 7px 13px; color: var(--muted); border-right: 1px solid var(--line); transition: color .15s; }
.lang a:last-child { border-right: none; }
.lang a:hover { color: var(--fg); }
.lang a.active { color: var(--fg); background: var(--primary-soft); }
.nav__cta { padding: 11px 20px; background: var(--fg); color: #fff; border-radius: 8px; font-weight: 600; font-size: 14px; letter-spacing: -.01em; transition: transform .15s, background .15s; }
.nav__cta:hover { background: #000; transform: translateY(-1px); }

/* ===== HERO ===== */
.hero-wrap { position: relative; overflow: hidden; }
.hero-wrap::before,
.hero-wrap::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: 0; pointer-events: none; }
.hero-wrap::before { top: -120px; left: -80px; width: 520px; height: 520px; background: radial-gradient(circle, #c7d2fe 0%, transparent 70%); animation: blob1 18s ease-in-out infinite alternate; }
.hero-wrap::after { top: 40px; right: -120px; width: 480px; height: 480px; background: radial-gradient(circle, #e9d5ff 0%, transparent 70%); animation: blob2 22s ease-in-out infinite alternate; }
@keyframes blob1 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(60px, 40px) scale(1.1); } }
@keyframes blob2 { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-40px, 60px) scale(1.08); } }
.hero { position: relative; z-index: 1; padding: 90px var(--gutter) 110px; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.hero__eyebrow { display: inline-block; padding: 7px 14px; background: var(--primary-soft); color: var(--primary); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; margin-bottom: 28px; }
.hero h1 { font-size: clamp(40px, 5.5vw, 68px); line-height: 1; font-weight: 700; letter-spacing: -.045em; margin-bottom: 26px; color: var(--fg); }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 10px; background: var(--primary-soft); z-index: -1; border-radius: 2px; }
.hero__sub { font-size: 19px; line-height: 1.6; max-width: 560px; margin-bottom: 38px; color: var(--muted); font-weight: 400; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; transition: transform .15s, background .15s, border-color .15s; cursor: pointer; border: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn--secondary { background: #fff; color: var(--fg); border: 1px solid var(--line); }
.btn--secondary:hover { border-color: var(--muted); }
.hero__small { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__small span::before { content: '·'; margin-right: 14px; color: var(--line); }
.hero__small span:first-child::before { display: none; }

/* ===== Hero mock chat — modeled on the real SmartShop AI widget ===== */
.chatmock { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 14px; transform: rotate(-1deg); position: relative; max-width: 420px; margin-left: auto; }
.chatmock::before { content: ''; position: absolute; inset: -40px; background: radial-gradient(circle at 70% 30%, rgba(79, 70, 229, 0.12), transparent 55%); z-index: -1; border-radius: 40px; }

.chatmock__header { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: linear-gradient(135deg, #6366f1 0%, #7c3aed 60%, #8b5cf6 100%); color: #fff; }
.chatmock__sparkle { width: 22px; height: 22px; display: grid; place-items: center; }
.chatmock__sparkle svg { width: 20px; height: 20px; }
.chatmock__title { flex: 1; font-weight: 700; font-size: 14px; letter-spacing: -.005em; }
.chatmock__plus { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 300; line-height: 1; }

.chatmock__body { padding: 18px 16px 14px; display: flex; flex-direction: column; gap: 6px; background: #fff; min-height: 320px; }
.chatmock__time-label { align-self: center; font-size: 11px; color: #9ca3af; padding: 4px 0 8px; font-weight: 500; }

.bubble-row { display: flex; flex-direction: column; max-width: 82%; gap: 3px; margin-bottom: 6px; }
.bubble-row--user { align-self: flex-end; align-items: flex-end; }
.bubble-row--bot { align-self: flex-start; align-items: flex-start; }

.bubble { padding: 10px 14px; font-size: 13.5px; line-height: 1.45; word-wrap: break-word; }
.bubble--user { background: linear-gradient(135deg, #6366f1, #7c3aed); color: #fff; border-radius: 16px 16px 4px 16px; }
.bubble--bot { background: #f3f4f6; color: #1f2937; border-radius: 16px 16px 16px 4px; }
.bubble__time { font-size: 10px; color: #9ca3af; font-weight: 500; padding: 0 4px; }

.prodcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px; display: flex; gap: 11px; box-shadow: var(--shadow-sm); width: 100%; }
.prodcard__img { width: 50px; height: 50px; border-radius: 8px; background: linear-gradient(135deg, #e0e7ff, #c4b5fd); flex-shrink: 0; }
.prodcard__info { flex: 1; min-width: 0; }
.prodcard__name { font-size: 12.5px; font-weight: 600; color: var(--fg); margin-bottom: 2px; }
.prodcard__price { font-size: 13px; color: var(--primary); font-weight: 700; margin-bottom: 6px; }
.prodcard__btn { display: inline-block; padding: 5px 11px; background: linear-gradient(135deg, #6366f1, #7c3aed); color: #fff; border-radius: 6px; font-size: 11px; font-weight: 600; }

.chatmock__input { padding: 12px 14px 14px; background: #fff; display: flex; align-items: center; gap: 10px; border-top: 1px solid #f3f4f6; }
.chatmock__input input { flex: 1; border: none; border-radius: 999px; padding: 10px 16px; font-size: 13px; color: #6b7280; background: #f3f4f6; outline: none; }
.chatmock__input button { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #7c3aed); color: #fff; border: none; font-size: 16px; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 4px 12px -2px rgba(124, 58, 237, .35); }

/* ===== PROBLEM ===== */
.section { padding: 100px var(--gutter); max-width: var(--max-w); margin: 0 auto; }
.section--tight { padding-top: 60px; padding-bottom: 60px; }
.section__eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: .02em; margin-bottom: 14px; }
.section__title { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; margin-bottom: 18px; max-width: 680px; }
.section__lead { font-size: 18px; color: var(--muted); max-width: 640px; margin-bottom: 60px; }

.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.problem { padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .2s, border-color .2s, box-shadow .2s; }
.problem:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.problem__icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-soft) 0%, #f5f3ff 100%); color: var(--primary); display: grid; place-items: center; margin-bottom: 22px; border: 1px solid #e0e7ff; }
.problem__icon svg { width: 26px; height: 26px; }
.problem h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.015em; }
.problem p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ===== STATS BAR ===== */
.stats-wrap { border-top: 1px solid var(--line); background: #fff; position: relative; }
.stats { max-width: var(--max-w); margin: 0 auto; padding: 32px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); width: 1px; height: 36px; background: var(--line); }
.stat__num { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--fg); font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--primary), #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

/* ===== PROVIDER LOGOS STRIP ===== */
.providers-wrap { background: #fff; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line); padding: 44px var(--gutter); }
.providers { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.providers__label { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--muted); text-transform: uppercase; margin-bottom: 26px; }
.providers__grid { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.provider { display: flex; align-items: center; gap: 12px; color: #9ca3af; font-weight: 600; font-size: 17px; letter-spacing: -.015em; transition: color .25s, transform .25s; cursor: default; }
.provider svg { width: 26px; height: 26px; flex-shrink: 0; }
.provider:hover { color: var(--fg); transform: translateY(-2px); }
.provider:hover .provider__mark--openai { color: #10a37f; }
.provider:hover .provider__mark--anthropic { color: #d97757; }
.provider:hover .provider__mark--google { color: #4285f4; }
.provider:hover .provider__mark--deepseek { color: #4d6bfe; }

/* ===== TYPING DOTS ===== */
.bubble--typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.bubble--typing span { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; animation: typing 1.4s infinite ease-in-out; }
.bubble--typing span:nth-child(2) { animation-delay: .2s; }
.bubble--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ===== REVEAL ON SCROLL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal--visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .4s; }

/* ===== FEATURE ICONS ===== */
.feature__icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-soft), #f5f3ff); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; border: 1px solid #e0e7ff; }
.feature__icon svg { width: 22px; height: 22px; }

/* Pricing glow */
.pricing__card { position: relative; }
.pricing__card::before { content: ''; position: absolute; inset: -2px; border-radius: calc(var(--radius-lg) + 2px); background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, transparent 100%); z-index: -1; opacity: .6; filter: blur(8px); }

/* ===== FEATURES ===== */
.section--features { background: #fff; max-width: none; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--features > .container { padding-top: 100px; padding-bottom: 100px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature { padding: 36px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--primary); transform: translateY(-2px); }
.feature__num { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 18px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.feature h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step { padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); position: relative; }
.step__num { position: absolute; top: -18px; left: 28px; width: 36px; height: 36px; border-radius: 10px; background: var(--fg); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; letter-spacing: -.02em; }
.step h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; margin-top: 10px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.step code { font-family: 'SF Mono', Menlo, monospace; font-size: 13px; background: var(--primary-soft); color: var(--primary); padding: 2px 7px; border-radius: 5px; }

/* ===== PRICING ===== */
.pricing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 56px; background: linear-gradient(135deg, #fff 0%, var(--primary-soft) 100%); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.pricing__left h2 { font-size: clamp(30px, 3.5vw, 42px); line-height: 1.1; font-weight: 700; letter-spacing: -.035em; margin-bottom: 16px; }
.pricing__left p { color: var(--muted); font-size: 17px; line-height: 1.6; margin-bottom: 10px; }
.pricing__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.pricing__amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.pricing__amount .num { font-size: 56px; font-weight: 800; letter-spacing: -.04em; color: var(--fg); }
.pricing__amount .cur { font-size: 24px; font-weight: 700; color: var(--muted); }
.pricing__once { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 24px; }
.pricing__once strong { color: var(--success); font-weight: 700; }
.pricing__list { list-style: none; margin-bottom: 28px; }
.pricing__list li { padding: 8px 0; font-size: 14px; color: var(--fg-soft); display: flex; align-items: center; gap: 10px; }
.pricing__list li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.pricing .btn { width: 100%; justify-content: center; }

/* ===== VIDEO ===== */
.video-wrap { position: relative; aspect-ratio: 16/9; max-width: 960px; margin: 40px auto 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #000; }
.video-wrap::before { content: ''; position: absolute; inset: -3px; border-radius: calc(var(--radius-xl) + 3px); background: linear-gradient(135deg, var(--primary), #7c3aed, transparent); z-index: -1; opacity: .35; filter: blur(12px); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ===== FAQ ===== */
.faq { max-width: 780px; }
.faq__item { border-top: 1px solid var(--line); padding: 28px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 10px; }
.faq__a { color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* ===== CTA FOOTER BAND ===== */
.cta-band { background: var(--fg); color: #fff; padding: 80px var(--gutter); text-align: center; }
.cta-band__inner { max-width: 720px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; margin-bottom: 18px; }
.cta-band p { color: #9ca3af; font-size: 17px; margin-bottom: 32px; }
.cta-band .btn--primary { background: #fff; color: var(--fg); }
.cta-band .btn--primary:hover { background: #f3f4f6; }

/* ===== FOOTER ===== */
.footer { padding: 40px var(--gutter); border-top: 1px solid var(--line); max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 14px; flex-wrap: wrap; gap: 16px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--fg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  :root { --gutter: 32px; }
  .hero { grid-template-columns: 1fr; padding: 60px 32px 80px; gap: 48px; }
  .chatmock { max-width: 420px; margin: 0 auto; transform: none; }
  .problems, .features, .steps { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 70px 32px; }
  .section--features > .container { padding: 70px 32px; }
  .pricing { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; padding: 32px; }
  .stat:nth-child(2)::after { display: none; }
  .providers-wrap { padding: 36px 24px; }
  .providers__grid { gap: 32px; }
  .provider { font-size: 15px; }
}
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .nav { padding: 20px 20px; }
  .nav__cta { display: none; }
  .hero { padding: 40px 20px 60px; }
  .section { padding: 60px 20px; }
  .cta-band { padding: 60px 20px; }
  .footer { flex-direction: column; padding: 32px 20px; text-align: center; }
}
