/* ==========================================================================
   My SEG ERP — WordPress theme styles
   Palette: navy #0B1528 / #0F2744 · brand #1E40AF · accent #2563EB · emerald #059669
   ========================================================================== */

:root {
	--navy: #0b1528;
	--navy-2: #0f2744;
	--ink: #0f172a;
	--brand: #1e40af;
	--brand-2: #1d4ed8;
	--accent: #2563eb;
	--sky: #60a5fa;
	--emerald: #059669;
	--emerald-2: #047857;
	--mint: #34d399;
	--page: #f8fafc;
	--white: #ffffff;
	--slate-100: #f1f5f9;
	--slate-200: #e2e8f0;
	--slate-300: #cbd5e1;
	--slate-400: #94a3b8;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-700: #334155;
	--blue-50: #eff6ff;
	--green-50: #ecfdf5;
	--radius: 12px;
	--radius-lg: 20px;
	--radius-xl: 28px;
	--shadow: 0 20px 50px -24px rgba(15, 23, 42, 0.25);
	--font-head: "Outfit", system-ui, sans-serif;
	--font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, monospace;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--page);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
code { font-family: var(--font-mono); font-size: 0.85em; }
.icon { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: var(--white); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 800px; }
.container--mid { max-width: 1040px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.section { padding: 96px 0; }
.section-pad-b { padding-bottom: 96px; }
.section--white { background: var(--white); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section--overlap { padding-top: 0; margin-top: -48px; position: relative; }
.spacer { height: 96px; }
.dots-light { background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px); background-size: 22px 22px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
	font: 600 15px/1 var(--font-body); cursor: pointer; white-space: nowrap;
	transition: transform 0.2s var(--ease), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: scale(1.02); }
.btn--pill { border-radius: 999px; }
.btn--lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-2); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--brand-2); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--slate-200); }
.btn--outline:hover { border-color: var(--slate-300); background: var(--slate-100); color: var(--navy); }
.btn--white { background: var(--white); color: var(--brand); }
.btn--white:hover { color: var(--brand); }
.btn--ghost-light { background: rgba(255, 255, 255, 0.05); color: var(--white); border-color: rgba(255, 255, 255, 0.22); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; transition: gap 0.2s ease; }
.link-arrow:hover { gap: 12px; }

