﻿/* ═══════════════════════════════════════════════════════════
   aQRi — Luxury Minimal Design System (Monethical Agri)
   ═══════════════════════════════════════════════════════════ */

/* ─ Fonts (self-hosted) ─ */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("./fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─ Tokens ─ */
:root {
  /* Dark zone (hero, nav, footer, dashboard) */
  --bg:         #07090F;
  --surf:       #0D1117;
  --surf-2:     #131920;
  --surf-3:     #1A2230;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.13);
  --tx:         #F0F4FF;
  --tx-1:       #7A8899;
  --tx-2:       #3D4D5A;
  /* Light zone (sections) */
  --lt-bg:      #FFFFFF;
  --lt-surf:    #F5F7FA;
  --lt-border:  rgba(0,0,0,0.08);
  --lt-border-2:rgba(0,0,0,0.14);
  --lt-tx:      #0D1117;
  --lt-tx-1:    #556070;
  --lt-tx-2:    #9AAABB;
  /* Accent: green */
  --accent:     #14B8A6;
  --accent-dim: rgba(20,184,166,0.12);
  --accent-tx:  #05160D;
  --red:        #FF4D6A;
  --radius:     10px;
  --radius-lg:  16px;
  --nav-h:      62px;
  --shell:      min(1200px, 90vw);
  --font:       "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --font-title: "Outfit", "Plus Jakarta Sans", sans-serif;
}

/* ─ Reset ─ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { background: var(--lt-bg); color: var(--tx); font-family: var(--font); font-size: 16px; line-height: 1.6; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
img, svg { display: block; max-width: 100%; }

/* ─ Shell ─ */
.shell { width: var(--shell); margin-inline: auto; }

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 13px 26px; border-radius: var(--radius); font-size: .9rem; font-weight: 600;
  letter-spacing: .01em; transition: opacity .15s, transform .1s, background .15s, border-color .15s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--accent); color: var(--accent-tx);
}
.btn-primary:hover { opacity: .88; }
.btn-ghost {
  background: transparent; color: var(--tx); border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.35); }
.btn:disabled { cursor: not-allowed; opacity: .45; pointer-events: none; }
.btn-outline {
  background: transparent; color: var(--accent); border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent-dim); }
.btn-danger {
  background: transparent; color: var(--red); border: 1px solid rgba(255,59,59,.25);
}
.btn-danger:hover { background: rgba(255,59,59,.08); }
.btn-sm { padding: 8px 16px; font-size: .8rem; border-radius: 8px; }

/* ═══ Nav ═══ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,9,15,.95); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.logo { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: var(--tx); }
.logo em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--tx);
}
.nav-mobile-panel { display: none; }
.nav-mobile-close { display: none; }
.nav-link {
  font-size: .85rem; color: var(--tx-1); padding: 7px 12px; border-radius: 7px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--tx); background: rgba(255,255,255,0.05); }
@media(max-width:900px) {
  .nav-inner { height: var(--nav-h); }
  .nav-links { display: none; }
  .nav { z-index: 1200; }
  .nav-menu-toggle { display: inline-flex; }
  .nav.mobile-open .nav-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.mobile-open .nav-menu-toggle span:nth-child(2) { opacity: 0; }
  .nav.mobile-open .nav-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-mobile-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1201;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    flex-direction: column;
    gap: 6px;
    padding: calc(var(--nav-h) + 74px) 22px 28px;
    background: var(--accent);
    transition: opacity .2s ease, transform .2s ease;
    overflow-y: auto;
  }
  .nav.mobile-open .nav-mobile-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-mobile-link {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #07110f;
    border-radius: 12px;
    padding: 13px 14px;
    background: rgba(7,17,15,0.08);
    border: 1px solid rgba(7,17,15,0.16);
  }
  .nav-mobile-close {
    display: inline-flex;
    position: absolute;
    top: calc(var(--nav-h) + 14px);
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(7,17,15,0.22);
    background: rgba(7,17,15,0.08);
    color: #07110f;
    font-size: 1.15rem;
    align-items: center;
    justify-content: center;
  }
  .nav-mobile-actions {
    margin-top: auto;
    padding-top: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .nav-mobile-actions .btn-ghost {
    color: #07110f;
    border-color: rgba(7,17,15,0.2);
    background: rgba(255,255,255,0.28);
  }
  .nav-mobile-actions .btn-primary {
    background: #07110f;
    color: #eafffb;
  }
}

/* ═══ Hero ═══ */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex; align-items: center;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 55% 55% at 68% 28%, rgba(20,184,166,0.11) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 8% 78%, rgba(20,184,166,0.07) 0%, transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px;
  box-sizing: border-box;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}
.hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 460px); gap: clamp(38px, 5vw, 74px);
  justify-content: center;
  align-items: center; position: relative; z-index: 1;
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  padding: clamp(26px, 4vh, 40px) 0;
}
@media(max-width:900px) {
  .hero .shell { width: min(1200px, calc(100vw - 30px)); }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; min-height: auto; padding: 34px 0 34px; }
  .hero-title { margin-bottom: 20px; }
  .hero-lead { margin-bottom: 24px; }
  .hero-ctas { margin-bottom: 24px; }
}
.hero-col {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
  padding-left: clamp(0px, 0.4vw, 6px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 32px;
  border: 1px solid rgba(20,184,166,0.22); border-radius: 20px; padding: 6px 16px;
  background: rgba(20,184,166,0.08);
  width: fit-content;
}
.kicker-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(20,184,166,.5); }
  50%      { opacity: .7; box-shadow: 0 0 0 7px rgba(20,184,166,0); }
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 3.85vw, 3.95rem); font-weight: 800;
  line-height: 1.04; letter-spacing: -.03em; margin-bottom: 22px;
  color: var(--tx);
}
.hero-title-line { display: block; }
.accent-text {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(20,184,166,0.28);
}
.hero-lead {
  font-size: 1.1rem; color: var(--tx-1); line-height: 1.75;
  max-width: 480px; margin-bottom: 40px; font-weight: 400;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-perks { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-perk {
  display: flex; align-items: center; gap: 7px;
  font-size: .82rem; color: var(--tx-1); font-weight: 500;
}
.perk-chk {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(20,184,166,0.16); color: var(--accent);
  font-size: .65rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
/* ─ Hero QR visual ─ */
.hero-visual { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; }
.hero-qr-wrap {
  position: relative;
  isolation: isolate;
  background: linear-gradient(156deg, rgba(255,255,255,0.99) 0%, rgba(247,250,252,0.97) 52%, rgba(238,244,248,0.96) 100%);
  border-radius: 34px;
  padding: 20px 20px 14px;
  border: 1px solid rgba(255,255,255,0.95);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 -1px 0 rgba(0,0,0,0.035) inset,
    0 28px 60px rgba(0,0,0,0.42),
    0 75px 140px rgba(0,0,0,0.32),
    0 0 0 1px rgba(20,184,166,0.14);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: min(100%, 470px);
  max-width: 470px;
  transform: none;
}
.hero-qr-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(132deg, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0.14) 37%, rgba(255,255,255,0) 62%);
  pointer-events: none;
  z-index: 2;
}
.hero-qr-wrap::after {
  content: "";
  position: absolute;
  inset: auto -18px -36px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(20,184,166,0.34) 0%, rgba(20,184,166,0.10) 52%, rgba(20,184,166,0.03) 72%, transparent 82%);
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
}
.hero-qr-img {
  width: 100%; max-width: 100%; height: auto; display: block;
  border-radius: 16px;
  border: 1px solid rgba(13,17,23,0.08);
  box-shadow: 0 12px 32px rgba(13,17,23,0.18);
}
.hero-qr-label {
  width: calc(100% - 8px);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #4d5967;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(13,17,23,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(241,245,249,0.9) 100%);
}
.hero-qr-dot-row { display: flex; align-items: center; gap: 6px; }
.hero-qr-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 1.8s infinite;
}
@media(max-width:640px) {
  .hero-visual { justify-content: stretch; }
  .hero-qr-wrap {
    width: 100%;
    max-width: none;
    border-radius: 24px;
    padding: 14px 14px 12px;
  }
  .hero-qr-img { border-radius: 12px; }
  .hero-qr-label {
    width: 100%;
    font-size: .62rem;
    letter-spacing: .06em;
    padding: 9px 10px;
  }
}
.hero-qr-loading {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid rgba(0,0,0,.08); border-top-color: #0D1117;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─ Logo bar (light) ─ */
.logo-bar {
  background: var(--lt-bg);
  border-top: 1px solid var(--lt-border); border-bottom: 1px solid var(--lt-border);
  padding: 30px 0;
}
.lb-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.lb-label { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lt-tx-2); white-space: nowrap; }
.lb-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.lb-logo { font-size: .82rem; font-weight: 700; color: var(--lt-tx-2); letter-spacing: .01em; opacity: .55; transition: opacity .2s; }
.lb-logo:hover { opacity: .9; }

