/* ===========================================================================
   Ecom Made Easy — homepage (clean light & minimal)
   Self-contained stylesheet for index.html. Product pages keep styles.css.
   =========================================================================== */
:root {
  --ink: #101d18;
  --ink-soft: #33443d;
  --muted: #64766f;
  --line: #e6ece8;
  --line-soft: #eef2f0;
  --bg: #ffffff;
  --bg-alt: #f6f9f7;
  --brand: #12a05c;        /* primary green */
  --brand-ink: #0c7a45;
  --brand-wash: #eafaf1;
  --amber: #f5a524;        /* brand mark accent */
  --amber-wash: #fff6e8;
  --myntra: #ff4f8b;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,29,24,.06), 0 1px 1px rgba(16,29,24,.04);
  --shadow: 0 10px 30px rgba(16,29,24,.08);
  --shadow-lg: 0 30px 60px -12px rgba(16,29,24,.18);
  --maxw: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.03em; line-height: 1.08; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-wash); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -6px rgba(18,160,92,.5); }
.btn-primary:hover { background: var(--brand-ink); box-shadow: 0 14px 28px -6px rgba(18,160,92,.55); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cfdbd5; background: var(--bg-alt); }
.btn-wa { background: #25d366; color: #063; color: #053d1f; }
.btn-wa:hover { background: #1fbe5b; }
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(16,29,24,.05); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-weight: 800; color: #3a2a06; background: linear-gradient(145deg, #ffe3a3, var(--amber)); box-shadow: 0 6px 16px rgba(245,165,36,.35), inset 0 1px rgba(255,255,255,.7); transform: rotate(-4deg); font-family: "Space Grotesk"; }
.brand-copy strong { display: block; font-size: 16px; font-family: "Space Grotesk"; letter-spacing: -.02em; line-height: 1.1; }
.brand-copy small { font-size: 9.5px; font-weight: 800; letter-spacing: .16em; color: var(--muted); }
.nav-links { display: flex; gap: 4px; margin-left: 14px; }
.nav-links a { padding: 8px 13px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-cta { margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -220px; right: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, var(--brand-wash), transparent 68%); z-index: 0; }
.hero::after { content: ""; position: absolute; top: -120px; left: -180px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, var(--amber-wash), transparent 70%); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 700; }
.hero h1 .grad { background: linear-gradient(110deg, var(--brand), #3cc77e 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 20px; font-size: 18.5px; color: var(--ink-soft); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.trust-row span::before { content: "✓"; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--brand-wash); color: var(--brand-ink); font-size: 11px; font-weight: 800; }

/* ---------- App window frame (holds screenshots / placeholders) ---------- */
.window { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.window.tilt { transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d7ded9; display: block; }
.window-bar i:nth-child(1){ background:#ff5f57; } .window-bar i:nth-child(2){ background:#febc2e; } .window-bar i:nth-child(3){ background:#28c840; }
.window-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.window-shot { display: block; width: 100%; height: auto; }
/* placeholder shown until a real screenshot is dropped in */
.shot-ph { aspect-ratio: 16/10; background:
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0/100% 34px,
    linear-gradient(90deg, #fbfdfc, #f2f7f4);
  display: grid; place-items: center; color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: .02em; text-align: center; padding: 20px; }
.shot-ph b { display:block; color: var(--ink-soft); font-family:"Space Grotesk"; font-size: 15px; margin-bottom: 3px; }

/* floating mini stat card on hero window */
.float-stat { position: absolute; bottom: -22px; left: -26px; display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.float-stat .ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand-wash); color: var(--brand-ink); }
.float-stat b { font-family: "Space Grotesk"; font-size: 18px; } .float-stat small { display:block; color: var(--muted); font-size: 12px; font-weight: 600; }
.hero-visual { position: relative; }

/* ---------- Logos / trust band ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 36px 0; text-align: center; }
.stats .num { font-family: "Space Grotesk"; font-size: 34px; font-weight: 700; color: var(--brand-ink); }
.stats .lbl { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 2px; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.sec { padding: 84px 0; }
.sec-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin-top: 12px; }
.sec-head p { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* ---------- Download cards ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d7e4dd; }
.dl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app-badge { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; font-family: "Space Grotesk"; font-weight: 800; font-size: 19px; }
.app-badge.vc { color: #7a4a06; background: linear-gradient(145deg, #ffe3a3, var(--amber)); }
.app-badge.sf { color: #0c5a30; background: linear-gradient(145deg, #c6f5d5, #52c97e); }
.app-badge.my { color: #8a123f; background: linear-gradient(145deg, #ffd0e0, var(--myntra)); }
.pill { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--brand-wash); color: var(--brand-ink); }
.dl-card .mk { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dl-card h3 { font-size: 21px; margin: 4px 0 8px; }
.dl-card p { color: var(--ink-soft); font-size: 15px; }
.feat-list { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 9px; }
.feat-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft); }
.feat-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-wash); }
.feat-list li::after { content: ""; position: absolute; left: 5px; top: 10px; width: 5px; height: 8px; border-right: 2px solid var(--brand-ink); border-bottom: 2px solid var(--brand-ink); transform: rotate(40deg); }
.dl-card .btn { margin-top: auto; width: 100%; }

/* ---------- Feature rows (alternating screenshot + text) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 92px; }
.feature.rev .f-text { order: 2; }
.f-text h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; margin: 12px 0 14px; }
.f-text p { color: var(--ink-soft); font-size: 16.5px; }
.f-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.f-points li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-soft); }
.f-points .fi { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-wash); color: var(--brand-ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 10px; }
.step .n { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 15px; font-family: "Space Grotesk"; font-weight: 800; font-size: 22px; color: var(--brand-ink); background: var(--brand-wash); }
.step h3 { font-size: 19px; } .step p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ---------- Pricing ---------- */
.price-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .2s, box-shadow .2s; }
.price-card:hover { border-color: #d7e4dd; box-shadow: var(--shadow); }
.price-card.pop { border-color: var(--brand); box-shadow: 0 14px 34px -14px rgba(18,160,92,.4); position: relative; }
.price-card.pop::after { content: "Popular"; position: absolute; top: -11px; right: 16px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 4px 10px; border-radius: 999px; }
.price-card .q { font-family: "Space Grotesk"; font-weight: 700; font-size: 19px; }
.price-card .amt { color: var(--brand-ink); font-weight: 700; margin-top: 4px; }
.price-hl { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.price-hl b { font-family: "Space Grotesk"; font-size: 42px; color: var(--ink); } .price-hl span { color: var(--muted); font-weight: 600; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.quote p { margin: 12px 0 18px; color: var(--ink-soft); font-size: 15.5px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-wash); color: var(--brand-ink); font-weight: 800; font-family: "Space Grotesk"; }
.quote .who b { font-size: 14.5px; } .quote .who small { color: var(--muted); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #d7e4dd; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 700; font-family: "Space Grotesk"; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--brand-wash); color: var(--brand-ink); font-size: 18px; transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq p { color: var(--ink-soft); padding: 0 0 18px; font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(135deg, #0e3d28, #12a05c); border-radius: 28px; padding: 54px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.cta p { color: #d7f0e2; margin-top: 12px; font-size: 17px; }
.cta .btn-primary { background: #fff; color: var(--brand-ink); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cta .btn-primary:hover { background: #f3fff8; }
.cta .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.18); }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Referral teaser ---------- */
.refer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; background: var(--amber-wash); border: 1px solid #f6e4c4; border-radius: var(--radius-lg); padding: 30px 34px; }
.refer h3 { font-size: 23px; } .refer p { color: #7a5a1e; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: #0c1714; color: #c7d4ce; padding: 56px 0 30px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer .brand-copy strong { color: #fff; } .footer .brand-copy small { color: #7f958b; }
.footer p.tag { margin-top: 14px; color: #8fa49b; font-size: 14px; max-width: 30ch; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { display: block; color: #a9bab2; font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer .bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #7f958b; }

/* ---------- Product / detail pages ---------- */
.grad { background: linear-gradient(110deg, var(--brand), #3cc77e 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.phero::before { content: ""; position: absolute; top: -200px; right: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, var(--brand-wash), transparent 68%); z-index: 0; }
.phero .wrap { position: relative; z-index: 1; }
.phero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; max-width: 18ch; }
.phero .sub { margin-top: 18px; font-size: 18px; color: var(--ink-soft); max-width: 60ch; }
.phero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; }
.badges span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.badges span::before { content: "✓"; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--brand-wash); color: var(--brand-ink); font-size: 11px; font-weight: 800; }

.icards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.icard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7e4dd; }
.icard .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-wash); font-size: 22px; margin-bottom: 14px; }
.icard h3 { font-size: 17px; } .icard p { margin-top: 6px; color: var(--ink-soft); font-size: 14.5px; }

.plans4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7e4dd; }
.plan.hot { border-color: var(--brand); box-shadow: 0 14px 34px -14px rgba(18,160,92,.4); position: relative; }
.plan.hot::after { content: "Best value"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 4px 12px; border-radius: 999px; }
.plan .orders { font-family: "Space Grotesk"; font-weight: 700; font-size: 22px; } .plan .orders small { color: var(--muted); font-weight: 600; font-size: 14px; }
.plan .price { font-size: 26px; font-weight: 700; color: var(--ink); margin: 8px 0 2px; font-family: "Space Grotesk"; } .plan .price small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.plan .rate { color: var(--brand-ink); font-weight: 700; font-size: 14px; }
.plan ul { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 9px; text-align: left; }
.plan li { padding-left: 24px; position: relative; font-size: 14px; color: var(--ink-soft); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-ink); font-weight: 800; }
.pnote { margin-top: 22px; font-size: 13.5px; color: var(--muted); max-width: 80ch; } .pnote a { color: var(--brand-ink); font-weight: 600; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-grid > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-grid b { display: block; font-family: "Space Grotesk"; margin-bottom: 6px; font-size: 14.5px; }
.contact-grid a { color: var(--brand-ink); font-weight: 600; }
.lead-center { max-width: 640px; margin-left: auto; margin-right: auto; }

@media (max-width: 920px) {
  .icards, .plans4, .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .icards, .plans4, .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Demo video ---------- */
.video-window { max-width: 960px; margin: 0 auto; }
.video-holder { position: relative; background: #0d1512; }
.video-holder video { display: block; width: 100%; height: auto; }
.video-ph { aspect-ratio: 16/9; }
.unmute { position: absolute; bottom: 16px; right: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: none; border-radius: 999px; background: rgba(12,20,17,.78); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,.3); transition: background .15s, transform .15s; }
.unmute:hover { background: rgba(12,20,17,.92); transform: translateY(-1px); }

/* ---------- Reveal (safe: visible by default, enhanced if JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .feature, .price-wrap { grid-template-columns: 1fr; gap: 36px; }
  .feature.rev .f-text { order: 0; }
  .hero-visual { order: -1; }
  .dl-grid, .quotes, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .price-cards { grid-template-columns: 1fr 1fr; }
  .window.tilt { transform: none; }
  .nav-links { display: none; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .refer { grid-template-columns: 1fr; text-align: center; }
  .float-stat { left: 10px; }
}
@media (max-width: 520px) {
  .sec { padding: 60px 0; }
  .cta { padding: 36px 22px; }
  .price-cards { grid-template-columns: 1fr; }
}