/* ---------- Chips / badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 500; margin-bottom: 24px; }
.chip--dark { border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: var(--slate-300); }
.chip--blue { background: rgba(37, 99, 235, 0.2); color: #93c5fd; font-weight: 600; margin-bottom: 20px; }
.badge { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge--success { background: var(--green-50); color: var(--emerald-2); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse-dot 2s ease-in-out infinite; display: inline-block; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow-mono { font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.eyebrow-mono--light { color: var(--sky); }
.text-green { color: #6ee7b7; }

@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: var(--slate-300); font-size: 12px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.topbar__link { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-300); }
.topbar__link .icon { color: var(--sky); }
.topbar__link:hover { color: var(--white); }
.topbar__link--accent { color: var(--sky); font-weight: 500; }
.topbar__trust { display: none; align-items: center; gap: 8px; margin: 0; }
.topbar__trust .icon { color: var(--mint); }
@media (min-width: 768px) { .topbar__trust { display: inline-flex; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.9); border-color: var(--slate-200); box-shadow: 0 8px 30px -12px rgba(15, 23, 42, 0.18); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__actions .btn { height: 40px; font-size: 14px; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline-flex; } }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--navy-2)); box-shadow: 0 6px 18px -6px rgba(30, 64, 175, 0.6); transition: transform 0.3s var(--ease); }
.brand__mark .icon { width: 20px; height: 20px; }
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__dot { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--emerald); border: 2px solid var(--white); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 19px/1 var(--font-head); letter-spacing: -0.02em; color: var(--navy); }
.brand__name em { font-style: normal; color: var(--brand); }
.brand__sub { margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-500); }
.brand--dark .brand__name { color: var(--white); }
.brand--dark .brand__name em { color: var(--sky); }
.brand--dark .brand__sub { color: var(--slate-400); }
.custom-logo { max-height: 48px; width: auto; }

.primary-nav .nav-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.primary-nav .nav-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--slate-600); transition: background-color 0.2s ease, color 0.2s ease; }
.primary-nav .nav-menu a:hover { color: var(--navy); background: var(--slate-100); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--brand); background: var(--blue-50); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; min-width: 200px; background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children:hover > .sub-menu, .primary-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1023px) {
	.primary-nav { position: fixed; inset: 112px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--slate-200); box-shadow: var(--shadow); padding: 16px 20px 24px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s; max-height: calc(100vh - 112px); overflow-y: auto; }
	.nav-open .primary-nav { transform: translateY(0); opacity: 1; visibility: visible; }
	.primary-nav .nav-menu { flex-direction: column; }
	.primary-nav .nav-menu a { padding: 12px; font-size: 16px; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 16px; }
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* ---------- Hero ---------- */
.hero, .page-hero, .demo-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero::before, .page-hero::before, .demo-hero::before, .site-footer::before, .wp-band::before, .cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero::after, .page-hero::after, .demo-hero::after { content: ""; position: absolute; width: 560px; height: 560px; top: -20%; right: -10%; border-radius: 50%; background: rgba(37, 99, 235, 0.28); filter: blur(130px); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 64px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr 1fr; padding-top: 96px; padding-bottom: 128px; } }
.hero__title { color: var(--white); font-size: clamp(40px, 6vw, 64px); line-height: 1.02; font-weight: 700; }
.hero__text { max-width: 560px; font-size: 18px; color: var(--slate-400); margin: 24px 0 36px; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero__stat { font: 700 30px/1 var(--font-head); color: var(--white); margin: 0; }
.hero__stat-label { font-size: 12px; color: var(--slate-400); margin: 6px 0 0; }
.hero__visual { position: relative; }
.hero__visual::before { content: ""; position: absolute; inset: -24px; border-radius: 32px; background: rgba(37, 99, 235, 0.2); filter: blur(48px); }

/* Dashboard mock */
.dash { position: relative; background: var(--white); color: var(--ink); border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55); }
.dash__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--page); border-bottom: 1px solid var(--slate-100); }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.dash__dots i:nth-child(2) { background: #fbbf24; }
.dash__dots i:nth-child(3) { background: var(--mint); }
.dash__url { font: 11px var(--font-mono); color: var(--slate-500); }
.dash__live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--emerald); }
.dash__live .live-dot { background: var(--emerald); width: 6px; height: 6px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; }
.kpi { border: 1px solid var(--slate-100); border-radius: 12px; padding: 12px; }
.kpi small { display: block; font-size: 11px; color: var(--slate-500); margin-top: 8px; }
.kpi strong { font: 700 18px/1.2 var(--font-head); color: var(--navy); }
.kpi__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; }
.kpi__icon .icon { width: 14px; height: 14px; }
.kpi__icon--blue { background: var(--blue-50); color: var(--brand); }
.kpi__icon--green { background: var(--green-50); color: var(--emerald-2); }
.kpi__icon--amber { background: #fffbeb; color: #b45309; }
.dash__tabs { display: inline-flex; margin: 0 16px; padding: 4px; border-radius: 10px; background: var(--slate-100); }
.dash__tabs button, .seg-tabs button { border: 0; background: transparent; cursor: pointer; font: 600 12px var(--font-body); color: var(--slate-600); padding: 6px 12px; border-radius: 7px; transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.dash__tabs button.is-active { background: var(--white); color: var(--navy); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12); }
.dash__panel { display: none; }
.dash__panel.is-active { display: block; animation: fade-up 0.35s var(--ease); }
.dash > .dash__panel { height: 212px; padding: 16px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fee-list { list-style: none; margin: 0; padding: 0; }
.fee-list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--slate-100); font-size: 14px; }
.fee-list li:last-child { border-bottom: 0; }
.fee-list__who { display: flex; align-items: center; gap: 10px; }
.fee-list__who strong { display: block; font-weight: 500; color: var(--navy); }
.fee-list__who small { display: block; font-size: 11px; color: var(--slate-500); }
.fee-list__amt { display: flex; align-items: center; gap: 12px; color: var(--slate-700); }
.status { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.status--paid { background: var(--green-50); color: var(--emerald-2); }
.status--due { background: #fef2f2; color: #b91c1c; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--white); background: linear-gradient(135deg, var(--brand), var(--navy-2)); flex-shrink: 0; }
.avatar--sm { width: 28px; height: 28px; font-size: 10px; background: var(--navy-2); }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 100%; padding-bottom: 8px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bars__col small { font-size: 10px; color: var(--slate-500); }
.bars__col span { width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(to top, var(--brand), var(--sky)); }
.progress { margin-bottom: 14px; }
.progress p { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 12px; color: var(--slate-700); font-weight: 500; }
.progress code { color: var(--slate-500); }
.progress__track { height: 8px; border-radius: 999px; background: var(--slate-100); overflow: hidden; }
.progress__track span { display: block; height: 100%; border-radius: 999px; background: var(--emerald); }
.progress__track--dark { background: rgba(255, 255, 255, 0.1); margin: 16px 0 8px; }
.progress__track--dark span { background: linear-gradient(90deg, var(--accent), var(--mint)); }
.dash__grade { font-size: 12px; font-weight: 600; color: var(--emerald-2); margin: 0; }
.float-card { position: absolute; display: none; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; font-size: 12px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.35); animation: float-slow 7s ease-in-out infinite; }
.float-card strong { display: block; color: var(--navy); }
.float-card small { display: block; color: var(--slate-500); font-size: 11px; }
.float-card--light { left: -24px; bottom: -24px; background: rgba(255, 255, 255, 0.96); border: 1px solid var(--slate-200); }
.float-card--dark { right: -16px; top: -20px; background: rgba(15, 39, 68, 0.96); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.1); animation-delay: 1.5s; font-weight: 500; }
.float-card--dark .icon { color: #fbbf24; }
@media (min-width: 640px) { .float-card { display: flex; } }

.ticker { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); padding: 16px 0; }
.ticker__track { display: flex; gap: 40px; width: max-content; white-space: nowrap; animation: ticker 38s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--slate-400); }
.ticker__track .icon { color: var(--sky); }