/* ─ How it works (light) ─ */
.how-it-works { background: var(--lt-bg); }
.how-it-works .section-header .badge-label { color: var(--accent); border-color: rgba(20,184,166,0.3); background: rgba(20,184,166,0.08); }
.how-it-works .section-title { color: var(--lt-tx); }
.hiw-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border: 1px solid var(--lt-border); border-radius: var(--radius-lg); overflow: hidden;
}
@media(max-width:760px) { .hiw-grid { grid-template-columns: 1fr; } }
.hiw-card {
  background: var(--lt-bg); padding: 52px 36px;
  transition: background .25s; position: relative;
}
.hiw-card::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.hiw-card:hover { background: var(--lt-surf); }
.hiw-card:hover::after { transform: scaleX(1); }
.hiw-num {
  font-size: clamp(3.8rem, 6.4vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -.05em;
  color: rgba(20,184,166,0.26);
  line-height: 1;
  margin-bottom: 20px;
  font-family: var(--font-title);
}
.hiw-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; color: var(--lt-tx); }
.hiw-desc { font-size: .88rem; color: var(--lt-tx-1); line-height: 1.68; }

/* ═══ Why dynamic (static vs dynamic QR comparison) ═══ */
.why-section { background: var(--lt-bg); }
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  border: 1px solid var(--lt-border); border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 8px;
}
@media(max-width:760px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col { background: var(--lt-bg); padding: 40px 36px; }
.compare-col-title { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.compare-static .compare-col-title { color: var(--lt-tx-2); }
.compare-dynamic { background: linear-gradient(180deg, rgba(20,184,166,0.06), rgba(20,184,166,0.01)); }
.compare-dynamic .compare-col-title { color: var(--accent); }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.compare-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--lt-tx-1); }
.compare-dynamic .compare-list li { color: var(--lt-tx); font-weight: 500; }
.compare-x { color: var(--lt-tx-2); font-weight: 700; flex-shrink: 0; }
.compare-ok { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.usecase-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 28px;
}
@media(max-width:760px) { .usecase-strip { grid-template-columns: 1fr; } }
.usecase-item {
  background: var(--lt-surf); border: 1px solid var(--lt-border); border-radius: var(--radius);
  padding: 22px;
}
.usecase-title { font-size: .92rem; font-weight: 700; color: var(--lt-tx); margin-bottom: 6px; }
.usecase-desc { font-size: .84rem; color: var(--lt-tx-1); line-height: 1.6; }

/* ═══ Sections ═══ */
.section { padding: 120px 0; }
.section-header { max-width: 600px; margin-bottom: 72px; }
.section-header.centered { text-align: center; margin-inline: auto; }

.badge-label {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
  border: 1px solid var(--accent-dim); border-radius: 6px; padding: 4px 10px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.1; margin-bottom: 18px;
}
.section-sub { font-size: 1rem; color: var(--tx-1); line-height: 1.7; }
.section-sub-link { color: var(--accent); font-weight: 600; text-underline-offset: 2px; }
.section-sub-link:hover { opacity: .8; }
/* Light section overrides */
.section-light { background: var(--lt-bg); }
.section-light .section-title { color: var(--lt-tx); }
.section-light .section-sub { color: var(--lt-tx-1); }
.section-light .badge-label { color: var(--accent); border-color: rgba(20,184,166,0.3); background: rgba(20,184,166,0.08); }

/* ═══ Features (light) ═══ */
.features-section { background: var(--lt-bg); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  border: 1px solid var(--lt-border); border-radius: var(--radius-lg); overflow: hidden;
}
@media(max-width:900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--lt-bg); padding: 44px 36px;
  transition: background .2s, border-color .2s;
  border-bottom: 2px solid transparent;
}
.feature-card:hover {
  background: var(--lt-surf);
  border-bottom-color: var(--accent);
}
.feature-num {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--accent);
  font-family: "SFMono-Regular", monospace; margin-bottom: 20px;
  display: inline-block; padding: 4px 8px; background: rgba(20,184,166,0.12);
  border-radius: 5px; border: 1px solid rgba(20,184,166,0.2);
}
.feature-title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 10px; color: var(--lt-tx); }
.feature-desc { font-size: .88rem; color: var(--lt-tx-1); line-height: 1.65; }

