/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── Utilities ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; }
.gradient-text { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: 15px;
    transition: all 0.2s ease; cursor: pointer; border: none; gap: 8px;
}
.btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; box-shadow: 0 4px 14px rgba(102,126,234,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(102,126,234,0.45); }
.btn-outline { border: 2px solid #e2e8f0; color: #475569; background: transparent; }
.btn-outline:hover { border-color: #667eea; color: #667eea; }
.btn-ghost { color: #475569; background: transparent; }
.btn-ghost:hover { color: #667eea; }
.btn-white { background: #fff; color: #667eea; box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ─── Navigation ─── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0; transition: all 0.3s ease;
}
.nav.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: 0 1px 3px rgba(0,0,0,0.06); padding: 10px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.logo-icon { color: #667eea; font-size: 26px; display: inline-flex; align-items: center; }
/* The mark is 100x65; height drives the size so it sits on the wordmark's cap height. */
.logo-icon img { height: 20px; width: auto; display: block; border-radius: 4px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 500; color: #475569; transition: color 0.2s; }
.nav-links a:hover { color: #667eea; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: #1e293b; border-radius: 2px; transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─── */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.badge { display: inline-block; background: #f0edff; color: #667eea; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 50px; margin-bottom: 24px; }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; color: #0f172a; }
.hero-sub { font-size: 18px; color: #64748b; line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #64748b; font-weight: 500; }
.trust-icon { font-size: 18px; }

/* ─── Hero banner ─── */
/* banner1.webp is a tall 941x1672 shot with empty lavender above and below the devices;
   a square crop centred on them keeps the hero no taller than the headline beside it. */
.hero-banner {
    display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 53%;
    border-radius: 20px; box-shadow: 0 25px 60px rgba(102,126,234,0.15);
}

/* ─── Stats Bar ─── */
.stats-bar { padding: 48px 0; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { display: block; font-size: 36px; font-weight: 800; color: #667eea; }
.stat-label { font-size: 14px; color: #64748b; font-weight: 500; }

/* ─── Sections ─── */
.section { padding: 100px 0; }
.section-alt { background: #f8faff; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-badge { display: inline-block; background: #f0edff; color: #667eea; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.section-header h2 { font-size: 40px; font-weight: 800; margin-bottom: 16px; color: #0f172a; }
.section-header p { font-size: 17px; color: #64748b; }

/* ─── Feature Cards ─── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    padding: 32px; border-radius: 16px; background: #fff;
    border: 1px solid #f1f5f9; transition: all 0.3s ease;
}
.feature-card:hover { border-color: #e0d7ff; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(102,126,234,0.08); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #0f172a; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* ─── Detail Grid ─── */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.detail-card { padding: 24px; border-radius: 12px; background: #fff; border: 1px solid #f1f5f9; }
.detail-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.detail-card p { font-size: 13px; color: #64748b; }

/* ─── Steps ─── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { text-align: center; padding: 40px 32px; border-radius: 16px; background: #fff; border: 1px solid #f1f5f9; }
.step-num {
    width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff; font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: #64748b; }

/* ─── Two Column ─── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.col-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 16px; }
.col-text p { font-size: 16px; color: #64748b; margin-bottom: 24px; }
.check-list li { padding: 8px 0; font-size: 15px; color: #475569; }

/* ─── Performance Card ─── */
.perf-card { background: #fff; border-radius: 20px; padding: 40px; text-align: center; box-shadow: 0 20px 50px rgba(102,126,234,0.1); border: 1px solid #f1f5f9; }
.perf-meter { position: relative; width: 120px; height: 120px; margin: 0 auto 16px; }
.perf-ring { width: 100%; height: 100%; }
.perf-score { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 32px; font-weight: 800; color: #667eea; }
.perf-label { font-size: 14px; color: #64748b; font-weight: 600; display: block; margin-bottom: 20px; }
.perf-items { text-align: left; }
.perf-item { padding: 6px 0; font-size: 13px; color: #475569; display: flex; align-items: center; gap: 8px; }
.perf-dot { width: 8px; height: 8px; border-radius: 50%; }
.perf-dot.green { background: #28c840; }

/* ─── Pricing ─── */
/* auto-fit fills the row with however many plans are listed (4 or 5 cards) with no empty column. */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: start; }
/* Five cards in 1152px leave ~215px each, so the card and price shrink to fit. */
.pricing-grid .price-card, .ep-grid .price-card { padding: 28px 20px; }
.pricing-grid .price-amount, .ep-grid .price-amount { font-size: 32px; }
.pricing-grid .price-amount-custom { font-size: 28px; }
.pricing-grid .btn, .ep-grid .btn { padding-left: 12px; padding-right: 12px; white-space: nowrap; }
.pricing-grid .popular-badge, .ep-grid .popular-badge { white-space: nowrap; }
.price-card-custom { border-style: dashed; border-color: #c7cffa; background: #fbfcff; }
.price-amount-custom { font-size: 32px; color: #4a54b5; }
.price-card { padding: 36px; border-radius: 20px; background: #fff; border: 1px solid #f1f5f9; position: relative; }
.price-card.popular { border-color: #667eea; box-shadow: 0 20px 50px rgba(102,126,234,0.12); transform: scale(1.04); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 50px; }
.price-tier { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #667eea; margin-bottom: 8px; letter-spacing: 0.5px; }
/* Android app section */
.app-section { background: linear-gradient(160deg, #f6f7ff 0%, #fdfdff 60%); }
.app-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.app-copy h2 { margin: 10px 0 16px; }
.app-lead { font-size: 17px; color: #475569; margin-bottom: 26px; max-width: 48ch; }
.app-lead strong { color: #0f172a; }
.app-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 15px; }
.app-points li { padding-left: 32px; position: relative; font-size: 15px; color: #475569; line-height: 1.55; }
.app-points li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: #eef1fd; color: #4a54b5; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.app-points strong { color: #0f172a; font-weight: 650; }
.app-points-lg li { font-size: 15.5px; padding-left: 34px; }
.app-points-lg li::before { width: 23px; height: 23px; font-size: 13px; }
.app-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.app-fine { font-size: 13px; color: #94a3b8; max-width: 34ch; line-height: 1.45; }

/* Store-app phone */
.app-visual { display: flex; justify-content: center; position: relative; }
.phone { position: relative; width: 288px; height: 590px; background: #0f172a; border-radius: 42px; padding: 10px; box-shadow: 0 40px 80px -24px rgba(15,23,42,.5); }
.phone-notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 20px; background: #0f172a; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { width: 100%; height: 100%; background: #f8fafc; border-radius: 28px; overflow: hidden; padding: 30px 14px 14px; display: flex; flex-direction: column; gap: 9px; }
.ph-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 4px; }
.ph-title { font-size: 17px; font-weight: 800; color: #0f172a; }
.ph-dot { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#667eea,#764ba2); }
.ph-alert { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #e8ecf2; border-left: 3px solid #667eea; border-radius: 10px; padding: 10px; box-shadow: 0 4px 14px -6px rgba(15,23,42,.2); }
.ph-alert-icon { font-size: 17px; }
.ph-alert strong { display: block; font-size: 13px; color: #0f172a; }
.ph-alert span { font-size: 11px; color: #94a3b8; }
.ph-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #eef2f7; border-radius: 9px; padding: 9px 10px; }
.ph-badge { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 7px; border-radius: 50px; }
.ph-new { background: #eef1fd; color: #4a54b5; }
.ph-pack { background: #fef3c7; color: #92400e; }
.ph-ship { background: #e0f2fe; color: #075985; }
.ph-done { background: #dcfce7; color: #15803d; }
.ph-txt { font-size: 11.5px; color: #475569; font-weight: 600; }
.ph-stats { margin-top: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 11px 6px; text-align: center; }
.ph-stats div { display: flex; flex-direction: column; gap: 1px; }
.ph-num { font-size: 14px; font-weight: 800; color: #0f172a; }
.ph-lbl { font-size: 9px; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }

/* The merchant's own customer-facing store app.
   Real storefront screenshots on an auto-scroll: each page fades in, scrolls its full
   length, fades out, and the next takes over. */
.store-screen { background: #fff; padding: 0; gap: 0; display: flex; flex-direction: column; }
/* Fixed height, not padding-derived: --sim-h below is 570 - 28, and padding maths that
   drifts by a few px would leave the scroll stopping short of each page's bottom.
   z-index 1 keeps it under the notch (z-index 2), not over it. */
.st-status { height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 10px; font-weight: 700; color: #0f172a; letter-spacing: .02em; flex: none; background: #fff; position: relative; z-index: 1; }

/* --sim-h is the visible window the pages scroll inside. Every scroll keyframe is
   expressed against it, so this is the only number to change if the phone resizes. */
.store-sim { --sim-h: 542px; position: relative; flex: 1; overflow: hidden; background: #fff; }
.sim-page { position: absolute; inset: 0; overflow: hidden; opacity: 0; animation: simFade 60s infinite; }
.sim-page img { width: 100%; height: auto; display: block; animation: simScroll 60s infinite; }
/* One 60s cycle, three 20s slots. Each page is offset by one slot.
   The scroll phase is 4%->29%, i.e. 15s, and every page must cover its distance in that
   window — so a page's SPEED is its scroll distance divided by 15s. */
.sim-p2, .sim-p2 img { animation-delay: 20s; }
.sim-p3, .sim-p3 img { animation-delay: 40s; }

@keyframes simFade {
    0%              { opacity: 0; }
    2%, 31%         { opacity: 1; }
    33.333%, 100%   { opacity: 0; }
}
/* Default: scroll the whole page. translateY(-100%) is the image's OWN height, so adding
   the window height lands its bottom edge exactly at the bottom of the frame — right for
   any screenshot length. The category and cart shots travel ~650px, about 43px/s. */
@keyframes simScroll {
    0%, 4%          { transform: translateY(0); }
    29%, 33%        { transform: translateY(calc(-100% + var(--sim-h))); }
    34%, 100%       { transform: translateY(0); }
}
/* The home page is ~4470px tall here, six times the others. Scrolling all of it in the
   same 15s meant ~290px/s — a blur next to the other two. So it scrolls a fixed 760px
   instead (~51px/s, matching them) and simply does not reach its footer, which is fine
   for a preview. Recompute this if store2.webp is replaced. */
@keyframes simScrollCapped {
    0%, 4%          { transform: translateY(0); }
    29%, 33%        { transform: translateY(-760px); }
    34%, 100%       { transform: translateY(0); }
}
.sim-p1 img { animation-name: simScrollCapped; }
/* Let people stop it and look. */
.phone:hover .sim-page,
.phone:hover .sim-page img { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
    .sim-page, .sim-page img { animation: none; }
    .sim-page { opacity: 0; }
    .sim-p1 { opacity: 1; }
}

/* Home-screen icon — the whole pitch in one object */
.app-icon-float { position: absolute; right: -8px; bottom: 26px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 40px -12px rgba(15,23,42,.3); display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid #eef2f7; }
.app-icon { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg,#f59e0b,#d97706); color: #fff; font-size: 17px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(217,119,6,.6); }
.app-icon-float span { font-size: 10px; font-weight: 700; color: #475569; }

/* Admin app — deliberately quieter than the store app above it.
   The band is tinted, not white: the order cards inside the phone are white with a
   near-white border, and on a white band they vanished entirely. */
.admin-app-section { padding-top: 0; }
.admin-app-band { display: grid; grid-template-columns: 1.35fr auto; gap: 44px; align-items: center; background: linear-gradient(135deg,#f1f3fc 0%,#f7f8fd 100%); border: 1px solid #e3e7f7; border-radius: 22px; padding: 40px 44px; }
.aa-icon { width: 54px; height: 54px; border-radius: 15px; background: linear-gradient(135deg,#667eea,#764ba2); color: #fff; font-size: 22px; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 8px 18px -6px rgba(102,126,234,.55); }
.aa-tier { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #4a54b5; background: #fff; padding: 4px 10px; border-radius: 50px; margin-bottom: 10px; }
.aa-copy h3 { font-size: 23px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.aa-copy > p { font-size: 15px; color: #64748b; margin: 0 0 16px; max-width: 46ch; }
.aa-points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.aa-points li { font-size: 13.5px; color: #64748b; }
.aa-points strong { color: #334155; font-weight: 650; }
.aa-visual { display: flex; justify-content: center; }

/* Compact phone for the admin band */
.phone-sm { width: 218px; height: 442px; border-radius: 32px; padding: 8px; }
.phone-sm .phone-notch { width: 70px; height: 15px; top: 9px; border-radius: 0 0 11px 11px; }
.phone-sm .phone-screen { border-radius: 25px; padding: 24px 10px 10px; gap: 7px; }
.phone-sm .ph-title { font-size: 15px; }
.phone-sm .ph-dot { width: 22px; height: 22px; }
.phone-sm .ph-alert { padding: 8px; border-radius: 9px; }
.phone-sm .ph-alert strong { font-size: 11.5px; }
.phone-sm .ph-alert span { font-size: 10px; }
.phone-sm .ph-row { padding: 7px 8px; border-radius: 8px; }
.phone-sm .ph-txt { font-size: 10.5px; }
.phone-sm .ph-stats { padding: 9px 5px; }
.phone-sm .ph-num { font-size: 13px; }

@media (max-width: 900px) {
    .app-grid { grid-template-columns: 1fr; gap: 56px; }
    .app-visual { order: -1; }
    .admin-app-band { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
}
@media (max-width: 420px) {
    .phone { transform: scale(.92); transform-origin: top center; }
    .app-icon-float { right: 0; bottom: 10px; padding: 9px 11px; }
    .app-icon { width: 42px; height: 42px; }
}

/* The cloud plans section shows only a heading and a See Plans button now, so the header sits closer to it. */
#pricing .section-header { margin-bottom: 32px; }
.pricing-cta { text-align: center; }
.pricing-compare { text-align: center; margin-top: 36px; }
.pricing-compare a { color: #667eea; font-size: 15px; font-weight: 600; text-decoration: none; }
.pricing-compare a:hover { text-decoration: underline; }
.price-was { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.price-was s { font-size: 16px; color: #94a3b8; }
.price-off { font-size: 12px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 2px 8px; border-radius: 50px; }
.price-amount { font-size: 48px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.currency { font-size: 24px; vertical-align: top; }
.period { font-size: 16px; font-weight: 400; color: #94a3b8; }
.price-desc { font-size: 14px; color: #64748b; margin-bottom: 24px; }
.price-features { margin-bottom: 28px; }
.price-features li { padding: 8px 0; font-size: 14px; color: #475569; border-bottom: 1px solid #f8fafc; }
.price-features li::before { content: '✓ '; color: #667eea; font-weight: 700; }

/* ─── Ecommerce Plans (sold over WhatsApp): pricing cards + one shared table ─── */
.ecom-plans { background: linear-gradient(180deg, #f8faff 0%, #fff 100%); }
/* Two cards at the pricing section's card width, centred, instead of stretched across the row. */
/* Both cards are the same height: they stretch to the taller one, the feature list takes
   up the slack, and the Buy buttons line up at the bottom. The 4% lift on the popular card
   is dropped here too, so "Best Value" shows through colour alone and not a bigger box. */
.ep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); justify-content: center; gap: 16px; align-items: stretch; }
.ep-grid .price-card { display: flex; flex-direction: column; }
.ep-grid .price-card.popular { transform: none; }
.ep-grid .price-features { flex: 1; }
.ep-grid .price-card > .btn { margin-top: auto; }
/* A button, but dressed as the pricing section's "Compare all features" link it sits in place of. */
/* One card on its own (the Ministore), same width as the others, centred. */
.ep-grid.ep-grid-one { grid-template-columns: minmax(0, 300px); }
/* "/yearly (from 2nd year)" is far longer than a plain "/year", so it rides smaller
   next to the price and does not crowd it. */
.ecom-plans .period, .ministore-plan .period { font-size: 12px; font-weight: 500; }
.ep-first { margin: 2px 0 12px; font-size: 14px; color: #64748b; }
.ep-first strong { color: #0f172a; font-weight: 700; }
/* Setup-fee explainer under the cards. 576px = the two cards plus the gap between them
   (2 x 280 + 16), so it lines up with them exactly. */
.ep-setup { max-width: 576px; margin: 26px auto 0; padding: 20px 22px; background: #fff; border: 1px solid #eef2f7; border-radius: 18px; box-shadow: 0 12px 40px rgba(102,126,234,0.08); }
/* The Ministore section has a single 300px card, so its note sits narrower than the Ecom one. */
.ep-setup-one { max-width: 460px; }
.ep-setup h3 { font-size: 15px; margin-bottom: 12px; }
.ep-setup ul { list-style: none; }
.ep-setup li { position: relative; padding: 5px 0 5px 20px; font-size: 14px; line-height: 1.65; color: #64748b; }
.ep-setup li::before { content: '✓'; position: absolute; left: 0; color: #667eea; font-weight: 700; }
.ep-toggle { padding: 0; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 600; color: #667eea; cursor: pointer; }
.ep-toggle:hover { text-decoration: underline; }
.ep-toggle::after { content: ' ▾'; }
.ep-toggle[aria-expanded="true"]::after { content: ' ▴'; }
.ep-hide, .ep-toggle[aria-expanded="true"] .ep-show { display: none; }
.ep-toggle[aria-expanded="true"] .ep-hide { display: inline; }
.ep-compare { max-width: 720px; margin: 24px auto 0; }
.ep-cmp-box { background: #fff; border: 1px solid #eef2f7; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 40px rgba(102,126,234,0.08); }
.ep-cmp { width: 100%; border-collapse: collapse; }
.ep-cmp thead th { padding: 16px; font-size: 16px; font-weight: 800; color: #0f172a; text-align: center; border-bottom: 2px solid #eef2f7; }
.ep-cmp thead .ep-hl { color: #667eea; }
.ep-cmp .ep-grp th { padding: 10px 16px; background: #f5f3ff; color: #667eea; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.ep-cmp tbody th[scope="row"], .ep-cmp tbody td { padding: 11px 16px; font-size: 14px; border-bottom: 1px solid #f1f5f9; }
.ep-cmp tbody th[scope="row"] { width: 44%; text-align: left; font-weight: 600; color: #0f172a; }
.ep-cmp tbody td { width: 28%; text-align: center; color: #475569; }
/* The rows where Ecom and Ecom+ differ, tinted so the difference is found at a glance. */
.ep-cmp .ep-diff > * { background: #fffbeb; }
.ep-yes { color: #667eea; font-weight: 700; }
.ep-no { color: #cbd5e1; }
.ep-val { color: #0f172a; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; overflow: hidden; }
.faq-item summary { padding: 20px 24px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: #667eea; font-weight: 300; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; font-size: 14px; color: #64748b; line-height: 1.7; }

/* ─── CTA ─── */
.cta-section { padding: 80px 0; }
.cta-box {
    background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 24px;
    padding: 80px 40px; text-align: center; color: #fff;
}
.cta-box h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.cta-box p { font-size: 17px; opacity: 0.9; margin-bottom: 32px; }
.cta-actions { margin-bottom: 16px; }
.cta-note { font-size: 13px; opacity: 0.7; }

/* ─── Footer ─── */
.footer { padding: 80px 0 40px; background: #f8faff; border-top: 1px solid #f1f5f9; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: #64748b; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: #0f172a; }
.footer-col a { display: block; font-size: 14px; color: #64748b; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: #667eea; }
.footer-bottom { padding-top: 32px; border-top: 1px solid #e2e8f0; text-align: center; font-size: 13px; color: #94a3b8; }

/* ─── Responsive ─── */
@media (max-width: 1240px) {
    /* Five cards abreast get too narrow here, so 3 + 2. */
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { max-width: 560px; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; gap: 48px; }
    .steps-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    /* Five cards go 5 -> 3 -> 2 -> 1; three abreast never fits below this. */
    .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
    .price-card.popular { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; padding: 20px 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); gap: 16px;
    }
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 36px; }
    .features-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .ep-grid { grid-template-columns: minmax(0, 400px); }
    .ep-setup { max-width: 400px; }
    .ep-cmp tbody th[scope="row"], .ep-cmp tbody td { padding: 10px 10px; font-size: 13px; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 48px 24px; }
    .cta-box h2 { font-size: 26px; }
}