/* ---------- Section headings ---------- */
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.section-head > p:last-child, .section-head p:not(.eyebrow) { font-size: 17px; color: var(--slate-600); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--split > div { max-width: 680px; }
.section-head--split > p { max-width: 380px; margin: 0; }
.section-head--split h2 { margin-bottom: 0; }

/* ---------- Segments ---------- */
.seg-tabs { display: inline-flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 16px; background: var(--white); border: 1px solid var(--slate-200); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); margin-bottom: 40px; }
.seg-tabs button { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 10px 20px; border-radius: 12px; }
.seg-tabs button.is-active { background: var(--navy); color: var(--white); }
.seg-panel.is-active { display: grid; }
.seg-panel { overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--slate-200); background: var(--white); }
@media (min-width: 1024px) { .seg-panel.is-active { grid-template-columns: 1fr 1.1fr; } }
.seg-panel__copy { padding: 48px 32px; }
@media (min-width: 640px) { .seg-panel__copy { padding: 48px; } }
.seg-panel__copy h3 { font-size: clamp(24px, 3vw, 30px); }
.seg-panel__copy > p { color: var(--slate-600); }
.seg-panel__media { position: relative; min-height: 300px; }
.seg-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seg-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 21, 40, 0.7), transparent 60%); }
.check-list { list-style: none; padding: 0; margin: 32px 0 40px; display: grid; gap: 12px; }
@media (min-width: 640px) { .check-list--2 { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: 10px; font-size: 14px; font-weight: 500; color: var(--slate-700); }
.check-dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green-50); color: var(--emerald); flex-shrink: 0; }
.check-dot .icon { width: 12px; height: 12px; }

/* ---------- Modules ---------- */
.modules { display: grid; gap: 20px; }
@media (min-width: 768px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .modules { grid-template-columns: repeat(3, 1fr); } .module--featured { grid-row: span 2; } }
.module { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); background: var(--page); transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; }
.module:hover { transform: translateY(-4px); border-color: #93c5fd; background: var(--white); box-shadow: 0 16px 32px -16px rgba(15, 23, 42, 0.2); }
.module h3 { font-size: 20px; margin-top: 24px; }
.module p { font-size: 15px; color: var(--slate-600); }
.module__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--brand); transition: transform 0.3s var(--ease); }
.module__icon .icon { width: 20px; height: 20px; }
.module:hover .module__icon { transform: scale(1.1); }
.module--featured { background: var(--navy); border-color: var(--brand); color: var(--white); box-shadow: 0 24px 50px -20px rgba(30, 64, 175, 0.5); }
.module--featured:hover { background: var(--navy); }
.module--featured h3 { color: var(--white); }
.module--featured p { color: var(--slate-300); }
.module--featured .module__icon { background: var(--accent); color: var(--white); }
.module__stat { margin-top: 32px; padding: 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); }
.module__stat small { display: block; font-size: 12px; color: var(--slate-400); }
.module__stat strong { font: 700 30px/1.2 var(--font-head); }
.tags { list-style: none; margin: auto 0 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid var(--slate-200); background: var(--white); color: var(--slate-600); }
.module--featured .tags li { border-color: transparent; background: rgba(255, 255, 255, 0.1); color: var(--slate-300); }

