/* "E-commerce a la medida" landing — extends home-v2.css + ein.css (form, FAQ, cc-* pieces) */

.nav-ecom[aria-current="page"] { color: var(--orange) !important; font-weight: 500; }

/* ---------- hero: storefront mockup ---------- */
.ec-hero-viz { position: relative; height: 520px; }
.ec-store {
  position: absolute; right: 0; top: 10px; width: min(470px, 100%); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -30px rgba(15, 43, 31, .55); translate: var(--px, 0) var(--py, 0); transition: translate .6s var(--ease);
}
.ec-store-body { padding: 14px 18px 20px; display: grid; gap: 14px; background: #fffaf6; --cake: #5a3226; --rasp: #d94667; }
.ec-store-nav { display: flex; align-items: center; gap: 16px; font-size: 12px; color: #9a7b70; }
.ec-store-nav b { display: grid; margin-right: auto; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: 25px; line-height: .95; letter-spacing: -.01em; color: var(--cake); }
.ec-store-nav b small { font-family: var(--head); font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .32em; color: var(--rasp); margin-top: 3px; }
.ec-store-nav em { font-style: normal; font-weight: 600; color: #fff; background: var(--rasp); padding: 5px 11px; border-radius: 99px; }
.ec-banner { display: grid; grid-template-columns: 1fr 128px; align-items: end; gap: 6px; padding: 18px 12px 10px 22px; border-radius: 14px; overflow: hidden; color: var(--cake);
  background: radial-gradient(circle at 2px 2px, rgba(217, 70, 103, .13) 1.4px, transparent 1.6px) 0 0 / 14px 14px, linear-gradient(125deg, #fde9e4, #f9cfd3); }
.ec-banner-txt { display: grid; gap: 4px; align-self: center; padding-bottom: 8px; }
.ec-banner small em { font-style: normal; }
.ec-banner small { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; color: var(--rasp); }
.ec-banner b { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
.ec-banner span { justify-self: start; margin-top: 8px; font-size: 12px; font-weight: 600; background: var(--cake); color: #fff; padding: 7px 13px; border-radius: 99px; }
.ec-banner-cake { width: 100%; display: block; filter: drop-shadow(0 10px 12px rgba(90, 50, 38, .18)); }
.ec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ec-prod { display: grid; gap: 2px; font-size: 12px; }
.ec-prod b { color: var(--cake); font-weight: 600; margin-top: 7px; }
.ec-prod span { color: #9a7b70; }
.ec-img { position: relative; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; }
.ec-img svg { width: 82%; }
.ec-img i { position: absolute; right: 7px; bottom: 7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--rasp); font-style: normal; font-weight: 700; font-size: 15px; line-height: 1; box-shadow: 0 3px 8px rgba(90, 50, 38, .15); }
.ec-img.p1 { background: #fde6ea; }
.ec-img.p2 { background: #fdf0d8; }
.ec-img.p3 { background: #dcf1ed; }

.ec-agent {
  left: -4%; bottom: 14px; width: 290px; padding: 16px 18px; border-radius: 18px; color: #e9f1ec; rotate: -3deg;
  background: linear-gradient(150deg, var(--forest-3), var(--forest) 70%); box-shadow: 0 36px 70px -26px rgba(15, 43, 31, .8);
  animation: floatCard 6s ease-in-out infinite;
}
.ec-agent-h { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.ec-agent-h b { color: var(--lime); font-weight: 600; }
.ec-agent-h small { margin-left: auto; color: #a9bdb2; }
.ec-agent p { margin: 10px 0 12px; font-size: 13.5px; line-height: 1.45; color: #dbe8df; }
.ec-agent p b { color: #fff; }
.ec-agent-btns { display: flex; gap: 8px; font-size: 12.5px; font-weight: 600; }
.ec-agent-btns em { font-style: normal; background: var(--orange); color: #fff; padding: 7px 14px; border-radius: 9px; }
.ec-agent-btns span { color: #cfe0d6; padding: 7px 10px; }
.ec-hero .chip-paid { left: auto; right: -3%; top: auto; bottom: 34%; }

/* ---------- not Shopify: a pile of apps → one platform ---------- */
.ec-apps { min-height: 540px; }
.ec-pile { position: absolute; left: 50%; top: 52%; width: 0; height: 0; }
.ec-pile span {
  position: absolute; left: 0; top: 0; white-space: nowrap; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #b9cbc1; text-decoration: line-through; text-decoration-color: var(--orange);
  transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.js .ec-apps:not(.in) .ec-pile span { opacity: 0; transform: translate(var(--x), calc(var(--y) - 30px)) rotate(0deg); }
.ec-pile span:nth-child(2) { transition-delay: .08s; } .ec-pile span:nth-child(3) { transition-delay: .16s; }
.ec-pile span:nth-child(4) { transition-delay: .24s; } .ec-pile span:nth-child(5) { transition-delay: .32s; }
.ec-pile span:nth-child(6) { transition-delay: .4s; }
.ec-one {
  position: relative; z-index: 2; margin-top: 150px; display: grid; justify-items: center; gap: 6px; padding: 22px 30px; border-radius: 20px;
  background: var(--orange); color: #fff; box-shadow: 0 30px 60px -20px rgba(255, 115, 0, .6); animation: floatCard 5s ease-in-out infinite;
}
.ec-one .ai-orb { width: 34px; height: 34px; }
.ec-one b { font-size: 20px; font-weight: 600; }
.ec-one small { font-size: 13px; opacity: .9; }

/* ---------- AI agents grid ---------- */
.ec-agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ec-agent-grid .card.glass { min-height: 360px; }
.ec-viz { width: 100%; }
.ec-viz > div { width: 100%; }
.ec-mini-h { margin: 0 0 8px; font: 500 11px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: #a9bdb2; }

.ec-prof { background: #fff; color: var(--ink); border-radius: 16px; padding: 16px; display: grid; gap: 12px; font-size: 13px; }
.ec-prof-h { display: flex; align-items: center; gap: 10px; }
.ec-prof-h i { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; }
.ec-prof-h b { display: block; color: var(--forest); font-size: 14px; }
.ec-prof-h span { color: var(--muted); font-size: 12px; }
.ec-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ec-tags em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: #e6f5cf; color: var(--forest); }
.ec-sugg { font-size: 12.5px; font-weight: 600; color: var(--orange-d); background: #fff1e5; padding: 8px 10px; border-radius: 10px; }

.ec-chat .msg.ai { justify-self: end; background: var(--orange); border: 0; color: #fff; border-radius: 15px; border-bottom-right-radius: 4px; }
.ec-chat .typing i { background: #fff; }

.ec-seo, .ec-ins { display: grid; gap: 8px; }
.ec-seo-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: 13px; color: #dbe8df; }
.ec-seo-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-seo-row b { color: #fff; }
.ec-seo-row em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--lime); }
.ec-seo-foot { justify-self: start; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--forest); background: var(--lime); padding: 5px 11px; border-radius: 99px; }

.ec-camp { display: grid; gap: 10px; }
.ec-camp-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 12.5px; }
.ec-camp-row div { flex: 1; min-width: 0; }
.ec-camp-row b { display: block; color: var(--forest); font-size: 13px; }
.ec-camp-row span { color: var(--muted); }
.ec-camp-row em { font-style: normal; font-weight: 600; font-size: 11.5px; padding: 4px 9px; border-radius: 99px; background: #fff1e5; color: var(--orange-d); }
.ec-camp-row em.ok { background: var(--lime); color: var(--forest); }
.ec-camp-stat { display: flex; align-items: baseline; gap: 10px; padding: 4px 2px 0; }
.ec-camp-stat b { font-size: 26px; font-weight: 600; color: var(--lime); letter-spacing: -.02em; }
.ec-camp-stat span { font-size: 12.5px; color: #a9bdb2; }

.ec-thread .cc-sms { max-width: 100%; font-size: 13px; }
.ec-paid { justify-self: end; font-size: 12.5px; font-weight: 600; color: var(--forest); background: var(--lime); padding: 6px 12px; border-radius: 99px; opacity: 0; transform: translateY(8px); transition: .6s 1s var(--ease); }
.in .ec-paid { opacity: 1; transform: none; }

.ec-ins-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .07); font-size: 13px; color: #dbe8df; }
.ec-ins-row i { flex: none; width: 9px; height: 9px; border-radius: 50%; }
.ec-ins-row i.r { background: #ff6b4a; } .ec-ins-row i.o { background: var(--orange); } .ec-ins-row i.g { background: var(--lime); }

/* ---------- everything in one place ---------- */
.ec-all { padding: 120px 0 90px; }
.ec-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ec-feat { padding: 24px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(15, 43, 31, .55); transition: transform .3s var(--ease); }
.ec-feat:hover { transform: translateY(-4px); }
.ec-feat h3 { font-size: 18px; font-weight: 600; color: var(--forest); line-height: 1.25; }
.ec-feat p { margin: 8px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---------- steps ---------- */
.ec-steps-sec { padding: 20px 24px 40px; }
.ec-steps-card .step h3 { font-size: 20px; font-weight: 600; color: var(--forest); }
.ec-steps-card .step p { margin-top: 8px; font-weight: 400; color: var(--muted); }

/* ---------- price ---------- */
.ec-price-sec { padding: 90px 0 130px; }
.ec-price { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.ec-price-copy h2 { font-size: clamp(30px, 4vw, 50px); color: var(--forest); }
.ec-price-card { position: relative; overflow: hidden; padding: 36px; border-radius: 28px; color: #fff;
  background: radial-gradient(400px 300px at 90% 0%, rgba(183, 240, 90, .18), transparent 70%), linear-gradient(160deg, var(--forest-3), var(--forest) 70%);
  box-shadow: 0 50px 100px -40px rgba(15, 43, 31, .8); }
.ec-price-k { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: .06em; color: var(--lime); }
.ec-price-n { margin: 6px 0 4px; font-size: 72px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.ec-price-n small { display: block; font-size: 15px; font-weight: 400; letter-spacing: 0; color: #a9bdb2; margin-bottom: 6px; }
.ec-price-n span { font-size: 20px; font-weight: 500; letter-spacing: 0; color: #cfe0d6; }
.ec-price-card .cc-list li { color: #eef5ef; }
.ec-price-card .btn { margin-top: 30px; }

@media (max-width: 960px) {
  .ec-hero-viz { max-width: 520px; width: 100%; margin: 0 auto; height: 480px; }
  .ec-store { right: 50%; translate: 50% 0; }
  .ec-agent-grid { grid-template-columns: 1fr 1fr; }
  .ec-feat-grid { grid-template-columns: 1fr 1fr; }
  .ec-price { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .ec-hero-viz { height: 440px; }
  .ec-store-nav span { display: none; }
  .ec-banner { grid-template-columns: 1fr 96px; padding-left: 16px; }
  .ec-banner b { font-size: 20px; }
  .ec-banner small { letter-spacing: .08em; }
  .ec-agent { left: 0; width: 250px; padding: 14px; }
  .ec-agent p { font-size: 12.5px; }
  .ec-hero .chip-paid { display: none; }
  .ec-banner small em { display: none; }
  .ec-hero .hero-eyebrow { font-size: 13px; gap: 8px; }
  .ec-hero .hero-eyebrow span { white-space: nowrap; }
  .ec-hero .hero-eyebrow i { width: 12px; }
  .ec-agent-grid, .ec-feat-grid { grid-template-columns: 1fr; }
  .ec-agent-grid .card.glass { min-height: 0; }
  .ec-apps { min-height: 500px; }
  .ec-pile { scale: .66; }
  .ec-all, .ec-price-sec { padding: 80px 0; }
  .ec-price-card { padding: 26px; }
  .ec-price-n { font-size: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .ec-apps:not(.in) .ec-pile span { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
  .ec-agent, .ec-one { animation: none; }
}
