/* =========================================================
   Landing page
   ========================================================= */

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 86px) 0 clamp(50px, 7vw, 92px);
  background:
    radial-gradient(ellipse 60% 50% at 82% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 45% at 8% 20%, color-mix(in srgb, var(--mint) 9%, transparent), transparent 70%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to left, color-mix(in srgb, var(--line) 45%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--line) 45%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, #000 35%, transparent 80%);
  pointer-events: none;
  opacity: 0.7;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: clamp(34px, 5vw, 64px);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--r-full);
  padding: 5px 7px 5px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.hero-badge b {
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #fff;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: var(--r-full);
}
.hero h1 {
  font-size: clamp(31px, 4.15vw, 50px);
  line-height: 1.34;
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 620px;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
  color: var(--brand);
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  bottom: 4px;
  height: 9px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--mint) 34%, transparent);
  z-index: -1;
  transform: rotate(-1.2deg);
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 17.5px);
  color: var(--muted);
  line-height: 2;
  max-width: 520px;
}
.hero-sub b {
  color: var(--ink-2);
  font-weight: 700;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 6px;
}
.avatar-stack {
  display: flex;
  flex-direction: row-reverse;
}
.avatar-stack img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  object-fit: cover;
  margin-inline-start: -10px;
  background: var(--bg-2);
}
.avatar-stack img:last-child { margin-inline-start: 0; }
.hero-trust-text {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}
.hero-trust-text b {
  color: var(--ink);
}
.hero-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}
.hero-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 2px;
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero-note .icon {
  width: 14px;
  height: 14px;
  color: var(--mint);
}