/* ---------- Layout helpers ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } .split--faq { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 24px; }
.card--lg { border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow); }
.card--form { border-radius: var(--radius-xl); padding: 28px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.4); }
@media (min-width: 640px) { .card--form { padding: 40px; } }
.card--form h2 { font-size: 24px; margin-bottom: 4px; }
.form-sub { font-size: 14px; color: var(--slate-500); margin-bottom: 28px; }
.value h3 { font-size: 18px; margin-top: 20px; }
.value p { font-size: 14px; color: var(--slate-600); margin: 0; }
.prose p { font-size: 15px; color: var(--slate-600); line-height: 1.75; }

/* ROI */
.roi__head { display: flex; justify-content: space-between; align-items: baseline; }
.roi__head label { font-size: 14px; font-weight: 500; color: var(--slate-600); }
.roi__head strong { font: 700 30px/1 var(--font-head); color: var(--navy); }
.roi input[type="range"] { width: 100%; margin: 24px 0 32px; accent-color: var(--brand); }
.roi__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .roi__grid { grid-template-columns: 1fr 1fr; } }
.roi__box { padding: 20px; border-radius: 16px; }
.roi__box .icon { width: 20px; height: 20px; }
.roi__box strong { display: block; margin-top: 12px; font: 700 28px/1.1 var(--font-head); color: var(--navy); }
.roi__box small { font-size: 14px; color: var(--slate-600); }
.roi__box--blue { background: var(--blue-50); color: var(--brand); }
.roi__box--green { background: var(--green-50); color: var(--emerald-2); }

/* WP band & CTA */
.wp-band, .cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 48px 32px; display: grid; gap: 40px; }
@media (min-width: 640px) { .wp-band, .cta-band { padding: 56px; } }
.wp-band { background: var(--navy); }
.wp-band > * , .cta-band > * { position: relative; }
@media (min-width: 1024px) { .wp-band { grid-template-columns: 1.2fr 1fr; } }
.wp-band h2 { color: var(--white); font-size: clamp(28px, 3.5vw, 38px); }
.wp-band p { color: var(--slate-400); max-width: 520px; margin-bottom: 32px; }
.wp-band__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.wp-band__list li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: var(--slate-300); font-size: 14px; }
.wp-band__list .icon { color: var(--mint); }
.cta-band { background: var(--brand); align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -96px; width: 320px; height: 320px; border-radius: 50%; background: rgba(5, 150, 105, 0.4); filter: blur(100px); }
@media (min-width: 1024px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.5vw, 38px); }
.cta-band p { color: #dbeafe; font-size: 18px; margin: 0; }

/* Testimonials */
.testimonial { margin: 0; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); background: var(--white); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.25); }
.testimonial__stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 20px; }
.testimonial__stars .icon { fill: currentColor; }
.testimonial blockquote { flex: 1; margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--slate-700); }
.testimonial .badge { align-self: flex-start; margin-bottom: 20px; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--slate-100); }
.testimonial figcaption strong { display: block; font-size: 14px; color: var(--navy); }
.testimonial figcaption small { display: block; font-size: 12px; color: var(--slate-500); }
.testimonial.is-hidden { display: none; }

