/* xPGuard website. Light theme: navy text, blue actions, orange accents. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/inter/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/poppins/poppins-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/poppins/poppins-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/poppins/poppins-latin-800-normal.woff2) format('woff2'); }
:root {
  --navy: #0b1533;
  --text: #101a3b;
  --muted: #5d6886;
  --soft: #8a94ad;
  --blue: #1668ff;
  --blue-2: #0a4fe0;
  --blue-soft: #eaf1ff;
  --orange: #ff6a14;
  --orange-2: #ff8b3d;
  --orange-soft: #fff1e8;
  --green: #18b26b;
  --green-soft: #e7f8ef;
  --red: #e5463d;
  --red-soft: #fdecea;
  --bg: #f5f8fe;
  --card: #ffffff;
  --border: #e5ebf6;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(22, 48, 110, 0.08);
  --shadow-lg: 0 28px 70px rgba(22, 48, 110, 0.16);
  --head: 'Poppins', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--text); background: #fff; line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-2); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hl { color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--head); padding: 14px 24px; border-radius: 12px; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #2f7bff, var(--blue-2)); box-shadow: 0 10px 24px rgba(22, 104, 255, .28); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(22, 104, 255, .36); }
.btn-orange { color: #fff; background: linear-gradient(135deg, var(--orange-2), var(--orange)); box-shadow: 0 10px 24px rgba(255, 106, 20, .28); }
.btn-orange:hover { color: #fff; }
.btn-outline { color: var(--navy); background: #fff; border: 1.5px solid var(--border); }
.btn-outline:hover { color: var(--blue); border-color: #c9d8f6; }
.btn-ghost { color: var(--blue); background: var(--blue-soft); }
.btn-danger { color: #fff; background: var(--red); }
.btn-sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.arrow::after { content: '→'; font-family: var(--body); }

.eyebrow {
  display: inline-block; font: 600 13px/1 var(--body); color: var(--blue); background: var(--blue-soft);
  padding: 9px 16px; border-radius: 999px; letter-spacing: .02em;
}
.eyebrow.small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 7px 13px; }

/* ---- header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(22, 48, 110, .06); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand .name { font: 800 23px/1 var(--head); letter-spacing: -0.03em; color: var(--navy); }
.brand .name b { color: var(--orange); font-weight: 800; }
.brand .tag { display: block; white-space: nowrap; font: 600 8.5px/1 var(--body); letter-spacing: .14em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; list-style: none; padding: 0; }
.nav > li { position: relative; }
.nav > li > a { display: block; white-space: nowrap; padding: 10px 13px; color: var(--navy); font-weight: 500; font-size: 15px; border-radius: 10px; }
.nav > li > a:hover, .nav > li.active > a { color: var(--blue); }
.nav .has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); margin: 0 0 3px 8px; opacity: .6; }
.nav .sub { position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); font-size: 14.5px; }
.nav .sub a:hover { background: var(--bg); color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 12px 22px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---- hero --------------------------------------------------------------- */
.hero { position: relative; padding: 56px 0 40px; background: radial-gradient(1200px 520px at 85% 10%, #e8f0ff 0%, rgba(232, 240, 255, 0) 60%), radial-gradient(700px 400px at 0% 90%, #f0f5ff 0%, rgba(255, 255, 255, 0) 70%); overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; top: 40px; width: 720px; height: 420px; background: radial-gradient(closest-side, rgba(255, 138, 61, .12), rgba(255, 138, 61, 0)); pointer-events: none; }
/* Server room, swooshes and racks behind the dashboard (public/img/hero-bg.svg). */
.hero-bg { position: absolute; right: 0; top: 0; height: 100%; width: 62%; object-fit: cover; object-position: right center; pointer-events: none; z-index: 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; line-height: 1.06; margin: 22px 0 22px; letter-spacing: -0.025em; }
.hero .lead { font-size: 18.5px; color: #3c4766; max-width: 540px; }
.hero-cta { display: flex; gap: 18px; margin: 30px 0 22px; flex-wrap: wrap; }
.cta-trial { flex-direction: column; gap: 6px; padding: 18px 30px; min-width: 230px; border-radius: 16px; font-size: 19px; }
.cta-trial small { font: 400 14px/1 var(--body); opacity: .92; }
.cta-buy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 14px 28px; min-width: 220px; border-radius: 16px; background: #fff; border: 1.5px solid var(--border); box-shadow: var(--shadow); color: var(--navy); transition: .15s; }
.cta-buy:hover { transform: translateY(-1px); color: var(--navy); border-color: #c9d8f6; }
.cta-buy strong { font: 700 19px/1.1 var(--head); }
.cta-buy span { font-size: 15px; }
.cta-buy s { color: var(--soft); }
.cta-buy em { font-style: normal; color: var(--orange); font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; color: #3c4766; font-size: 15px; }
.checks li { display: flex; align-items: center; gap: 8px; }
.tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; flex-shrink: 0; }
.tick svg { width: 12px; height: 12px; }

/* dashboard mock-up */
.hero-visual { position: relative; perspective: 1800px; margin-right: 70px; }
.mock {
  position: relative; z-index: 1; display: grid; grid-template-columns: 150px 1fr; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(18, 44, 110, .22), 0 0 0 1px rgba(18, 44, 110, .06); transform: rotateY(-13deg) rotateX(5deg) rotateZ(-1deg); transform-origin: 60% 50%;
  font-size: 10px; color: var(--text); transition: transform .6s cubic-bezier(.2, .7, .2, 1); will-change: transform;
}
.mock-side { background: #fbfcff; border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.mock-side .mlogo { display: flex; align-items: center; gap: 5px; font: 800 12px var(--head); margin-bottom: 14px; padding: 2px 4px; }
.mock-side .mlogo img { height: 16px; }
.mock-side .mlogo b { color: var(--orange); }
.mock-side .it { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; color: #4c5878; font-size: 9.5px; }
.mock-side .it i { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .65; flex-shrink: 0; }
.mock-side .it.on { background: #edf2ff; color: var(--navy); font-weight: 600; }
.mock-side .gap { flex: 1; min-height: 40px; }
.mock-main { padding: 12px 14px 14px; background: #f7f9fd; min-width: 0; }
.mock-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mock-search { flex: 1; height: 22px; border-radius: 7px; background: #fff; border: 1px solid var(--border); color: var(--soft); font-size: 8.5px; display: flex; align-items: center; padding: 0 8px; }
.mock-qs { background: var(--navy); color: #fff; border-radius: 7px; padding: 6px 9px; font-weight: 600; font-size: 8.5px; }
.mock-host { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.mock-host .ic { width: 22px; height: 22px; border-radius: 6px; background: var(--orange-soft); display: grid; place-items: center; color: var(--orange); font-weight: 800; font-size: 9px; }
.mock-host b { font-size: 11px; color: var(--navy); }
.mock-host small { display: block; color: var(--soft); font-size: 8px; }
.mock-host .on { color: var(--green); font-size: 8.5px; font-weight: 600; }
.mock-host .sel { margin-left: auto; color: var(--muted); font-size: 8.5px; background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 4px 7px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.mstat, .mcard { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; }
.mstat { display: flex; align-items: center; gap: 8px; }
.mstat .ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.mstat .ic svg { width: 13px; height: 13px; }
.mstat b { display: block; font: 700 13px/1.1 var(--head); color: var(--navy); }
.mstat small { color: var(--muted); font-size: 8px; }
.mock-mid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 8px; margin-bottom: 8px; }
.mcard h5 { margin: 0 0 7px; font: 600 10px var(--head); color: var(--navy); }
.overview { display: flex; align-items: center; gap: 12px; }
.donut { width: 76px; height: 76px; flex-shrink: 0; position: relative; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut .v { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut .v b { font: 800 13px/1 var(--head); color: var(--navy); }
.donut .v small { font-size: 7px; color: var(--muted); }
.bars-list { flex: 1; display: grid; gap: 7px; }
.bars-list .row { display: grid; grid-template-columns: 1fr auto; font-size: 8px; color: var(--muted); gap: 2px 6px; }
.bars-list .row b { color: var(--navy); font-size: 8.5px; }
.bars-list .row span.bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: #eef2fa; overflow: hidden; }
.bars-list .row span.bar i { display: block; height: 100%; border-radius: 4px; }
.alerts .warn { background: #fff7e0; color: #8a6200; border-radius: 6px; padding: 5px 7px; font-size: 8px; margin-bottom: 5px; font-weight: 600; }
.alerts .a { display: flex; justify-content: space-between; font-size: 8.3px; padding: 4px 2px; border-bottom: 1px dashed #edf1f8; color: #4c5878; }
.alerts .a b { color: var(--red); }
.alerts .a b.z { color: var(--navy); }
.mock-charts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.chart { height: 78px; display: flex; align-items: flex-end; gap: 3px; padding-top: 4px; border-bottom: 1px solid #eef2fa; background: repeating-linear-gradient(0deg, transparent 0 18px, #f1f4fa 18px 19px); }
.chart i { flex: 1; background: linear-gradient(180deg, #3b86ff, #1258f0); border-radius: 2px 2px 0 0; min-height: 2px; }
.chart.sparse i { background: transparent; }
.chart.sparse i.s { background: linear-gradient(180deg, #3b86ff, #1258f0); }

.feature-strip { padding: 22px 0 64px; }
.feature-strip .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fcard { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.fcard h3 { font-size: 17px; margin: 2px 0 4px; }
.fcard p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* icon tiles */
.ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.ico svg { width: 26px; height: 26px; }
.ico.sm { width: 42px; height: 42px; border-radius: 11px; }
.ico.sm svg { width: 20px; height: 20px; }
.c-green { background: #e6f8ee; color: #15a862; }
.c-red { background: #fdecea; color: #e5463d; }
.c-orange { background: #fff0e5; color: #ff6a14; }
.c-blue { background: #e8f0ff; color: #1668ff; }
.c-purple { background: #f1ebff; color: #7c4dff; }
.c-violet { background: #f3eaff; color: #9b51e0; }
.c-cyan { background: #e4f7fb; color: #0aa2c0; }
.c-teal { background: #e3f6f2; color: #0f9d84; }
.c-pink { background: #ffe9f1; color: #e83e8c; }
.c-indigo { background: #eceeff; color: #4f5bd5; }
.c-amber { background: #fff6dd; color: #e0a100; }
.c-slate { background: #edf1f7; color: #44506c; }
.c-solid-orange { background: linear-gradient(135deg, #ff8b3d, #ff5a14); color: #fff; }
.c-solid-blue { background: linear-gradient(135deg, #3b86ff, #0a4fe0); color: #fff; }
.c-solid-green { background: linear-gradient(135deg, #2fd287, #14a35f); color: #fff; }
.c-solid-purple { background: linear-gradient(135deg, #a77bff, #7040f0); color: #fff; }

/* ---- sections ----------------------------------------------------------- */
.section { padding: 84px 0; position: relative; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 16px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.section-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

.everything { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.everything .note { position: absolute; font: italic 600 15px var(--head); color: var(--blue); transform: rotate(-8deg); }
.map-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); padding: 20px 22px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; align-items: center; }
.map-card h4 { grid-column: 1 / -1; margin: 0; font-size: 15px; }
.map-card .countries h5 { font: 600 12px var(--head); color: var(--navy); margin: 0 0 8px; }
.map-card .c { display: grid; grid-template-columns: 20px 1fr auto; gap: 2px 8px; font-size: 12px; align-items: center; margin-bottom: 8px; color: #3c4766; }
.map-card .c b { font-weight: 600; color: var(--navy); }
.map-card .c .bar { grid-column: 2 / -1; height: 4px; border-radius: 4px; background: #eef2fa; }
.map-card .c .bar i { display: block; height: 100%; border-radius: 4px; background: var(--blue); }
.flag { font-size: 14px; line-height: 1; }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px 22px; text-align: center; box-shadow: 0 6px 20px rgba(22, 48, 110, .05); transition: .18s; color: inherit; display: block; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.tile .ico { margin: 0 auto 14px; }
.tile h3 { font-size: 15px; margin: 0 0 4px; }
.tile p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* detect-block-clean */
.dbc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.stack { position: relative; min-height: 470px; }
.stack .panel { position: absolute; background: #fff; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: 12.5px; }
.stack .panel h4 { font-size: 14px; margin: 0 0 10px; display: flex; justify-content: space-between; }
.stack .p1 { left: 0; top: 0; width: 56%; }
.stack .p2 { left: 44%; top: 26px; width: 52%; }
.stack .p3 { left: 24%; top: 300px; width: 62%; }
.stack::before { content: ''; position: absolute; left: -40px; bottom: -10px; width: 380px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, #dbe8ff, rgba(219, 232, 255, 0)); }
.log { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; padding: 8px 0; border-bottom: 1px solid #f0f3f9; }
.log:last-child { border: 0; }
.log .f { font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log .f small { display: block; font-weight: 400; color: var(--soft); font-size: 10.5px; }
.pill { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.green { background: var(--green-soft); color: #11935a; }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.pill.orange { background: var(--orange-soft); color: #d65400; }
.pill.dark { background: #2a3350; color: #fff; }
.pill.gray { background: #eef1f6; color: #59647f; }
.list-checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.list-checks li { display: flex; gap: 12px; align-items: flex-start; color: #3c4766; }
.list-checks .tick { margin-top: 2px; }

/* pricing */
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 5px; gap: 4px; box-shadow: var(--shadow); margin-top: 22px; }
.billing-toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: 600 14px var(--body); color: var(--muted); cursor: pointer; }
.billing-toggle button.on { background: var(--navy); color: #fff; }
.billing-toggle .save { color: var(--orange); font-weight: 700; margin-left: 4px; }
.billing-toggle button.on .save { color: #ffb37f; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.plans.n2 { max-width: 760px; }
.plan { position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 34px 30px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.hot { border-color: #ffb27f; box-shadow: 0 20px 50px rgba(255, 106, 20, .14); }
.plan .ribbon { position: absolute; top: -1px; right: 22px; background: var(--orange); color: #fff; font: 600 12.5px var(--body); padding: 7px 14px; border-radius: 0 0 10px 10px; }
.plan .ribbon.blue { background: var(--blue); }
.plan .top-tag { position: absolute; top: -15px; left: 24px; background: var(--blue-soft); color: var(--blue); font: 600 13px var(--body); padding: 7px 14px; border-radius: 9px; }
.plan h3 { font-size: 21px; margin: 4px 0 4px; }
.plan .tagline { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.plan .price { font: 800 44px/1 var(--head); color: var(--navy); letter-spacing: -0.03em; }
.plan .price small { font: 500 17px var(--body); color: var(--muted); letter-spacing: 0; }
.plan .alt { color: var(--muted); font-size: 15px; margin: 8px 0 0; min-height: 24px; }
.plan .alt s { color: var(--soft); }
.plan .alt em { font-style: normal; color: var(--orange); font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #3c4766; }
.plan li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.plan .btn { width: 100%; padding: 16px; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.quote::after { content: '\201C'; position: absolute; right: 22px; top: 6px; font: 700 60px/1 Georgia, serif; color: #e3e9f5; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.quote .who img, .quote .who .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 700; }
.quote .who b { display: block; color: var(--navy); }
.quote .stars { color: #ffb400; letter-spacing: 2px; font-size: 14px; }
.quote .who small { color: var(--muted); }
.quote p { margin: 0; color: #3c4766; font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 4px 14px rgba(22, 48, 110, .04); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 8px; height: 8px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: .2s; flex-shrink: 0; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .a { padding: 0 18px 18px; color: var(--muted); font-size: 15px; }

/* CTA banner */
.cta-banner { display: grid; grid-template-columns: 240px 1fr auto; gap: 30px; align-items: center; background: linear-gradient(120deg, #eaf2ff, #f5f8ff 60%, #fff4ec); border: 1px solid #dbe6fb; border-radius: 22px; padding: 26px 34px 26px 22px; overflow: hidden; }
.cta-banner h2 { font-size: 28px; margin: 0 0 6px; }
.cta-banner p { margin: 0; color: var(--muted); }
.cta-banner .actions { display: flex; gap: 14px; }
.cta-banner .cta-trial { min-width: 200px; padding: 16px 26px; font-size: 17px; }
.cta-banner .cta-buy { min-width: 170px; }
.cta-art { height: 150px; margin: -10px 0 -30px; }

/* footer */
.site-footer { background: #f7f9fd; border-top: 1px solid var(--border); padding: 64px 0 0; margin-top: 70px; font-size: 14.5px; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr) 1fr; gap: 30px; }
.site-footer h4 { font-size: 15px; margin: 4px 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue); }
.site-footer .about p { color: var(--muted); margin: 14px 0 0; max-width: 330px; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.social a:hover { background: var(--blue); color: #fff; }
.social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 46px; padding: 20px 0; color: var(--muted); font-size: 13.5px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- inner pages ------------------------------------------------------- */
.page-hero { padding: 64px 0 46px; background: radial-gradient(900px 340px at 80% 0%, #e7efff, rgba(231, 239, 255, 0) 70%), var(--bg); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin: 16px 0 12px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 760px; margin: 0; }
.crumbs { font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.prose { max-width: 820px; font-size: 16.5px; color: #2c3656; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 20px; margin: 1.5em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose .lead { font-size: 19px; color: var(--muted); }
.prose img { border-radius: 12px; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); color: var(--navy); }
.prose pre { background: #0d1530; color: #d6e2ff; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: 14px; line-height: 1.55; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.prose :not(pre) > code { background: #eef2fb; color: #0b3aa8; padding: 2px 6px; border-radius: 6px; }
.prose blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--blue); background: var(--bg); border-radius: 0 10px 10px 0; color: #3c4766; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 2em; }
.doc-toc a { text-decoration: none; background: var(--blue-soft); padding: 7px 13px; border-radius: 9px; font-size: 14px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; color: inherit; transition: .18s; }
.feature-card:hover { transform: translateY(-3px); color: inherit; box-shadow: var(--shadow-lg); }
.feature-card h3 { font-size: 19px; margin: 18px 0 8px; }
.feature-card p { color: var(--muted); margin: 0 0 16px; flex: 1; }
.feature-card .more { color: var(--blue); font-weight: 600; font-size: 14.5px; }
.feature-detail { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.shot .bar { height: 30px; background: #f1f4fa; display: flex; gap: 6px; align-items: center; padding: 0 12px; border-bottom: 1px solid var(--border); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dcea; }
.shot .bar i:first-child { background: #ff6159; }
.shot .bar i:nth-child(2) { background: #ffbd2e; }
.shot .bar i:nth-child(3) { background: #28c941; }

/* slider */
.slider { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; scrollbar-width: none; padding: 6px 4px 30px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; }
.slide figcaption { text-align: center; margin-top: 16px; }
.slide figcaption b { display: block; font: 700 19px var(--head); color: var(--navy); }
.slide figcaption span { color: var(--muted); }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 14px; }
.slider-nav button.arrowbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 18px; color: var(--navy); box-shadow: var(--shadow); }
.dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #cdd7ea; cursor: pointer; padding: 0; }
.dots button.on { background: var(--blue); width: 26px; border-radius: 6px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 26px; }
.thumbs button { border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: #fff; box-shadow: 0 4px 12px rgba(22, 48, 110, .08); }
.thumbs button.on { border-color: var(--blue); }
.thumbs img { display: block; width: 100%; height: 86px; object-fit: cover; object-position: top left; }

/* systems */
.sys-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sys { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: 0 6px 18px rgba(22, 48, 110, .05); }
.sys .logo-box { width: 76px; height: 56px; flex-shrink: 0; display: grid; place-items: center; background: #f7f9fd; border: 1px solid var(--border); border-radius: 12px; padding: 8px; }
.sys .logo-box img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sys h3 { font-size: 16.5px; margin: 0 0 2px; }
.sys p { margin: 0; color: var(--muted); font-size: 14px; }
.sys .pill { margin-top: 6px; }
.req { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.req th, .req td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.req tr:last-child th, .req tr:last-child td { border-bottom: 0; }
.req th { width: 220px; color: var(--navy); background: #fafcff; }

/* blog */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; color: inherit; transition: .18s; }
.post-card:hover { transform: translateY(-3px); color: inherit; }
.post-card .cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #e8f0ff, #fff1e8); display: grid; place-items: center; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cover svg { width: 64px; height: 64px; color: var(--blue); opacity: .55; }
.post-card .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 18px; margin: 8px 0 8px; }
.post-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; flex: 1; }
.meta { font-size: 13px; color: var(--soft); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.side-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.side-box h4 { font-size: 15px; margin: 0 0 12px; }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14.5px; }
.side-box li a { color: #3c4766; }
.side-box li a:hover { color: var(--blue); }
.search-box { display: flex; gap: 8px; }
.post-cover { border-radius: 16px; overflow: hidden; margin: 0 0 30px; box-shadow: var(--shadow); }
.post-cover img { width: 100%; display: block; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0; }
.tags a { background: var(--bg); border: 1px solid var(--border); color: #3c4766; padding: 5px 12px; border-radius: 999px; font-size: 13px; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--border); background: #fff; color: var(--navy); font-weight: 600; }
.pager span.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* forms */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; margin-bottom: 16px; align-content: start; }
.field label, .label { font-weight: 600; font-size: 14px; color: var(--navy); }
.field small { color: var(--muted); font-size: 13px; }
.input, .field input, .field select, .field textarea {
  width: 100%; font: 400 15px var(--body); color: var(--text); background: #fff; border: 1.5px solid #dce4f2; border-radius: 11px; padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 104, 255, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #3c4766; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: 12px; margin: 0 0 20px; font-size: 15px; border: 1px solid; }
.alert.ok { background: #e9f9f0; border-color: #b5e8cc; color: #0f6b40; }
.alert.err { background: #fdeeed; border-color: #f5c3bf; color: #9c231c; }
.alert.info { background: var(--blue-soft); border-color: #c9dafb; color: #123c8c; }
.alert.warn { background: #fff7e3; border-color: #f4dc9c; color: #7a5600; }
.auth-wrap { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 50px 20px; background: radial-gradient(900px 400px at 80% 0%, #e7efff, rgba(231, 239, 255, 0) 70%), var(--bg); }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 28px; margin: 0 0 6px; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.step { margin-bottom: 22px; }
.step h3 { font-size: 18px; margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
.step h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.choice { position: relative; display: block; border: 1.5px solid #dce4f2; border-radius: 14px; padding: 16px; cursor: pointer; background: #fff; transition: .15s; }
.choice input { position: absolute; opacity: 0; }
.choice:hover { border-color: #b8cdf5; }
.choice.on, .choice:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22, 104, 255, .1); background: #fbfdff; }
.choice b { display: block; color: var(--navy); font-family: var(--head); }
.choice span { color: var(--muted); font-size: 13.5px; display: block; }
.choice .badge { position: absolute; top: -10px; right: 12px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.qty { display: flex; align-items: center; gap: 0; border: 1.5px solid #dce4f2; border-radius: 12px; overflow: hidden; width: max-content; }
.qty button { width: 46px; height: 48px; border: 0; background: var(--bg); font-size: 20px; cursor: pointer; color: var(--navy); }
.qty input { width: 80px; height: 48px; border: 0; text-align: center; font: 700 18px var(--head); color: var(--navy); outline: none; }
.summary { position: sticky; top: 100px; }
.summary .line { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 15px; color: #3c4766; }
.summary .line.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font: 800 24px var(--head); color: var(--navy); }
.summary .desc { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.secure { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; margin-top: 14px; }
.coupon { display: flex; gap: 8px; }

/* account */
.acct { display: grid; grid-template-columns: 230px 1fr; gap: 30px; align-items: start; padding: 40px 0 20px; }
.acct-nav { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; position: sticky; top: 100px; }
.acct-nav a { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 10px; color: #3c4766; font-weight: 500; font-size: 15px; }
.acct-nav a:hover { background: var(--bg); color: var(--blue); }
.acct-nav a.on { background: var(--blue-soft); color: var(--blue); }
.acct-nav form button { width: 100%; text-align: left; background: none; border: 0; font: 500 15px var(--body); color: var(--red); padding: 11px 12px; cursor: pointer; border-radius: 10px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 20px rgba(22, 48, 110, .05); margin-bottom: 22px; }
.card h2 { font-size: 20px; margin: 0 0 14px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.kpi small { color: var(--muted); font-size: 13px; display: block; }
.kpi b { font: 800 24px/1.3 var(--head); color: var(--navy); }
.meter { height: 10px; background: #eef2fa; border-radius: 10px; overflow: hidden; margin: 10px 0 6px; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, #3b86ff, #1258f0); border-radius: 10px; }
.meter.full i { background: linear-gradient(90deg, #ff8b3d, #e5463d); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 12px; border-bottom: 1px solid #f0f3f9; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.status-paid { background: var(--green-soft); color: #11935a; }
.status-pending { background: #fff4dc; color: #a06c00; }
.status-cancelled, .status-failed { background: #eef1f6; color: #59647f; }
.status-refunded { background: #f1ebff; color: #6a3fd8; }
.status-active { background: var(--green-soft); color: #11935a; }
.status-expired, .status-suspended { background: var(--red-soft); color: var(--red); }
.bank-box { background: var(--bg); border: 1px dashed #c9d6ee; border-radius: 12px; padding: 16px 18px; white-space: pre-wrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; }
.big-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.big-icon svg { width: 38px; height: 38px; }

/* animations */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .mock { transform: none !important; } }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav > li > a { padding: 10px 8px; font-size: 14.5px; }
  .header-actions .btn { padding: 11px 16px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer .about { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: block; margin-left: auto; }
  .nav { position: fixed; inset: 78px 0 auto 0; margin: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 0; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); max-height: calc(100vh - 78px); overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; display: none; }
  .nav .has-sub.open .sub { display: block; }
  .nav .mobile-actions { display: flex !important; gap: 10px; padding-top: 12px; }
  .header-actions { display: none; }
  .hero .wrap, .everything, .dbc, .feature-detail, .checkout, .blog-layout, .acct { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-visual { margin-top: 10px; }
  .hero-bg { width: 100%; opacity: .35; }
  .hero-visual { margin-right: 0; }
  .feature-strip .grid { grid-template-columns: 1fr 1fr; }
  .quotes, .feature-grid { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; padding: 26px; }
  .cta-banner .actions { justify-content: center; flex-wrap: wrap; }
  .cta-art { margin: 0 auto; }
  .stack { min-height: 520px; }
  .summary, .acct-nav { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 68px; }
  .nav { inset: 68px 0 auto 0; }
  .brand img { height: 32px; }
  .brand .name { font-size: 20px; }
  .section { padding: 60px 0; }
  .hero-cta { flex-direction: column; }
  .cta-trial, .cta-buy { width: 100%; }
  .mock { grid-template-columns: 1fr; transform: none; }
  .mock-side { display: none; }
  .mock-mid, .mock-charts { grid-template-columns: 1fr; }
  .feature-strip .grid, .tiles, .quotes, .feature-grid, .row2 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .map-card { grid-template-columns: 1fr; }
  .stack { min-height: 0; display: grid; gap: 14px; }
  .stack .panel { position: static; width: auto !important; }
  .stack::before { display: none; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .section-head .row { flex-direction: column; align-items: flex-start; }
  .kpis { grid-template-columns: 1fr; }
  .plan { padding: 30px 22px 24px; }
  .form-card { padding: 22px 18px; }
  .req th { width: 120px; }
}

/* Invoices print without the site chrome. */
@media print {
  .site-header, .site-footer, .acct-nav, .btn, form, .alert { display: none !important; }
  .acct { display: block; padding: 0; }
  .card { box-shadow: none; border: 0; }
  body { background: #fff; }
}

/* "App Portal": one-click sign-in to the control panel (red, like a client area's product button). */
.btn-portal { color: #fff; background: linear-gradient(135deg, #f0303f, #c8102e); box-shadow: 0 10px 24px rgba(220, 30, 50, .28); }
.btn-portal:hover { color: #fff; box-shadow: 0 14px 30px rgba(220, 30, 50, .36); }

/* Pricing page hero */
.pricing-hero { padding-bottom: 50px; }
.pricing-hero h1 { font-size: clamp(34px, 4.2vw, 56px); }
.deal-stack { display: grid; gap: 14px; max-width: 470px; margin-left: auto; margin-right: 60px; position: relative; z-index: 1; }
.deal { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-lg); }
.deal > div { flex: 1; }
.deal b { display: block; font: 700 16px var(--head); color: var(--navy); }
.deal span:not(.ico):not(.pill) { color: var(--muted); font-size: 14px; }
.deal .ico { width: 46px; height: 46px; border-radius: 12px; }
.deal .ico svg { width: 22px; height: 22px; }
@media (max-width: 1100px) { .deal-stack { margin: 10px 0 0; max-width: none; } }

/* Compact trial / buy buttons (hero and the banner above the footer). */
.cta-trial { padding: 13px 24px; min-width: 0; font-size: 16px; border-radius: 13px; gap: 4px; }
.cta-trial small { font-size: 12.5px; }
.cta-buy { padding: 9px 20px; min-width: 0; border-radius: 13px; gap: 2px; }
.cta-buy strong { font-size: 16px; }
.cta-buy span { font-size: 13.5px; }
.hero-cta { gap: 14px; margin: 26px 0 20px; align-items: stretch; }
.cta-banner .cta-trial { min-width: 0; padding: 12px 22px; font-size: 15.5px; }
.cta-banner .cta-buy { min-width: 0; padding: 8px 18px; }
.cta-banner .cta-buy span { font-size: 13px; }
.cta-banner .actions { gap: 12px; }
@media (max-width: 640px) { .hero-cta { flex-direction: row; flex-wrap: wrap; } .cta-trial, .cta-buy { flex: 1 1 200px; } }

/* Screenshot slider: arrows on the image's left and right middle. */
.slider { padding: 0 6px; }
.side-arrow { position: absolute; top: calc(50% - 50px); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(11, 21, 51, .78); color: #fff; font-size: 34px; line-height: 50px; cursor: pointer; box-shadow: 0 10px 30px rgba(11, 21, 51, .3); transition: .15s; z-index: 2; }
.side-arrow:hover { background: var(--blue); transform: scale(1.06); }
.side-arrow.prev { left: -12px; }
.side-arrow.next { right: -12px; }
.slide-count { text-align: center; color: var(--muted); font-size: 14px; margin-top: -10px; }
@media (max-width: 640px) { .side-arrow { width: 40px; height: 40px; font-size: 26px; line-height: 36px; top: calc(50% - 60px); } .side-arrow.prev { left: 2px; } .side-arrow.next { right: 2px; } }

/* Support tickets */
.thread { display: grid; gap: 14px; }
.msg { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.msg.admin { background: #f3f7ff; border-color: #cfdcf7; border-left: 4px solid var(--blue); }
.msg-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 14px; }
.msg-body { white-space: pre-wrap; word-break: break-word; color: #2c3656; font-size: 15px; }
.tstatus-open { background: #fff4dc; color: #a06c00; }
.tstatus-customer_reply { background: var(--red-soft); color: var(--red); }
.tstatus-answered { background: var(--green-soft); color: #11935a; }
.tstatus-closed { background: #eef1f6; color: #59647f; }

/* Form controls: one height for every input and select. */
.field input:not([type=checkbox]):not([type=radio]), .field select { height: 48px; padding-top: 0; padding-bottom: 0; line-height: 46px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6886' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }

/* Hero / banner buttons: compact (overrides the earlier sizes). */
.hero-cta .cta-trial, .cta-banner .cta-trial { padding: 11px 22px !important; font-size: 15px !important; border-radius: 12px; min-width: 0 !important; gap: 3px; }
.hero-cta .cta-trial small, .cta-banner .cta-trial small { font-size: 12px !important; }
.hero-cta .cta-buy, .cta-banner .cta-buy { padding: 7px 16px !important; min-width: 0 !important; border-radius: 12px; gap: 1px; }
.hero-cta .cta-buy strong, .cta-banner .cta-buy strong { font-size: 15px !important; }
.hero-cta .cta-buy span, .cta-banner .cta-buy span { font-size: 12.5px !important; }
.hero-cta { gap: 12px !important; }

/* Pricing cards: the full feature list */
.plan ul { flex: 0 0 auto; margin-bottom: 14px; }
.more-features { margin: 0 0 22px; flex: 1; }
.more-features summary { list-style: none; cursor: pointer; color: var(--blue); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.more-features summary::-webkit-details-marker { display: none; }
.more-features summary::after { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -3px; transition: .2s; }
.more-features[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.more-features[open] summary { margin-bottom: 4px; }
.more-features ul { margin: 12px 0 0; gap: 9px; }
.more-features li { font-size: 14px; }