/* hero visual */
.hero-stage {
  position: relative;
  padding: 12px;
}
.hero-glow {
  position: absolute;
  width: 105%;
  height: 105%;
  top: -6%;
  left: -8%;
  background:
    radial-gradient(circle at 30% 34%, rgba(16, 185, 129, 0.5), transparent 48%),
    radial-gradient(circle at 78% 22%, rgba(45, 212, 191, 0.42), transparent 50%),
    radial-gradient(circle at 58% 82%, rgba(4, 120, 87, 0.36), transparent 52%),
    linear-gradient(135deg, #d1fae5, #ccfbf1 56%, #ecfdf5);
  border-radius: 44px;
  opacity: 0.58;
  filter: blur(2px) saturate(1.04);
  z-index: -1;
}
[data-theme="dark"] .hero-glow { opacity: 0.28; }
.mock-window {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 2px 0 rgba(255, 255, 255, 0.5) inset;
  overflow: hidden;
  transform: perspective(1600px) rotateY(3deg) rotateX(1deg);
  transform-origin: center left;
  transition: transform 0.6s var(--ease);
}
[dir="rtl"] .mock-window { transform-origin: center right; }
.hero-stage:hover .mock-window {
  transform: perspective(1600px) rotateY(1deg) rotateX(0deg);
}
.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--card-2);
}
.window-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.window-bar .dot:nth-child(1) { background: #ff8e8e; }
.window-bar .dot:nth-child(2) { background: #ffcf70; }
.window-bar .dot:nth-child(3) { background: #6ee7b7; }
.window-bar .url {
  margin-inline: auto;
  background: var(--bg-2);
  color: var(--muted-2);
  font-size: 9.5px;
  padding: 3px 22px;
  border-radius: 20px;
  direction: ltr;
  letter-spacing: 0.01em;
}
.mock-body {
  display: flex;
  min-height: 382px;
}
.mock-side {
  width: 52px;
  border-inline-start: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--card-2);
}
.mock-side i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  color: var(--muted-2);
}
.mock-side i.active {
  background: var(--brand);
  color: var(--brand-contrast);
}
.mock-side svg { width: 14px; height: 14px; }
.mock-main {
  flex: 1;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mock-avatar {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #fff;
  display: grid;
  place-items: center;
}
.mock-avatar svg { width: 15px; height: 15px; }
.mock-head b { font-size: 11px; font-weight: 800; }
.mock-head small { font-size: 8px; color: var(--muted-2); display: block; line-height: 1.3; }
.mock-head .pill {
  margin-inline-start: auto;
  font-size: 8px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--mint-soft);
  color: var(--mint);
  font-weight: 700;
}
.mock-canvas {
  background: var(--bg);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.mock-q {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}
.mock-q .ql {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 4px;
}
.mock-q .ql .req { color: var(--coral); }
.mock-q .fake-input {
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--card-2);
}
.mock-q .fake-options {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.mock-q .fake-option {
  font-size: 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 7px;
  color: var(--muted);
  background: var(--card);
}
.mock-q.selected {
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 12%, transparent);
}
.mock-q .fake-stars {
  display: flex;
  gap: 3px;
  color: #f5b83d;
}
.mock-q .fake-stars svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}
.mock-q .fake-stars svg.dim { fill: var(--line-2); }
.mock-drag {
  position: absolute;
  inset-inline-start: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  opacity: 0.6;
}
.mock-drag svg { width: 12px; height: 12px; }
.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 2px;
}
.mock-toolbar .btn-fake {
  font-size: 7.5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--brand);
  color: var(--brand-contrast);
  font-weight: 700;
}
.mock-toolbar .btn-fake.ghost {
  background: var(--card);
  color: var(--muted);
  border: 1px solid var(--line);
}
.float-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: floatY 6s ease-in-out infinite;
}
.float-card .fc-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.float-card .fc-icon svg { width: 18px; height: 18px; }
.float-card b {
  font-size: 15px;
  display: block;
  line-height: 1.35;
  font-weight: 800;
}
.float-card small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  line-height: 1.4;
}
.float-card.fc-1 {
  top: 6%;
  inset-inline-start: -8%;
  animation-delay: -1.5s;
}
.float-card.fc-2 {
  bottom: 12%;
  inset-inline-end: -6%;
  animation-delay: -3.5s;
}
.float-card.fc-3 {
  bottom: -5%;
  inset-inline-start: 10%;
  padding: 9px 13px;
  animation-delay: -2.2s;
}
.float-card.fc-3 .fc-icon {
  width: 28px;
  height: 28px;
}
.float-card.fc-3 b { font-size: 12px; }
.float-card.fc-3 small { font-size: 9px; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- logos ---------- */
.logos {
  padding: 26px 0 34px;
  border-block: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.logos-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}
.logos-label {
  font-size: 12px;
  color: var(--muted-2);
  white-space: nowrap;
  padding-inline-end: 12px;
  border-inline-end: 1px solid var(--line);
}
.logo-cloud {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
  justify-content: center;
}
.logo-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
  font-size: 16px;
  opacity: 0.62;
  filter: grayscale(1);
  transition: 0.25s;
  letter-spacing: -0.02em;
}
.logo-item:hover {
  opacity: 1;
  filter: none;
  color: var(--ink);
}
.logo-item svg {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

/* ---------- stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: clamp(36px, 5vw, 56px);
}
.stat-cell {
  background: var(--card);
  padding: clamp(20px, 3vw, 30px) 20px;
  text-align: center;
}
.stat-cell b {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--brand), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-cell span {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- features ---------- */
.features-top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-card h3 {
  font-size: 16.5px;
  font-weight: 800;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.9;
}
.feature-card .icon-tile {
  margin-bottom: 2px;
}
.feature-card .fc-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-top: 6px;
}
.feature-card .fc-link .icon { width: 14px; height: 14px; transition: transform 0.2s; }
.feature-card:hover .fc-link .icon { transform: translateX(-3px); }
.feature-card.hero-feature {
  grid-row: span 2;
  background:
    radial-gradient(ellipse 80% 60% at 90% 5%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    var(--card);
  justify-content: flex-start;
}
.feature-visual {
  margin-top: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card-2);
  padding: 14px;
}
.mini-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.mini-form .mf-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8.5px;
  color: var(--muted);
}
.mini-form .mf-row .num {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 7.5px;
  font-weight: 800;
  flex: none;
}
.mini-form .mf-bar {
  height: 6px;
  border-radius: 4px;
  background: var(--bg-2);
  overflow: hidden;
}
.mini-form .mf-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand), var(--violet));
}
.mini-form .mf-label { font-size: 8px; font-weight: 700; color: var(--ink-2); }
.mini-form .mf-input {
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--card-2);
}
.mini-form .mf-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.mini-form .mf-chip {
  font-size: 7px;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 15%, transparent);
}
.feature-card.dark-feature {
  background: linear-gradient(150deg, #06231b, #07352a 60%, #064e3b);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  grid-column: span 2;
}
[data-theme="dark"] .feature-card.dark-feature {
  background: linear-gradient(150deg, #0a2a22, #0d3a2f 60%, #065f46);
}
.feature-card.dark-feature p { color: #b7e8d8; }
.feature-card.dark-feature .icon-tile {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.feature-card.dark-feature .fc-link { color: #a7f3d0; }
.dark-feature .df-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.dark-feature .df-chip {
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 11px;
  border-radius: 20px;
  color: #cfeee3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dark-feature .df-chip svg { width: 13px; height: 13px; color: #6ee7b7; }
.feature-grid-small {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.feature-small {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.feature-small .icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}
.feature-small .icon-tile svg { width: 20px; height: 20px; }
.feature-small h4 { font-size: 13.5px; margin-bottom: 3px; }
.feature-small p { font-size: 12px; color: var(--muted); line-height: 1.8; }

/* ---------- showcase ---------- */
.showcase {
  background: var(--card);
  border-block: 1px solid var(--line);
}
.showcase-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 34px;
  padding: 5px;
  background: var(--bg-2);
  border-radius: var(--r-full);
  width: fit-content;
  margin-inline: auto;
  max-width: 100%;
}
.showcase-tab {
  padding: 9px 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: 0.2s;
  white-space: nowrap;
}
.showcase-tab.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.showcase-stage {
  position: relative;
}
.showcase-panel { display: none; }
.showcase-panel.active {
  display: grid;
  grid-template-columns: 0.92fr 1.1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  animation: fadeIn 0.35s ease;
}
.showcase-copy h3 {
  font-size: clamp(21px, 2.6vw, 29px);
  margin-bottom: 12px;
}
.showcase-copy p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 2;
  margin-bottom: 20px;
}
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.showcase-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.8;
}
.showcase-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--mint-soft);
  color: var(--mint);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
}
.showcase-list .tick svg { width: 13px; height: 13px; }
.showcase-visual {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(16px, 2.4vw, 26px);
  box-shadow: var(--shadow-md);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-visual .window-bar {
  background: transparent;
  border: 0;
  padding: 0 0 12px;
  height: auto;
}
.showcase-visual .window-bar .url { background: var(--card); }
.canvas-paper {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-xs);
}
.cp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.cp-head .cp-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #047857, #0d9488);
  display: grid;
  place-items: center;
  color: #fff;
}
.cp-head .cp-logo svg { width: 19px; height: 19px; }
.cp-head b { font-size: 13px; display: block; }
.cp-head small { font-size: 9.5px; color: var(--muted-2); }
.cp-field {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}
.cp-field .cf-label { font-size: 10.5px; font-weight: 700; }
.cp-field .cf-input {
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 0 9px;
  font-size: 9px;
  color: var(--muted-2);
}
.cp-field .cf-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-field .cf-opt {
  font-size: 9px;
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.cp-field .cf-opt.on {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  color: var(--brand);
}
.cp-field .cf-opt i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: block;
}
.cp-field .cf-opt.on i { background: currentColor; }
.cp-badge {
  position: absolute;
  top: -10px;
  inset-inline-start: 12px;
  background: var(--brand);
  color: var(--brand-contrast);
  font-size: 7px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
}
.cp-add {
  border: 1.5px dashed var(--line-2);
  border-radius: 9px;
  padding: 11px;
  text-align: center;
  color: var(--muted-2);
  font-size: 9.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.cp-add svg { width: 12px; height: 12px; }
.cp-side-note {
  position: absolute;
  inset-inline-end: -12px;
  top: 20%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 11px;
  box-shadow: var(--shadow-md);
  font-size: 9.5px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-weight: 600;
  max-width: 170px;
  z-index: 2;
}
.cp-side-note .icon { width: 13px; height: 13px; color: var(--violet); flex: none; }

/* logic visual */
.logic-board {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.logic-row {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  flex-wrap: wrap;
  line-height: 1.7;
}
.logic-row .lr-if {
  font-size: 8.5px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 800;
}
.logic-row .lr-then {
  font-size: 8.5px;
  background: var(--mint-soft);
  color: var(--mint);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 800;
}
.logic-row b { color: var(--ink-2); }
.logic-row .lr-arrow { color: var(--muted-2); display: grid; place-items: center; }
.logic-row .lr-arrow svg { width: 12px; height: 12px; }
.logic-add {
  border: 1.5px dashed var(--line-2);
  border-radius: 11px;
  padding: 12px;
  font-size: 10px;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 700;
  background: color-mix(in srgb, var(--brand) 3%, transparent);
}
.logic-add svg { width: 13px; height: 13px; }
.logic-note {
  margin-top: 10px;
  padding: 10px;
  border-radius: 9px;
  background: var(--amber-soft);
  color: #a16207;
  font-size: 9px;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.7;
}
[data-theme="dark"] .logic-note { color: var(--amber); }
.logic-note svg { width: 12px; height: 12px; flex: none; margin-top: 1px; }

/* design visual */
.design-board {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.design-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
  color: var(--muted);
}
.design-row b { font-size: 11px; color: var(--ink-2); }
.swatches {
  display: flex;
  gap: 7px;
}
.swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--card);
  box-shadow: 0 0 0 1px var(--line);
}
.swatch.on {
  box-shadow: 0 0 0 2px var(--brand);
}
.design-preview {
  border-radius: 12px;
  background: linear-gradient(140deg, #ecfdf5, #fdfdff 55%, #e7faf2);
  padding: 18px;
  border: 1px solid var(--line);
  text-align: center;
}
[data-theme="dark"] .design-preview { background: linear-gradient(140deg, #0a2a22, #0a1a16 55%, #112c26); }
.design-preview .dp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  background: #fff;
  color: #047857;
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(14, 19, 48, 0.08);
  margin-bottom: 9px;
}
.design-preview h5 { font-size: 15px; margin-bottom: 4px; }
.design-preview p { font-size: 9.5px; color: var(--muted); margin-bottom: 12px; }
.design-preview .dp-btn {
  background: #047857;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 7px;
  display: inline-block;
}
.design-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.design-layout div {
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.design-layout div.on {
  border-color: var(--brand);
  background: var(--brand-soft);
  position: relative;
}
.design-layout div.on::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--brand) 30%, transparent);
}

/* analytics visual */
.an-board {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.an-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.an-kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
}
.an-kpi small { font-size: 8.5px; color: var(--muted-2); display: block; }
.an-kpi b { font-size: 17px; font-weight: 900; }
.an-kpi span { font-size: 8px; color: var(--mint); display: block; }
.an-chart {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.an-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 10px;
}
.an-chart-head span { font-size: 8px; color: var(--muted-2); font-weight: 400; }
.an-bars {
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.an-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 25%, transparent));
  min-height: 8px;
  position: relative;
}
.an-bar.mint { background: linear-gradient(180deg, var(--mint), color-mix(in srgb, var(--mint) 20%, transparent)); }
.an-legend {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  font-size: 7px;
  color: var(--muted);
}
.an-legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  display: inline-block;
  margin-inline-end: 3px;
}