/* Pricing */
.toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--slate-200); margin-bottom: 40px; }
.toggle__btn { border: 0; background: transparent; cursor: pointer; padding: 8px 20px; border-radius: 999px; font: 600 14px var(--font-body); color: var(--slate-600); transition: background-color 0.2s ease, color 0.2s ease; }
.toggle__btn.is-active { background: var(--navy); color: var(--white); }
.toggle__save { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--green-50); color: var(--emerald-2); font-size: 10px; font-weight: 700; }
.pricing__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); background: var(--white); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.3); }
.plan__badge { position: absolute; top: -12px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--emerald); color: var(--white); font-size: 12px; font-weight: 600; }
.plan__name { font-size: 20px; margin: 0; }
.plan__for { font-size: 14px; color: var(--slate-500); margin: 4px 0 0; }
.plan__price { display: flex; align-items: flex-end; gap: 4px; margin-top: 24px; }
.plan__amount { font: 700 48px/1 var(--font-head); letter-spacing: -0.03em; color: var(--navy); }
.plan__per { font-size: 14px; color: var(--slate-500); padding-bottom: 6px; }
.plan__bill { font-size: 12px; color: var(--slate-500); margin: 6px 0 0; }
.plan__students { margin: 20px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--blue-50); color: var(--brand-2); font-size: 14px; font-weight: 500; }
.plan__features { list-style: none; margin: 24px 0 32px; padding: 0; flex: 1; display: grid; gap: 12px; align-content: start; }
.plan__features li { display: flex; gap: 10px; font-size: 14px; color: var(--slate-700); }
.plan__features .icon { color: var(--emerald); margin-top: 3px; }
.plan--featured { background: var(--navy); border-color: var(--brand); box-shadow: 0 30px 60px -20px rgba(30, 64, 175, 0.55); }
.plan--featured .plan__name, .plan--featured .plan__amount { color: var(--white); }
.plan--featured .plan__for, .plan--featured .plan__per, .plan--featured .plan__bill { color: var(--slate-400); }
.plan--featured .plan__students { background: rgba(255, 255, 255, 0.1); color: #93c5fd; }
.plan--featured .plan__features li { color: var(--slate-300); }
.plan--featured .plan__features .icon { color: var(--mint); }

.table-wrap { overflow-x: auto; border: 1px solid var(--slate-200); border-radius: var(--radius-lg); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td { padding: 14px 20px; text-align: center; border-top: 1px solid var(--slate-100); }
.compare thead th { background: var(--page); border-top: 0; font-family: var(--font-head); color: var(--navy); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 500; color: var(--slate-700); }
.compare .yes { color: var(--emerald); }
.compare .no { color: var(--slate-300); }

/* FAQ */
.faq { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); }
.faq__item { padding: 0 24px; border-bottom: 1px solid var(--slate-200); }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; font: 600 17px/1.4 var(--font-head); color: var(--navy); transition: color 0.2s ease; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--slate-200); color: var(--slate-500); transition: transform 0.3s var(--ease), background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: var(--white); }
.faq__item p { padding: 0 48px 24px 0; margin: 0; color: var(--slate-600); font-size: 15px; line-height: 1.7; }
.faq__item.is-hidden { display: none; }
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 220px 1fr; } }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-pills--stack { margin-bottom: 0; align-content: start; }
@media (min-width: 1024px) { .filter-pills--stack { flex-direction: column; } }
.pill { border: 1px solid var(--slate-200); background: var(--white); color: var(--slate-600); padding: 8px 16px; border-radius: 999px; font: 600 14px var(--font-body); cursor: pointer; text-align: left; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.filter-pills--stack .pill { border-radius: 12px; border-color: transparent; background: transparent; }
.pill:hover { border-color: var(--slate-300); }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.muted-note { margin-top: 32px; font-size: 14px; color: var(--slate-600); }

/* Page hero */
.page-hero__inner { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 96px; }
.page-hero .container, .page-hero--post .container { position: relative; z-index: 1; }
.page-hero__title { color: var(--white); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; max-width: 820px; }
.page-hero__text { color: var(--slate-400); font-size: 18px; max-width: 680px; margin-top: 20px; }
.page-hero--post { padding: 64px 0 112px; }
.page-hero__meta { color: var(--slate-400); font-size: 14px; margin-top: 20px; }
.back-link { display: inline-block; color: var(--slate-400); font-size: 14px; margin-bottom: 32px; }
.back-link:hover { color: var(--white); }

/* Demo page */
.demo-hero { padding: 64px 0 96px; }
.demo-hero__grid { position: relative; z-index: 1; display: grid; gap: 56px; }
@media (min-width: 1024px) { .demo-hero__grid { grid-template-columns: 1fr 1.1fr; } }
.feature-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 16px; }
.feature-list strong { display: block; color: var(--white); }
.feature-list small { display: block; color: var(--slate-400); font-size: 14px; }
.feature-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: var(--sky); flex-shrink: 0; }
.feature-list__icon .icon { width: 20px; height: 20px; }

/* Forms */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 16px; }
.form-grid .field { margin: 0; }
.form-grid { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--slate-700); margin-bottom: 6px; }
.field input, .field select, .field textarea, .search-form input[type="search"] {
	width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--slate-300); background: var(--white);
	font: 15px var(--font-body); color: var(--ink); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #dc2626; }