/* ─ Feature spotlight (10th feature: scan analytics) ─ */
.feature-spotlight {
  margin-top: 16px;
  border: 1px solid rgba(20,184,166,0.25);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20,184,166,0.06), rgba(20,184,166,0.01));
  padding: 36px 36px 32px;
}
.feature-spotlight-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.feature-spotlight-head .feature-num { margin-bottom: 0; }
.feature-spotlight-title { font-size: 1.1rem; font-weight: 700; letter-spacing: -.015em; color: var(--lt-tx); }
.feature-spotlight-desc { font-size: .92rem; color: var(--lt-tx-1); line-height: 1.7; max-width: 640px; margin-bottom: 28px; }
.feature-spotlight-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fsp-stat {
  background: var(--lt-bg); border: 1px solid var(--lt-border); border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.fsp-stat-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--lt-tx-2); margin-bottom: 12px; }
.fsp-stat-value { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.fsp-stat-meta { font-size: .8rem; color: var(--lt-tx-1); }
@media(max-width:900px) {
  .feature-spotlight { padding: 30px 26px; }
}
@media(max-width:640px) {
  .feature-spotlight-stats { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .feature-spotlight { padding: 24px 20px; }
}

/* ═══ Pricing ═══ */
.billing-toggle {
  display: flex; align-items: center; gap: 14px;
  margin-top: 36px; font-size: .88rem; color: var(--tx-1);
}
.billing-toggle span.active { color: var(--tx); font-weight: 600; }
.toggle-btn {
  width: 44px; height: 24px; border-radius: 12px; background: var(--surf-3);
  border: 1px solid var(--border-2); cursor: pointer; position: relative;
  transition: background .2s;
}
.toggle-btn.on { background: var(--accent); border-color: var(--accent); }
.toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--tx-1);
  transition: transform .2s, background .2s;
}
.toggle-btn.on .toggle-knob { transform: translateX(20px); background: var(--accent-tx); }
.save-badge { font-style: normal; font-size: .72rem; background: var(--accent-dim); color: var(--accent); padding: 2px 6px; border-radius: 5px; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 16px;
}
@media(max-width:1100px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:580px)  { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-section { background: var(--lt-bg); }
.pricing-section .section-header { text-align: center; margin-inline: auto; }
.pricing-section .billing-toggle { justify-content: center; }
.pricing-section .pricing-grid { width: min(1120px, 100%); margin-inline: auto; }
.pricing-section .section-title { color: var(--lt-tx); }
.pricing-section .section-sub { color: var(--lt-tx-1); }
.pricing-section .badge-label { color: var(--accent); border-color: rgba(20,184,166,0.3); background: rgba(20,184,166,0.08); }
.pricing-section .billing-toggle { color: var(--lt-tx-1); }
.pricing-section .billing-toggle span.active { color: var(--lt-tx); }
.pricing-section .toggle-btn { background: #E5E9EE; border-color: var(--lt-border-2); }
.pricing-section .toggle-btn.on { background: var(--accent); border-color: var(--accent); }
.pricing-section .toggle-knob { background: #fff; }
.pricing-section .btn-ghost {
  color: var(--lt-tx);
  border-color: var(--lt-border-2);
  background: #ffffff;
}
.pricing-section .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--lt-tx);
  background: rgba(20,184,166,0.08);
}
.pricing-card {
  background: var(--lt-bg); border: 1px solid var(--lt-border);
  border-radius: var(--radius-lg); padding: 32px; position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.pricing-card:hover { border-color: var(--lt-border-2); box-shadow: 0 8px 32px rgba(0,0,0,.06); }
.pricing-card.popular { border-color: var(--accent); }
.pricing-card.active  { border-color: var(--accent); }
.pc-top { height: 2px; background: transparent; border-radius: 2px; margin-bottom: 24px; }
.pricing-card.popular .pc-top { background: transparent; }
.popular-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--accent); color: var(--accent-tx);
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; letter-spacing: .04em;
}
.pc-name { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lt-tx-1); margin-bottom: 20px; }
.pc-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.trial-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .66rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0f766e;
  background: rgba(20,184,166,0.13);
  border: 1px solid rgba(20,184,166,0.3);
}
.pc-cur  { font-size: 1.2rem; font-weight: 700; color: var(--lt-tx-1); }
.pc-amount { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--lt-tx); }
.pc-period { font-size: .85rem; color: var(--lt-tx-1); }
.pc-note { font-size: .75rem; color: var(--lt-tx-2); min-height: 18px; margin-bottom: 20px; }
.pc-divider { border: none; border-top: 1px solid var(--lt-border); margin: 20px 0; }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pc-feature { display: flex; gap: 10px; font-size: .85rem; color: var(--lt-tx-1); }
.pc-check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.enterprise-icon { font-size: 1.5rem; margin-bottom: 12px; }
.enterprise-desc { font-size: .85rem; color: var(--lt-tx-1); line-height: 1.65; margin-bottom: 28px; }

