html { scroll-behavior: smooth; }
body.epay-modern {
  margin: 0;
  background: var(--epay-bg);
  color: var(--epay-text);
  font-family: var(--epay-font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.epay-modern *, .epay-modern *::before, .epay-modern *::after { box-sizing: border-box; }
.epay-modern a { color: inherit; text-decoration: none; }
.epay-modern button, .epay-modern input { font: inherit; }
.epay-modern :focus { outline: 0; }
.epay-modern :focus-visible { outline: 3px solid rgba(96,165,250,.7); outline-offset: 3px; }
.modern-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--epay-nav); box-shadow: var(--epay-shadow-md); }
.skip-link:focus { top: 12px; }

.modern-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  height: 72px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(11,18,32,.76);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.modern-header.is-scrolled { background: rgba(11,18,32,.92); box-shadow: 0 10px 32px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.07); }
.modern-nav-wrap { height: 72px; display: flex; align-items: center; gap: 30px; }
.modern-brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: #fff; font-size: 17px; font-weight: 740; letter-spacing: -.01em; }
.modern-brand-mark { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--epay-primary); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.modern-nav { margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.modern-nav a { position: relative; padding: 25px 0; color: #bec9da; font-size: 13px; font-weight: 580; }
.modern-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; border-radius: 2px; background: #60a5fa; transition: right .18s ease; }
.modern-nav a:hover { color: #fff; }
.modern-nav a:hover::after { right: 0; }
.modern-nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 16px; }
.modern-login { min-height: 40px; padding: 10px 4px; color: #d5deeb; font-size: 13px; font-weight: 650; }
.modern-login:hover { color: #fff; }
.modern-menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 9px; background: rgba(255,255,255,.08); }
.modern-menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; border-radius: 2px; background: #fff; }

.modern-btn { min-height: 46px; padding: 12px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 680; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease; }
.modern-btn:hover { transform: translateY(-1px); }
.modern-btn:active { transform: translateY(0); }
.modern-btn-sm { min-height: 40px; padding: 9px 15px; font-size: 13px; }
.modern-btn-primary { border-color: var(--epay-primary); background: var(--epay-primary); color: #fff !important; box-shadow: 0 8px 18px rgba(37,99,235,.2); }
.modern-btn-primary:hover { border-color: var(--epay-primary-hover); background: var(--epay-primary-hover); box-shadow: 0 10px 22px rgba(37,99,235,.27); }
.modern-btn-secondary { border-color: var(--epay-border-strong); background: #fff; color: var(--epay-text); }
.modern-btn-secondary:hover { border-color: #94a3b8; color: var(--epay-nav); }
.modern-btn-secondary.dark { border-color: rgba(148,163,184,.42); background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.modern-btn-secondary.dark:hover { border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.1); }

.modern-hero {
  position: relative;
  min-height: 850px;
  padding: 142px 0 0;
  overflow: hidden;
  background-color: var(--epay-nav);
  background-image: linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #fff;
}
.modern-hero::after { content: ""; position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 118px; background: var(--epay-bg); clip-path: polygon(0 72%, 100% 0, 100% 100%, 0 100%); }
.modern-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,.9fr) minmax(560px,1.1fr); align-items: center; gap: 66px; }
.modern-kicker { margin: 0 0 17px; color: #60a5fa; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.modern-hero-copy { padding-bottom: 66px; }
.modern-hero-copy h1 { margin: 0; color: #fff; font-size: clamp(43px, 5vw, 66px); font-weight: 780; line-height: 1.12; letter-spacing: -.052em; }
.modern-hero-copy h1 span { color: #dceaff; }
.modern-hero-lead { max-width: 570px; margin: 24px 0 0; color: #adbad0; font-size: 16px; line-height: 1.9; }
.modern-hero-actions { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 12px; }
.modern-trust-list { margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px 22px; list-style: none; color: #aebbd0; font-size: 12px; }
.modern-trust-list i { margin-right: 6px; color: #34d399; }

.modern-product-signal { position: relative; min-height: 500px; padding-top: 10px; }
.modern-console { position: absolute; top: 14px; right: -118px; width: 740px; height: 464px; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; background: #f7f9fc; box-shadow: 0 36px 90px rgba(0,0,0,.33), inset 0 1px 0 rgba(255,255,255,.9); overflow: hidden; transform: perspective(1500px) rotateY(-5deg) rotateX(1deg); transform-origin: center right; }
.modern-console-top { height: 52px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; background: #111c31; color: #fff; }
.modern-console-brand { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; }
.modern-console-brand > span { width: 20px; height: 20px; border: 5px solid #60a5fa; border-radius: 7px; }
.modern-console-state { color: #b8c5d7; font-size: 9px; }
.modern-console-state i { margin-right: 5px; color: #34d399; font-size: 7px; }
.modern-console-body { height: calc(100% - 52px); display: grid; grid-template-columns: 66px 1fr; }
.modern-console-side { padding: 17px 12px; background: var(--epay-nav); }
.modern-console-side span { display: block; width: 100%; height: 30px; margin-bottom: 8px; border-radius: 7px; background: #1b2940; }
.modern-console-side span.is-current { background: var(--epay-primary); }
.modern-console-main { padding: 24px; color: var(--epay-text); }
.modern-console-heading { display: flex; align-items: center; justify-content: space-between; }
.modern-console-heading small { display: block; margin-bottom: 4px; color: var(--epay-muted); font-size: 9px; }
.modern-console-heading strong { font-size: 18px; }
.modern-console-heading button { min-height: 32px; padding: 6px 10px; border: 1px solid var(--epay-border); border-radius: 7px; background: #fff; color: #94a3b8; font-size: 9px; }
.modern-metric-row { margin-top: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.modern-metric-row > div { padding: 14px; border: 1px solid var(--epay-border); border-radius: 10px; background: #fff; box-shadow: 0 5px 15px rgba(15,23,42,.04); }
.modern-metric-row span, .modern-metric-row small { display: block; color: var(--epay-muted); font-size: 8px; }
.modern-metric-row strong { display: block; margin: 8px 0 4px; color: #111827; font-size: 18px; font-variant-numeric: tabular-nums; }
.modern-orders-preview { margin-top: 12px; border: 1px solid var(--epay-border); border-radius: 10px; background: #fff; overflow: hidden; }
.modern-preview-title { height: 43px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--epay-border); }
.modern-preview-title strong { font-size: 11px; }
.modern-preview-title > span { color: #94a3b8; font-size: 8px; }
.modern-order-head, .modern-order-row { min-height: 34px; padding: 0 12px; display: grid; grid-template-columns: 1.3fr 1fr .75fr .8fr; align-items: center; gap: 10px; font-size: 8px; }
.modern-order-head { background: #f8fafc; color: var(--epay-muted); font-weight: 700; }
.modern-order-row { border-top: 1px solid #edf1f6; color: #475569; }
.modern-placeholder { width: 84%; height: 7px; border-radius: 3px; background: #dfe6ef; }
.modern-placeholder.short { width: 64%; }
.modern-waiting { width: max-content; padding: 3px 6px; border-radius: 999px; background: #eef2f7; color: #64748b; }
.modern-cashier-preview { position: absolute; z-index: 3; right: -20px; bottom: 4px; width: 225px; padding: 17px; border: 1px solid rgba(255,255,255,.72); border-radius: 18px; background: rgba(255,255,255,.95); color: var(--epay-text); box-shadow: 0 26px 55px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.94); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); }
.modern-cashier-merchant { display: flex; align-items: center; gap: 10px; }
.modern-mini-mark { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--epay-primary-soft); color: var(--epay-primary); }
.modern-cashier-merchant b, .modern-cashier-merchant small { display: block; }
.modern-cashier-merchant b { font-size: 10px; }
.modern-cashier-merchant small { margin-top: 2px; color: var(--epay-muted); font-size: 8px; }
.modern-cashier-preview > p { margin: 20px 0 5px; color: var(--epay-muted); font-size: 9px; }
.modern-cashier-amount { display: flex; align-items: baseline; gap: 5px; }
.modern-cashier-amount span { font-size: 17px; font-weight: 650; }
.modern-cashier-amount strong { font-family: var(--epay-mono); font-size: 34px; letter-spacing: -.05em; }
.modern-cashier-preview button { width: 100%; min-height: 38px; margin-top: 15px; border: 0; border-radius: 8px; background: var(--epay-primary); color: #fff; font-size: 10px; font-weight: 700; }

.modern-channel-strip { position: relative; z-index: 3; min-height: 84px; margin-top: 54px; padding: 17px 20px; display: flex; align-items: center; gap: 24px; border: 1px solid var(--epay-border); border-radius: 14px; background: #fff; box-shadow: var(--epay-shadow-sm); color: var(--epay-text); }
.modern-channel-label { flex: 0 0 auto; padding-right: 22px; border-right: 1px solid var(--epay-border); color: var(--epay-muted); font-size: 12px; font-weight: 700; }
.modern-channel-list { flex: 1; display: grid; grid-template-columns: repeat(6,1fr); align-items: center; gap: 10px; }
.modern-channel-list span { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #475569; font-size: 11px; font-weight: 600; white-space: nowrap; }
.modern-channel-list img { width: 24px; height: 24px; object-fit: contain; }
.modern-channel-list span:last-child img { padding: 4px; border-radius: 7px; background: #111827; }

.modern-section { padding: 110px 0; }
.modern-section-heading { max-width: 760px; margin-bottom: 46px; }
.modern-section-heading h2 { margin: 0; color: #111827; font-size: clamp(34px,4.2vw,52px); font-weight: 760; line-height: 1.2; letter-spacing: -.045em; }
.modern-section-heading > p:last-child { max-width: 630px; margin: 18px 0 0; color: var(--epay-muted); font-size: 15px; line-height: 1.8; }
.modern-product-section { padding-top: 138px; background: var(--epay-bg); }
.modern-product-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 22px; align-items: stretch; }
.modern-product-tabs { display: flex; flex-direction: column; gap: 8px; }
.modern-product-tabs button { width: 100%; min-height: 78px; padding: 14px 15px; display: flex; align-items: center; gap: 13px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: var(--epay-text-2); text-align: left; cursor: pointer; }
.modern-product-tabs button > i { width: 38px; height: 38px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 10px; background: #e8edf4; color: #64748b; }
.modern-product-tabs b, .modern-product-tabs small { display: block; }
.modern-product-tabs b { margin-bottom: 5px; color: var(--epay-text); font-size: 14px; }
.modern-product-tabs small { color: var(--epay-muted); font-size: 11px; }
.modern-product-tabs button:hover { background: #eef2f7; }
.modern-product-tabs button.is-active { border-color: #bfd4ff; background: #fff; box-shadow: var(--epay-shadow-sm); }
.modern-product-tabs button.is-active > i { background: var(--epay-primary); color: #fff; }
.modern-workspace { min-height: 470px; border: 1px solid var(--epay-border); border-radius: 16px; background: #fff; box-shadow: 0 22px 55px rgba(15,23,42,.09); overflow: hidden; }
.modern-workspace.is-hidden { display: none; }
.modern-workspace-bar { height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #25334b; background: var(--epay-nav); color: #fff; }
.modern-workspace-bar > div { display: flex; gap: 5px; }
.modern-workspace-bar > div span { width: 7px; height: 7px; border-radius: 50%; background: #4b5c78; }
.modern-workspace-bar p { margin: 0; font-size: 12px; font-weight: 650; }
.modern-workspace-mode { color: #8090a9; font-size: 9px; }
.modern-workspace-content { padding: 24px; }
.modern-filter-row { display: grid; grid-template-columns: 1.45fr 1fr 1fr auto; gap: 9px; }
.modern-filter-row span { min-height: 38px; padding: 11px 12px; border: 1px solid var(--epay-border); border-radius: 8px; color: #94a3b8; font-size: 9px; }
.modern-filter-row button { min-height: 38px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--epay-primary); color: #fff; font-size: 9px; font-weight: 700; }
.modern-data-table { margin-top: 18px; border: 1px solid var(--epay-border); border-radius: 10px; overflow: hidden; }
.modern-data-head { min-height: 42px; padding: 0 14px; display: grid; grid-template-columns: 1.1fr 1.4fr 1fr .8fr .8fr; align-items: center; gap: 12px; background: #f8fafc; color: #64748b; font-size: 9px; font-weight: 700; }
.modern-data-empty { min-height: 258px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #94a3b8; }
.modern-data-empty i { margin-bottom: 13px; font-size: 26px; }
.modern-data-empty b { color: #64748b; font-size: 12px; }
.modern-data-empty small { margin-top: 6px; font-size: 9px; }
.modern-fund-preview { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.modern-fund-preview > div { padding: 20px; border: 1px solid var(--epay-border); border-radius: 10px; }
.modern-fund-preview small, .modern-fund-preview strong, .modern-fund-preview span { display: block; }
.modern-fund-preview small { color: var(--epay-muted); }
.modern-fund-preview strong { margin: 9px 0; font-size: 28px; font-variant-numeric: tabular-nums; }
.modern-fund-preview span { color: #94a3b8; font-size: 10px; }
.modern-fund-preview .modern-fund-list { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 12px; align-items: center; }
.modern-api-preview { display: grid; gap: 12px; }
.modern-api-preview > div { padding: 16px; border: 1px solid var(--epay-border); border-radius: 10px; background: #f8fafc; }
.modern-api-preview small { display: block; margin-bottom: 7px; color: var(--epay-muted); }
.modern-api-preview code { color: var(--epay-text); font-family: var(--epay-mono); overflow-wrap: anywhere; }
.modern-api-preview p { padding: 14px; border: 1px solid #f5d49a; border-radius: 9px; background: #fff9ed; color: #92400e; font-size: 12px; }

.modern-flow-section { border-top: 1px solid var(--epay-border); background: #fff; }
.modern-heading-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.modern-heading-row > a { flex: 0 0 auto; padding-bottom: 6px; color: var(--epay-primary); font-size: 13px; font-weight: 700; }
.modern-flow { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); list-style: none; counter-reset: flow; }
.modern-flow li { position: relative; min-height: 205px; padding: 27px 28px 25px; border-top: 2px solid var(--epay-border); }
.modern-flow li::before { content: ""; position: absolute; top: -6px; left: 27px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: var(--epay-primary); box-shadow: 0 0 0 1px var(--epay-primary); }
.modern-flow li + li { border-left: 1px solid var(--epay-border); }
.modern-flow li > span { color: #b4c1d2; font-family: var(--epay-mono); font-size: 12px; font-weight: 700; }
.modern-flow h3 { margin: 30px 0 10px; color: #111827; font-size: 18px; }
.modern-flow p { margin: 0; color: var(--epay-muted); font-size: 13px; line-height: 1.75; }

.modern-security-section { position: relative; background-color: var(--epay-nav); background-image: linear-gradient(rgba(148,163,184,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.055) 1px, transparent 1px); background-size: 46px 46px; color: #fff; }
.modern-security-layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(500px,1.18fr); gap: 90px; align-items: center; }
.modern-security-copy h2 { margin: 0; color: #fff; font-size: clamp(34px,4vw,50px); font-weight: 760; line-height: 1.24; letter-spacing: -.045em; }
.modern-security-copy > p:not(.modern-kicker) { margin: 22px 0 30px; color: #aebbd0; font-size: 14px; line-height: 1.9; }
.modern-security-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(148,163,184,.18); border-radius: 16px; background: rgba(17,28,49,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.modern-security-list > div { min-height: 174px; padding: 25px; }
.modern-security-list > div:nth-child(odd) { border-right: 1px solid rgba(148,163,184,.16); }
.modern-security-list > div:nth-child(-n+2) { border-bottom: 1px solid rgba(148,163,184,.16); }
.modern-security-list dt { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 700; }
.modern-security-list dt i { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: rgba(37,99,235,.2); color: #60a5fa; }
.modern-security-list dd { margin: 15px 0 0; color: #99a8bf; font-size: 12px; line-height: 1.75; }

.modern-cta { padding: 74px 0; border-bottom: 1px solid rgba(148,163,184,.16); background: #111c31; color: #fff; }
.modern-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.modern-cta h2 { margin: 0; color: #fff; font-size: clamp(28px,3.4vw,42px); letter-spacing: -.035em; }
.modern-cta-inner > div > p:last-child { margin: 12px 0 0; color: #99a8bf; }
.modern-cta-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.modern-footer { padding: 48px 0 26px; background: var(--epay-nav); color: #8392aa; }
.modern-footer-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: start; gap: 50px; }
.footer-brand { margin-bottom: 14px; }
.modern-footer p { margin: 0; font-size: 12px; line-height: 1.7; }
.modern-footer nav { display: flex; flex-wrap: wrap; gap: 13px 23px; }
.modern-footer nav a { color: #aebbd0; font-size: 12px; }
.modern-footer nav a:hover { color: #fff; }
.modern-copyright { text-align: right; white-space: nowrap; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .modern-header { background: #0b1220; }
  .modern-cashier-preview { background: #fff; }
}
@media (prefers-reduced-transparency: reduce) {
  .modern-header { background: #0b1220; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .modern-cashier-preview { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 1120px) {
  .modern-hero-grid { grid-template-columns: minmax(0,.9fr) minmax(490px,1.1fr); gap: 32px; }
  .modern-console { right: -190px; }
  .modern-cashier-preview { right: 0; }
  .modern-security-layout { gap: 48px; }
  .modern-nav { gap: 18px; }
}
@media (max-width: 960px) {
  .modern-nav { display: none; }
  .modern-nav-actions { margin-left: auto; }
  .modern-hero { min-height: auto; padding-bottom: 70px; }
  .modern-hero::after { display: none; }
  .modern-hero-grid { grid-template-columns: 1fr; }
  .modern-hero-copy { max-width: 720px; padding-bottom: 15px; }
  .modern-product-signal { width: min(720px,100%); min-height: 480px; margin: 0 auto; }
  .modern-console { right: auto; left: 0; width: 100%; transform: none; }
  .modern-channel-strip { margin-top: 36px; }
  .modern-channel-list { grid-template-columns: repeat(3,1fr); }
  .modern-channel-strip { align-items: stretch; }
  .modern-product-layout { grid-template-columns: 1fr; }
  .modern-product-tabs { flex-direction: row; }
  .modern-product-tabs button { flex: 1; }
  .modern-security-layout { grid-template-columns: 1fr; }
  .modern-security-copy { max-width: 680px; }
  .modern-footer-inner { grid-template-columns: 1fr 1fr; }
  .modern-copyright { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 767px) {
  .modern-container { width: min(100% - 30px, 620px); }
  .modern-header, .modern-nav-wrap { height: 64px; }
  .modern-nav-wrap { gap: 12px; }
  .modern-nav-actions .modern-login { display: none; }
  .modern-nav-actions .modern-btn { min-height: 38px; padding: 8px 12px; }
  .modern-menu-toggle { display: block; order: 3; }
  .modern-nav { position: absolute; top: 64px; left: 15px; right: 15px; margin: 0; padding: 9px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(11,18,32,.97); box-shadow: 0 24px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06); }
  .modern-nav.is-open { display: flex; }
  .modern-nav a { min-height: 44px; padding: 13px 12px; border-radius: 8px; }
  .modern-nav a:hover { background: rgba(255,255,255,.07); }
  .modern-nav a::after { display: none; }
  .modern-hero { padding-top: 112px; }
  .modern-hero-copy h1 { font-size: clamp(38px,12vw,52px); }
  .modern-hero-lead { font-size: 15px; line-height: 1.75; }
  .modern-hero-actions .modern-btn { width: 100%; min-height: 48px; }
  .modern-trust-list { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .modern-product-signal { min-height: 405px; margin-top: 10px; }
  .modern-console { height: 390px; border-radius: 14px; }
  .modern-console-main { padding: 15px; }
  .modern-console-body { grid-template-columns: 46px 1fr; }
  .modern-console-side { padding: 12px 8px; }
  .modern-console-side span { height: 25px; }
  .modern-metric-row { grid-template-columns: 1fr 1fr; }
  .modern-metric-row > div:last-child { display: none; }
  .modern-order-head, .modern-order-row { grid-template-columns: 1.3fr 1fr .75fr; }
  .modern-order-head span:nth-child(2), .modern-order-row span:nth-child(2) { display: none; }
  .modern-cashier-preview { right: -7px; bottom: -6px; width: 190px; padding: 13px; }
  .modern-cashier-amount strong { font-size: 27px; }
  .modern-channel-strip { padding: 17px; display: block; }
  .modern-channel-label { display: block; margin-bottom: 12px; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--epay-border); }
  .modern-channel-list { grid-template-columns: repeat(2,1fr); gap: 4px; }
  .modern-channel-list span { justify-content: flex-start; }
  .modern-section { padding: 78px 0; }
  .modern-product-section { padding-top: 88px; }
  .modern-section-heading { margin-bottom: 30px; }
  .modern-section-heading h2 { font-size: 34px; }
  .modern-product-tabs { overflow-x: auto; padding-bottom: 3px; }
  .modern-product-tabs button { min-width: 190px; }
  .modern-workspace { min-height: 430px; }
  .modern-workspace-content { padding: 14px; }
  .modern-filter-row { grid-template-columns: 1fr auto; }
  .modern-filter-row span:nth-child(2), .modern-filter-row span:nth-child(3) { display: none; }
  .modern-data-head { grid-template-columns: 1.3fr 1fr .8fr; }
  .modern-data-head span:nth-child(2), .modern-data-head span:nth-child(3) { display: none; }
  .modern-heading-row { display: block; }
  .modern-heading-row > a { display: inline-block; margin-top: 18px; }
  .modern-flow { grid-template-columns: 1fr; }
  .modern-flow li { min-height: 0; padding: 22px 20px 26px 48px; border-top: 0; border-left: 2px solid var(--epay-border) !important; }
  .modern-flow li::before { top: 26px; left: -6px; }
  .modern-flow h3 { margin-top: 10px; }
  .modern-security-list { grid-template-columns: 1fr; }
  .modern-security-list > div { min-height: 0; }
  .modern-security-list > div:nth-child(odd) { border-right: 0; }
  .modern-security-list > div + div { border-top: 1px solid rgba(148,163,184,.16); }
  .modern-cta-inner { display: block; }
  .modern-cta-actions { margin-top: 26px; }
  .modern-cta-actions .modern-btn { flex: 1; }
  .modern-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .modern-copyright { grid-column: auto; }
}
@media (max-width: 380px) {
  .modern-brand { font-size: 14px; }
  .modern-brand-mark { width: 31px; height: 31px; }
  .modern-nav-actions .modern-btn { padding-left: 10px; padding-right: 10px; font-size: 12px; }
  .modern-hero-copy h1 { font-size: 37px; }
  .modern-console-side { display: none; }
  .modern-console-body { grid-template-columns: 1fr; }
  .modern-cashier-preview { width: 178px; }
  .modern-channel-list span { font-size: 10px; }
  .modern-cta-actions { flex-direction: column; }
}