.form-note { text-align: center; font-size: 12px; color: var(--slate-500); margin: 12px 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form { position: relative; }
.notice { padding: 14px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.notice--success { background: var(--green-50); color: var(--emerald-2); border: 1px solid #a7f3d0; }
.notice--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Contact */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.5fr; align-items: start; } }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.contact-card strong { display: block; font-size: 14px; color: var(--navy); }
.contact-card a, .contact-card span:not(.module__icon) { display: block; font-size: 15px; color: var(--slate-600); }
.contact-card a { color: var(--brand); }

/* About */
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); }
.about-media__stat { position: absolute; right: -8px; bottom: -24px; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow); }
.about-media__stat strong { display: block; font: 700 30px/1 var(--font-head); color: var(--brand); }
.about-media__stat small { font-size: 14px; color: var(--slate-600); }

/* Blog */
.post-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--slate-200); background: var(--white); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.25); }
.post-card__link { display: block; color: inherit; }
.post-card__link:hover { color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--slate-100); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px; }
.post-card__body h3 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.post-card__excerpt { font-size: 14px; color: var(--slate-600); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { font-size: 12px; color: var(--slate-500); margin: 12px 0 0; }
.single__body { margin-top: -64px; position: relative; z-index: 2; }
.single__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.4); }
.single__tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--blue-50); font-size: 13px; }
.pagination-wrap { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--slate-200); background: var(--white); color: var(--slate-700); font-weight: 600; }
.nav-links .page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.empty-state { text-align: center; }
.search-form { display: flex; gap: 8px; max-width: 420px; margin: 24px auto; }
.search-form label { flex: 1; }
.search-form .search-submit { height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--brand); color: var(--white); font-weight: 600; cursor: pointer; }

/* Entry content (Gutenberg + plugin shortcodes) */
.entry-content { font-size: 17px; line-height: 1.8; color: var(--slate-700); padding: 48px 0; }
.single .entry-content { padding-top: 40px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.4em; }
.entry-content h2 { font-size: 30px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brand); font-size: 19px; color: var(--navy); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--slate-200); text-align: left; }
.entry-content th { background: var(--page); }
.entry-content input, .entry-content select, .entry-content textarea { max-width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--slate-300); font: 15px var(--font-body); }
.entry-content button, .entry-content input[type="submit"] { padding: 10px 20px; border: 0; border-radius: 10px; background: var(--brand); color: var(--white); font: 600 15px var(--font-body); cursor: pointer; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

/* ERP portal template */
.erp-portal { padding: 56px 0 96px; }
.erp-portal__head { margin-bottom: 32px; }
.erp-portal__head h1 { font-size: clamp(30px, 4vw, 44px); }
.erp-portal__body { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .erp-portal__body { padding: 48px; } }

/* Footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: var(--slate-400); }
.site-footer::before { opacity: 0.6; }
.site-footer__grid { position: relative; display: grid; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 2fr; } }
.site-footer__brand p { margin: 20px 0 24px; max-width: 380px; font-size: 14px; }
.footer-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.05); color: var(--white); font-size: 14px; transition: border-color 0.2s ease; }
.footer-pill .icon { color: var(--sky); }
.footer-pill:hover { color: var(--white); border-color: rgba(96, 165, 250, 0.5); }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); } }
.site-footer h4 { color: var(--white); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.site-footer ul a { color: var(--slate-400); }
.site-footer ul a:hover { color: var(--white); }
.site-footer__bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
.site-footer__bottom p { margin: 0; }
.site-footer__secure { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__secure .icon { color: var(--mint); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6); transition: transform 0.2s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float .icon { width: 26px; height: 26px; }

/* Reveal on scroll (enabled by JS) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* WordPress core classes */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--slate-500); }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.sticky, .bypostauthor { position: relative; }

/* ==========================================================================
   v1.1 — Features, roles, module explorer, products, offers, app, policies
   ========================================================================== */

/* Highlights strip (overlaps the section above) */
.highlights-wrap { position: relative; z-index: 2; margin-top: -48px; }
.highlights { display: grid; gap: 8px; padding: 16px; border-radius: var(--radius-xl); border: 1px solid var(--slate-200); background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.35); }
@media (min-width: 640px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlight { display: flex; gap: 16px; padding: 16px; border-radius: 16px; transition: background-color 0.2s ease; }
.highlight:hover { background: var(--page); }
.highlight__icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--blue-50); color: var(--brand); font-size: 20px; transition: transform 0.3s var(--ease); }
.highlight:hover .highlight__icon { transform: rotate(-6deg); }
.highlight h3 { font-size: 15px; line-height: 1.35; margin: 0 0 4px; }
.highlight p { font-size: 14px; color: var(--slate-600); margin: 0; line-height: 1.6; }

