/* ==========================================================================
   ShopPad Design System (site.css)
   Pure luxury Web3 digital commerce protocol.
   Crafted without AI artifacts.
   ========================================================================== */

:root {
  --bg: #030712;
  --bg-sec: #071026;
  --panel: rgba(11, 20, 42, 0.72);
  --panel-h: rgba(16, 30, 62, 0.88);
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 102, 255, 0.5);
  
  --pri: #0066ff;
  --pri-h: #1a75ff;
  --cyan: #29e0ff;
  --green: #4ade80;
  --gold: #f6c343;
  
  --ink: #f4f8fc;
  --ink-sec: #a0b6d4;
  --muted: #6b82a3;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html {
  font-size: 16px;
  background-color: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}

html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font);
  line-height: 1.55;
  background-color: var(--bg);
  background-image: 
    radial-gradient(ellipse 80% 500px at 50% -50px, rgba(0, 102, 255, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 400px at 90% 20%, rgba(41, 224, 255, 0.08), transparent 65%),
    radial-gradient(circle 700px at 10% 85%, rgba(0, 102, 255, 0.07), transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

code, .num {
  font-family: var(--mono);
}

.wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top {
  position: sticky;
  top: 14px;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.top-in {
  width: 100%;
  max-width: 1200px;
  min-height: 58px;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(6, 12, 28, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 36px rgba(0, 0, 0, 0.6);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.top-in:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 40px rgba(0, 0, 0, 0.7);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.45);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-sec);
}

.nav-menu a:hover {
  color: #fff;
}

.top-r {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   BUTTONS & CHIPS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform .15s ease-out, background .15s ease, box-shadow .15s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn.pri {
  background: linear-gradient(180deg, #1d6ff2 0%, #0052cc 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 18px rgba(0, 102, 255, 0.45);
}

.btn.pri:hover {
  background: linear-gradient(180deg, #2b7cff 0%, #005ce6 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 24px rgba(0, 102, 255, 0.65);
  transform: translateY(-1px);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.sm {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn.lg {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15.5px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font: 600 12px/1 var(--mono);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--ink-sec);
}

.ca-chip {
  cursor: pointer;
  transition: all .2s;
}

.ca-chip:hover {
  border-color: var(--pri);
  color: #fff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero-title mark {
  background: transparent;
  color: #29e0ff;
  text-shadow: 0 0 24px rgba(41, 224, 255, 0.4);
}

.hero-title mark .w {
  color: #29e0ff;
}

.hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em) rotate(1.5deg);
  animation: wordIn .65s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(var(--i) * 60ms + .08s);
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.lead {
  font-size: 17.5px;
  color: var(--ink-sec);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.hl-code {
  color: #fff;
  font-weight: 600;
  background: rgba(0, 102, 255, 0.15);
  padding: 2px 6px;
  border-radius: 6px;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.m-item b {
  display: block;
  font: 700 22px/1.1 var(--mono);
  color: #fff;
  margin-bottom: 4px;
}

.m-item span {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   HERO SHOWCASE CARD (TILT & SMOOTH TABS)
   ========================================================================== */
.hero-right {
  display: flex;
  justify-content: center;
}

.showcase {
  width: 100%;
  max-width: 480px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  will-change: transform;
}

.tilt {
  transition: transform .25s ease-out, box-shadow .25s;
}

.tilt:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 28px 65px rgba(0, 102, 255, 0.22);
  border-color: rgba(0, 102, 255, 0.35);
}

.sc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border);
}

.sc-tabs {
  display: flex;
  gap: 6px;
}

.sc-tab {
  padding: 4px 12px;
  border-radius: 6px;
  font: 700 12px/1 var(--mono);
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}

.sc-tab.active {
  background: var(--pri);
  color: #fff;
}

.badge-ver {
  font: 600 11.5px/1 var(--mono);
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-ver::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.sc-media {
  height: 160px;
  overflow: hidden;
  background: #020712;
  border-bottom: 1px solid var(--border);
}

.sc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.sc-info {
  padding: 20px 22px;
}

.sc-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.sc-title-bar h3 {
  font-size: 19px;
  font-weight: 700;
}

.sc-pair {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.sc-text {
  font-size: 14px;
  color: var(--ink-sec);
  line-height: 1.5;
  margin-bottom: 14px;
}

.sc-url {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed var(--border);
  font: 600 12.5px/1 var(--mono);
  color: var(--ink-sec);
}

.btn-copy {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font: 600 11px/1 var(--font);
  cursor: pointer;
  transition: background .15s;
}

.btn-copy:hover {
  background: var(--pri);
}

.sc-footer {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.sc-asset-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sc-asset-tag {
  display: block;
  font: 600 11px/1 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sc-asset-meta b {
  font-size: 14.5px;
}

.sc-asset-buy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sc-asset-price {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   TICKER BAR
   ========================================================================== */
.ticker-bar {
  background: #040914;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
}

.ticker-in {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0, 102, 255, 0.15);
  border: 1px solid var(--pri);
  font: 700 11.5px/1 var(--mono);
  color: #fff;
  white-space: nowrap;
}

.ticker-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.ticker-track-box {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 32px;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track span {
  font: 500 13px/1 var(--mono);
  color: var(--ink-sec);
}

.ticker-track b {
  color: #fff;
}

.ticker-track i {
  color: var(--muted);
  margin: 0 4px;
}

/* ==========================================================================
   REVEAL ON SCROLL (RV)
   ========================================================================== */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .65s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
}

.rv.vis {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.sec {
  padding: 88px 24px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 76px;
}

.sec h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-wrap: balance;
}

.sec-lead {
  font-size: 16.5px;
  color: var(--ink-sec);
  max-width: 680px;
  line-height: 1.55;
  margin-bottom: 40px;
  text-wrap: pretty;
}

.sec-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.st-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--pri);
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--ink-sec);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 18px;
}

.st-note {
  font-size: 12px;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

/* ==========================================================================
   STOREFRONTS DIRECTORY
   ========================================================================== */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.f-pill {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-sec);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.f-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.f-pill.active {
  background: linear-gradient(180deg, #1d6ff2 0%, #0052cc 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 14px rgba(0, 102, 255, 0.45);
  color: #fff;
}

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

.store-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all .25s ease;
}

.store-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 48px rgba(0, 102, 255, 0.15);
  transform: translateY(-3px);
}

.store-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.store-title {
  font-size: 18px;
  font-weight: 700;
}

.store-ticker {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.store-desc {
  font-size: 13.5px;
  color: var(--ink-sec);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.store-items {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.store-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}

.store-item-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 190px;
}

.store-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   LAUNCH STUDIO
   ========================================================================== */
.studio-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: flex-start;
}

.studio-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 45px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-sec);
  margin-bottom: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color .15s;
}

.input.area {
  min-height: 80px;
  padding: 10px 14px;
  resize: vertical;
}

.input:focus {
  border-color: var(--pri);
}

.studio-preview {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.pv-tag {
  font: 700 11.5px/1 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pv-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  margin-bottom: 14px;
}

.pv-cover {
  height: 120px;
  background: #020712;
}

.pv-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-info {
  padding: 16px;
}

.pv-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.pv-head-row h3 {
  font-size: 17px;
  font-weight: 700;
}

.pv-desc {
  font-size: 13.5px;
  color: var(--ink-sec);
  line-height: 1.45;
  margin-bottom: 12px;
}

.pv-url-box {
  font: 600 12.5px/1 var(--mono);
  color: var(--pri-h);
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px dashed var(--border);
  margin-bottom: 12px;
}

.pv-item-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.pv-item-box small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.pv-notes {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}

/* ==========================================================================
   CALCULATOR
   ========================================================================== */
.calc-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.calc-inputs, .calc-res {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}

.c-head {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.slider {
  width: 100%;
  accent-color: var(--pri);
  height: 6px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.res-sub {
  font: 700 11.5px/1 var(--mono);
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.res-val {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.res-saved {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.res-desc {
  font-size: 13.5px;
  color: var(--ink-sec);
  line-height: 1.5;
}

/* ==========================================================================
   LEDGER
   ========================================================================== */
.ledger-table {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.ledger-empty {
  padding: 56px 24px;
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
}

.empty-genesis-box {
  background: var(--panel);
  border: 1px dashed rgba(0, 102, 255, 0.35);
  border-radius: 18px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

.eg-chip {
  display: inline-block;
  font: 700 12px/1 var(--mono);
  color: var(--cyan);
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eg-title {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  margin-bottom: 10px;
}

.eg-desc {
  font-size: 15px;
  color: var(--ink-sec);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.eg-desc code {
  color: var(--cyan);
  background: rgba(0, 102, 255, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
}

.ledger-header {
  display: grid;
  grid-template-columns: 90px 1.5fr 1fr 100px 130px 90px;
  gap: 12px;
  padding: 14px 22px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
  font: 700 11.5px/1 var(--mono);
  color: var(--muted);
  text-transform: uppercase;
}

.ledger-row {
  display: grid;
  grid-template-columns: 90px 1.5fr 1fr 100px 130px 90px;
  gap: 12px;
  align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  transition: background .15s;
}

.ledger-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.ledger-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
}

.faq-row {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s;
}

.faq-row:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.faq-row summary {
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-row summary::-webkit-details-marker {
  display: none;
}

.faq-row summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--muted);
  transition: transform .2s;
}

.faq-row[open] summary::after {
  transform: rotate(45deg);
}

.faq-row p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--ink-sec);
  line-height: 1.55;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-banner {
  background: linear-gradient(180deg, var(--panel), #081226);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 32px;
  text-align: center;
}

.final-banner h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
}

.final-banner p {
  font-size: 16.5px;
  color: var(--ink-sec);
  max-width: 580px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: #040812;
}

.footer-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.f-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.f-brand img {
  border-radius: 50% !important;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.45);
}

.f-brand span {
  color: var(--muted);
  font-size: 13.5px;
}

.f-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}

.f-meta a:hover {
  color: #fff;
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 460px;
  background: #0a152d;
  border: 1px solid var(--border-focus);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  animation: modalIn .2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-wrap { grid-template-columns: 1fr; }
  .calc-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .top-r .btn.pri { display: none; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .ledger-header { display: none; }
  .ledger-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .footer-in { flex-direction: column; align-items: flex-start; }
}