/* ---------- template cards ---------- */
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tpl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.tpl-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.tpl-cover {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-2);
  overflow: hidden;
}
.tpl-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tpl-card:hover .tpl-cover img { transform: scale(1.05); }
.tpl-cat {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(8px);
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.tpl-pop {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: var(--coral);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tpl-pop svg { width: 11px; height: 11px; }
.tpl-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tpl-body h3 { font-size: 14.5px; }
.tpl-body p { font-size: 11.5px; color: var(--muted); line-height: 1.8; }
.tpl-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  color: var(--muted-2);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.tpl-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tpl-meta svg { width: 13px; height: 13px; }
.tpl-actions {
  display: flex;
  gap: 7px;
  padding-top: 4px;
}
.tpl-actions .btn { flex: 1; }
.tpl-more {
  text-align: center;
  margin-top: 34px;
}

/* ---------- bento advanced ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.bento-card {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}
.bento-card .bento-content {
  padding: clamp(20px, 2.6vw, 28px);
  position: relative;
  z-index: 1;
}
.bento-card h3 { font-size: 17px; margin-bottom: 8px; }
.bento-card p { font-size: 12.5px; color: var(--muted); line-height: 1.9; max-width: 340px; }
.bento-art {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px;
  position: relative;
  min-height: 150px;
}
.bento-art img {
  width: 100%;
  max-width: 320px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
[data-theme="dark"] .bento-art img {
  mix-blend-mode: normal;
  opacity: 0.92;
  border-radius: 16px;
}
.bento-logic { grid-column: span 5; }
.bento-logic .bento-art { margin-top: -20px; }
.bento-pay { grid-column: span 3; background: linear-gradient(160deg, #047857, #0d9488 60%, #0d9488); color: #fff; border: 0; }
.bento-pay p { color: #d1fae5; }
.bento-pay .pay-art {
  margin: auto auto 0;
  width: 100%;
  max-width: 230px;
  padding: 0 20px 18px;
}
.pay-card {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(10, 13, 35, 0.28);
  transform: rotate(-4deg);
  transition: transform 0.4s var(--ease);
}
.bento-pay:hover .pay-card { transform: rotate(0) translateY(-3px); }
.pay-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 14px;
}
.pay-chip {
  width: 26px;
  height: 19px;
  border-radius: 5px;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.pay-card b {
  font-size: 19px;
  font-weight: 900;
  display: block;
}
.pay-card b small { font-size: 9px; font-weight: 500; opacity: 0.8; }
.pay-card-num {
  direction: ltr;
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0.85;
  margin: 8px 0 12px;
}
.pay-card-foot {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}
.pay-card-foot span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pay-card-foot span:first-child::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7b7;
}
.bento-integrations { grid-column: span 4; }
.bento-integrations .bento-art { min-height: 120px; }
.bento-ai { grid-column: span 7; background: linear-gradient(145deg, #0f172a, #052e16 55%, #064e3b); color: #fff; border: 0; }
.bento-ai p { color: #b7e8d8; }
.bento-ai .bento-art { align-items: center; }
.bento-ai .ai-chat {
  width: 100%;
  max-width: 330px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(6px);
}
.ai-msg {
  font-size: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  line-height: 1.75;
  max-width: 90%;
}
.ai-msg.user {
  background: rgba(255, 255, 255, 0.13);
  align-self: flex-start;
  border-bottom-inline-start-radius: 3px;
}
.ai-msg.bot {
  background: linear-gradient(135deg, #047857, #10b981);
  align-self: flex-end;
  border-bottom-inline-end-radius: 3px;
}
.bento-qr { grid-column: span 5; }
.bento-qr .bento-content { padding-bottom: 0; }
.bento-qr .qr-art {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 28px 24px;
  margin-top: auto;
}
.qr-box {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  background: #fff;
  padding: 7px;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.qr-box svg { width: 100%; height: 100%; }
.qr-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 9px;
  color: var(--muted);
}
.qr-lines b { font-size: 10px; color: var(--ink-2); }
.qr-lines .qr-line {
  height: 6px;
  border-radius: 3px;
  background: var(--bg-2);
  width: 120px;
}
.qr-lines .qr-line.short { width: 70px; }
.bento-share { grid-column: span 12; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; min-height: 170px; }
.bento-share .bento-content { padding-block: clamp(22px, 3vw, 30px); }
.bento-share .bento-content p { max-width: 560px; }
.bento-share .share-art {
  display: flex;
  gap: 12px;
  padding: 0 clamp(20px, 3vw, 32px);
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.share-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.share-tile svg { width: 22px; height: 22px; }
.share-tile.brand { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

/* ---------- mobile section ---------- */
.mobile-section {
  background:
    radial-gradient(ellipse 60% 60% at 15% 30%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.mobile-copy h2 { font-size: clamp(25px, 3.3vw, 37px); margin-bottom: 14px; line-height: 1.4; }
.mobile-copy > p { color: var(--muted); font-size: 14.5px; line-height: 2; margin-bottom: 24px; }
.mobile-list { display: flex; flex-direction: column; gap: 16px; }
.mobile-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.mobile-item .mi-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--brand);
}
.mobile-item .mi-icon svg { width: 19px; height: 19px; }
.mobile-item h4 { font-size: 14px; margin-bottom: 2px; }
.mobile-item p { font-size: 12px; color: var(--muted); line-height: 1.8; }
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.phone-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 25%, transparent), transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(8px);
}
.phone {
  width: 286px;
  border-radius: 42px;
  background: #071713;
  padding: 10px;
  box-shadow: 0 40px 90px rgba(14, 19, 48, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  z-index: 2;
  transform: rotate(-3deg);
  transition: transform 0.5s var(--ease);
}
.phone:hover { transform: rotate(0) translateY(-4px); }
.phone-screen {
  background: var(--card);
  border-radius: 33px;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 20px;
  background: #071713;
  z-index: 5;
}
.phone-head {
  background: linear-gradient(150deg, #047857, #10b981 60%, #0d9488);
  padding: 34px 16px 16px;
  color: #fff;
  border-radius: 0 0 22px 22px;
  position: relative;
}
.phone-head .ph-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.phone-head .ph-logo svg { width: 16px; height: 16px; }
.phone-head h5 { font-size: 14px; line-height: 1.5; margin-bottom: 4px; }
.phone-head p { font-size: 8.5px; opacity: 0.85; line-height: 1.7; }
.phone-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  margin-top: 12px;
  overflow: hidden;
}
.phone-progress i { display: block; height: 100%; width: 62%; background: #fff; border-radius: 3px; }
.phone-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  background: var(--bg);
}
.phone-field {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone-field .pf-label {
  font-size: 9px;
  font-weight: 700;
  display: flex;
  gap: 4px;
}
.phone-field .pf-label .req { color: var(--coral); }
.phone-field .pf-input {
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  font-size: 8px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.phone-field .pf-input.filled { color: var(--ink-2); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.phone-field .pf-stars { display: flex; gap: 4px; color: #f5b83d; }
.phone-field .pf-stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.phone-field .pf-stars svg.dim { fill: var(--line-2); }
.phone-cta {
  margin-top: auto;
  background: var(--brand);
  color: var(--brand-contrast);
  border-radius: 9px;
  padding: 9px;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
}
.phone-footnote {
  text-align: center;
  font-size: 7px;
  color: var(--muted-2);
  padding-bottom: 4px;
}
.phone-chip {
  position: absolute;
  z-index: 4;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: var(--shadow-md);
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  animation: floatY 5.5s ease-in-out infinite;
}
.phone-chip .pc-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--mint-soft);
  color: var(--mint);
  display: grid;
  place-items: center;
  flex: none;
}
.phone-chip .pc-icon svg { width: 16px; height: 16px; }
.phone-chip b { font-size: 11px; display: block; }
.phone-chip small { font-size: 8px; color: var(--muted); display: block; }
.phone-chip.pc-a { top: 18%; inset-inline-start: 0; animation-delay: -1s; }
.phone-chip.pc-b { bottom: 17%; inset-inline-end: 0; animation-delay: -3s; }
.phone-chip.pc-b .pc-icon { background: var(--brand-soft); color: var(--brand); }

/* ---------- testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.testi-card.featured {
  background: linear-gradient(150deg, var(--brand), #0d9488 70%, #0d9488);
  color: #fff;
  border: 0;
}
.testi-stars { display: flex; gap: 3px; color: #f59e0b; }
.testi-card.featured .testi-stars { color: #fde68a; }
.testi-stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.testi-quote {
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--ink-2);
  flex: 1;
}
.testi-card.featured .testi-quote { color: #ecfdf5; }
.testi-person {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.testi-card.featured .testi-person { border-color: rgba(255, 255, 255, 0.2); }
.testi-person img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-2);
}
.testi-person b { font-size: 13px; display: block; }
.testi-person span { font-size: 11px; color: var(--muted); display: block; }
.testi-card.featured .testi-person span { color: #d1fae5; }
.testi-mark {
  position: absolute;
  top: 20px;
  inset-inline-end: 22px;
  font-size: 54px;
  line-height: 1;
  font-family: Georgia, serif;
  color: color-mix(in srgb, var(--brand) 12%, transparent);
}
.testi-card.featured .testi-mark { color: rgba(255, 255, 255, 0.22); }

/* ---------- pricing ---------- */
.pricing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 34px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.pricing-switch .save {
  font-size: 10px;
  background: var(--mint-soft);
  color: var(--mint);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border: 1.5px solid var(--brand);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--brand) 16%, transparent);
  transform: translateY(-10px);
}
.price-tag {
  position: absolute;
  top: -13px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--brand), var(--violet));
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
}
[dir="rtl"] .price-tag { transform: translateX(50%); }
.price-card h3 { font-size: 18px; margin-bottom: 4px; }
.price-desc { font-size: 12px; color: var(--muted); line-height: 1.8; min-height: 40px; }
.price-amount {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 16px 0 6px;
  flex-wrap: wrap;
}
.price-amount b {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.price-amount span {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 6px;
}
.price-yearly-note {
  font-size: 10px;
  color: var(--muted-2);
  min-height: 18px;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.price-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.75;
}
.price-features .icon {
  width: 16px;
  height: 16px;
  color: var(--mint);
  margin-top: 3px;
  flex: none;
}
.price-card .btn { width: 100%; }
.price-footnote {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 28px;
}
.price-footnote a { color: var(--brand); font-weight: 700; }

/* ---------- faq ---------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--muted);
  display: grid;
  place-items: center;
  flex: none;
  transition: 0.2s;
}
.faq-item[open] summary .fq-icon {
  background: var(--brand);
  color: var(--brand-contrast);
  transform: rotate(45deg);
}
.faq-item summary .fq-icon svg { width: 15px; height: 15px; }
.faq-item .faq-body {
  padding: 0 60px 20px 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}

/* ---------- cta ---------- */
.cta-section {
  padding: clamp(20px, 4vw, 40px) 0 clamp(60px, 8vw, 100px);
}
.cta-box {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: clamp(40px, 7vw, 76px) clamp(22px, 5vw, 60px);
  text-align: center;
  background:
    radial-gradient(circle at 82% 12%, rgba(52, 211, 153, 0.3), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(13, 148, 136, 0.28), transparent 46%),
    linear-gradient(135deg, #06231b, #064e3b 55%, #0f766e);
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4, 20, 15, 0.72), rgba(6, 78, 59, 0.52) 55%, rgba(4, 20, 15, 0.62));
  z-index: -1;
}
.cta-box .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.cta-box h2 {
  font-size: clamp(27px, 4vw, 43px);
  margin: 16px auto 14px;
  max-width: 720px;
  line-height: 1.35;
}
.cta-box p {
  color: #c7e8de;
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 14px;
  line-height: 2;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 18px;
  font-size: 11px;
  color: #a7d8c6;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-note span { display: inline-flex; align-items: center; gap: 5px; }
.cta-note svg { width: 14px; height: 14px; color: #6ee7b7; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-content { align-items: center; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust, .hero-note { justify-content: center; }
  .hero-stage { max-width: 660px; margin-inline: auto; width: 100%; }
  .mock-window { transform: none; }
  .features-top { grid-template-columns: 1fr 1fr; }
  .feature-card.hero-feature { grid-row: auto; grid-column: span 2; }
  .feature-card.dark-feature { grid-column: span 2; }
  .feature-grid-small { grid-template-columns: 1fr 1fr; }
  .tpl-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-logic { grid-column: span 6; }
  .bento-pay { grid-column: span 6; }
  .bento-integrations { grid-column: span 6; }
  .bento-ai { grid-column: span 6; }
  .bento-qr { grid-column: span 5; }
  .bento-share { grid-column: span 7; grid-template-columns: 1fr; }
  .bento-share .share-art { padding: 0 22px 24px; }
  .showcase-panel.active { grid-template-columns: 1fr; }
  .showcase-visual { order: 2; }
  .showcase-copy { order: 1; }
  .mobile-grid { grid-template-columns: 1fr; }
  .phone-stage { order: 1; }
  .mobile-copy { order: 2; }
  .price-card.featured { transform: none; }
}

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card.featured { order: -1; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento-card { grid-column: auto !important; }
  .bento-share { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .mobile-grid { gap: 30px; }
}

@media (max-width: 760px) {
  .float-card.fc-1 { inset-inline-start: -2%; top: 0; }
  .float-card.fc-2 { inset-inline-end: -2%; bottom: 14%; }
  .float-card.fc-3 { display: none; }
  .mock-body { min-height: 320px; }
  .mock-q:nth-of-type(4) { display: none; }
  .showcase-tabs { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .showcase-tab { flex: none; }
  .features-top { grid-template-columns: 1fr; }
  .feature-card.hero-feature, .feature-card.dark-feature { grid-column: auto; }
  .feature-grid-small { grid-template-columns: 1fr; }
  .logos-label { border: 0; padding: 0; width: 100%; text-align: center; }
  .logo-cloud { gap: 18px 26px; }
  .logo-item { font-size: 14px; }
  .hero-stage { padding: 4px; }
  .float-card { padding: 8px 10px; }
  .float-card b { font-size: 12px; }
  .float-card small { font-size: 8px; }
  .float-card .fc-icon { width: 28px; height: 28px; border-radius: 8px; }
  .cta-box { border-radius: 24px; }
  .price-amount b { font-size: 32px; }
  .phone { width: 264px; }
  .phone-chip.pc-a { inset-inline-start: -4px; }
  .phone-chip.pc-b { inset-inline-end: -4px; }
}

@media (max-width: 520px) {
  .tpl-grid { grid-template-columns: 1fr; }
  .tpl-cover { aspect-ratio: 16/10; }
  .hero-actions .btn { flex: 1; }
  .hero-actions .btn-lg { padding-inline: 14px; }
  .mock-side { display: none; }
  .mock-main { padding: 12px; }
  .mock-window { border-radius: 16px; }
  .mock-body { min-height: 300px; }
  .hero-glow { border-radius: 26px; }
  .stats-band { margin-top: 30px; }
  .stat-cell { padding: 16px 10px; }
  .stat-cell b { font-size: 24px; }
  .stat-cell span { font-size: 10.5px; }
  .phone-chip { display: none; }
  .design-preview h5 { font-size: 11px; }
  .showcase-visual { padding: 12px; min-height: 0; }
  .bento-qr .qr-art { flex-direction: column; align-items: flex-start; }
  .faq-item summary { font-size: 13px; padding: 14px 15px; }
  .faq-item .faq-body { padding: 0 20px 16px 20px; }
}

/* reports link inside the dark analytics feature card */
.dark-feature .df-link {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dark-feature .df-link .icon {
  width: 13px;
  height: 13px;
  transition: transform .2s;
}
.dark-feature:hover .df-link .icon { transform: translateX(-3px); }