/* Roles */
.roles { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .roles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .roles { grid-template-columns: repeat(4, 1fr); } }
.role { position: relative; padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--slate-200); background: var(--white); transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease; }
.role:hover { transform: translateY(-4px); border-color: #93c5fd; box-shadow: 0 16px 32px -16px rgba(15, 23, 42, 0.2); }
.role__num { position: absolute; top: 16px; right: 20px; font: 500 11px var(--font-mono); color: var(--slate-300); }
.role__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--sky); font-size: 20px; transition: background-color 0.3s ease, color 0.3s ease; }
.role:hover .role__icon { background: var(--brand); color: var(--white); }
.role h3 { font-size: 18px; margin: 20px 0 6px; }
.role p { font-size: 14px; color: var(--slate-600); margin: 0; line-height: 1.6; }

/* Powerful features */
.power-grid { display: grid; gap: 1px; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--slate-200); background: var(--slate-200); }
@media (min-width: 640px) { .power-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .power-grid { grid-template-columns: repeat(4, 1fr); } }
.power { padding: 28px; background: var(--white); transition: background-color 0.2s ease; }
.power:hover { background: var(--page); }
.power > .icon { font-size: 24px; color: var(--brand); transition: transform 0.3s var(--ease); }
.power:hover > .icon { transform: scale(1.1); }
.power h3 { font-size: 18px; margin: 20px 0 6px; }
.power p { font-size: 14px; color: var(--slate-600); margin: 0; }