/* ═══ FAQ (light) ═══ */
.faq-section { background: var(--lt-bg); }
.faq-section .section-header { text-align: center; margin-inline: auto; }
.faq-section .section-title { color: var(--lt-tx); }
.faq-section .badge-label { color: var(--accent); border-color: rgba(20,184,166,0.3); background: rgba(20,184,166,0.08); }
.faq-list { display: flex; flex-direction: column; max-width: 920px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--lt-border); padding: 28px 0;
}
.faq-item:first-child { border-top: 1px solid var(--lt-border); }
.faq-item summary {
  font-size: 1rem; font-weight: 600; cursor: pointer; color: var(--lt-tx);
  letter-spacing: -.01em; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.2rem; font-weight: 400; color: var(--lt-tx-2); flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { font-size: .9rem; color: var(--lt-tx-1); line-height: 1.7; margin-top: 16px; }

/* ═══ CTA + Footer unified block ═══ */
.cta-section {
  background: var(--bg);
  padding: 96px 0 0;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  overflow: hidden;
}
.cta-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 50% 110%, rgba(20,184,166,0.12) 0%, transparent 70%);
}
@media(max-width:600px) {
  .cta-section { padding-top: 72px; border-top-left-radius: 24px; border-top-right-radius: 24px; }
  .cta-box { padding: 0 0 44px; }
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: 18px; color: var(--tx);
}
.cta-sub { font-size: 1rem; color: var(--tx-1); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══ Footer ═══ */
footer {
  background: var(--bg); border-top: none;
  padding: 36px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: var(--tx-2);
}
.footer-inner a { color: var(--tx-2); transition: color .15s; }
.footer-inner a:hover { color: var(--tx-1); }
.footer-inner .footer-accent { font-style: normal; color: var(--accent); }

/* ═══ Auth Modal ═══ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-box {
  background: var(--surf); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 48px 40px; width: 100%; max-width: 420px;
  position: relative;
}
.modal-close {
  position: absolute; top: 18px; right: 20px;
  font-size: .9rem; color: var(--tx-1); padding: 6px 10px;
  border-radius: 6px;
}
.modal-close:hover { background: var(--surf-2); color: var(--tx); }
.modal-logo { font-size: .95rem; font-weight: 700; margin-bottom: 28px; }
.modal-logo em { font-style: normal; color: var(--accent); }
.modal-tabs { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.modal-tab {
  padding: 10px 0; margin-right: 24px; font-size: .88rem; font-weight: 600;
  color: var(--tx-1); border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.modal-tab.active { color: var(--tx); border-bottom-color: var(--accent); }
.modal-hint {
  font-size: .78rem; color: var(--tx-1); background: var(--surf-2);
  border-radius: 8px; padding: 10px 14px; margin-bottom: 20px;
}
.modal-hint code { font-size: .75rem; color: var(--accent); background: var(--bg); padding: 2px 5px; border-radius: 4px; }

/* ─ Forms ─ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label { font-size: .8rem; font-weight: 600; color: var(--tx-1); }
.form-input {
  background: var(--bg); border: 1px solid var(--border-2); color: var(--tx);
  border-radius: 8px; padding: 10px 14px; font-size: .9rem;
  transition: border-color .15s;
  width: 100%;
}
.form-input:focus { outline: none; border-color: var(--accent); }
.form-input[type="color"] {
  padding: 4px 6px; height: 44px; cursor: pointer;
}
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-error { font-size: .82rem; color: var(--red); min-height: 18px; display: none; }
.form-error.visible { display: block; }
.form-helper {
  margin-top: 8px;
  font-size: .76rem;
  line-height: 1.5;
  color: var(--tx-2);
}
.form-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: .8rem;
  color: var(--tx-1);
}
.form-check-inline input[type="checkbox"] {
  accent-color: var(--accent);
}
.logo-upload-drop {
  margin-top: 8px;
  border: 1px dashed var(--border-2);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: .8rem;
  color: var(--tx-1);
  background: rgba(255,255,255,0.02);
  text-align: center;
  transition: border-color .15s, background .15s, color .15s;
}
.logo-upload-drop.dragover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--tx);
}
input[type="range"].form-input,
.form-input[type="range"] {
  width: 100%;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  accent-color: var(--accent);
}

input[type="range"].form-input::-webkit-slider-runnable-track,
.form-input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

input[type="range"].form-input::-webkit-slider-thumb,
.form-input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

input[type="range"].form-input::-moz-range-track,
.form-input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

input[type="range"].form-input::-moz-range-progress,
.form-input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

input[type="range"].form-input::-moz-range-thumb,
.form-input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

/* ═══ Dashboard ═══ */
.dash-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.dash-nav {
  background: rgba(8,8,8,.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50;
}
.dash-nav-inner {
  display: flex; align-items: center; gap: 0; height: 60px;
}
.dash-logo { font-size: .9rem; font-weight: 700; flex-shrink: 0; margin-right: 32px; }
.dash-logo em { font-style: normal; color: var(--accent); }
.dash-tabs { display: flex; gap: 2px; flex: 1; }
.dash-tab {
  padding: 8px 14px; font-size: .82rem; font-weight: 600; color: var(--tx-1);
  border-radius: 7px; transition: color .15s, background .15s;
}
.dash-tab:hover { color: var(--tx); background: var(--surf); }
.dash-tab.active { color: var(--tx); background: var(--surf-2); }
.dash-user { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: .8rem; color: var(--tx-1); }
.dash-user span {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-refresh-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d7e3f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
}
.dash-refresh-btn svg {
  width: 17px;
  height: 17px;
}
.dash-refresh-btn:hover {
  color: #ffffff;
  opacity: 1;
}
.dash-refresh-btn:disabled {
  background: transparent;
}
.dash-refresh-btn.is-loading svg {
  animation: spin .85s linear infinite;
}
.dash-global-msg {
  margin: 10px 0 0;
  padding: 10px 12px;
  font-size: .8rem;
}
.dash-global-msg.is-hidden {
  display: none;
}
@media(max-width:760px) {
  .dash-nav-inner { height: auto; padding: 10px 0; flex-wrap: wrap; row-gap: 10px; }
  .dash-logo { margin-right: 12px; }
  .dash-tabs { order: 3; width: 100%; }
  .dash-user { margin-left: 0; margin-left: auto; }
  .dash-user span { display: none; }
}

.dash-body {
  padding: 36px 0 72px;
  flex: 1;
  background:
    radial-gradient(1100px 540px at 50% -180px, rgba(20,184,166,.08), transparent 72%),
    linear-gradient(180deg, #eef2f6 0%, #f7f9fc 65%, #f1f4f8 100%);
}
.dash-stack { display: flex; flex-direction: column; gap: 26px; }
.dash-section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: -2px;
}
.dash-section-kicker {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6d8299;
}
.dash-section-title {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0e1724;
}

.account-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(12,24,40,.08);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(14, 28, 45, 0.08);
}
.account-title {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #70839a; margin-bottom: 14px;
}
.account-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.account-item {
  background: linear-gradient(155deg, #0f1724 0%, #09101a 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.account-item-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.account-name-inline-form {
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  margin-top: 2px;
}
.account-name-inline-form.is-hidden {
  display: none;
}
.account-inline-input {
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #f3f8ff;
  flex: 1;
}
.account-inline-input::placeholder {
  color: #8ea0b6;
}
.account-inline-input:focus {
  border-color: rgba(20,184,166,.42);
  box-shadow: 0 0 0 3px rgba(20,184,166,.12);
}
.account-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.account-inline-icon {
  flex: 0 0 auto;
}
.account-inline-save {
  color: var(--accent);
}
.account-inline-error {
  margin-top: 8px;
  margin-bottom: 0;
}
.account-item span { font-size: .7rem; color: #7e91a8; text-transform: uppercase; letter-spacing: .08em; }
.account-item strong { font-size: 1rem; color: #f3f8ff; }
.icon-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #d7e3f1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover { border-color: rgba(20,184,166,.38); color: var(--accent); }
.icon-btn svg { width: 15px; height: 15px; }
@media(max-width:760px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-name-inline-form {
    align-items: stretch;
  }
}

/* Stats */
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
@media(max-width:680px) { .dash-stats { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--surf); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
}
.stat-label { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--tx-1); margin-bottom: 12px; }
.stat-value { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; color: var(--accent); }
.stat-meta { font-size: .8rem; color: var(--tx-2); }

/* Alerts */
.inline-alert {
  font-size: .85rem; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px;
}
.inline-alert.info  { background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--tx-1); }
.inline-alert.ok    { background: rgba(20,184,166,.1); border: 1px solid rgba(20,184,166,.25); color: var(--accent); }
.inline-alert.err   { background: rgba(255,59,59,.08); border: 1px solid rgba(255,59,59,.25); color: var(--red); }

/* Table */
.table-wrap {
  background: linear-gradient(165deg, #0d1725 0%, #0a111c 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
  margin-top: -8px;
  box-shadow: 0 18px 42px rgba(8, 16, 28, 0.32);
}
.table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.table-title { font-size: .9rem; font-weight: 700; }
.table-subtitle { margin-top: 4px; font-size: .78rem; color: #8fa7bf; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; padding: 12px 24px; font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--tx-2);
  background: var(--surf-2); border-bottom: 1px solid var(--border);
}
td { padding: 16px 24px; font-size: .85rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr.clickable-row { cursor: pointer; }
tr.clickable-row:hover td { background: var(--surf-2); }
.td-name { font-weight: 600; }
.td-url { font-family: "SFMono-Regular", monospace; font-size: .75rem; color: var(--tx-1); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-actions { display: flex; gap: 6px; }
@media(max-width:900px) {
  .table-wrap { overflow-x: auto; }
  .table-header { min-width: 0; flex-wrap: wrap; gap: 10px; }
  table { min-width: 760px; }
}
@media(max-width:640px) {
  .table-title { font-size: .84rem; }
  .table-header .btn { width: 100%; }
}

/* Badges */
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 5px; }
.badge-ok   { background: rgba(20,184,166,.12); color: var(--accent); border: 1px solid rgba(20,184,166,.22); }
.badge-warn { background: rgba(255,150,0,.1); color: #FF9500; border: 1px solid rgba(255,150,0,.2); }
.badge-expiring { background: rgba(245, 182, 66, .16); color: #B7791F; border: 1px solid rgba(245, 182, 66, .36); }
.badge-inactive { background: rgba(114, 28, 52, .16); color: #6E1934; border: 1px solid rgba(114, 28, 52, .34); }

/* Editor */
.editor-panel {
  background: var(--surf); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  position: sticky; top: 80px; align-self: start;
}
.editor-panel-hdr {
  padding: 20px 24px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 1px solid var(--border); color: var(--tx-1);
}
.editor-panel-body { padding: 24px; }
.editor-actions { display: flex; gap: 10px; }

.preview-panel { padding: 0; display: flex; flex-direction: column; gap: 16px; }
.preview-panel h3 { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tx-1); }
.preview-svg-box {
  background: var(--surf); border: 1px solid var(--border); border-radius: var(--radius-lg);
  flex: 1; min-height: 500px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 32px;
}
.preview-svg-box svg { width: 100%; height: auto; max-width: 380px; display: block; margin: auto; }
.preview-svg-img { width: 100%; height: auto; max-width: 420px; display: block; margin: auto; }
.preview-placeholder { font-size: .85rem; color: var(--tx-2); text-align: center; }
.preview-check-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
}
.preview-check-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.preview-check-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.preview-check-badge.ok {
  background: rgba(20,184,166,.12);
  color: var(--accent);
  border: 1px solid rgba(20,184,166,.25);
}
.preview-check-badge.warning {
  background: rgba(255,149,0,.12);
  color: #ffb347;
  border: 1px solid rgba(255,149,0,.22);
}
.preview-check-badge.error {
  background: rgba(255,59,59,.1);
  color: var(--red);
  border: 1px solid rgba(255,59,59,.24);
}
.preview-check-summary {
  font-size: .86rem;
  line-height: 1.55;
  color: var(--tx);
}
.preview-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.preview-check-item {
  position: relative;
  padding-left: 16px;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--tx-1);
}
.preview-check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tx-2);
}
.preview-check-item.ok::before { background: var(--accent); }
.preview-check-item.warning::before { background: #ffb347; }
.preview-check-item.error::before { background: var(--red); }

/* QR edit modal */
.qr-modal-backdrop {
  position: fixed; inset: 0; z-index: 230;
  background: rgba(0,0,0,.72); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.qr-modal-box {
  width: min(1120px, 96vw); max-height: 92vh; overflow: auto;
  background: var(--surf); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 24px; position: relative;
}
.qr-modal-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 24px;
}
@media(max-width:900px) {
  .qr-modal-grid { grid-template-columns: 1fr; }
}
.qr-modal-panel {
  background: var(--surf-2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}

/* Piano tab */
.piano-grid {
  display: block;
}
.mock-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #162231;
}
.piano-mock {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(12,24,40,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(14, 28, 45, 0.08);
}
.account-edit {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(12,24,40,.1);
  background: linear-gradient(180deg, #f5f9ff 0%, #eef4fb 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-edit-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3f5269;
  margin-bottom: 12px;
}
.account-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.account-toggle-btn {
  min-width: 152px;
  border-color: rgba(22,34,49,.14);
  background: rgba(255,255,255,.78);
  color: #182534;
}
.account-toggle-btn:hover {
  border-color: rgba(20,184,166,.32);
  background: rgba(255,255,255,.96);
}
.account-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(63,82,105,.14);
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 24px rgba(28, 46, 70, 0.08);
}
.account-box.is-hidden { display: none; }
.account-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.account-box-title {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #42556d;
}
.account-close-btn {
  width: 30px;
  height: 30px;
  border-color: rgba(22,34,49,.12);
  background: rgba(255,255,255,.84);
  color: #42556d;
  font-size: 1rem;
}
.account-close-btn:hover {
  color: #162231;
  border-color: rgba(22,34,49,.2);
}
.account-box-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.account-cancel-btn {
  border-color: rgba(22,34,49,.14);
  color: #223244;
}
.account-edit-note {
  margin: 4px 0 12px;
  color: #4b6078;
  border-color: rgba(63,82,105,.18);
  background: rgba(255,255,255,.65);
}
.form-row-single {
  grid-template-columns: 1fr;
}
.password-field {
  position: relative;
}
.password-field .form-input {
  padding-right: 44px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #8090a3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .76rem;
}
.password-toggle.is-active {
  color: var(--accent);
  border-color: rgba(20,184,166,.35);
}
.transactions-wrap .table-subtitle {
  color: #a8bfd7;
}
.piano-mock .btn-current-plan {
  border-color: rgba(20,184,166,.42);
  color: #0d5f56;
  background: rgba(20,184,166,.12);
  font-weight: 700;
}
.piano-mock .btn-current-plan:hover { border-color: rgba(20,184,166,.42); }

.piano-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media(max-width:1080px) {
  .piano-pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:640px) {
  .piano-pricing-grid { grid-template-columns: 1fr; }
}

.transactions-wrap { margin-top: 18px; }
.txn-main { font-weight: 600; color: var(--tx); }
.txn-sub { font-size: .75rem; color: var(--tx-2); }
.txn-amount { white-space: nowrap; font-weight: 700; }

@media(max-width:760px) {
  .dash-body { padding: 22px 0 54px; }
  .dash-stack { gap: 18px; }
  .account-card,
  .piano-mock { padding: 14px; }
  .account-edit { padding: 12px; }
  .account-box { padding: 12px; }
  .piano-grid { gap: 14px; }
  .table-header,
  th,
  td { padding-left: 14px; padding-right: 14px; }
  .account-box-actions { justify-content: stretch; flex-direction: column; }
  .account-box-actions .btn,
  .account-action-row .btn { width: 100%; }
  .account-toggle-btn { min-width: 0; }
}
