/* ==========================================================================
   Home + E-Commerce landing components. Loaded only on those two pages (after site.css).
   1. Section themes  2. Mesh hero  3. Hero stage (mock-ups / screenshots)
   4. Proof: logos, stats, clients, quotes  5. Cards and grids  6. Tabs, details
   7. Comparison  8. Pricing  9. Demo form  10. Motion
   ========================================================================== */

/* 1. Section themes --------------------------------------------------------- */
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--deep { background: var(--navy-950); color: var(--on-dark); overflow: hidden; }
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--deep .lead, .section--deep p { color: var(--on-dark-muted); }
.section--deep .eyebrow { color: #67E8F9; }
.section--dark .card, .section--deep .card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
	border-color: var(--border-dark);
}
.section--dark .link-arrow, .section--deep .link-arrow { color: #93C5FD; }
.section--dark .link-arrow:hover, .section--deep .link-arrow:hover { color: #fff; }
.section--dark .btn--secondary, .section--deep .btn--secondary {
	--btn-bg: rgba(255, 255, 255, 0.04); --btn-fg: #fff; --btn-border: var(--border-dark-strong); box-shadow: none;
}
.section--dark .btn--secondary:hover, .section--deep .btn--secondary:hover { --btn-bg: rgba(255, 255, 255, 0.09); --btn-border: rgba(255, 255, 255, 0.34); --btn-fg: #fff; }
.section--soft .eyebrow, .section .eyebrow { letter-spacing: 0.1em; }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--soft .gradient-text, .section:not(.section--dark):not(.section--deep) .gradient-text--light {
	background: linear-gradient(100deg, var(--accent-strong), var(--teal-strong)); -webkit-background-clip: text; background-clip: text;
}
.section-header--center { text-align: center; }
.kicker-line { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 24px; font-size: 0.92rem; color: var(--on-dark-muted); text-align: center; }
.section--soft .kicker-line, .section--light .kicker-line { color: var(--text-muted); }
.kicker-line::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); flex-shrink: 0; }

/* 2. Mesh hero -------------------------------------------------------------- */
.mesh-hero {
	position: relative;
	padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
	background: var(--navy-950);
	color: var(--on-dark);
	overflow: hidden;
	isolation: isolate;
}
.mesh-hero::before {
	content: "";
	position: absolute;
	inset: -30% -20%;
	z-index: -2;
	background:
		radial-gradient(38% 42% at 72% 28%, rgba(59, 130, 246, 0.42), transparent 70%),
		radial-gradient(30% 36% at 88% 70%, rgba(34, 211, 238, 0.26), transparent 70%),
		radial-gradient(26% 30% at 20% 82%, rgba(139, 92, 246, 0.18), transparent 70%),
		radial-gradient(40% 50% at 12% 18%, rgba(37, 99, 235, 0.16), transparent 70%);
	animation: mesh-drift 26s ease-in-out infinite alternate;
	will-change: transform;
}
.mesh-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.2px);
	background-size: 26px 26px;
	mask-image: radial-gradient(70% 70% at 60% 30%, #000 10%, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000 10%, transparent 75%);
}
@keyframes mesh-drift {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(-4%, 3%, 0) scale(1.06); }
	100% { transform: translate3d(3%, -2%, 0) scale(1.02); }
}
.mesh-hero h1 { color: #fff; }
.mesh-hero .lead { color: var(--on-dark-muted); margin: 22px 0 32px; font-size: clamp(1.06rem, 1.4vw, 1.2rem); }
.mesh-hero .eyebrow { color: #67E8F9; }
.mesh-hero .btn--secondary { --btn-bg: rgba(255, 255, 255, 0.05); --btn-fg: #fff; --btn-border: var(--border-dark-strong); box-shadow: none; }
.mesh-hero .btn--secondary:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-border: rgba(255, 255, 255, 0.36); --btn-fg: #fff; }
.mesh-hero .breadcrumbs ol, .mesh-hero .breadcrumbs a { color: var(--on-dark-muted); }
.mesh-hero .breadcrumbs [aria-current] { color: #fff; }
.mesh-hero__grid { display: grid; gap: 56px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1040px) { .mesh-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; } }
.mesh-hero .display { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.mesh-hero .h1 { font-size: clamp(2.05rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -0.028em; font-weight: 700; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; list-style: none; }
.trust-chips li {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 6px 12px 6px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-dark);
	font-size: 0.86rem; font-weight: 550; color: var(--on-dark);
}
.trust-chips .icon { width: 15px; height: 15px; color: var(--green); stroke-width: 2.4; }
.trust-chips--light li { background: #fff; border-color: var(--border); color: var(--text); }
.trust-chips--light .icon { color: var(--success); }

/* 3. Hero stage: dashboard + storefront + phone ------------------------------ */
.hero-stage { position: relative; padding: 8px 0 56px; }
.hero-stage__layer { transition: transform 600ms var(--ease); transform: translate3d(calc(var(--px, 0) * var(--depth, 0px)), calc(var(--py, 0) * var(--depth, 0px)), 0); }
.hero-stage__dash { --depth: -8px; width: 100%; max-width: 600px; margin-left: auto; }
.hero-stage__store { --depth: 14px; position: absolute; left: -8px; bottom: 0; width: 52%; max-width: 320px; }
.hero-stage__phone { --depth: 22px; position: absolute; right: -6px; bottom: -18px; width: 132px; }
.hero-stage .ui { box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.hero-stage .preview-caption { color: #7D8DA6; margin-top: 28px; }
.shot { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08); background: var(--surface-dark); }
@media (max-width: 1240px) { .hero-stage__store { left: 0; } .hero-stage__phone { right: 0; } }
@media (max-width: 640px) {
	.hero-stage { padding-bottom: 0; }
	.hero-stage__store, .hero-stage__phone { display: none; }
}

/* Phone mock-up */
.phone {
	padding: 7px;
	border-radius: 26px;
	background: linear-gradient(160deg, #22344F, #0B1728);
	box-shadow: 0 26px 60px -20px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.phone__screen { position: relative; overflow: hidden; border-radius: 20px; background: #fff; aspect-ratio: 9 / 19; color: #1F2A3A; font-size: 8px; }
.phone__notch { position: absolute; top: 5px; left: 50%; width: 34%; height: 9px; border-radius: 6px; background: #0B1728; transform: translateX(-50%); z-index: 1; }
.phone__bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 9px 6px; font-weight: 700; font-size: 8.5px; letter-spacing: -0.01em; }
.phone__bar .icon { width: 11px; height: 11px; }
.phone__banner { margin: 0 7px 7px; padding: 10px 8px; border-radius: 8px; background: linear-gradient(130deg, #1D4ED8, #0891B2); color: #fff; font-weight: 650; line-height: 1.25; }
.phone__banner small { display: block; margin-top: 5px; font-size: 7px; font-weight: 500; opacity: 0.85; }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 7px; }
.phone__grid div { display: grid; gap: 3px; }
.phone__grid i { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(145deg, #E8EEF8, #D9E3F2); }
.phone__grid div:nth-child(2) i { background: linear-gradient(145deg, #E3F7FB, #CDEFF6); }
.phone__grid div:nth-child(3) i { background: linear-gradient(145deg, #F1ECFB, #E2D9F7); }
.phone__grid b { font-size: 7.5px; font-weight: 650; }
.phone__cta { position: absolute; left: 7px; right: 7px; bottom: 9px; padding: 6px; border-radius: 7px; background: #0B1728; color: #fff; text-align: center; font-weight: 650; font-size: 7.5px; }

/* Order toast floating over the stage */
.stage-toast {
	--depth: 18px;
	position: absolute; top: -16px; left: 34%;
	display: flex; align-items: center; gap: 9px;
	padding: 9px 13px 9px 9px;
	border-radius: 12px;
	background: rgba(15, 32, 56, 0.82);
	border: 1px solid var(--border-dark-strong);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff; font-size: 0.78rem; line-height: 1.3;
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
}
.stage-toast span { display: block; color: var(--on-dark-muted); font-size: 0.72rem; }
.stage-toast__icon { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 9px; background: rgba(52, 211, 153, 0.16); color: var(--green); }
.stage-toast__icon .icon { width: 16px; height: 16px; }
@media (max-width: 860px) { .stage-toast { display: none; } }

/* 4. Proof ------------------------------------------------------------------ */
.logo-band { padding: clamp(36px, 5vw, 56px) 0; border-block: 1px solid var(--border-dark); background: var(--navy-900); }
.logo-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track { display: flex; gap: 16px; width: max-content; list-style: none; animation: marquee 38s linear infinite; }
.logo-marquee:hover .logo-marquee__track, .logo-marquee:focus-within .logo-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.logo-chip {
	display: flex; align-items: center; justify-content: center;
	height: 76px; min-width: 180px; padding: 14px 26px;
	border-radius: 16px;
	background: #F4F7FB;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 8px 24px -14px rgba(0, 0, 0, 0.6);
	transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.logo-chip:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.6), 0 12px 30px -12px rgba(34, 211, 238, 0.45); }
.logo-chip img { height: 34px; width: auto; max-width: 170px; object-fit: contain; }
.logo-chip--square img { height: 50px; }
.logo-grid-static { display: none; }
@media (prefers-reduced-motion: reduce) {
	.logo-marquee { -webkit-mask-image: none; mask-image: none; }
	.logo-marquee__track { flex-wrap: wrap; justify-content: center; width: auto; animation: none; }
	.logo-marquee__track [aria-hidden="true"] { display: none; }
}

.client-wall { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); list-style: none; }
.client-wall a { position: relative; height: 96px; min-width: 0; padding: 18px 22px; }
.client-wall img { height: 34px; max-width: 100%; }
.client-wall .logo-chip--square img { height: 54px; }
.client-wall__tag {
	position: absolute; top: 8px; right: 8px;
	padding: 1px 7px; border-radius: 6px;
	background: var(--navy-900); color: #fff;
	font-size: 0.68rem; font-weight: 650; letter-spacing: 0.04em;
}
.live-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 32px; }
.live-row__label { font-weight: 600; color: var(--on-dark); }
.live-row a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-dark-strong); color: #BFDBFE; font-size: 0.9rem; font-weight: 550; }
.live-row a:hover { color: #fff; border-color: rgba(34, 211, 238, 0.6); }
.live-row .icon { width: 15px; height: 15px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 1px; border-radius: var(--radius-lg); overflow: hidden; background: var(--border-dark); border: 1px solid var(--border-dark); list-style: none; }
.stats li { padding: 28px 24px; background: var(--navy-900); text-align: center; }
.stats strong {
	display: block;
	font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
	background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
	font-variant-numeric: tabular-nums;
}
.stats span { display: block; margin-top: 6px; color: var(--on-dark-muted); font-size: 0.92rem; }

.quote-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote-card { display: flex; flex-direction: column; gap: 16px; }
.quote-card__result { font-family: var(--font-display); font-weight: 650; font-size: 1.1rem; color: #fff; }
.quote-card blockquote { margin: 0; color: var(--on-dark); font-size: 1rem; line-height: 1.65; }
.quote-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; color: var(--on-dark-muted); font-size: 0.88rem; }
.quote-card figcaption img { height: 28px; width: auto; padding: 4px 8px; border-radius: 8px; background: #F4F7FB; }
.quote-card figcaption strong { color: #fff; display: block; }

/* 5. Cards and grids -------------------------------------------------------- */
.glow-card { transition: transform 260ms var(--ease), border-color 260ms var(--ease), box-shadow 260ms var(--ease); }
.glow-card:hover { transform: translateY(-3px); border-color: rgba(59, 130, 246, 0.45); box-shadow: 0 20px 50px -24px rgba(34, 211, 238, 0.45); }
.section--soft .glow-card:hover, .section--light .glow-card:hover { border-color: #BFD4FA; box-shadow: var(--shadow-lg); }
.icon-tile {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; flex-shrink: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 211, 238, 0.14));
	box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.22);
	color: #93C5FD;
}
.icon-tile .icon { width: 22px; height: 22px; }
.section--soft .icon-tile, .section--light .icon-tile { background: linear-gradient(135deg, var(--accent-soft), var(--teal-soft)); box-shadow: inset 0 0 0 1px #D5E3FA; color: var(--accent-strong); }

.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature-grid--6 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.feature-card { display: flex; flex-direction: column; gap: 12px; }
.feature-card h3 { font-family: var(--font-sans); font-size: 1.06rem; font-weight: 650; letter-spacing: -0.01em; }
.feature-card p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.section--soft .feature-card p { color: var(--text-muted); }
.feature-card--row { flex-direction: row; align-items: flex-start; gap: 16px; }

/* Flagship product card (home) */
.product-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .product-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.flagship {
	position: relative;
	display: grid; gap: 28px;
	padding: clamp(26px, 3.5vw, 44px);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(80% 90% at 100% 0%, rgba(59, 130, 246, 0.24), transparent 60%),
		radial-gradient(60% 70% at 0% 100%, rgba(34, 211, 238, 0.12), transparent 60%),
		var(--surface-dark);
	border: 1px solid rgba(147, 197, 253, 0.22);
	overflow: hidden;
}
@media (min-width: 1240px) { .flagship { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); align-items: center; } }
.flagship h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; font-family: var(--font-display); letter-spacing: -0.02em; }
.flagship p { color: var(--on-dark-muted); margin: 12px 0 18px; }
.flagship .check-list { margin-bottom: 26px; }
.flagship__visual .ui { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8); }
@media (max-width: 1239px) { .flagship__visual { display: none; } }
.side-cards { display: grid; gap: 18px; }
.side-card { display: flex; gap: 16px; align-items: flex-start; color: var(--on-dark); }
.side-card:hover { color: var(--on-dark); }
.side-card h3 { font-family: var(--font-sans); font-size: 1.04rem; font-weight: 650; color: #fff; }
.side-card p { margin: 4px 0 8px; font-size: 0.92rem; }
.side-card .link-arrow { font-size: 0.9rem; }

.platform-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 22px 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.platform-strip p { margin: 0; color: var(--text-muted); }
.platform-strip strong { color: var(--text); font-family: var(--font-display); font-size: 1.05rem; display: block; margin-bottom: 2px; }
.platform-strip .btn-row { gap: 18px; }

/* Process steps on light sections */
.steps-row { display: grid; gap: 16px; list-style: none; counter-reset: step; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps-row li { position: relative; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); counter-increment: step; }
.steps-row li::before {
	content: counter(step);
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; margin-bottom: 16px;
	border-radius: 11px;
	background: var(--grad-primary); color: #04101F;
	font-family: var(--font-display); font-weight: 700;
}
.steps-row h3 { font-family: var(--font-sans); font-size: 1.04rem; font-weight: 650; margin-bottom: 6px; }
.steps-row p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }
.section--dark .steps-row li, .section--deep .steps-row li { background: rgba(255, 255, 255, 0.03); border-color: var(--border-dark); }
.section--dark .steps-row p, .section--deep .steps-row p { color: var(--on-dark-muted); }
.section--dark .steps-row h3, .section--deep .steps-row h3 { color: #fff; }

/* Final CTA band */
.cta-glow {
	position: relative;
	padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
	border-radius: var(--radius-xl);
	text-align: center;
	background:
		radial-gradient(60% 120% at 50% 0%, rgba(59, 130, 246, 0.35), transparent 65%),
		radial-gradient(50% 90% at 100% 100%, rgba(34, 211, 238, 0.18), transparent 60%),
		var(--surface-dark);
	border: 1px solid rgba(147, 197, 253, 0.22);
	overflow: hidden;
	isolation: isolate;
}
.cta-glow::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px);
	background-size: 24px 24px;
	mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 70%);
	-webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 70%);
}
.cta-glow h2 { color: #fff; }
.cta-glow p { color: var(--on-dark-muted); margin: 14px auto 28px; max-width: 54ch; font-size: 1.1rem; }
.cta-glow .btn-row { justify-content: center; }

/* 6. Tabs and details ------------------------------------------------------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin: 0 auto 28px; width: fit-content; max-width: 100%; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-dark); }
.tabs__tab {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border: 0; border-radius: 10px;
	background: none; color: var(--on-dark-muted);
	font-weight: 600; font-size: 0.93rem; cursor: pointer;
	transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.tabs__tab .icon { width: 17px; height: 17px; }
.tabs__tab:hover { color: #fff; }
.tabs__tab[aria-selected="true"] { background: var(--grad-primary); color: #04101F; }
.tabs__panel { display: grid; gap: 32px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .tabs__panel { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; } }
.tabs__panel[hidden] { display: none; }
.js .tabs__panel.is-entering { animation: tab-in 380ms var(--ease); }
@keyframes tab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabs__panel h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: #fff; margin-bottom: 18px; font-family: var(--font-display); }
.tabs__panel .check-list li { color: var(--on-dark); }
/* Without JavaScript every panel is shown, one after another, with its own heading. */
html:not(.js) .tabs__list { display: none; }
html:not(.js) .tabs__panel { margin-bottom: 48px; }

.pay-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.pay-strip li {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px; border-radius: 12px;
	background: #fff; border: 1px solid var(--border);
	font-weight: 650; font-size: 0.98rem; color: var(--text);
	box-shadow: var(--shadow-sm);
}
.pay-strip .icon { width: 18px; height: 18px; color: var(--accent-strong); }
.pay-note { margin: 22px auto 0; max-width: 70ch; text-align: center; font-size: 0.86rem; color: var(--text-muted); }

.inside { display: grid; gap: 10px; }
.inside details { border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.inside summary {
	display: flex; align-items: center; gap: 14px;
	padding: 18px 20px;
	font-weight: 650; font-size: 1.02rem; cursor: pointer; list-style: none;
}
.inside summary::-webkit-details-marker { display: none; }
.inside summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--text-subtle); border-bottom: 2px solid var(--text-subtle); transform: rotate(45deg); transition: transform var(--speed) var(--ease); }
.inside details[open] summary::after { transform: rotate(-135deg); }
.inside summary:hover { color: var(--accent-strong); }
.inside summary .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
.inside summary .icon-tile .icon { width: 18px; height: 18px; }
.inside__body { padding: 0 20px 22px 70px; }
@media (max-width: 640px) { .inside__body { padding-left: 20px; } }
.inside__body .check-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 8px 24px; font-size: 0.94rem; }
.inside__body h4 { margin: 14px 0 10px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); }
.inside__body h4:first-child { margin-top: 0; }

.tech-details { border-radius: var(--radius); border: 1px solid var(--border-dark); background: rgba(255, 255, 255, 0.02); }
.tech-details summary { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; color: var(--on-dark); font-weight: 600; list-style: none; }
.tech-details summary::-webkit-details-marker { display: none; }
.tech-details summary .icon { color: #93C5FD; }
.tech-details summary::after { content: "Show"; margin-left: auto; font-size: 0.84rem; color: var(--on-dark-muted); font-weight: 500; }
.tech-details[open] summary::after { content: "Hide"; }
.tech-details .check-list { padding: 0 20px 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 24px; font-size: 0.92rem; }

/* 7. Comparison table -------------------------------------------------------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-dark); background: rgba(255, 255, 255, 0.02); }
.compare-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 0.97rem; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-dark); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.compare-table tbody th { color: #fff; font-weight: 600; }
.compare-table td { color: var(--on-dark-muted); }
.compare-table .is-us { background: linear-gradient(180deg, rgba(59, 130, 246, 0.16), rgba(34, 211, 238, 0.08)); color: #fff; font-weight: 650; }
.compare-table thead .is-us { color: #67E8F9; }
.compare-table td.is-us .icon { width: 16px; height: 16px; color: var(--green); display: inline-block; vertical-align: -3px; margin-right: 6px; stroke-width: 2.4; }
.compare-note { margin: 14px 0 0; font-size: 0.85rem; color: var(--on-dark-muted); text-align: center; }

/* 8. Pricing ----------------------------------------------------------------- */
.plans { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan {
	position: relative;
	display: flex; flex-direction: column; gap: 18px;
	padding: 30px 26px;
	border-radius: var(--radius-xl);
	background: #fff;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-sm);
}
.plan--featured {
	border: 2px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, var(--grad-primary) border-box;
	box-shadow: 0 30px 60px -28px rgba(37, 99, 235, 0.45);
}
@media (min-width: 900px) { .plan--featured { transform: translateY(-10px); } }
.plan__badge {
	position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
	padding: 4px 12px; border-radius: 999px;
	background: var(--navy-900); color: #fff;
	font-size: 0.76rem; font-weight: 650; letter-spacing: 0.04em; white-space: nowrap;
}
.plan__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.plan__audience { margin: 2px 0 0; color: var(--text-muted); font-size: 0.93rem; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan__amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.plan__per { color: var(--text-muted); font-weight: 550; }
.plan__was { color: var(--text-subtle); font-size: 1.05rem; }
.plan__was s { text-decoration-thickness: 1.5px; }
.plan__then { margin: -8px 0 0; font-size: 0.88rem; color: var(--text-muted); }
.plan__then strong { color: var(--accent-strong); font-weight: 650; }
.plan__pkr { margin: -10px 0 0; font-size: 0.85rem; color: var(--text-muted); }
.plan__annual { margin: -10px 0 0; font-size: 0.85rem; color: var(--teal-strong); font-weight: 600; }
.plan__limit { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-weight: 650; }
.plan__limit .icon { color: var(--accent-strong); }
.plan .btn { width: 100%; }
.plan__features-title { margin: 0 0 -6px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); font-weight: 600; }
.plan .check-list { font-size: 0.92rem; gap: 9px; }
.included-box { margin-top: 28px; padding: 22px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px dashed #BFD4FA; }
.included-box h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 650; margin-bottom: 14px; }
.included-box ul { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; }
.included-box li { display: inline-flex; align-items: center; gap: 6px; font-weight: 550; font-size: 0.94rem; }
.included-box .icon { width: 16px; height: 16px; color: var(--success); stroke-width: 2.4; }

/* 9. Demo form section -------------------------------------------------------- */
.demo-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .demo-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; } }
.next-steps { display: grid; gap: 12px; margin-top: 28px; list-style: none; counter-reset: next; }
.next-steps li { position: relative; padding: 16px 18px 16px 62px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-dark); color: var(--on-dark); counter-increment: next; }
.next-steps li::before {
	content: counter(next);
	position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 10px;
	background: var(--grad-primary); color: #04101F; font-weight: 700;
}
.demo-grid .form-shell { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); border: 0; }
.form-mode { margin: 0 0 18px; display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--text); }
.form-mode .icon { color: var(--accent-strong); }

/* Ecommerce sub-navigation (dark variant of .product-subnav) */
.product-subnav--dark { background: rgba(11, 23, 40, 0.86); border-bottom-color: var(--border-dark); }
.product-subnav--dark .product-subnav__title { color: #fff; }
.product-subnav--dark .product-subnav__links { margin-inline: auto; }
.product-subnav--dark .product-subnav__links a { color: var(--on-dark-muted); }
.product-subnav--dark .product-subnav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.product-subnav--dark .product-subnav__links a.is-active { color: #04101F; background: var(--grad-primary); }
@media (max-width: 640px) { .product-subnav--dark .btn { display: none; } }

/* 10. Motion ------------------------------------------------------------------ */
.float-y { animation: float-y 7s ease-in-out infinite; }
.float-y--slow { animation-duration: 9s; animation-delay: -3s; }
.float-y--fast { animation-duration: 6s; animation-delay: -1.5s; }
@media (prefers-reduced-motion: reduce) {
	.mesh-hero::before { animation: none; }
	.hero-stage__layer { transform: none !important; transition: none; }
	.float-y { animation: none; }
}

/* Light cards placed inside dark sections keep light-theme text */
.section--dark .form-shell p, .section--deep .form-shell p { color: var(--text-muted); }
.section--deep .form-shell .form-mode { color: var(--text); }
.section--deep .form-shell h3, .section--dark .form-shell h3 { color: var(--text); }
.section--deep .form-shell .form-success__ref { color: var(--text-subtle); }
.section:not(.section--dark):not(.section--deep) .icon-tile { background: linear-gradient(135deg, var(--accent-soft), var(--teal-soft)); box-shadow: inset 0 0 0 1px #D5E3FA; color: var(--accent-strong); }
.section--deep .preview-caption, .section--dark .preview-caption { color: #8C9CB4; }

/* Small screens: keep the page short. The phone mock-up replaces the dashboard, cards become compact rows. */
@media (max-width: 640px) {
	.hero-stage__dash, .hero-stage__store { display: none; }
	.hero-stage__phone { display: block; position: relative; right: auto; bottom: auto; width: 168px; margin: 0 auto; }
	.hero-stage .preview-caption { justify-content: center; margin-top: 16px; }
	.feature-grid .feature-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; padding: 18px; }
	.feature-grid .feature-card > .icon-tile { grid-row: span 2; }
	.feature-grid .feature-card .icon-tile { width: 38px; height: 38px; }
	.feature-grid .feature-card--row { display: flex; }
	.logo-chip { min-width: 140px; height: 60px; padding: 10px 16px; border-radius: 12px; }
	.logo-chip img { height: 26px; max-width: 130px; }
	.logo-chip--square img { height: 40px; }
	.logo-marquee__track { gap: 10px; }
	.client-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.client-wall a { height: 76px; padding: 12px; }
	.client-wall img { height: 24px; }
	.client-wall .logo-chip--square img { height: 42px; }
	.plan { padding: 26px 20px; }
	.plan .check-list { gap: 6px; }
	.section { --section-y: 64px; }
	.tabs__panel .preview-stage { display: none; }
	.tabs__list { width: 100%; }
	.tabs__tab { flex: 1 1 calc(50% - 6px); justify-content: center; padding: 10px 8px; font-size: 0.88rem; }
	.section-header { margin-bottom: 32px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
	.logo-marquee__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: var(--gutter); }
	.logo-chip { min-width: 0; }
}

/* Links inside running text are underlined, not distinguished by colour alone (WCAG 1.4.1). */
main p a:not(.btn):not(.link-arrow), .faq__panel a, .pay-note a { text-decoration: underline; text-underline-offset: 2px; }

