html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Thai", "Inter", sans-serif;
}

.hero-orb {
  background:
    radial-gradient(42rem 30rem at 78% 18%, rgba(16, 185, 129, .16), transparent 64%),
    radial-gradient(30rem 24rem at 12% 32%, rgba(30, 58, 138, .08), transparent 62%);
  animation: gradientDrift 16s ease-in-out infinite alternate;
}

.feature-hero-visual {
  position: relative;
}

.hero-dashboard {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, #0f172a, #020617);
  padding: 12px;
  box-shadow:
    0 36px 80px -34px rgba(15,23,42,.7),
    inset 0 0 0 1px rgba(255,255,255,.06);
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(16,185,129,.5), transparent 40%, transparent 60%, rgba(16,185,129,.3));
  z-index: -1;
  filter: blur(28px);
  opacity: .65;
  animation: heroSheen 9s ease-in-out infinite alternate;
}

@keyframes heroSheen {
  from { transform: translate3d(-1%, -1%, 0); }
  to { transform: translate3d(1%, 2%, 0); }
}

.hero-dash-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 12px;
}

.hero-dash-dots {
  display: inline-flex;
  gap: 6px;
  flex: 0 0 auto;
}

.hero-dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.hero-dash-dots span:nth-child(1) { background: #f87171; }
.hero-dash-dots span:nth-child(2) { background: #fbbf24; }
.hero-dash-dots span:nth-child(3) { background: #34d399; }

.hero-dash-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 14px;
  letter-spacing: .02em;
}

.hero-dash-favicon {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, #10b981, #059669);
}

.hero-dash-time {
  color: rgba(255,255,255,.55);
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  flex: 0 0 auto;
}

.hero-dash-body {
  border-radius: 14px;
  background:
    radial-gradient(28rem 22rem at 0% 0%, rgba(16,185,129,.16), transparent 60%),
    radial-gradient(28rem 22rem at 100% 100%, rgba(29,78,216,.14), transparent 60%),
    linear-gradient(160deg, #ffffff, #f8fafc);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.hero-dash-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.hero-dash-kicker {
  display: block;
  color: #059669;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-dash-headline b {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  padding: 5px 11px;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  flex: 0 0 auto;
}

.hero-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
  animation: liveDotPulse 1.6s ease-in-out infinite;
}

.hero-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-kpi {
  border-radius: 14px;
  background: white;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  box-shadow: 0 12px 28px -22px rgba(15,23,42,.32);
  opacity: 0;
  transform: translateY(10px) scale(.96);
}

.feature-hero-visual.is-visible .hero-kpi {
  animation: kpiIn .42s cubic-bezier(.34,1.56,.64,1) forwards;
}

.feature-hero-visual.is-visible .hero-kpi:nth-child(1) { animation-delay: .15s; }
.feature-hero-visual.is-visible .hero-kpi:nth-child(2) { animation-delay: .25s; }
.feature-hero-visual.is-visible .hero-kpi:nth-child(3) { animation-delay: .35s; }

.hero-kpi span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.hero-kpi b {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.hero-kpi em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
}

.hero-kpi em.up { color: #059669; }
.hero-kpi em.down { color: #b91c1c; }

.hero-kpi.tone-green { border-left: 3px solid #10b981; }
.hero-kpi.tone-green b { color: #059669; }

.hero-kpi.tone-emerald { border-left: 3px solid #059669; }
.hero-kpi.tone-emerald b { color: #047857; }

.hero-kpi.tone-amber { border-left: 3px solid #d97706; }
.hero-kpi.tone-amber b { color: #d97706; }

.hero-dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.hero-dash-chart-card,
.hero-dash-feed-card {
  border-radius: 14px;
  background: white;
  border: 1px solid #e2e8f0;
  padding: 14px;
  box-shadow: 0 14px 30px -24px rgba(15,23,42,.32);
}

.hero-dash-chart-head,
.hero-dash-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.hero-dash-chart-head b,
.hero-dash-feed-head b {
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 900;
}

.hero-dash-chart-head span,
.feed-count {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 800;
}

.hero-dash-chart {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 92px;
  padding-bottom: 6px;
}

.hero-dash-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #10b981, #059669);
  transform: scaleY(0);
  transform-origin: bottom;
}

.feature-hero-visual.is-visible .hero-dash-chart span {
  animation: barGrow .58s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(1) { animation-delay: .25s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(2) { animation-delay: .3s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(3) { animation-delay: .35s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(4) { animation-delay: .4s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(5) { animation-delay: .45s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(6) { animation-delay: .5s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(7) { animation-delay: .55s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(8) { animation-delay: .6s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(9) { animation-delay: .65s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(10) { animation-delay: .7s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(11) { animation-delay: .75s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(12) { animation-delay: .8s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(13) { animation-delay: .85s; }
.feature-hero-visual.is-visible .hero-dash-chart span:nth-child(14) { animation-delay: .9s; }

.hero-dash-chart-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.hero-dash-chart-foot strong {
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.hero-dash-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  background: #f8fafc;
  padding: 8px 10px;
  opacity: 0;
  transform: translateX(12px);
}

.feature-hero-visual.is-visible .feed-row {
  animation: feedRowIn .42s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-hero-visual.is-visible .feed-row:nth-child(1) { animation-delay: .35s; }
.feature-hero-visual.is-visible .feed-row:nth-child(2) { animation-delay: .5s; }
.feature-hero-visual.is-visible .feed-row:nth-child(3) { animation-delay: .65s; }
.feature-hero-visual.is-visible .feed-row:nth-child(4) { animation-delay: .8s; }

@keyframes feedRowIn {
  to { opacity: 1; transform: translateX(0); }
}

.feed-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.feed-row b {
  display: block;
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 900;
}

.feed-row > div span {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
}

.feed-time {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.hero-system-card {
  position: relative;
  border-radius: 28px;
  background:
    radial-gradient(28rem 22rem at 20% 0%, rgba(16,185,129,.16), transparent 60%),
    radial-gradient(28rem 22rem at 90% 100%, rgba(29,78,216,.14), transparent 60%),
    linear-gradient(160deg, #ffffff, #f8fafc);
  border: 1px solid rgba(226, 232, 240, .9);
  padding: 22px;
  box-shadow:
    0 30px 80px -40px rgba(15,23,42,.32),
    0 16px 40px -28px rgba(16,185,129,.32),
    inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
}

.hero-system-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(16,185,129,.4), transparent 40%, transparent 60%, rgba(29,78,216,.4));
  z-index: -1;
  filter: blur(24px);
  opacity: .7;
  animation: heroSheen 9s ease-in-out infinite alternate;
}

@keyframes heroSheen {
  from { transform: translate3d(-1%, -1%, 0); }
  to { transform: translate3d(1%, 2%, 0); }
}

.hero-system-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-system-kicker {
  display: block;
  color: #059669;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-system-head b {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}

.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  padding: 5px 11px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
  animation: liveDotPulse 1.6s ease-in-out infinite;
}

.hero-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-tile {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: white;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 30px -24px rgba(15,23,42,.32);
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transition: transform .32s cubic-bezier(.22,1,.36,1), border-color .32s ease, box-shadow .32s ease, background .32s ease;
}

.feature-hero-visual.is-visible .hero-tile {
  animation: heroTileIn .52s cubic-bezier(.34,1.56,.64,1) forwards;
}

.feature-hero-visual.is-visible .hero-tile:nth-child(1) { animation-delay: .12s; }
.feature-hero-visual.is-visible .hero-tile:nth-child(2) { animation-delay: .2s; }
.feature-hero-visual.is-visible .hero-tile:nth-child(3) { animation-delay: .28s; }
.feature-hero-visual.is-visible .hero-tile:nth-child(4) { animation-delay: .36s; }

@keyframes heroTileIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(16,185,129,.32);
  background: linear-gradient(180deg, #ffffff, #ecfdf5);
  box-shadow: 0 22px 44px -22px rgba(16,185,129,.45);
}

.hero-tile:hover .tile-arrow {
  transform: translateX(3px);
  color: #059669;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex: 0 0 auto;
}

.tile-icon svg {
  width: 22px;
  height: 22px;
}

.tile-icon.ic-meter {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
}

.tile-icon.ic-line {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #16a34a;
}

.tile-icon.ic-counter {
  background: linear-gradient(135deg, #dcfce7, #ddd6fe);
  color: #059669;
}

.tile-icon.ic-reports {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
}

.tile-body b {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.tile-body p {
  margin-top: 2px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}

.tile-arrow {
  font-family: "Inter", sans-serif;
  color: #94a3b8;
  font-size: 18px;
  font-weight: 900;
  transition: transform .26s ease, color .26s ease;
}

.hero-system-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.hero-system-foot > div:first-child span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.hero-system-foot > div:first-child b {
  display: block;
  margin-top: 2px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.hero-stat {
  text-align: right;
}

.hero-stat span {
  display: block;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}

.hero-stat b {
  display: block;
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #0f172a;
  border-radius: 14px;
  background: #0f172a;
  color: white;
  padding: 8px 16px 8px 12px;
  text-decoration: none;
  box-shadow: 0 14px 30px -22px rgba(15,23,42,.7);
  transition: transform .26s cubic-bezier(.22,1,.36,1), box-shadow .26s ease, background .26s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #1e293b;
  box-shadow: 0 20px 40px -22px rgba(15,23,42,.8);
}

.store-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.store-icon svg {
  width: 26px;
  height: 26px;
}

.store-badge > div {
  display: grid;
  gap: 0;
}

.store-badge span {
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.store-badge b {
  color: white;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.store-meta {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.feature-nav {
  scrollbar-width: none;
}

.feature-nav::-webkit-scrollbar,
.feature-nav > div::-webkit-scrollbar {
  display: none;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s cubic-bezier(.22,1,.36,1), color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.feature-pill:hover,
.feature-pill.is-active {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, .28);
  background: #ecfdf5;
  color: #059669;
  box-shadow: 0 14px 28px -24px rgba(16, 185, 129, .65);
}

.feature-section {
  scroll-margin-top: 132px;
  padding: 96px 20px;
}

.feature-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr);
  gap: 56px;
  align-items: center;
}

.feature-copy {
  max-width: 560px;
}

.feature-kicker {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(16, 185, 129, .2);
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 900;
}

.feature-copy h2 {
  margin-top: 18px;
  color: #0f172a;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.feature-copy p {
  margin-top: 18px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 650;
}

.benefit-list {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
}

.feature-copy.is-visible .benefit-list li {
  animation: benefitIn .42s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-copy.is-visible .benefit-list li:nth-child(1) { animation-delay: .08s; }
.feature-copy.is-visible .benefit-list li:nth-child(2) { animation-delay: .16s; }
.feature-copy.is-visible .benefit-list li:nth-child(3) { animation-delay: .24s; }
.feature-copy.is-visible .benefit-list li:nth-child(4) { animation-delay: .32s; }

.benefit-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 999px;
  background:
    linear-gradient(#10b981, #10b981) center / 9px 2px no-repeat,
    linear-gradient(90deg, transparent 0 30%, #10b981 30% 70%, transparent 70%) center / 2px 9px no-repeat,
    #ecfdf5;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .14);
}

.feature-visual {
  position: relative;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 32px;
  background: rgba(255, 255, 255, .82);
  padding: 26px;
  box-shadow: 0 26px 70px -42px rgba(15, 23, 42, .34), 0 22px 42px -36px rgba(16, 185, 129, .45), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}

.feature-visual:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, .24);
  box-shadow: 0 34px 86px -44px rgba(15, 23, 42, .38), 0 28px 54px -38px rgba(16, 185, 129, .62), inset 0 1px 0 rgba(255,255,255,.9);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .68s cubic-bezier(.22,1,.36,1), transform .68s cubic-bezier(.22,1,.36,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.phone-mockup {
  max-width: 330px;
  margin: 0 auto;
  border: 10px solid #111827;
  border-radius: 36px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  padding: 16px;
  box-shadow: 0 30px 68px -38px rgba(15,23,42,.7);
}

.meter-visual {
  padding: 24px;
}

.meter-demo {
  position: relative;
}

.meter-demo::before {
  content: "";
  position: absolute;
  inset: -20% -12%;
  z-index: -1;
  background:
    radial-gradient(22rem 18rem at 26% 18%, rgba(16,185,129,.12), transparent 68%),
    radial-gradient(26rem 20rem at 88% 74%, rgba(30,58,138,.08), transparent 66%);
  pointer-events: none;
  animation: meterAura 14s ease-in-out infinite alternate;
}

@keyframes meterAura {
  from { transform: translate3d(-1%, -1%, 0); opacity: .9; }
  to { transform: translate3d(1%, 1%, 0); opacity: 1; }
}

.meter-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: rgba(248,250,252,.85);
  padding: 6px;
  backdrop-filter: blur(8px);
}

.meter-stepper button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  padding: 6px 4px;
  transition: background .42s cubic-bezier(.22,1,.36,1), color .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.22,1,.36,1);
}

.meter-stepper .step-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  transition: background .32s ease, color .32s ease, transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease;
}

.meter-stepper .step-label {
  font-size: 10.5px;
  letter-spacing: .01em;
}

.meter-stepper button:hover .step-num {
  background: #cbd5e1;
}

.meter-stepper button.is-done .step-num {
  background: #1d4ed8;
  color: white;
}

.meter-stepper button.is-active {
  background: #ffffff;
  color: #059669;
  box-shadow: 0 12px 28px -20px rgba(16,185,129,.7), inset 0 0 0 1px rgba(16,185,129,.18);
  transform: translateY(-1px);
}

.meter-stepper button.is-active .step-num {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(16,185,129,.16);
}

.meter-stepper button:focus-visible {
  outline: 3px solid rgba(16,185,129,.18);
  outline-offset: 2px;
}

.meter-stage {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.meter-phone-wrap {
  display: flex;
  justify-content: center;
}

.meter-phone {
  max-width: 280px;
  width: 100%;
  border: 11px solid #0f172a;
  border-radius: 38px;
  background: linear-gradient(180deg, #fafbff, #eef2f7);
  padding: 12px;
  box-shadow:
    0 30px 64px -32px rgba(15,23,42,.65),
    0 0 0 1px rgba(15,23,42,.04),
    inset 0 0 0 2px rgba(255,255,255,.55);
  position: relative;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 8px;
  color: #334155;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.phone-top b {
  letter-spacing: .01em;
  transition: opacity .3s ease;
}

.phone-screen-frame {
  position: relative;
  height: 460px;
  border-radius: 22px;
  background:
    radial-gradient(18rem 16rem at 50% 0%, rgba(16,185,129,.08), transparent 60%),
    linear-gradient(180deg, #f8fafc, #eef2ff);
  overflow: hidden;
}

.phone-dock {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 2px 0;
}

.phone-dock span {
  width: 80px;
  height: 4px;
  border-radius: 999px;
  background: rgba(15,23,42,.18);
}

.meter-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  opacity: 0;
  transform: scale(.97) translateY(10px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.meter-screen.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.screen-house {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: white;
  padding: 11px 13px;
  box-shadow: 0 10px 24px -22px rgba(15,23,42,.32);
}

.screen-house-label {
  display: block;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 850;
}

.screen-house b {
  display: block;
  margin-top: 2px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.screen-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  transition: background .32s ease, color .32s ease;
}

.screen-status.is-record {
  background: #fff7ed;
  color: #c2410c;
}

.screen-status.is-preview {
  background: #eff6ff;
  color: #1d4ed8;
}

.screen-status.is-print {
  background: #ecfdf5;
  color: #059669;
}

.screen-status.is-list {
  background: #ecfdf5;
  color: #059669;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  animation: statusDotPulse 1.4s ease-in-out infinite;
}

@keyframes statusDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

.meter-typing-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(16,185,129,.22);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f0fdf4);
  padding: 14px;
  box-shadow: 0 14px 30px -26px rgba(16,185,129,.8);
}

.meter-typing-card label {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .02em;
}

.meter-digits {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cursor-blink {
  display: inline-block;
  width: 3px;
  height: 28px;
  background: #10b981;
  border-radius: 2px;
  animation: cursorBlink .9s steps(2) infinite;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.meter-progress {
  height: 4px;
  border-radius: 999px;
  background: #ecfdf5;
  overflow: hidden;
}

.meter-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #10b981, #1d4ed8);
  border-radius: inherit;
}

.meter-screen[data-screen="0"].is-active .meter-progress span {
  animation: progressFill 1.6s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes progressFill {
  to { width: 100%; }
}

.meter-typing-card p {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}

.meter-typing-card p b {
  color: #059669;
  font-weight: 900;
}

.meter-quick-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.meter-quick-stats div {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  padding: 10px 12px;
  box-shadow: 0 10px 22px -22px rgba(15,23,42,.3);
}

.meter-quick-stats span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.meter-quick-stats b {
  display: block;
  margin-top: 3px;
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  font-weight: 900;
}

.preview-receipt {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: white;
  padding: 14px 16px;
  box-shadow: 0 14px 30px -26px rgba(15,23,42,.32);
}

.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
}

.meter-screen[data-screen="1"].is-active .preview-row {
  animation: previewRowIn .42s cubic-bezier(.22,1,.36,1) forwards;
}

.meter-screen[data-screen="1"].is-active .preview-row:nth-child(1) { animation-delay: .12s; }
.meter-screen[data-screen="1"].is-active .preview-row:nth-child(2) { animation-delay: .2s; }
.meter-screen[data-screen="1"].is-active .preview-row:nth-child(3) { animation-delay: .28s; }
.meter-screen[data-screen="1"].is-active .preview-row:nth-child(4) { animation-delay: .36s; }
.meter-screen[data-screen="1"].is-active .preview-row:nth-child(5) { animation-delay: .48s; }

@keyframes previewRowIn {
  to { opacity: 1; transform: translateY(0); }
}

.preview-row span {
  color: #64748b;
}

.preview-row b {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-weight: 900;
}

.preview-row.total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  font-size: 14px;
}

.preview-row.total b {
  color: #059669;
  font-size: 18px;
}

.confirm-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 13px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 32px -22px rgba(5,150,105,.95);
  transition: transform .26s cubic-bezier(.22,1,.36,1), box-shadow .26s ease, filter .26s ease;
  position: relative;
  overflow: hidden;
}

.confirm-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transform: skewX(-18deg);
  animation: btnShimmer 2.6s ease-in-out infinite;
}

@keyframes btnShimmer {
  0%, 60% { left: -120%; }
  100% { left: 140%; }
}

.confirm-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 40px -22px rgba(5,150,105,1);
}

.confirm-btn.print-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.print-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: white;
  position: relative;
  flex: 0 0 auto;
}

.print-icon::before,
.print-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  background: #059669;
  border-radius: 1px;
}

.print-icon::before {
  top: 3px;
  height: 4px;
  background: rgba(5,150,105,.4);
}

.print-icon::after {
  bottom: 3px;
  height: 5px;
  background: white;
  box-shadow: inset 0 0 0 1px #059669;
}

.success-stage {
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 12px;
}

.success-circle {
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: grid;
  place-items: center;
  color: white;
  position: relative;
  box-shadow: 0 18px 36px -16px rgba(16,185,129,.7);
}

.success-circle::before,
.success-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(16,185,129,.4);
}

.meter-screen[data-screen="2"].is-active .success-circle {
  animation: successPop .55s cubic-bezier(.34,1.56,.64,1);
}

.meter-screen[data-screen="2"].is-active .success-circle::before {
  animation: successRing 1.6s ease-out .55s infinite;
}

.meter-screen[data-screen="2"].is-active .success-circle::after {
  animation: successRing 1.6s ease-out .9s infinite;
}

.success-circle svg {
  width: 46px;
  height: 46px;
  position: relative;
  z-index: 1;
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
}

.meter-screen[data-screen="2"].is-active .success-circle svg {
  animation: drawCheck .55s cubic-bezier(.22,1,.36,1) .35s forwards;
}

@keyframes successPop {
  from { opacity: 0; transform: scale(.4); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes successRing {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.success-stage strong {
  display: block;
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
}

.meter-screen[data-screen="2"].is-active .success-stage strong {
  animation: successText .42s cubic-bezier(.22,1,.36,1) .5s forwards;
}

.success-stage p {
  color: #64748b;
  font-size: 12.5px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
}

.meter-screen[data-screen="2"].is-active .success-stage p {
  animation: successText .42s cubic-bezier(.22,1,.36,1) .65s forwards;
}

@keyframes successText {
  to { opacity: 1; transform: translateY(0); }
}

.success-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
}

.meter-screen[data-screen="2"].is-active .success-detail {
  animation: successText .5s cubic-bezier(.22,1,.36,1) .85s forwards;
}

.success-detail div {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  padding: 10px 12px;
  box-shadow: 0 10px 22px -22px rgba(15,23,42,.3);
}

.success-detail span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.success-detail b {
  display: block;
  margin-top: 3px;
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.invoice-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: linear-gradient(180deg, white, #fafafa);
  padding: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px -26px rgba(15,23,42,.32);
}

.meter-screen[data-screen="3"].is-active .invoice-card {
  animation: paperDrop .55s cubic-bezier(.22,1,.36,1);
}

@keyframes paperDrop {
  from { transform: translateY(-14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.invoice-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  background:
    linear-gradient(135deg, transparent 33%, rgba(15,23,42,.04) 33%) -8px 0/16px 18px,
    linear-gradient(225deg, transparent 33%, rgba(15,23,42,.04) 33%) -8px 0/16px 18px;
  pointer-events: none;
}

.invoice-head {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e2e8f0;
}

.invoice-head b {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.invoice-head span {
  color: #94a3b8;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.invoice-rows {
  display: grid;
  gap: 6px;
}

.invoice-rows div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.invoice-rows div b {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-weight: 900;
}

.invoice-rows div.total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  font-size: 14px;
}

.invoice-rows div.total b {
  color: #059669;
  font-size: 16px;
}

.list-search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  padding: 10px 12px;
}

.search-icon {
  width: 13px;
  height: 13px;
  border: 2px solid #94a3b8;
  border-radius: 999px;
  position: relative;
  flex: 0 0 auto;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 2px;
  background: #94a3b8;
  bottom: -3px;
  right: -4px;
  border-radius: 2px;
  transform: rotate(45deg);
  transform-origin: left;
}

.list-search p {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.list-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  padding: 10px 12px;
  box-shadow: 0 8px 20px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: translateX(28px);
}

.meter-screen[data-screen="4"].is-active .list-row {
  animation: listRowIn .48s cubic-bezier(.22,1,.36,1) forwards;
}

.meter-screen[data-screen="4"].is-active .list-row:nth-child(1) { animation-delay: .1s; }
.meter-screen[data-screen="4"].is-active .list-row:nth-child(2) { animation-delay: .2s; }
.meter-screen[data-screen="4"].is-active .list-row:nth-child(3) { animation-delay: .3s; }
.meter-screen[data-screen="4"].is-active .list-row:nth-child(4) { animation-delay: .4s; }

@keyframes listRowIn {
  to { opacity: 1; transform: translateX(0); }
}

.list-row.is-new {
  border-color: rgba(16,185,129,.32);
  background: linear-gradient(180deg, #ecfdf5, white);
  box-shadow: 0 14px 30px -22px rgba(16,185,129,.5);
}

.list-row b {
  display: block;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 900;
}

.list-row span {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}

.list-row strong {
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.meter-timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 8px 0 8px 30px;
}

.timeline-line {
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.timeline-line span {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #10b981, #1d4ed8);
  border-radius: inherit;
  transition: height .68s cubic-bezier(.22,1,.36,1);
}

.timeline-step {
  position: relative;
  opacity: .45;
  transform: translateX(0);
  transition: opacity .42s ease, transform .42s ease;
}

.timeline-step .dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: white;
  border: 2px solid #cbd5e1;
  transition: border-color .32s ease, background .32s ease, transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease;
}

.timeline-step.is-active {
  opacity: 1;
}

.timeline-step.is-active .dot {
  border-color: #10b981;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16,185,129,.18);
  transform: scale(1.15);
}

.timeline-step.is-done {
  opacity: .85;
}

.timeline-step.is-done .dot {
  background: #10b981;
  border-color: #10b981;
}

.timeline-step b {
  display: block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.timeline-step p {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.feature-visual.is-visible .meter-phone {
  animation: meterPanelIn .68s cubic-bezier(.22,1,.36,1) both;
}

.feature-visual.is-visible .meter-timeline {
  animation: meterPanelIn .68s cubic-bezier(.22,1,.36,1) .15s both;
}

@keyframes meterPanelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.status-cycle,
.payment-status {
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
}

.status-cycle,
.payment-status {
  background: #dcfce7;
  color: #059669;
}

.workflow-card {
  position: relative;
  display: grid;
  gap: 14px;
}

.workflow-progress {
  position: absolute;
  left: 28px;
  top: 38px;
  bottom: 38px;
  width: 3px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.workflow-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(#10b981, #1d4ed8);
  transform: scaleY(0);
  transform-origin: top;
}

.is-visible .workflow-progress span {
  animation: workflowFill .9s cubic-bezier(.22,1,.36,1) .18s forwards;
}

.workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: white;
  padding: 16px;
  box-shadow: 0 14px 34px -28px rgba(15,23,42,.3);
  opacity: 0;
  transform: translateY(12px);
}

.feature-visual.is-visible .workflow-step {
  animation: stepIn .52s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-visual.is-visible .workflow-step:nth-child(3) { animation-delay: .08s; }
.feature-visual.is-visible .workflow-step:nth-child(4) { animation-delay: .16s; }
.feature-visual.is-visible .workflow-step:nth-child(5) { animation-delay: .24s; }
.feature-visual.is-visible .workflow-step:nth-child(6) { animation-delay: .32s; }

.workflow-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #059669;
  font-family: "Inter", sans-serif;
  font-weight: 900;
}

.workflow-step b {
  color: #0f172a;
  font-size: 16px;
}

.workflow-step p {
  grid-column: 2;
  margin-top: -10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.workflow-step {
  transition: transform .32s cubic-bezier(.22,1,.36,1), border-color .32s ease, box-shadow .32s ease;
}

.workflow-step:hover {
  border-color: rgba(16,185,129,.28);
  transform: translateX(4px);
  box-shadow: 0 18px 40px -28px rgba(16,185,129,.5);
}

.workflow-step.is-ready {
  border-color: rgba(16,185,129,.28);
  background: #f0fdf4;
  animation: workflowPulse 3.2s ease-in-out infinite;
}

@keyframes workflowPulse {
  0%, 100% { box-shadow: 0 14px 34px -28px rgba(15,23,42,.3); }
  50% { box-shadow: 0 18px 42px -22px rgba(16,185,129,.55); }
}

.line-visual {
  padding: 24px;
}

.line-demo {
  position: relative;
}

.line-demo::before {
  content: "";
  position: absolute;
  inset: -20% -12%;
  z-index: -1;
  background:
    radial-gradient(22rem 18rem at 26% 18%, rgba(6, 199, 85, .14), transparent 68%),
    radial-gradient(26rem 20rem at 88% 74%, rgba(30,58,138,.08), transparent 66%);
  pointer-events: none;
  animation: meterAura 14s ease-in-out infinite alternate;
}

.line-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-bottom: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: rgba(248,250,252,.85);
  padding: 6px;
  backdrop-filter: blur(8px);
}

.line-stepper button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  padding: 6px 3px;
  transition: background .42s cubic-bezier(.22,1,.36,1), color .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.22,1,.36,1);
}

.line-stepper .step-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  transition: background .32s ease, color .32s ease, transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease;
}

.line-stepper .step-label {
  font-size: 10.5px;
  letter-spacing: .01em;
}

.line-stepper button:hover .step-num {
  background: #cbd5e1;
}

.line-stepper button.is-done .step-num {
  background: #06c755;
  color: white;
}

.line-stepper button.is-active {
  background: #ffffff;
  color: #06c755;
  box-shadow: 0 12px 28px -20px rgba(6,199,85,.7), inset 0 0 0 1px rgba(6,199,85,.18);
  transform: translateY(-1px);
}

.line-stepper button.is-active .step-num {
  background: linear-gradient(135deg, #06c755, #04a648);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(6,199,85,.16);
}

.line-stepper button:focus-visible {
  outline: 3px solid rgba(6,199,85,.18);
  outline-offset: 2px;
}

.line-stage {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.line-phone-wrap {
  display: flex;
  justify-content: center;
}

.line-phone {
  max-width: 280px;
  width: 100%;
  border: 11px solid #0f172a;
  border-radius: 38px;
  background: linear-gradient(180deg, #f3f4f6, #e5e7eb);
  padding: 12px;
  box-shadow:
    0 30px 64px -32px rgba(15,23,42,.65),
    0 0 0 1px rgba(15,23,42,.04),
    inset 0 0 0 2px rgba(255,255,255,.55);
  position: relative;
}

.line-frame {
  background:
    radial-gradient(18rem 16rem at 50% 0%, rgba(6,199,85,.1), transparent 60%),
    linear-gradient(180deg, #ecfeff, #e0f2fe);
}

.line-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px;
  opacity: 0;
  transform: scale(.97) translateY(10px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.line-screen.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.line-chat-bg {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(20rem 14rem at 50% 30%, rgba(6,199,85,.06), transparent 60%);
  border-radius: 14px;
  padding: 10px;
}

.line-bubble {
  align-self: center;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  padding: 4px 12px;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
}

.line-notif-card {
  width: 100%;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  padding: 14px;
  box-shadow: 0 18px 36px -22px rgba(15,23,42,.4);
  border: 1px solid #e5e7eb;
  opacity: 0;
  transform: translateY(-18px) scale(.96);
}

.line-screen[data-screen="0"].is-active .line-notif-card {
  animation: notifSlideIn .58s cubic-bezier(.34,1.56,.64,1) .15s forwards;
}

@keyframes notifSlideIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.notif-app-logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #06c755, #04a648);
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: -.03em;
  flex: 0 0 auto;
}

.notif-head b {
  display: block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.notif-head span {
  display: block;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 700;
}

.notif-title {
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 900;
  margin-bottom: 4px;
}

.notif-desc {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.notif-desc b {
  color: #06c755;
  font-family: "Inter", sans-serif;
  font-weight: 900;
}

.notif-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid #f1f5f9;
}

.notif-actions button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #06c755, #04a648);
  color: white;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 900;
  cursor: pointer;
  padding: 7px 14px;
  box-shadow: 0 10px 22px -16px rgba(6,199,85,.9);
}

.notif-actions span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.line-bill-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 16px;
  background: white;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 26px -22px rgba(15,23,42,.32);
}

.line-bill-summary span {
  display: block;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 850;
}

.line-bill-summary b {
  display: block;
  margin-top: 2px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.line-bill-summary strong {
  color: #06c755;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.line-qr-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 30px -24px rgba(15,23,42,.32);
}

.line-qr-card .qr-large {
  width: 150px;
  margin: 6px 0;
  border: 8px solid #f8fafc;
  border-radius: 18px;
}

.line-qr-card p {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.line-qr-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.bank-app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
  color: white;
  padding: 10px 12px;
  box-shadow: 0 14px 28px -22px rgba(30,64,175,.7);
}

.bank-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: white;
  color: #1d4ed8;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
  flex: 0 0 auto;
}

.bank-app-bar b {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .02em;
}

.bank-app-bar span {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 10.5px;
  font-weight: 700;
}

.scanner-frame {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 50%, rgba(15,23,42,.92), #0f172a);
  padding: 20px;
  overflow: hidden;
}

.scanner-frame .corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #06c755;
  border-style: solid;
  border-width: 0;
}

.scanner-frame .corner.tl { top: 16px; left: 16px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.scanner-frame .corner.tr { top: 16px; right: 16px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.scanner-frame .corner.bl { bottom: 16px; left: 16px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.scanner-frame .corner.br { bottom: 16px; right: 16px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }

.scanner-qr {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  background: white;
  padding: 6px;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,.6);
  position: relative;
  z-index: 1;
}

.scanner-qr .qr-grid {
  height: 100%;
  padding: 4px;
  gap: 2px;
}

.scanner-qr .qr-grid span {
  background: #0f172a;
}

.scanner-line {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6,199,85,.95), transparent);
  box-shadow: 0 0 18px rgba(6,199,85,.7);
  z-index: 2;
  pointer-events: none;
}

.line-screen[data-screen="2"].is-active .scanner-line {
  animation: scannerSweep 1.6s ease-in-out infinite;
}

@keyframes scannerSweep {
  0% { transform: translateY(0); opacity: .25; }
  50% { transform: translateY(115px); opacity: 1; }
  100% { transform: translateY(0); opacity: .25; }
}

.scanner-hint {
  text-align: center;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  margin-top: -2px;
}

.line-screen[data-screen="2"].is-active .scanner-hint {
  animation: scannerHintPulse 1.6s ease-in-out infinite;
}

@keyframes scannerHintPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

.scanner-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  background: white;
  padding: 11px 14px;
  border: 1px solid #e5e7eb;
}

.scanner-amount span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.scanner-amount b {
  color: #06c755;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.line-success {
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 10px;
}

.line-success .success-circle {
  width: 88px;
  height: 88px;
}

.line-success .success-circle svg {
  width: 44px;
  height: 44px;
}

.line-screen[data-screen="3"].is-active .success-circle {
  animation: successPop .55s cubic-bezier(.34,1.56,.64,1);
}

.line-screen[data-screen="3"].is-active .success-circle::before {
  animation: successRing 1.6s ease-out .55s infinite;
}

.line-screen[data-screen="3"].is-active .success-circle::after {
  animation: successRing 1.6s ease-out .9s infinite;
}

.line-screen[data-screen="3"].is-active .success-circle svg {
  animation: drawCheck .55s cubic-bezier(.22,1,.36,1) .35s forwards;
}

.line-success strong {
  display: block;
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
}

.line-screen[data-screen="3"].is-active .line-success strong {
  animation: successText .42s cubic-bezier(.22,1,.36,1) .5s forwards;
}

.line-success p {
  color: #64748b;
  font-size: 12.5px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(6px);
}

.line-screen[data-screen="3"].is-active .line-success p {
  animation: successText .42s cubic-bezier(.22,1,.36,1) .65s forwards;
}

.line-receipt {
  display: grid;
  gap: 6px;
  border: 1px dashed #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
}

.line-screen[data-screen="3"].is-active .line-receipt {
  animation: successText .5s cubic-bezier(.22,1,.36,1) .85s forwards;
}

.line-receipt div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.line-receipt span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.line-receipt b {
  color: #0f172a;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 16px;
  background: linear-gradient(135deg, #06c755 0%, #1d4ed8 120%);
  color: white;
  padding: 13px;
  box-shadow: 0 18px 36px -24px rgba(6,199,85,.7);
}

.profile-card .avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.4);
  font-size: 17px;
  font-weight: 900;
  flex: 0 0 auto;
}

.profile-card > div {
  flex: 1;
}

.profile-card b {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
}

.profile-card span:not(.profile-pill):not(.avatar) {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 800;
}

.profile-pill {
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  color: white;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  flex: 0 0 auto;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.shortcut-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 70px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: white;
  padding: 8px 6px;
  color: #334155;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 850;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 8px 20px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: scale(.85);
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.shortcut-grid button:hover {
  transform: translateY(-2px) scale(1);
  border-color: rgba(6,199,85,.32);
  box-shadow: 0 14px 28px -20px rgba(6,199,85,.5);
}

.line-screen[data-screen="4"].is-active .shortcut-grid button {
  animation: shortcutIn .42s cubic-bezier(.34,1.56,.64,1) forwards;
}

.line-screen[data-screen="4"].is-active .shortcut-grid button:nth-child(1) { animation-delay: .12s; }
.line-screen[data-screen="4"].is-active .shortcut-grid button:nth-child(2) { animation-delay: .18s; }
.line-screen[data-screen="4"].is-active .shortcut-grid button:nth-child(3) { animation-delay: .24s; }
.line-screen[data-screen="4"].is-active .shortcut-grid button:nth-child(4) { animation-delay: .3s; }
.line-screen[data-screen="4"].is-active .shortcut-grid button:nth-child(5) { animation-delay: .36s; }
.line-screen[data-screen="4"].is-active .shortcut-grid button:nth-child(6) { animation-delay: .42s; }

@keyframes shortcutIn {
  to { opacity: 1; transform: scale(1); }
}

.shortcut-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #ecfdf5;
  position: relative;
  flex: 0 0 auto;
}

.shortcut-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
}

.shortcut-icon.ic-user::before {
  border: 2px solid #06c755;
  border-radius: 999px 999px 4px 4px;
  inset: 7px 7px 4px 7px;
  background:
    radial-gradient(circle at 50% 30%, #06c755 30%, transparent 31%);
}

.shortcut-icon.ic-receipt {
  background: #fef3c7;
}

.shortcut-icon.ic-receipt::before {
  background:
    linear-gradient(#d97706, #d97706) 50% 30%/9px 2px no-repeat,
    linear-gradient(#d97706, #d97706) 50% 50%/9px 2px no-repeat,
    linear-gradient(#d97706, #d97706) 50% 70%/6px 2px no-repeat;
  border: 1.5px solid #d97706;
  border-radius: 3px;
}

.shortcut-icon.ic-drop {
  background: #dbeafe;
}

.shortcut-icon.ic-drop::before {
  border: 2px solid #1d4ed8;
  background: rgba(29,78,216,.15);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  inset: 6px 8px 6px 8px;
}

.shortcut-icon.ic-bell {
  background: #fee2e2;
}

.shortcut-icon.ic-bell::before {
  background: #dc2626;
  border-radius: 6px 6px 50% 50% / 6px 6px 30% 30%;
  inset: 7px;
  box-shadow: 0 7px 0 -3px #dc2626;
}

.shortcut-icon.ic-phone {
  background: #dcfce7;
}

.shortcut-icon.ic-phone::before {
  background: #10b981;
  border-radius: 4px 4px 8px 8px;
  inset: 6px 9px 6px 9px;
  box-shadow: inset 0 1px 0 0 white, inset 0 -1px 0 0 white;
}

.shortcut-icon.ic-help {
  background: #fce7f3;
}

.shortcut-icon.ic-help::before {
  background:
    radial-gradient(circle at 50% 30%, #db2777 18%, transparent 19%) no-repeat,
    radial-gradient(circle at 50% 75%, #db2777 8%, transparent 9%) no-repeat;
  border: 2px solid #db2777;
  border-radius: 999px;
  inset: 5px;
}

.recent-card {
  display: grid;
  gap: 8px;
  border-radius: 14px;
  background: white;
  padding: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 22px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: translateY(8px);
}

.line-screen[data-screen="4"].is-active .recent-card {
  animation: recentCardIn .42s cubic-bezier(.22,1,.36,1) .5s forwards;
}

@keyframes recentCardIn {
  to { opacity: 1; transform: translateY(0); }
}

.recent-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.recent-head b {
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 900;
}

.paid-pill {
  border-radius: 999px;
  background: #ecfdf5;
  color: #06c755;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
}

.recent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.recent-row > div {
  flex: 1;
}

.recent-row b {
  display: block;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.recent-row span {
  display: block;
  margin-top: 1px;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 700;
}

.recent-row strong {
  color: #06c755;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.trend-header {
  display: grid;
  gap: 4px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5, #dbeafe);
  padding: 14px;
  border: 1px solid #e5e7eb;
}

.trend-header span {
  color: #475569;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .02em;
}

.trend-header strong {
  color: #06c755;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1;
}

.trend-header p {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 2px;
}

.trend-chart {
  flex: 1;
  display: flex;
  align-items: end;
  gap: 5px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  padding: 14px 12px;
  border: 1px solid #e5e7eb;
  min-height: 120px;
}

.trend-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #06c755, #1d4ed8);
  transform: scaleY(0);
  transform-origin: bottom;
}

.line-screen[data-screen="5"].is-active .trend-chart span {
  animation: barGrow .58s cubic-bezier(.22,1,.36,1) forwards;
}

.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(1) { animation-delay: .05s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(2) { animation-delay: .1s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(3) { animation-delay: .15s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(4) { animation-delay: .2s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(5) { animation-delay: .25s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(6) { animation-delay: .3s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(7) { animation-delay: .35s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(8) { animation-delay: .4s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(9) { animation-delay: .45s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(10) { animation-delay: .5s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(11) { animation-delay: .55s; }
.line-screen[data-screen="5"].is-active .trend-chart span:nth-child(12) { animation-delay: .6s; }

.trend-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}

.line-timeline {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 8px 0 8px 30px;
}

.line-timeline .timeline-line {
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.line-timeline .timeline-line span {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, #06c755, #1d4ed8);
  border-radius: inherit;
  transition: height .68s cubic-bezier(.22,1,.36,1);
}

.line-timeline .timeline-step.is-active .dot {
  border-color: #06c755;
  background: #06c755;
  box-shadow: 0 0 0 6px rgba(6,199,85,.18);
  transform: scale(1.15);
}

.line-timeline .timeline-step.is-done .dot {
  background: #06c755;
  border-color: #06c755;
}

.feature-visual.is-visible .line-phone {
  animation: meterPanelIn .68s cubic-bezier(.22,1,.36,1) both;
}

.feature-visual.is-visible .line-timeline {
  animation: meterPanelIn .68s cubic-bezier(.22,1,.36,1) .15s both;
}

.usage-graph,
.dashboard-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 86px;
  margin-top: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  padding: 14px;
}

.usage-graph span,
.dashboard-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #10b981, #60a5fa);
  transform: scaleY(0);
  transform-origin: bottom;
}

.is-visible .usage-graph span,
.is-visible .dashboard-chart span {
  animation: barGrow .62s cubic-bezier(.22,1,.36,1) forwards;
}

.is-visible .usage-graph span:nth-child(2),
.is-visible .dashboard-chart span:nth-child(2) { animation-delay: .08s; }
.is-visible .usage-graph span:nth-child(3),
.is-visible .dashboard-chart span:nth-child(3) { animation-delay: .16s; }
.is-visible .usage-graph span:nth-child(4),
.is-visible .dashboard-chart span:nth-child(4) { animation-delay: .24s; }
.is-visible .usage-graph span:nth-child(5),
.is-visible .dashboard-chart span:nth-child(5) { animation-delay: .32s; }
.is-visible .dashboard-chart span:nth-child(6) { animation-delay: .4s; }

@keyframes floatGentle {
  from { transform: translateY(0); }
  to { transform: translateY(-4px); }
}

.counter-visual,
.reports-visual {
  padding: 24px;
}

.counter-demo,
.reports-demo {
  position: relative;
}

.counter-demo::before,
.reports-demo::before {
  content: "";
  position: absolute;
  inset: -20% -12%;
  z-index: -1;
  pointer-events: none;
  animation: meterAura 14s ease-in-out infinite alternate;
}

.counter-demo::before {
  background:
    radial-gradient(22rem 18rem at 26% 18%, rgba(16,185,129,.12), transparent 68%),
    radial-gradient(26rem 20rem at 88% 74%, rgba(16,185,129,.1), transparent 66%);
}

.reports-demo::before {
  background:
    radial-gradient(22rem 18rem at 26% 18%, rgba(29,78,216,.14), transparent 68%),
    radial-gradient(26rem 20rem at 88% 74%, rgba(16,185,129,.1), transparent 66%);
}

.counter-stepper,
.reports-stepper {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: rgba(248,250,252,.85);
  padding: 6px;
  backdrop-filter: blur(8px);
}

.counter-stepper {
  grid-template-columns: repeat(4, 1fr);
}

.reports-stepper {
  grid-template-columns: repeat(4, 1fr);
}

.counter-stepper button,
.reports-stepper button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  padding: 6px 4px;
  transition: background .42s cubic-bezier(.22,1,.36,1), color .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.22,1,.36,1);
}

.counter-stepper .step-num,
.reports-stepper .step-num {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  transition: background .32s ease, color .32s ease, transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease;
}

.counter-stepper .step-label,
.reports-stepper .step-label {
  font-size: 10.5px;
  letter-spacing: .01em;
}

.counter-stepper button:hover .step-num,
.reports-stepper button:hover .step-num {
  background: #cbd5e1;
}

.counter-stepper button.is-done .step-num {
  background: #059669;
  color: white;
}

.reports-stepper button.is-done .step-num {
  background: #059669;
  color: white;
}

.counter-stepper button.is-active {
  background: white;
  color: #059669;
  box-shadow: 0 12px 28px -20px rgba(16,185,129,.7), inset 0 0 0 1px rgba(16,185,129,.18);
  transform: translateY(-1px);
}

.counter-stepper button.is-active .step-num {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(16,185,129,.16);
}

.reports-stepper button.is-active {
  background: white;
  color: #059669;
  box-shadow: 0 12px 28px -20px rgba(16,185,129,.7), inset 0 0 0 1px rgba(16,185,129,.18);
  transform: translateY(-1px);
}

.reports-stepper button.is-active .step-num {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(16,185,129,.16);
}

.counter-stage,
.reports-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.pos-mockup-wrap,
.laptop-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pos-mockup {
  border-radius: 22px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  padding: 12px;
  box-shadow:
    0 36px 70px -30px rgba(15,23,42,.7),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

.pos-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
}

.pos-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.pos-dot.r { background: #f87171; }
.pos-dot.y { background: #fbbf24; }
.pos-dot.g { background: #34d399; }

.pos-bar b {
  flex: 1;
  text-align: center;
  color: rgba(255,255,255,.85);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}

.pos-time {
  color: rgba(255,255,255,.6);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.pos-screen-frame {
  position: relative;
  height: 380px;
  border-radius: 14px;
  background:
    radial-gradient(20rem 18rem at 50% 0%, rgba(16,185,129,.08), transparent 60%),
    linear-gradient(180deg, #f8fafc, #ffffff);
  overflow: hidden;
}

.counter-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 14px;
  opacity: 0;
  transform: scale(.97) translateY(10px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.counter-screen.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.pos-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(16,185,129,.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #ecfdf5);
  padding: 11px 14px;
  box-shadow: 0 0 0 4px rgba(16,185,129,.06), 0 12px 28px -22px rgba(16,185,129,.55);
}

.pos-search-bar .search-icon {
  border-color: #059669;
}

.pos-search-bar .search-icon::after {
  background: #059669;
}

.pos-search-text {
  color: #0f172a;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .02em;
}

.pos-search-bar .cursor-blink {
  height: 18px;
  background: #059669;
}

.pos-search-hint {
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
}

.pos-search-results {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.pos-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  padding: 10px 12px;
  box-shadow: 0 8px 20px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: translateX(-16px);
}

.counter-screen[data-screen="0"].is-active .pos-result-row {
  animation: posRowIn .42s cubic-bezier(.22,1,.36,1) forwards;
}

.counter-screen[data-screen="0"].is-active .pos-result-row:nth-child(1) { animation-delay: .15s; }
.counter-screen[data-screen="0"].is-active .pos-result-row:nth-child(2) { animation-delay: .25s; }
.counter-screen[data-screen="0"].is-active .pos-result-row:nth-child(3) { animation-delay: .35s; }

@keyframes posRowIn {
  to { opacity: 1; transform: translateX(0); }
}

.pos-result-row.is-highlight {
  border-color: rgba(16,185,129,.3);
  background: linear-gradient(180deg, #ecfdf5, white);
  box-shadow: 0 14px 30px -22px rgba(16,185,129,.5);
}

.pos-result-row b {
  display: block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.pos-result-row span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.amt-due {
  color: #b91c1c;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.amt-paid {
  color: #059669;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: #ecfdf5;
  padding: 4px 10px;
}

.pos-customer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 14px;
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  padding: 12px 14px;
  box-shadow: 0 16px 32px -22px rgba(5,150,105,.7);
}

.pos-customer-card span {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: 11px;
  font-weight: 800;
}

.pos-customer-card b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 900;
}

.pos-customer-card strong {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.pay-method-label {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 850;
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pay-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 70px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  color: #64748b;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px -22px rgba(15,23,42,.3);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease, background .26s ease;
}

.pay-method:hover {
  transform: translateY(-2px);
  border-color: rgba(16,185,129,.32);
  box-shadow: 0 14px 26px -20px rgba(16,185,129,.5);
}

.pay-method.is-selected {
  border-color: #10b981;
  background: linear-gradient(180deg, #ffffff, #ecfdf5);
  color: #059669;
  box-shadow: 0 14px 30px -20px rgba(16,185,129,.6);
}

.pay-method b {
  font-size: 11px;
  font-weight: 900;
}

.pm-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  position: relative;
}

.pm-icon.pm-cash {
  background: #ecfdf5;
}

.pm-icon.pm-cash::before {
  content: "฿";
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.pm-icon.pm-transfer {
  background: #dbeafe;
}

.pm-icon.pm-transfer::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #1d4ed8;
  border-radius: 4px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  transform: rotate(45deg);
}

.pm-icon.pm-qr {
  background: #ecfdf5;
}

.pm-icon.pm-qr::before {
  content: "";
  width: 14px;
  height: 14px;
  background:
    linear-gradient(#059669, #059669) 0 0/5px 5px no-repeat,
    linear-gradient(#059669, #059669) 100% 0/5px 5px no-repeat,
    linear-gradient(#059669, #059669) 0 100%/5px 5px no-repeat;
}

.pm-icon.pm-card {
  background: #fef3c7;
}

.pm-icon.pm-card::before {
  content: "";
  width: 16px;
  height: 11px;
  background: linear-gradient(#d97706, #d97706) 0 30%/100% 2px no-repeat;
  border: 1.5px solid #d97706;
  border-radius: 2px;
}

.pay-summary {
  display: grid;
  gap: 4px;
  margin-top: auto;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
}

.pay-summary div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.pay-summary b {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-weight: 900;
}

.pay-summary div.total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  font-size: 13px;
}

.pay-summary div.total b {
  color: #059669;
  font-size: 16px;
}

.cash-row {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(16,185,129,.22);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #ecfdf5);
  padding: 12px 14px;
}

.cash-row label {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 900;
}

.cash-row > div {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.cash-keys {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.cash-keys span {
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: white;
  color: #475569;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 900;
  padding: 8px 4px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.cash-keys span.active {
  background: #059669;
  color: white;
  border-color: #059669;
  box-shadow: 0 8px 20px -14px rgba(5,150,105,.8);
}

.change-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  border-radius: 12px;
  background: #ecfdf5;
  padding: 11px 14px;
}

.change-row span {
  color: #059669;
  font-size: 11.5px;
  font-weight: 900;
}

.change-row b {
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.01em;
}

.pos-confirm-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 16px 32px -22px rgba(5,150,105,.95);
}

.receipt-paper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, white, #fafafa);
  padding: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 30px -26px rgba(15,23,42,.32);
  position: relative;
}

.counter-screen[data-screen="3"].is-active .receipt-paper {
  animation: paperDrop .55s cubic-bezier(.22,1,.36,1);
}

.receipt-paper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 14px;
  background:
    linear-gradient(135deg, transparent 33%, rgba(15,23,42,.04) 33%) -7px 0/14px 14px,
    linear-gradient(225deg, transparent 33%, rgba(15,23,42,.04) 33%) -7px 0/14px 14px;
  pointer-events: none;
}

.receipt-head {
  display: grid;
  gap: 2px;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e2e8f0;
}

.receipt-head b {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
}

.receipt-head span {
  color: #94a3b8;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
}

.receipt-body {
  display: grid;
  gap: 4px;
}

.receipt-body div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: #475569;
  font-weight: 700;
}

.receipt-body b {
  color: #0f172a;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-weight: 900;
}

.receipt-total {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px dashed #e2e8f0;
}

.receipt-total b {
  color: #059669 !important;
  font-size: 14px;
}

.receipt-foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.receipt-barcode {
  display: flex;
  gap: 1.5px;
  height: 24px;
  align-items: stretch;
}

.receipt-barcode span {
  flex: 1;
  background: #0f172a;
  border-radius: 1px;
}

.receipt-barcode span:nth-child(2n) { flex: .4; opacity: .7; }
.receipt-barcode span:nth-child(3n) { flex: 1.4; }
.receipt-barcode span:nth-child(5n) { flex: .25; }

.receipt-foot p {
  text-align: center;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

.pos-print-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 16px 32px -22px rgba(5,150,105,.95);
}

.pos-base {
  height: 14px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border-radius: 0 0 28px 28px;
  margin: 0 -10px;
  box-shadow: 0 30px 50px -30px rgba(15,23,42,.5);
}

.counter-timeline,
.reports-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 14px 4px 6px;
}

.counter-timeline .timeline-step,
.reports-timeline .timeline-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 0 0 0;
  position: relative;
}

.counter-timeline .timeline-step .dot,
.reports-timeline .timeline-step .dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
}

.counter-timeline .timeline-line,
.reports-timeline .timeline-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 20px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  width: auto;
  bottom: auto;
}

.counter-timeline .timeline-line span,
.reports-timeline .timeline-line span {
  display: block;
  height: 100%;
  width: 0;
  transition: width .68s cubic-bezier(.22,1,.36,1);
}

.counter-timeline .timeline-line span { background: linear-gradient(90deg, #10b981, #1d4ed8); }
.reports-timeline .timeline-line span { background: linear-gradient(90deg, #10b981, #059669); }

.counter-timeline .timeline-line span,
.reports-timeline .timeline-line span {
  display: block;
  width: 100%;
  height: 0;
  border-radius: inherit;
  transition: height .68s cubic-bezier(.22,1,.36,1);
}

.counter-timeline .timeline-line span {
  background: linear-gradient(180deg, #10b981, #1d4ed8);
}

.reports-timeline .timeline-line span {
  background: linear-gradient(180deg, #10b981, #059669);
}

.counter-timeline .timeline-step.is-active .dot {
  border-color: #10b981;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16,185,129,.18);
  transform: scale(1.15);
}

.counter-timeline .timeline-step.is-done .dot {
  background: #10b981;
  border-color: #10b981;
}

.reports-timeline .timeline-step.is-active .dot {
  border-color: #10b981;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16,185,129,.18);
  transform: scale(1.15);
}

.reports-timeline .timeline-step.is-done .dot {
  background: #10b981;
  border-color: #10b981;
}

.feature-visual.is-visible .pos-mockup,
.feature-visual.is-visible .laptop-mockup {
  animation: meterPanelIn .68s cubic-bezier(.22,1,.36,1) both;
}

.feature-visual.is-visible .counter-timeline,
.feature-visual.is-visible .reports-timeline {
  animation: meterPanelIn .68s cubic-bezier(.22,1,.36,1) .15s both;
}

.laptop-mockup {
  border-radius: 16px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  padding: 10px;
  box-shadow:
    0 36px 70px -30px rgba(15,23,42,.7),
    inset 0 0 0 1px rgba(255,255,255,.08);
}

.laptop-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 8px;
}

.laptop-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.laptop-dot.r { background: #f87171; }
.laptop-dot.y { background: #fbbf24; }
.laptop-dot.g { background: #34d399; }

.laptop-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  font-size: 11.5px;
  font-weight: 900;
  padding: 5px 12px;
  letter-spacing: .02em;
}

.laptop-tab .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.22);
  animation: liveDotPulse 1.6s ease-in-out infinite;
}

.laptop-screen-frame {
  position: relative;
  height: 380px;
  border-radius: 10px;
  background:
    radial-gradient(20rem 18rem at 50% 0%, rgba(29,78,216,.08), transparent 60%),
    linear-gradient(180deg, #f8fafc, #ffffff);
  overflow: hidden;
}

.reports-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  opacity: 0;
  transform: scale(.97) translateY(10px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.reports-screen.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.reports-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.reports-screen-head b {
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 900;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  padding: 4px 10px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.live-pill > span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,.22);
  animation: liveDotPulse 1.6s ease-in-out infinite;
}

.kpi-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kpi-card {
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  padding: 16px;
  display: grid;
  gap: 8px;
  align-content: start;
  opacity: 0;
  transform: translateY(10px) scale(.96);
}

.reports-screen[data-screen="0"].is-active .kpi-card {
  animation: kpiIn .42s cubic-bezier(.34,1.56,.64,1) forwards;
}

.reports-screen[data-screen="0"].is-active .kpi-card:nth-child(1) { animation-delay: .12s; }
.reports-screen[data-screen="0"].is-active .kpi-card:nth-child(2) { animation-delay: .2s; }
.reports-screen[data-screen="0"].is-active .kpi-card:nth-child(3) { animation-delay: .28s; }
.reports-screen[data-screen="0"].is-active .kpi-card:nth-child(4) { animation-delay: .36s; }

@keyframes kpiIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.kpi-card span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.kpi-card b {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.kpi-card em {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}

.kpi-green b { color: #059669; }
.kpi-green em { color: #059669; }

.kpi-blue b { color: #1d4ed8; }
.kpi-blue em { color: #1d4ed8; }

.kpi-red b { color: #dc2626; }
.kpi-red em { color: #059669; }

.kpi-amber b { color: #d97706; }
.kpi-amber em { color: #64748b; }

.big-chart {
  flex: 1;
  position: relative;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border: 1px solid #e2e8f0;
  padding: 12px;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  z-index: 2;
}

.chart-line .chart-stroke {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

.reports-screen[data-screen="1"].is-active .chart-line .chart-stroke {
  animation: chartDraw 1.2s cubic-bezier(.22,1,.36,1) .15s forwards;
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

.chart-line .chart-area {
  opacity: 0;
}

.reports-screen[data-screen="1"].is-active .chart-line .chart-area {
  animation: chartAreaIn .6s ease-out 1s forwards;
}

@keyframes chartAreaIn {
  to { opacity: 1; }
}

.chart-bars {
  position: absolute;
  inset: 12px;
  display: flex;
  align-items: end;
  gap: 4px;
  padding-top: 12px;
}

.chart-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(29,78,216,.7), rgba(16,185,129,.5));
  transform: scaleY(0);
  transform-origin: bottom;
}

.reports-screen[data-screen="1"].is-active .chart-bars span {
  animation: barGrow .58s cubic-bezier(.22,1,.36,1) forwards;
}

.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(1) { animation-delay: .05s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(2) { animation-delay: .1s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(3) { animation-delay: .15s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(4) { animation-delay: .2s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(5) { animation-delay: .25s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(6) { animation-delay: .3s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(7) { animation-delay: .35s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(8) { animation-delay: .4s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(9) { animation-delay: .45s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(10) { animation-delay: .5s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(11) { animation-delay: .55s; }
.reports-screen[data-screen="1"].is-active .chart-bars span:nth-child(12) { animation-delay: .6s; }

.chart-tabs,
.table-tools {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  background: #f1f5f9;
  border-radius: 999px;
}

.chart-tabs span,
.tool-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 900;
  color: #64748b;
  background: transparent;
}

.chart-tabs .active,
.tool-pill {
  background: white;
  color: #1d4ed8;
  box-shadow: 0 6px 14px -10px rgba(29,78,216,.5);
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chart-legend span b {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.chart-legend strong {
  margin-left: auto;
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.data-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.table-head,
.table-row {
  display: grid;
  grid-template-columns: .9fr 1fr 1fr .8fr;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  font-size: 11.5px;
}

.table-head {
  background: #f8fafc;
  color: #64748b;
  font-weight: 900;
  letter-spacing: .04em;
  border-bottom: 1px solid #e2e8f0;
}

.table-row {
  border-top: 1px solid #f1f5f9;
  color: #334155;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-12px);
}

.reports-screen[data-screen="2"].is-active .table-row {
  animation: tableRowIn .42s cubic-bezier(.22,1,.36,1) forwards;
}

.reports-screen[data-screen="2"].is-active .table-row:nth-child(1) { animation-delay: .1s; }
.reports-screen[data-screen="2"].is-active .table-row:nth-child(2) { animation-delay: .16s; }
.reports-screen[data-screen="2"].is-active .table-row:nth-child(3) { animation-delay: .22s; }
.reports-screen[data-screen="2"].is-active .table-row:nth-child(4) { animation-delay: .28s; }
.reports-screen[data-screen="2"].is-active .table-row:nth-child(5) { animation-delay: .34s; }
.reports-screen[data-screen="2"].is-active .table-row:nth-child(6) { animation-delay: .4s; }
.reports-screen[data-screen="2"].is-active .table-row:nth-child(7) { animation-delay: .46s; }

@keyframes tableRowIn {
  to { opacity: 1; transform: translateX(0); }
}

.table-row strong {
  color: #1d4ed8;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  text-align: right;
}

.table-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 800;
}

.table-foot strong {
  color: #1d4ed8;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.compare-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 8px;
}

.compare-row {
  display: grid;
  grid-template-columns: 130px 1fr 80px;
  gap: 12px;
  align-items: center;
  opacity: 0;
  transform: translateX(-14px);
}

.reports-screen[data-screen="3"].is-active .compare-row {
  animation: tableRowIn .48s cubic-bezier(.22,1,.36,1) forwards;
}

.reports-screen[data-screen="3"].is-active .compare-row:nth-child(1) { animation-delay: .12s; }
.reports-screen[data-screen="3"].is-active .compare-row:nth-child(2) { animation-delay: .22s; }
.reports-screen[data-screen="3"].is-active .compare-row:nth-child(3) { animation-delay: .32s; }
.reports-screen[data-screen="3"].is-active .compare-row:nth-child(4) { animation-delay: .42s; }
.reports-screen[data-screen="3"].is-active .compare-row:nth-child(5) { animation-delay: .52s; }

.compare-label b {
  display: block;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.compare-label span {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 800;
}

.compare-bar {
  height: 8px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
}

.compare-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #10b981, #1d4ed8);
}

.reports-screen[data-screen="3"].is-active .compare-bar span {
  animation: compareGrow .8s cubic-bezier(.22,1,.36,1) forwards;
}

.reports-screen[data-screen="3"].is-active .compare-row:nth-child(1) .compare-bar span { animation-delay: .25s; }
.reports-screen[data-screen="3"].is-active .compare-row:nth-child(2) .compare-bar span { animation-delay: .35s; }
.reports-screen[data-screen="3"].is-active .compare-row:nth-child(3) .compare-bar span { animation-delay: .45s; }
.reports-screen[data-screen="3"].is-active .compare-row:nth-child(4) .compare-bar span { animation-delay: .55s; }
.reports-screen[data-screen="3"].is-active .compare-row:nth-child(5) .compare-bar span { animation-delay: .65s; }

@keyframes compareGrow {
  to { width: var(--w); }
}

.compare-row strong {
  text-align: right;
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.laptop-base {
  height: 14px;
  width: 110%;
  margin: 0 -5%;
  background:
    linear-gradient(180deg, #334155, #0f172a);
  border-radius: 0 0 12px 12px;
  position: relative;
}

.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 50px;
  height: 4px;
  background: #0f172a;
  border-radius: 0 0 8px 8px;
  transform: translateX(-50%);
}

.extra-visual {
  padding: 24px;
}

.extra-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.extra-grid::before {
  content: "";
  position: absolute;
  inset: -20% -12%;
  z-index: -1;
  background:
    radial-gradient(22rem 18rem at 26% 18%, rgba(16,185,129,.12), transparent 68%),
    radial-gradient(26rem 20rem at 88% 74%, rgba(5,150,105,.1), transparent 66%);
  pointer-events: none;
  animation: meterAura 14s ease-in-out infinite alternate;
}

.extra-card {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #fafbfc);
  border: 1px solid #e2e8f0;
  padding: 16px;
  box-shadow: 0 16px 36px -28px rgba(15,23,42,.32);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: transform .32s cubic-bezier(.22,1,.36,1), border-color .32s ease, box-shadow .32s ease;
}

.feature-visual.is-visible .extra-card {
  animation: extraCardIn .52s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-visual.is-visible .extra-card:nth-child(1) { animation-delay: .12s; }
.feature-visual.is-visible .extra-card:nth-child(2) { animation-delay: .2s; }
.feature-visual.is-visible .extra-card:nth-child(3) { animation-delay: .28s; }
.feature-visual.is-visible .extra-card:nth-child(4) { animation-delay: .36s; }
.feature-visual.is-visible .extra-card:nth-child(5) { animation-delay: .44s; }
.feature-visual.is-visible .extra-card:nth-child(6) { animation-delay: .52s; }

@keyframes extraCardIn {
  to { opacity: 1; transform: translateY(0); }
}

.extra-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16,185,129,.32);
  box-shadow: 0 24px 50px -28px rgba(16,185,129,.45);
}

.extra-card-wide {
  grid-column: 1 / -1;
}

.extra-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.extra-card-tag {
  display: inline-block;
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 4px;
}

.extra-card-head b {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.extra-card-head p {
  margin-top: 3px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}

.fee-grid.mini {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fee-grid.mini .fee-card {
  padding: 10px 12px;
  gap: 6px;
}

.fee-grid.mini .fee-card b {
  font-size: 12px;
}

.fee-grid.mini .fee-card em {
  font-size: 14px;
}

.fee-grid.mini .fee-icon {
  width: 30px;
  height: 30px;
}

.basic-stack {
  display: grid;
  gap: 10px;
}

.basic-mini {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  padding: 11px 12px;
  display: grid;
  gap: 8px;
}

.basic-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px dashed #f1f5f9;
}

.basic-mini-head b {
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.basic-mini-head span {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}

.basic-mini-rows {
  display: grid;
  gap: 4px;
}

.basic-mini-rows div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
}

.basic-mini-rows div span {
  color: #475569;
  font-weight: 700;
}

.basic-mini-rows div strong {
  color: #059669;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-weight: 900;
}

.basic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.basic-chips span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  padding: 5px 10px;
  font-size: 10.5px;
  font-weight: 900;
}

.report-grid.wide {
  grid-template-columns: repeat(6, 1fr);
}

.report-grid.wide .report-card {
  padding: 11px 8px;
  gap: 5px;
}

.report-grid.wide .report-card b {
  font-size: 11.5px;
}

.report-grid.wide .report-card em {
  font-size: 10px;
}

.extra-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: rgba(248,250,252,.85);
  padding: 6px;
}

.extra-tabs button {
  flex: 1 1 auto;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  padding: 10px 14px;
  transition: background .32s ease, color .32s ease, box-shadow .32s ease, transform .32s cubic-bezier(.22,1,.36,1);
}

.extra-tabs button:hover {
  color: #475569;
  background: rgba(255,255,255,.6);
}

.extra-tabs button.is-active {
  background: white;
  color: #059669;
  box-shadow: 0 12px 28px -22px rgba(16,185,129,.6), inset 0 0 0 1px rgba(16,185,129,.18);
  transform: translateY(-1px);
}

.extra-stage {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  padding: 22px;
  min-height: 380px;
  box-shadow: 0 20px 50px -34px rgba(15,23,42,.34);
  overflow: hidden;
}

.extra-panel {
  position: absolute;
  inset: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  transform: scale(.97) translateY(8px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}

.extra-panel.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.extra-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.extra-panel-head b {
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}

.extra-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
}

.request-list {
  display: grid;
  gap: 8px;
}

.request-row {
  display: grid;
  grid-template-areas:
    "status id"
    "info info";
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  padding: 10px 12px;
  box-shadow: 0 8px 18px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: translateX(-12px);
}

.request-row .req-status {
  grid-area: status;
  justify-self: start;
}

.request-row > div {
  grid-area: info;
}

.request-row > strong {
  grid-area: id;
}

.feature-visual.is-visible .request-row {
  animation: feedRowIn .42s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-visual.is-visible .request-row:nth-child(1) { animation-delay: .25s; }
.feature-visual.is-visible .request-row:nth-child(2) { animation-delay: .32s; }
.feature-visual.is-visible .request-row:nth-child(3) { animation-delay: .39s; }
.feature-visual.is-visible .request-row:nth-child(4) { animation-delay: .46s; }

.req-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
}

.req-pending {
  background: #fff7ed;
  color: #c2410c;
}

.req-progress {
  background: #eff6ff;
  color: #1d4ed8;
}

.req-done {
  background: #ecfdf5;
  color: #059669;
}

.request-row b {
  display: block;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 900;
}

.request-row > div span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.request-row strong {
  color: #94a3b8;
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .04em;
}

.fee-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fee-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  box-shadow: 0 10px 22px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: scale(.92);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.fee-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16,185,129,.32);
  box-shadow: 0 16px 32px -22px rgba(16,185,129,.5);
}

.feature-visual.is-visible .fee-card {
  animation: feeCardIn .42s cubic-bezier(.34,1.56,.64,1) forwards;
}

.feature-visual.is-visible .fee-card:nth-child(1) { animation-delay: .3s; }
.feature-visual.is-visible .fee-card:nth-child(2) { animation-delay: .38s; }
.feature-visual.is-visible .fee-card:nth-child(3) { animation-delay: .46s; }
.feature-visual.is-visible .fee-card:nth-child(4) { animation-delay: .54s; }
.feature-visual.is-visible .fee-card:nth-child(5) { animation-delay: .62s; }
.feature-visual.is-visible .fee-card:nth-child(6) { animation-delay: .7s; }

@keyframes feeCardIn {
  to { opacity: 1; transform: scale(1); }
}

.fee-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ecfdf5;
  position: relative;
}

.fee-icon::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #059669;
  border-radius: 4px;
}

.fee-icon.ic-install::before { border-radius: 999px 999px 4px 4px; }
.fee-icon.ic-move::before { border-radius: 50% 4px 4px 50%; transform: rotate(-45deg); }
.fee-icon.ic-rename::before { border-radius: 6px; background: linear-gradient(#059669, #059669) 50% 50%/12px 2px no-repeat, #059669; }
.fee-icon.ic-check::before { border-radius: 50%; background: radial-gradient(white 30%, transparent 32%), #059669; }
.fee-icon.ic-pipe::before { border-radius: 999px; height: 8px; width: 22px; }
.fee-icon.ic-deposit::before { border-radius: 4px 4px 999px 999px; }

.fee-card b {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.fee-card em {
  font-style: normal;
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.config-list {
  display: grid;
  gap: 8px;
}

.config-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  padding: 12px 14px;
  box-shadow: 0 10px 22px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: translateX(-12px);
}

.feature-visual.is-visible .config-row {
  animation: feedRowIn .42s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-visual.is-visible .config-row:nth-child(1) { animation-delay: .35s; }
.feature-visual.is-visible .config-row:nth-child(2) { animation-delay: .45s; }
.feature-visual.is-visible .config-row:nth-child(3) { animation-delay: .55s; }
.feature-visual.is-visible .config-row:nth-child(4) { animation-delay: .65s; }

.config-row span {
  display: block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.config-row code {
  display: inline-block;
  margin-top: 3px;
  color: #64748b;
  font-family: "Inter", "ui-monospace", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.config-row strong {
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
  background: #ecfdf5;
  padding: 6px 11px;
  border-radius: 8px;
  letter-spacing: .02em;
}

.basic-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.basic-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 22px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: translateY(10px);
}

.feature-visual.is-visible .basic-mini:nth-child(1) {
  animation: feedRowIn .48s cubic-bezier(.22,1,.36,1) .4s forwards;
}

.feature-visual.is-visible .basic-mini:nth-child(2) {
  animation: feedRowIn .48s cubic-bezier(.22,1,.36,1) .52s forwards;
}

.basic-mini {
  opacity: 0;
  transform: translateX(-12px);
}

.basic-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.basic-card-head b {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.basic-card-head span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.basic-list {
  display: grid;
  gap: 6px;
}

.basic-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 12px;
}

.basic-list div span {
  color: #475569;
  font-weight: 700;
}

.basic-list div strong {
  color: #059669;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-weight: 900;
}

.report-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.report-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: white;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  box-shadow: 0 10px 22px -22px rgba(15,23,42,.3);
  opacity: 0;
  transform: scale(.9);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.report-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16,185,129,.32);
  box-shadow: 0 16px 32px -22px rgba(16,185,129,.5);
}

.feature-visual.is-visible .report-card {
  animation: feeCardIn .42s cubic-bezier(.34,1.56,.64,1) forwards;
}

.feature-visual.is-visible .report-card:nth-child(1) { animation-delay: .55s; }
.feature-visual.is-visible .report-card:nth-child(2) { animation-delay: .61s; }
.feature-visual.is-visible .report-card:nth-child(3) { animation-delay: .67s; }
.feature-visual.is-visible .report-card:nth-child(4) { animation-delay: .73s; }
.feature-visual.is-visible .report-card:nth-child(5) { animation-delay: .79s; }
.feature-visual.is-visible .report-card:nth-child(6) { animation-delay: .85s; }

.report-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  display: grid;
  place-items: center;
  position: relative;
}

.report-ic::before {
  content: "";
  width: 18px;
  height: 14px;
  background:
    linear-gradient(#059669, #059669) 0 100%/4px 6px no-repeat,
    linear-gradient(#059669, #059669) 35% 100%/4px 10px no-repeat,
    linear-gradient(#059669, #059669) 70% 100%/4px 8px no-repeat;
}

.report-ic.ic-debt::before { background: linear-gradient(#dc2626, #dc2626) 0 100%/4px 8px no-repeat, linear-gradient(#dc2626, #dc2626) 35% 100%/4px 5px no-repeat, linear-gradient(#dc2626, #dc2626) 70% 100%/4px 3px no-repeat; }
.report-ic.ic-usage::before { background: radial-gradient(circle, #1d4ed8 50%, transparent 51%) center/14px 14px no-repeat; border-radius: 999px 999px 4px 4px; }
.report-ic.ic-sum::before { background: linear-gradient(#10b981, #10b981) 0 50%/100% 2px no-repeat, linear-gradient(#10b981, #10b981) 0 80%/70% 2px no-repeat, linear-gradient(#10b981, #10b981) 0 20%/85% 2px no-repeat; }
.report-ic.ic-mom::before { background: linear-gradient(135deg, #10b981 50%, transparent 51%); border-radius: 4px; }
.report-ic.ic-export::before { width: 12px; height: 16px; background: linear-gradient(#059669, #059669) 0 0/100% 100% no-repeat; border-radius: 2px; }

.report-card b {
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 900;
}

.report-card em {
  font-style: normal;
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 800;
}

.hub-visual {
  padding: 24px;
}

.hub-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: stretch;
}

.hub-grid::before {
  content: "";
  position: absolute;
  inset: -20% -12%;
  z-index: -1;
  background:
    radial-gradient(22rem 18rem at 26% 18%, rgba(16,185,129,.14), transparent 68%),
    radial-gradient(26rem 20rem at 88% 74%, rgba(29,78,216,.1), transparent 66%);
  pointer-events: none;
  animation: meterAura 14s ease-in-out infinite alternate;
}

.hub-card {
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fafbfc);
  border: 1px solid #e2e8f0;
  padding: 18px;
  box-shadow: 0 18px 40px -28px rgba(15,23,42,.32);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: transform .32s cubic-bezier(.22,1,.36,1), border-color .32s ease, box-shadow .32s ease;
}

.feature-visual.is-visible .hub-card {
  animation: extraCardIn .58s cubic-bezier(.22,1,.36,1) forwards;
}

.feature-visual.is-visible .hub-card:nth-child(1) { animation-delay: .12s; }
.feature-visual.is-visible .hub-card:nth-child(2) { animation-delay: .24s; }
.feature-visual.is-visible .hub-card:nth-child(3) { animation-delay: .36s; }

.hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16,185,129,.32);
  box-shadow: 0 26px 56px -28px rgba(16,185,129,.45);
}

.hub-card-head {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.hub-card-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 24px -16px rgba(16,185,129,.7);
}

.hub-card-head b {
  display: block;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}

.hub-card-head p {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.hub-card-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  white-space: nowrap;
}

.hub-card-foot {
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 800;
}

.flow-direct {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr;
  gap: 6px;
  align-items: center;
  padding: 10px 4px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.flow-step .flow-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
  border: 1px solid rgba(16,185,129,.2);
  box-shadow: 0 12px 26px -18px rgba(16,185,129,.5);
  position: relative;
}

.flow-step .flow-icon svg {
  width: 22px;
  height: 22px;
}

.flow-step .ic-bank {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border-color: rgba(29,78,216,.18);
}

.flow-step .ic-customer {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #d97706;
  border-color: rgba(217,119,6,.2);
}

.flow-step .ic-receipt-flow {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #047857;
  border-color: rgba(5,150,105,.24);
}

.flow-step .ic-hb-flow {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 28px -14px rgba(16,185,129,.7);
}

.flow-step .hb-mark {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.flow-step em {
  font-style: normal;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.flow-step p {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
}

.flow-line {
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0 4px, transparent 4px 8px);
  border-radius: 999px;
  margin-top: -22px;
}

.flow-line .flow-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,.25);
  transform: translate(-50%, -50%);
  animation: flowPulse 1.6s ease-in-out infinite;
}

@keyframes flowPulse {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.flow-trcloud {
  display: grid;
  grid-template-columns: 1fr 80px 1.4fr;
  gap: 12px;
  align-items: center;
  padding: 10px 4px;
}

.trcloud-source,
.trcloud-target {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trcloud-source .flow-icon,
.trcloud-target .flow-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(16,185,129,.2);
}

.trcloud-target .ic-trcloud-flow {
  background: linear-gradient(135deg, #eff6ff, #bfdbfe);
  color: #1d4ed8;
  border-color: rgba(29,78,216,.22);
  box-shadow: 0 14px 28px -14px rgba(29,78,216,.5);
}

.trcloud-target .ic-trcloud-flow svg {
  width: 30px;
  height: 30px;
}

.trcloud-source em,
.trcloud-target em {
  font-style: normal;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.trcloud-source p,
.trcloud-target p {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
}

.trcloud-stream {
  position: relative;
  height: 70px;
}

.trcloud-stream::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #cbd5e1 0 4px, transparent 4px 8px);
  border-radius: 999px;
  transform: translateY(-50%);
}

.trcloud-doc {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 16px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 6px rgba(15,23,42,.2));
  animation: docFly 2.6s ease-in-out infinite;
}

.trcloud-doc.doc-1 { animation-delay: 0s; }
.trcloud-doc.doc-2 { animation-delay: .8s; }
.trcloud-doc.doc-3 { animation-delay: 1.6s; }

@keyframes docFly {
  0% { left: 0; opacity: 0; transform: translate(-50%, -50%) scale(.6); }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  85% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(.6); }
}

.trcloud-outputs {
  display: grid;
  gap: 5px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #ecfdf5;
  width: 100%;
}

.trcloud-outputs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
  font-size: 11px;
  font-weight: 900;
}

.dot-tag {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
}

.dot-tag.pi { background: #1d4ed8; }
.dot-tag.re { background: #10b981; }
.dot-tag.jr { background: #d97706; }

.flow-loss {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 4px;
}

.loss-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  position: relative;
}

.loss-input .flow-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.loss-iot .flow-icon {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 1px solid rgba(29,78,216,.2);
}

.loss-iot .flow-icon svg {
  width: 22px;
  height: 22px;
  animation: iotSpin 6s linear infinite;
}

@keyframes iotSpin {
  to { transform: rotate(360deg); }
}

.loss-hb .flow-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 12px 24px -14px rgba(16,185,129,.6);
}

.loss-hb .flow-icon .hb-mark {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.loss-input em {
  font-style: normal;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.loss-input span {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
}

.loss-input strong {
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.01em;
  padding-top: 4px;
  border-top: 1px dashed #e2e8f0;
  width: 100%;
}

.loss-iot strong { color: #1d4ed8; }
.loss-hb strong { color: #059669; }

.loss-meter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.loss-meter::before,
.loss-meter::after {
  content: "";
  position: absolute;
  top: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,.6), transparent);
  z-index: -1;
}

.loss-meter::before {
  left: -28%;
  width: 40%;
  animation: lossLine 2.4s ease-in-out infinite;
}

.loss-meter::after {
  right: -28%;
  width: 40%;
  animation: lossLine 2.4s ease-in-out .6s infinite;
}

@keyframes lossLine {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}

.loss-meter-arc {
  position: relative;
  width: 130px;
  height: 80px;
}

.loss-meter-arc svg {
  width: 100%;
  height: 100%;
}

.loss-arc-fill {
  stroke-dasharray: 158;
  stroke-dashoffset: 158;
  animation: lossArcFill 2.4s ease-out forwards;
}

@keyframes lossArcFill {
  to { stroke-dashoffset: 33; }
}

.loss-meter-value {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.loss-meter-value b {
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.loss-meter-value span {
  color: #059669;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.loss-meter p {
  color: #64748b;
  font-size: 11.5px;
  font-weight: 800;
  text-align: center;
}

.hub-demo {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}

.hub-demo::before {
  content: "";
  position: absolute;
  inset: -20% -12%;
  z-index: -1;
  background:
    radial-gradient(22rem 18rem at 26% 18%, rgba(16,185,129,.14), transparent 68%),
    radial-gradient(26rem 20rem at 88% 74%, rgba(29,78,216,.1), transparent 66%);
  pointer-events: none;
  animation: meterAura 14s ease-in-out infinite alternate;
}

.hub-stage {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 22px;
  background:
    radial-gradient(20rem 18rem at 50% 50%, rgba(16,185,129,.08), transparent 65%),
    linear-gradient(160deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -34px rgba(15,23,42,.3);
}

.hub-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hub-line {
  stroke-dasharray: 6 4;
  animation: hubFlow 1.4s linear infinite;
  opacity: .5;
}

@keyframes hubFlow {
  to { stroke-dashoffset: -20; }
}

.hub-line-2 { animation-delay: .35s; }
.hub-line-3 { animation-delay: .7s; }

.hub-ring {
  opacity: .5;
}

.hub-ring-2 {
  animation: hubRingPulse 4s ease-in-out infinite;
  transform-origin: 200px 180px;
}

@keyframes hubRingPulse {
  0%, 100% { opacity: .25; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.05); }
}

.hub-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.hub-center-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 22px;
  background: linear-gradient(135deg, #10b981, #059669);
  display: grid;
  place-items: center;
  box-shadow: 0 22px 48px -18px rgba(16,185,129,.7);
}

.hub-letter {
  color: white;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.hub-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(16,185,129,.5);
  animation: hubPulseRing 2s ease-out infinite;
}

@keyframes hubPulseRing {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hub-center b {
  display: block;
  margin-top: 9px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.hub-center span {
  display: block;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}

.hub-node {
  position: absolute;
  width: 130px;
  border-radius: 16px;
  background: white;
  border: 1px solid #e2e8f0;
  padding: 12px;
  text-align: center;
  box-shadow: 0 14px 30px -22px rgba(15,23,42,.32);
  display: grid;
  gap: 6px;
  justify-items: center;
  transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .35s ease;
}

.hub-node-1 {
  left: 12%;
  top: 8%;
}

.hub-node-2 {
  right: 12%;
  top: 8%;
}

.hub-node-3 {
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
}

.hub-node.is-focus {
  border-color: rgba(16,185,129,.5);
  box-shadow: 0 22px 44px -18px rgba(16,185,129,.6);
  transform: scale(1.06);
}

.hub-node-3.is-focus {
  transform: translateX(-50%) scale(1.06);
}

.hub-node .node-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: white;
}

.hub-node .node-icon svg {
  width: 22px;
  height: 22px;
}

.node-direct {
  background: linear-gradient(135deg, #10b981, #059669);
}

.node-trcloud {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.node-water {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.hub-node b {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.hub-node span {
  color: #64748b;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
}

.hub-info-card {
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  padding: 18px;
  box-shadow: 0 18px 44px -28px rgba(15,23,42,.34);
  transition: opacity .42s ease;
}

.hub-info-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.hub-info-kicker {
  color: #059669;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hub-info-head b {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: opacity .32s ease;
}

.hub-info-card p {
  margin-top: 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  transition: opacity .32s ease;
}

.hub-info-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #e2e8f0;
}

.hub-info-stats div {
  border-radius: 12px;
  background: #ecfdf5;
  padding: 10px;
  text-align: center;
}

.hub-info-stats span {
  display: block;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}

.hub-info-stats b {
  display: block;
  margin-top: 3px;
  color: #059669;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 14px;
  font-weight: 900;
}

.payment-head,
.dashboard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.qr-large {
  position: relative;
  overflow: hidden;
  width: min(220px, 70vw);
  margin: 24px auto 16px;
  border: 10px solid #f8fafc;
  border-radius: 24px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.qr-large::after,
.scan-line::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,.85), transparent);
  box-shadow: 0 0 16px rgba(16,185,129,.48);
  animation: qrScan 3.3s ease-in-out infinite;
}

.qr-grid {
  display: grid;
  aspect-ratio: 1;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  padding: 10px;
}

.qr-grid span {
  border-radius: 2px;
  background: #0f172a;
  opacity: .12;
}

.qr-grid span.is-dark {
  opacity: 1;
}

.payment-amount {
  text-align: center;
  color: #0f172a;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 44px;
  font-weight: 900;
}

.payment-amount span {
  color: #64748b;
  font-size: .55em;
}

.transaction-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  border-radius: 16px;
  background: #ecfdf5;
  padding: 14px;
  color: #334155;
  font-weight: 850;
  opacity: 0;
  transform: translateY(10px);
}

.is-visible .transaction-row {
  animation: transactionIn .48s cubic-bezier(.22,1,.36,1) .48s forwards;
}

.transaction-row b {
  color: #059669;
}

.debt-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.debt-tabs span {
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.debt-tabs .active {
  border-color: rgba(16,185,129,.28);
  background: #ecfdf5;
  color: #059669;
}

.debt-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: border-color .32s ease, transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease;
}

.is-visible .debt-row:hover {
  border-color: rgba(16,185,129,.28);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(16,185,129,.45);
}

.is-visible .debt-row {
  animation: debtRowIn .48s cubic-bezier(.22,1,.36,1) forwards;
}

.is-visible .debt-row:nth-child(3) { animation-delay: .08s; }
.is-visible .debt-row:nth-child(4) { animation-delay: .16s; }

.debt-row b {
  display: block;
  color: #0f172a;
  font-size: 14px;
}

.debt-row span {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.debt-row strong {
  color: #b91c1c;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 14px;
}

.debt-row button {
  border: 0;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
}

.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-stat-grid div {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
  padding: 14px;
}

.dash-stat-grid span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.dash-stat-grid b {
  display: block;
  margin-top: 7px;
  color: #0f172a;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.dash-stat-grid small {
  margin-right: 2px;
  color: #94a3b8;
  font-size: .7em;
}

.dashboard-foot {
  margin-top: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.dashboard-foot b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #059669;
}

.dashboard-foot b::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
  animation: liveDotPulse 1.6s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
  50% { opacity: .55; box-shadow: 0 0 0 7px rgba(16,185,129,.06); }
}

.final-glow {
  background:
    radial-gradient(42rem 28rem at 50% 0%, rgba(16,185,129,.22), transparent 64%),
    linear-gradient(120deg, rgba(255,255,255,.06), transparent 34%, rgba(16,185,129,.08) 72%, transparent);
  animation: gradientDrift 15s ease-in-out infinite alternate;
}

.feature-cta:hover span {
  transform: translateX(4px);
}

@keyframes gradientDrift {
  from { transform: translate3d(-1%, -1%, 0); background-position: 0% 0%; }
  to { transform: translate3d(1%, 1%, 0); background-position: 100% 24%; }
}

@keyframes benefitIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes mockFloat {
  from { transform: translateY(-5px); }
  to { transform: translateY(5px); }
}

@keyframes workflowFill {
  to { transform: scaleY(1); }
}

@keyframes stepIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes notificationPop {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes barGrow {
  to { transform: scaleY(1); }
}

@keyframes qrScan {
  0%, 100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(170px); opacity: .9; }
}

@keyframes transactionIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes debtRowIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero-tile-grid {
    grid-template-columns: 1fr;
  }

  .hero-system-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero-stat {
    text-align: left;
  }
}

@media (max-width: 900px) {
  .feature-section {
    padding: 72px 20px;
  }

  .feature-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature-copy {
    max-width: none;
  }

  .hero-dash-grid {
    grid-template-columns: 1fr;
  }

  .hero-dash-kpis {
    grid-template-columns: 1fr;
  }

  .extra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-grid {
    grid-template-columns: 1fr;
  }

  .extra-card-wide {
    grid-column: 1 / -1;
  }

  .report-grid.wide {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-direct {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
  }

  .flow-direct .flow-line {
    display: none;
  }

  .flow-trcloud {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .trcloud-stream {
    height: 50px;
    transform: rotate(90deg);
  }

  .flow-loss {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .loss-meter::before,
  .loss-meter::after {
    display: none;
  }

  .fee-grid,
  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .basic-grid {
    grid-template-columns: 1fr;
  }

  .meter-stage,
  .line-stage,
  .counter-stage,
  .reports-stage {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .meter-phone,
  .line-phone {
    max-width: 320px;
  }

  .meter-timeline,
  .line-timeline,
  .counter-timeline,
  .reports-timeline {
    padding-left: 28px;
  }

  .pos-mockup-wrap,
  .laptop-mockup {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .meter-stepper,
  .line-stepper,
  .counter-stepper,
  .reports-stepper {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .meter-stepper::-webkit-scrollbar,
  .line-stepper::-webkit-scrollbar,
  .counter-stepper::-webkit-scrollbar,
  .reports-stepper::-webkit-scrollbar {
    display: none;
  }

  .meter-stepper button,
  .line-stepper button,
  .counter-stepper button,
  .reports-stepper button {
    flex: 1 0 auto;
    min-width: 64px;
  }
}

@media (max-width: 640px) {
  .feature-section {
    scroll-margin-top: 122px;
  }

  .feature-visual {
    border-radius: 24px;
    padding: 16px;
  }

  .phone-mockup {
    max-width: 100%;
  }

  .meter-visual {
    padding: 16px;
  }

  .meter-stepper .step-label {
    font-size: 10px;
  }

  .meter-stepper button {
    min-height: 48px;
    padding: 5px 2px;
  }

  .meter-stepper .step-num {
    width: 20px;
    height: 20px;
  }

  .phone-screen-frame {
    height: 440px;
  }

  .meter-digits {
    font-size: 32px;
  }

  .debt-row,
  .dash-stat-grid {
    grid-template-columns: 1fr;
  }

  .extra-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Centered section heading + stacked feature wrap (sections 05/06)
   ============================================================ */
.feature-wrap.is-stacked {
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: stretch;
}

.feature-wrap.is-stacked .feature-visual {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
  border-radius: 0;
}

.feature-wrap.is-stacked .feature-visual:hover {
  transform: none;
  box-shadow: none;
}

.feature-wrap.is-stacked .extra-grid::before,
.feature-wrap.is-stacked .hub-grid::before {
  display: none;
}

.feature-copy.is-center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.feature-copy.is-center .feature-kicker {
  margin: 0 auto;
}

.feature-copy.is-center h2 {
  margin-left: auto;
  margin-right: auto;
}

.feature-copy.is-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Section 05 — "more" CTA card (card #6)
   ============================================================ */
.extra-card-more {
  text-decoration: none;
  color: inherit;
  background:
    linear-gradient(140deg, rgba(16,185,129,.08), rgba(255,255,255,1) 60%),
    linear-gradient(180deg, #ffffff, #fafbfc);
  border: 1px dashed rgba(16,185,129,.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 100%;
  cursor: pointer;
}

.extra-card-more:hover {
  border-color: #059669;
  border-style: solid;
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -28px rgba(16,185,129,.55);
}

.extra-more-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #059669;
}

.extra-more-icon svg {
  width: 22px;
  height: 22px;
}

.extra-more-body b {
  display: block;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 6px;
}

.extra-more-body p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 600;
  margin: 0;
}

.extra-more-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  border-radius: 999px;
  background: #059669;
  color: white;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  transition: background .24s ease, transform .24s ease;
}

.extra-more-cta svg {
  width: 14px;
  height: 14px;
}

.extra-card-more:hover .extra-more-cta {
  background: #047857;
}

/* report-grid mini variant — used when card is normal width (1/3 col) */
.report-grid.mini {
  grid-template-columns: repeat(2, 1fr);
}

/* ============================================================
   Desktop browser URL bar (sections 03 POS + 04 Reports)
   ============================================================ */
.desk-urlbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 10px;
  margin-top: -4px;
}

.desk-urlbar-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, .55);
  flex: 0 0 auto;
}

.desk-urlbar-nav svg {
  width: 14px;
  height: 14px;
}

.desk-urlbar-input {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .85);
  padding: 5px 12px;
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

.desk-urlbar-lock {
  width: 12px;
  height: 12px;
  color: #34d399;
  flex: 0 0 auto;
}

.desk-urlbar-url {
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   Hero dashboard — minimal variant (overview header section)
   ============================================================ */
.hero-dash-grid.is-minimal {
  grid-template-columns: 1fr;
}

.hero-dash-grid.is-minimal .hero-dash-chart {
  height: 110px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .transaction-row,
  .debt-row,
  .benefit-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
