/* ==========================================================================
   NabiPrint x Serko.ai Inspired Editorial Design System
   ========================================================================== */

:root {
  --ink: #0f1115;
  --ink-soft: #1e2430;
  --muted: #5d6c7b;
  --muted-light: #8895a3;
  --bg: #ffffff;
  --surface: #fafafa;
  --border: #e6e9ef;
  --border-strong: #d4dae4;

  --sky-1: #edf4ff;
  --sky-2: #cfe2ff;
  --sky-3: #92bfff;
  --iris: #9d94ff;
  --sunset-pink: #f47cb9;
  --sunset-coral: #ff6e5e;

  --accent-blue: #1d4ed8;
  --emerald: #059669;
  --emerald-bg: #ecfdf5;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-card: 0 20px 50px -15px rgba(15, 17, 21, 0.12), 0 4px 16px -4px rgba(15, 17, 21, 0.05);
  --shadow-float: 0 28px 65px -16px rgba(15, 17, 21, 0.18), 0 8px 24px -6px rgba(15, 17, 21, 0.06);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.bn-font {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Plus Jakarta Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ==========================================================================
   MINIMALIST SERKO NAVBAR
   ========================================================================== */
.serko-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 17, 21, 0.06);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 68px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.18s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--ink);
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.lang-pill {
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.lang-pill:hover {
  background: var(--surface);
  border-color: #bac2cf;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-pill:hover {
  background: #232732;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(15, 17, 21, 0.35);
}
.btn-pill:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-pill-lg {
  padding: 13px 26px;
  font-size: 0.94rem;
}
.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-pill-outline:hover {
  background: #ffffff;
  border-color: var(--ink);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--border-strong);
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px 20px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer.open {
  display: flex;
}

/* ==========================================================================
   ATMOSPHERIC HERO + ROTATING PARTICLE GLOBE
   ========================================================================== */
.hero-atmosphere {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 75% at 50% 0%, #ffffff 0%, #f1f6ff 38%, #d7e7ff 62%, #b7b5ff 80%, #f284b5 94%, #ff8569 100%);
  padding-top: 68px;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #364152;
  max-width: 580px;
  margin: 0 auto 28px;
  font-weight: 400;
  line-height: 1.55;
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-micro-proof {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 500;
}

.hero-stage {
  position: relative;
  max-width: 1100px;
  height: 390px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 28px;
}

#serkoGlobeCanvas {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 880px;
  height: 440px;
  pointer-events: none;
  z-index: 1;
}

.stage-arc-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.stage-node {
  position: absolute;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(15, 17, 21, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stage-node.left {
  left: 19%;
  top: 12%;
  animation: floatSlow 5.5s ease-in-out infinite;
}
.stage-node.right {
  right: 17%;
  top: 8%;
  animation: floatSlow 5.5s ease-in-out infinite 1.2s;
}

.stage-confirm-float {
  position: relative;
  z-index: 3;
  align-self: center;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid rgba(15, 17, 21, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-float);
  text-align: left;
  min-width: 248px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.badge-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.hero-ui-stack {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
}

.hero-command-pill {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cmd-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cmd-text {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cmd-text.swap {
  opacity: 0;
  transform: translateY(4px);
}

.cmd-chip {
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  padding: 4px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

.hero-shop-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.shop-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.shop-card-meta {
  min-width: 0;
}
.shop-card-meta strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}
.shop-card-meta span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-dot-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 5px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.live-dot-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #059669;
  animation: pulseDot 1.8s infinite;
}

.sunset-strip {
  position: relative;
  z-index: 4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.14) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 20px 24px 28px;
}

.sunset-logos {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.sunset-item {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(15, 17, 21, 0.78);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* ==========================================================================
   COMMON EDITORIAL SECTION CONTAINERS
   ========================================================================== */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
  scroll-margin-top: 84px;
}

.section-tight {
  padding: 72px 24px;
  scroll-margin-top: 84px;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

.display-h2 {
  font-size: clamp(2rem, 4.1vw, 3.1rem);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 14px;
}

.lead-p {
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   3-STEP ATMOSPHERIC GRADIENT CARDS
   ========================================================================== */
.three-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flow-card {
  display: flex;
  flex-direction: column;
}

.flow-visual {
  height: 310px;
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease;
}
.flow-card:hover .flow-visual {
  transform: translateY(-4px);
}

.grad-sky {
  background: radial-gradient(circle at 20% 20%, #f4f8ff 0%, #bfd9ff 55%, #84b4ff 100%);
}
.grad-sunset {
  background: radial-gradient(circle at 75% 25%, #fff5f3 0%, #ffc2b6 36%, #f568a6 75%, #99a7ff 100%);
}
.grad-mist {
  background: radial-gradient(circle at 70% 85%, #ff97be 0%, #c8d9ff 50%, #ebf2ff 100%);
}

.mini-ui {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
}

.mini-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--ink);
}

.mini-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mini-chip {
  font-size: 0.68rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  padding: 4px 8px;
  border-radius: 6px;
}
.mini-chip.active {
  background: #111318;
  color: #ffffff;
}

.flow-copy {
  padding-top: 20px;
}
.flow-copy h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}
.flow-copy p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   SPLIT DPDP PRIVACY & COMPARISON
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.split-bullets {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.split-bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.split-bullet strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
}
.split-bullet span {
  font-size: 0.88rem;
  color: var(--muted);
}

.gradient-panel {
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 15%, #ff8266 0%, #f172b5 42%, #929bff 74%, #c2dcff 100%);
  box-shadow: var(--shadow-card);
}

.interactive-privacy-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-float);
}

.tab-switch {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 999px;
  gap: 4px;
  margin-bottom: 16px;
}
.tab-switch button {
  border: none;
  background: transparent;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.tab-switch button.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

/* ==========================================================================
   MARQUEE QUEUE CAROUSEL
   ========================================================================== */
.marquee-backdrop {
  margin-top: 32px;
  border-radius: var(--radius-xl);
  padding: 46px 0 40px;
  background:
    radial-gradient(120% 100% at 50% 0%, #edf4ff 0%, #cfe1ff 42%, #baa5ff 74%, #f486b4 100%);
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scrollMarquee 28s linear infinite;
  padding: 14px 0;
}
.marquee-backdrop:hover .marquee-track {
  animation-play-state: paused;
}

.job-ticket-card {
  width: 245px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.job-ticket-card.highlight {
  transform: translateY(-8px) scale(1.03);
  border-color: #93c5fd;
  box-shadow: var(--shadow-float);
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.ticket-token {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
}
.ticket-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.ticket-status.ready { background: #dbeafe; color: #1d4ed8; }
.ticket-status.done { background: #dcfce7; color: #166534; }
.ticket-status.purged { background: #f1f5f9; color: #475569; }

.ticket-file {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.ticket-specs span {
  font-size: 0.68rem;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid var(--border);
  padding: 3px 7px;
  border-radius: 6px;
  color: var(--muted);
}

.ticket-btn {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   SMART TOOLS STUDIO + INTERACTIVE ROI CALCULATOR
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.tool-tile {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.tool-tile:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}
.tool-emoji {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sky-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.tool-tile h4 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.tool-tile p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.roi-canvas {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  outline: none;
  accent-color: #0f1115;
  margin: 18px 0 24px;
  cursor: pointer;
}

.roi-stats-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.roi-stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.roi-val {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 4px 0 2px;
}
.roi-lbl {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

/* ==========================================================================
   FULL-WIDTH CONSOLE SHOWCASE (CRISP VECTOR INTERACTIVE MOCKUPS)
   ========================================================================== */
.console-frame-bg {
  border-radius: var(--radius-xl);
  padding: 44px 44px 0;
  background:
    radial-gradient(circle at 20% 20%, #d4e5ff 0%, #eef5ff 40%, #d6dcff 65%, #f594c2 95%);
  overflow: hidden;
  border: 1px solid var(--border);
}

.console-window {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(15, 17, 21, 0.08);
  border-bottom: none;
  box-shadow: 0 24px 60px rgba(15, 17, 21, 0.16);
  overflow: hidden;
}

.console-topbar {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #fcfcfd;
}

.console-dots {
  display: flex;
  gap: 6px;
}
.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.screenshot-stage {
  padding: 24px;
  background: #f8fafc;
}

.showcase-panel {
  display: none;
}
.showcase-panel.active {
  display: block;
}

.mock-console-shell {
  display: grid;
  grid-template-columns: 215px 1fr;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  min-height: 360px;
}

.mock-sidebar {
  background: #f9fafb;
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-nav-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-nav-item.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(15, 17, 21, 0.08);
}

.mock-count {
  font-size: 0.68rem;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 1px 7px;
  border-radius: 999px;
}

.mock-main {
  padding: 22px 24px;
}

.mock-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.mock-kpi {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.mock-kpi span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}
.mock-kpi strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.mock-job-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
}

.mock-print-btn {
  background: #0f1115;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.mock-split-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 0;
}

.phone-frame {
  width: 268px;
  background: #ffffff;
  border: 6px solid #0f1115;
  border-radius: 26px;
  padding: 14px;
  box-shadow: var(--shadow-float);
}
.phone-notch {
  width: 72px;
  height: 5px;
  background: #e2e8f0;
  border-radius: 999px;
  margin: 0 auto 12px;
}
.phone-action-tile {
  background: #eff6ff;
  border: 1.5px dashed #93c5fd;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  font-size: 0.72rem;
  color: #1e3a8a;
}

.poster-sheet {
  width: 270px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-float);
}

/* ==========================================================================
   BENCHMARK MATRIX & PRICING
   ========================================================================== */
.matrix-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.matrix-table th {
  padding: 16px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.85rem;
}
.matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--muted);
}
.matrix-table tr:last-child td { border-bottom: none; }
.matrix-table td:first-child { font-weight: 600; color: var(--ink); }
.matrix-table td.nabi-col { background: #f8fbff; color: var(--ink-soft); font-weight: 500; }

.pricing-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.price-tier {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.price-tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.price-tier.featured {
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 38%);
  border: 1.5px solid #0f1115;
  box-shadow: var(--shadow-card);
}

.tier-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.tier-price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 14px 0 18px;
}
.tier-price small {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   FAQS & FOOTER
   ========================================================================== */
.hairline-divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: 1180px;
  margin: 0 auto;
}

.faq-stack {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-row {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-row.open {
  border-color: var(--border-strong);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.faq-chevron {
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.faq-row.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.faq-row.open .faq-body {
  display: block;
}

.serko-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.footer-col a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15, 17, 21, 0.55);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open,
.modal-backdrop.active {
  display: flex;
}
.modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 28px 24px;
  box-shadow: var(--shadow-float);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 1.15rem;
  cursor: pointer;
}
.field {
  margin-bottom: 12px;
}
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #ffffff;
  color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
}

.alert-box {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  margin-bottom: 12px;
  display: none;
  font-weight: 600;
}
.alert-danger { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Subpage Atmospheric Banner & Glass Stage */
.subpage-hero {
  background: radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #eff5ff 42%, #d8e7ff 70%, #f594c2 96%);
  padding: 56px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.auth-atmosphere {
  min-height: 100vh;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef5ff 40%, #d4e3ff 68%, #f48ebc 100%);
  display: flex;
  flex-direction: column;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.3); }
}
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .three-cards-grid { grid-template-columns: 1fr; }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-left, .nav-right { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero-atmosphere { padding-top: 44px; }
  .hero-stage { height: 360px; }
  .stage-node.left { left: 4%; top: 4%; font-size: 0.72rem; }
  .stage-node.right { right: 4%; top: 4%; font-size: 0.72rem; }
  .stage-confirm-float { transform: none; min-width: 220px; }
  .console-frame-bg { padding: 20px 14px 0; }
  .screenshot-stage { padding: 14px; }
  .mock-console-shell { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-main { padding: 16px 14px; }
  .mock-kpi-row { grid-template-columns: repeat(2, 1fr); }
  .mock-split-stage { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .mock-stage-copy .mini-chip-row { justify-content: center; }
  .console-topbar { padding: 10px 12px; }
  .console-topbar .tab-switch { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; justify-content: center; }
  .console-topbar .tab-switch button { white-space: nowrap; font-size: 0.72rem; padding: 5px 10px; }
  .roi-stats-4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 18px; }
  .gradient-panel { padding: 20px; }
}

@media (max-width: 560px) {
  .tools-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .matrix-wrapper { overflow-x: auto; }
  .matrix-table { min-width: 540px; }
}