/* Module explorer */
.mx { position: relative; overflow: hidden; padding: 96px 0; background: var(--navy); background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 22px 22px; }
.mx .section-head h2 { color: var(--white); }
.mx .section-head p:not(.eyebrow) { color: var(--slate-400); }
.eyebrow--light { color: var(--sky); }
.mx__grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .mx__grid { grid-template-columns: 260px 1fr; } }
.mx__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
@media (min-width: 1024px) { .mx__tabs { flex-direction: column; overflow: visible; padding-bottom: 0; } }
.mx__tabs button { display: flex; flex-shrink: 0; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--slate-400); font: 600 14px var(--font-body); text-align: left; white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.mx__tabs button:hover { background: rgba(255, 255, 255, 0.05); color: var(--white); }
.mx__tabs button.is-active { background: var(--brand); border-color: rgba(59, 130, 246, 0.4); color: var(--white); }
.mx__tabs small { display: none; margin-left: auto; font: 500 11px var(--font-mono); opacity: 0.7; }
@media (min-width: 1024px) { .mx__tabs small { display: inline; } }
.mx__panel { display: none; gap: 12px; align-content: start; }
.mx__panel.is-active { display: grid; animation: myseg-fade-up 0.35s var(--ease); }
@media (min-width: 640px) { .mx__panel.is-active { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .mx__panel.is-active { grid-template-columns: repeat(3, 1fr); } }
.mx__item { padding: 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); transition: border-color 0.2s ease, background-color 0.2s ease; }
.mx__item:hover { border-color: rgba(96, 165, 250, 0.4); background: rgba(255, 255, 255, 0.07); }
.mx__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 600 15px var(--font-head); color: var(--white); }
.mx__title .check-dot { background: rgba(5, 150, 105, 0.2); color: var(--mint); }
.mx__item p:last-child { margin: 0; font-size: 14px; color: var(--slate-400); line-height: 1.6; }
.link-arrow--light { margin-top: 40px; color: var(--sky); }
.link-arrow--light:hover { color: var(--white); }
@keyframes myseg-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Products */
@media (min-width: 768px) { .pricing__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .pricing__grid--4 { grid-template-columns: repeat(4, 1fr); } }
.pricing__grid--4 .plan { padding: 28px; }
.pricing__grid--4 .plan__amount { font-size: 42px; }
.plan__split { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.plan__split span { padding: 6px 12px; border-radius: 8px; background: var(--blue-50); color: var(--brand-2); font-size: 12px; font-weight: 600; }

/* Offers */
.offers-title { margin: 64px 0 24px; font-size: 24px; }
.offers { display: grid; gap: 24px; }
@media (min-width: 1024px) { .offers { grid-template-columns: repeat(2, 1fr); } }
.offer { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-radius: var(--radius-xl); border: 1px solid rgba(245, 158, 11, 0.4); background: linear-gradient(135deg, #fffbeb, #fff); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.offer:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.3); }
.offer__badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; background: #dc2626; color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.offer h3 { font-size: 24px; margin: 20px 0 8px; }
.offer > p { color: var(--slate-600); margin: 0; }
.offer__price { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 24px 0 32px; }
.offer__price strong { font: 700 48px/1 var(--font-head); letter-spacing: -0.03em; color: var(--navy); }
.offer__price del { font-size: 18px; color: var(--slate-400); padding-bottom: 6px; }
.offer__save { margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; background: var(--green-50); color: var(--emerald-2); font-size: 12px; font-weight: 700; }
.btn--hot { background: #dc2626; color: var(--white); }
.btn--hot:hover { background: #b91c1c; color: var(--white); }
.licence-band { position: relative; display: grid; gap: 24px; align-items: center; margin-top: 24px; padding: 40px 32px; border-radius: var(--radius-xl); background: var(--navy); background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); background-size: 22px 22px; }
@media (min-width: 1024px) { .licence-band { grid-template-columns: 1.4fr 1fr; padding: 40px; } }
.licence-band h3 { color: var(--white); font-size: clamp(22px, 3vw, 30px); margin: 8px 0; }
.licence-band p:not(.eyebrow-mono) { color: var(--slate-400); margin: 0; }
.licence-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.licence-band__call { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-300); font-weight: 600; }
.licence-band__call:hover { color: var(--white); }

/* Pricing terms */
.terms-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .terms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .terms-grid { grid-template-columns: repeat(4, 1fr); } }
.terms-grid .card > .icon { font-size: 24px; color: var(--brand); }
.terms-grid h3 { font-size: 16px; margin: 16px 0 4px; }
.terms-grid p { font-size: 14px; color: var(--slate-600); margin: 0; }
.terms-note { margin: 24px 0 0; font-size: 14px; color: var(--slate-500); }
.terms-note a { color: var(--brand); font-weight: 600; text-decoration: underline; }

/* Mobile app */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-radius: 16px; background: var(--navy); color: var(--white); font: 600 16px/1.1 var(--font-head); transition: transform 0.2s var(--ease); }
.store-btn:hover { color: var(--white); transform: scale(1.03); }
.store-btn > .icon { font-size: 24px; }
.store-btn small { display: block; font: 400 10px var(--font-body); color: var(--slate-400); }
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone-wrap::before { content: ""; position: absolute; inset: 32px; border-radius: 50%; background: rgba(37, 99, 235, 0.25); filter: blur(80px); }
.phone { position: relative; width: 260px; padding: 16px; border: 10px solid var(--navy); border-radius: 44px; background: var(--page); box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.6); }
.phone__notch { width: 96px; height: 20px; margin: 0 auto 16px; border-radius: 999px; background: var(--navy); }
.phone__hero { padding: 16px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--navy-2)); color: var(--white); }
.phone__hero > small { display: block; font-size: 11px; color: #bfdbfe; }
.phone__hero > strong { display: block; margin-top: 4px; font: 700 18px var(--font-head); }
.phone__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.phone__kpis span { padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); font: 700 16px var(--font-head); }
.phone__kpis small { display: block; font: 400 11px var(--font-body); color: #bfdbfe; }
.phone__row { margin-top: 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--slate-200); background: var(--white); font-size: 12px; color: var(--slate-700); }
.phone__row small { display: block; font-size: 11px; font-weight: 600; color: var(--brand); }

/* Policies */
.policy { display: grid; gap: 48px; max-width: 1120px; }
@media (min-width: 1024px) { .policy { grid-template-columns: 220px 1fr; } .policy__nav { position: sticky; top: 112px; align-self: start; } }
.policy__nav { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1024px) { .policy__nav { flex-direction: column; } }
.policy__nav .eyebrow-mono { width: 100%; color: var(--slate-500); }
.policy__nav a { padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--slate-600); transition: background-color 0.2s ease, color 0.2s ease; }
.policy__nav a:hover { background: var(--slate-100); }
.policy__nav a.is-active { background: var(--blue-50); color: var(--brand); }
.policy__body { padding: 40px; border-radius: var(--radius-xl); border: 1px solid var(--slate-200); background: var(--white); font-size: 15px; }
.policy__body h2 { font-size: 22px; margin-top: 1.8em; padding-top: 1.4em; border-top: 1px solid var(--slate-100); }
.policy__body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.policy__updated { font: 500 12px var(--font-mono); color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-pill--dark { margin-top: 16px; background: var(--navy); text-decoration: none !important; }
@media (max-width: 639px) { .policy__body { padding: 24px; } }
