:root {
  --brand: #ffd33d;
  --brand-2: #ff9d24;
  --cream: #fff8e8;
  --cream-2: #fffdf6;
  --orange: #f26522;
  --ink: #1f2933;
  --text: #4b5563;
  --muted: #7b8494;
  --line: #f0e2bd;
  --white: #fff;
  --soft: #f7f4eb;
  --shadow: 0 10px 24px rgba(105, 82, 28, 0.08);
  --soft-shadow: 0 6px 16px rgba(105, 82, 28, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #eceef2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body::after {
  display: block;
  height: 78px;
  content: "";
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.app-header,
main,
.footer {
  width: min(100%, 430px);
  margin: 0 auto;
  background: var(--cream-2);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(105, 82, 28, 0.08);
  background: rgba(255, 253, 246, 0.94);
  backdrop-filter: blur(16px);
}

.brand-bar {
  display: grid;
  grid-template-columns: 44px 1fr 64px;
  align-items: center;
  min-height: 62px;
  padding: 0 16px;
}

.menu-toggle {
  display: grid;
  gap: 5px;
  width: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 1000;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  object-fit: cover;
}

.header-cta {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  color: #2c2100;
  background: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.drawer-nav {
  display: none;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  background: #fff;
}

.drawer-nav.open {
  display: grid;
}

.drawer-nav a {
  padding: 14px 20px;
  border-bottom: 1px solid #f3ead3;
  color: var(--text);
  font-weight: 800;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 34px 20px 28px;
  background: linear-gradient(180deg, #fff8df 0%, #fffdf6 78%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0;
  color: #9c6b05;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-section h1 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.12;
  font-weight: 1000;
}

.hero-subtitle {
  margin: 14px 0 0;
  max-width: 342px;
  color: #586171;
  font-size: 16px;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.btn {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 1000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn.primary {
  color: #2c2100;
  background: linear-gradient(135deg, var(--brand), #ffe783);
  box-shadow: 0 8px 18px rgba(255, 171, 36, 0.18);
}

.btn.secondary,
.btn.light {
  color: #4a3800;
  border: 1px solid #ecdba8;
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  margin-top: 26px;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hero-stats article,
.income-card,
.calculator-panel,
.operation-steps article,
.support-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--soft-shadow);
}

.hero-stats article {
  min-height: 88px;
  padding: 13px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 1000;
}

.hero-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.section,
.contact-section {
  padding: 44px 20px;
  background: var(--cream-2);
  border-top: 8px solid var(--soft);
}

.section:nth-of-type(odd) {
  background: #fffaf0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.section-heading h2,
.contact-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 1000;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.income-card {
  overflow: hidden;
}

.income-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid #f3ead3;
}

.income-row:last-child {
  border-bottom: 0;
}

.income-row span {
  color: #556070;
  font-size: 14px;
  font-weight: 800;
}

.income-row strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 1000;
}

.income-row.plus strong,
.income-row.highlight strong {
  color: var(--orange);
}

.income-row.cost strong {
  color: #64748b;
}

.income-row.result {
  background: #fff3cb;
}

.income-row.result strong {
  color: #c44816;
  font-size: 20px;
}

.section-note {
  margin: 12px 0 0;
  color: #8a6a18;
  font-size: 12px;
  line-height: 1.55;
}

.terminals-section {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  scroll-margin-top: 82px;
  margin: 16px 12px 0;
  padding: 28px 12px 46px;
  border: 1px solid rgba(236, 219, 168, 0.68);
  border-radius: 24px;
  border-top: 1px solid rgba(236, 219, 168, 0.9);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 197, 48, 0.11), transparent 44%),
    radial-gradient(circle at 82% 18%, rgba(255, 197, 48, 0.09), transparent 34%),
    radial-gradient(circle at 18% 58%, rgba(255, 157, 36, 0.045), transparent 32%),
    linear-gradient(180deg, rgba(255, 249, 236, 0.92), rgba(255, 248, 232, 0.82));
}

.terminal-reference-section {
  display: none;
}

.terminals-section.terminal-reference-mode {
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
}

.terminals-section.terminal-reference-mode::before {
  display: none;
}

.terminals-section.terminal-reference-mode > :not(.terminal-reference-section) {
  display: none;
}

.terminals-section.terminal-reference-mode .terminal-reference-section {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  user-select: none;
}

.terminals-section::before {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(179, 118, 0, 0.16) 0 1px, transparent 1.5px),
    linear-gradient(135deg, transparent 0 44%, rgba(179, 118, 0, 0.12) 44.5% 45.5%, transparent 46% 100%);
  background-position: 18px 24px, 78% 22%;
  background-size: 38px 38px, 210px 210px;
  content: "";
  opacity: 0.1;
  pointer-events: none;
}

.terminals-section .section-heading {
  position: relative;
  z-index: 1;
}

.calculator-panel {
  padding: 16px;
}

.calculator-tabs,
.terminal-tabs,
.case-tabs {
  display: grid;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.calculator-panel .calculator-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: initial;
  grid-auto-columns: initial;
  gap: 4px;
  overflow: visible;
  margin: 0 0 16px;
  padding: 4px;
  border: 1px solid rgba(234, 217, 166, 0.82);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 239, 0.92));
  box-shadow: 0 10px 22px rgba(105, 82, 28, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.terminals-section .terminal-tabs {
  position: relative;
  z-index: 4;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-columns: auto;
  gap: 0;
  width: min(100%, 334px);
  border: 1px solid rgba(236, 219, 168, 0.72);
  border-radius: 999px;
  margin: 0 auto 10px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 22px rgba(69, 49, 0, 0.05);
}

.calculator-tabs::-webkit-scrollbar,
.terminal-tabs::-webkit-scrollbar,
.case-tabs::-webkit-scrollbar {
  display: none;
}

.calculator-tabs button,
.terminal-tabs button,
.case-tabs button {
  min-height: 34px;
  border: 1px solid #ead9a6;
  border-radius: 999px;
  padding: 0 14px;
  color: #7a6a4b;
  background: #fff;
  font-size: 13px;
  font-weight: 1000;
}

.calculator-panel .calculator-tabs button {
  position: relative;
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 6px 8px;
  color: #6b5a37;
  background: transparent;
  text-align: center;
  box-shadow: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.calculator-panel .calculator-tabs button::before {
  display: none;
}

.calculator-panel .calculator-tabs button strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 1000;
}

.calculator-panel .calculator-tabs button span {
  color: #8a7d68;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
}

.terminals-section .terminal-tabs button {
  min-height: 34px;
  border: 0;
  padding: 0 4px;
  background: transparent;
  color: #4b5563;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.calculator-tabs button.active,
.terminal-tabs button.active,
.case-tabs button.active {
  color: #2c2100;
  border-color: transparent;
  background: var(--brand);
}

.calculator-panel .calculator-tabs button.active {
  background: linear-gradient(180deg, #ffd84d, #ffc928);
  box-shadow: 0 8px 18px rgba(255, 183, 23, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.44);
  transform: translateY(-1px) scale(1.01);
}

.calculator-panel .calculator-tabs button.active::before {
  display: none;
}

.calculator-panel .calculator-tabs button.active strong {
  color: #221900;
}

.calculator-panel .calculator-tabs button.active span {
  color: #6b4a00;
}

.terminals-section .terminal-tabs button.active {
  color: #2c2100;
  background: var(--brand);
  box-shadow: 0 8px 16px rgba(255, 197, 48, 0.18);
  transform: translateY(-1px) scale(1.01);
}

.calculator-presets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: -2px 0 14px;
}

.calculator-presets button {
  display: grid;
  gap: 3px;
  min-height: 58px;
  border: 1px solid #ead9a6;
  border-radius: 16px;
  padding: 10px 12px;
  color: #5f5340;
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.calculator-presets button.active {
  border-color: rgba(255, 157, 36, 0.26);
  background: linear-gradient(135deg, #fff1bf, #fffaf0);
  box-shadow: 0 8px 18px rgba(105, 82, 28, 0.06);
}

.calculator-presets strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 1000;
}

.calculator-presets span {
  color: #7b8494;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.calculator-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.calculator-form[hidden],
.startup-form[hidden] {
  display: none;
}

.calculator-form label,
.startup-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.startup-form {
  display: grid;
  gap: 12px;
}

.startup-reference-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(234, 217, 166, 0.95);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #fff9e7, #fffdf6);
  box-shadow: var(--soft-shadow);
}

.startup-reference-card span {
  color: #9c6b05;
  font-size: 12px;
  font-weight: 1000;
}

.startup-reference-card strong {
  color: var(--orange);
  font-size: 30px;
  line-height: 1.05;
  font-weight: 1000;
}

.startup-reference-card p {
  margin: 0;
  color: #586171;
  font-size: 13px;
  line-height: 1.65;
}

.startup-reference-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.startup-reference-card em {
  border: 1px solid rgba(234, 217, 166, 0.9);
  border-radius: 999px;
  padding: 6px 9px;
  color: #6d5b36;
  background: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.startup-plan-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.startup-plan-list button {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(234, 217, 166, 0.9);
  border-radius: 16px;
  padding: 11px 12px;
  color: #5f5340;
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
  box-shadow: 0 8px 18px rgba(105, 82, 28, 0.04);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.startup-plan-list button > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.startup-plan-list button.active {
  border-color: rgba(255, 157, 36, 0.34);
  background: linear-gradient(135deg, #fff2bd, #fffdf5);
  transform: translateY(-1px);
}

.startup-plan-list strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 1000;
}

.startup-plan-list span {
  color: #7b8494;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
}

.startup-plan-list em {
  color: var(--orange);
  font-size: 13px;
  font-style: normal;
  line-height: 1.2;
  white-space: nowrap;
  font-weight: 1000;
}

.startup-detail-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(234, 217, 166, 0.76);
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(105, 82, 28, 0.05);
}

.startup-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.startup-detail-head span {
  color: #7a6a4b;
  font-size: 12px;
  font-weight: 1000;
}

.startup-detail-head strong {
  color: var(--orange);
  font-size: 20px;
  font-weight: 1000;
}

.startup-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.startup-detail-card p {
  margin: 0;
  color: #8a7d68;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 800;
}

.calculator-form label > span,
.startup-form label > span {
  color: #586171;
  font-size: 12px;
  font-weight: 900;
}

.input-wrap {
  position: relative;
}

.number-stepper {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 3px;
  min-height: 42px;
  border: 1px solid rgba(234, 217, 166, 0.92);
  border-radius: 999px;
  padding: 4px 5px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.number-stepper:focus-within {
  border-color: rgba(255, 157, 36, 0.72);
  background: #fffdf6;
  box-shadow: 0 0 0 3px rgba(255, 211, 61, 0.16);
}

.calculator-form input,
.calculator-form select,
.startup-form input {
  width: 100%;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 21px 0 0;
  color: var(--ink);
  background: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
}

.calculator-form input[type="number"],
.startup-form input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.calculator-form input[type="number"]::-webkit-outer-spin-button,
.calculator-form input[type="number"]::-webkit-inner-spin-button,
.startup-form input[type="number"]::-webkit-outer-spin-button,
.startup-form input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.stepper-button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  color: #5c4400;
  background: #fff5d0;
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
  box-shadow: inset 0 0 0 1px rgba(255, 157, 36, 0.16);
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.stepper-button:active {
  transform: scale(0.9);
  background: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(255, 157, 36, 0.35);
}

.input-wrap em {
  position: absolute;
  right: 36px;
  top: 50%;
  color: #a98428;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  transform: translateY(-50%);
}

.wide-field {
  grid-column: 1 / -1;
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.calculator-results article {
  min-height: 78px;
  padding: 12px;
  border-radius: 16px;
  background: #fff8e2;
}

.calculator-results .primary-result {
  background: linear-gradient(135deg, #fff1bd, #fff9e7);
}

.calculator-results span,
.calculator-results strong {
  display: block;
}

.calculator-results span {
  color: #7a6a4b;
  font-size: 12px;
  font-weight: 900;
}

.calculator-results strong {
  margin-top: 8px;
  color: var(--orange);
  font-size: 19px;
  line-height: 1.12;
  font-weight: 1000;
}

.monetization-track,
.case-track {
  display: grid;
  grid-auto-columns: 78%;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.monetization-track.is-moving,
.case-track.is-moving {
  cursor: grab;
}

.monetization-track::-webkit-scrollbar,
.case-track::-webkit-scrollbar {
  display: none;
}

.strength-strip article,
.strength-cards article,
.terminal-card,
.money-card,
.case-proof article,
.case-card,
.qualification-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.strength-strip {
  counter-reset: ability;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.strength-strip article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 9px;
  overflow: hidden;
  min-height: 122px;
  border-color: rgba(236, 219, 168, 0.86);
  padding: 15px 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 235, 0.88)),
    radial-gradient(circle at 92% 18%, rgba(255, 211, 61, 0.24), transparent 34%);
  animation: card-rise 0.45s ease both;
  counter-increment: ability;
}

.strength-strip article::before {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #6f4d00;
  background: #fff3cb;
  content: "0" counter(ability);
  font-size: 11px;
  font-weight: 1000;
}

.strength-strip article::after {
  position: absolute;
  right: 14px;
  top: 18px;
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), rgba(255, 157, 36, 0.48));
  content: "";
}

.strength-strip strong,
.strength-strip span {
  display: block;
}

.strength-strip strong {
  max-width: 90px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.16;
  font-weight: 1000;
}

.strength-strip span {
  color: #647083;
  font-size: 12px;
  line-height: 1.48;
  font-weight: 800;
}

.strength-cards,
.operation-steps {
  display: grid;
  gap: 10px;
}

.strength-cards {
  margin-top: 6px;
}

.strength-cards article {
  position: relative;
  min-height: 118px;
  border-color: rgba(236, 219, 168, 0.82);
  padding: 16px 16px 16px 24px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.strength-cards article::before {
  position: absolute;
  left: 12px;
  top: 18px;
  width: 3px;
  height: calc(100% - 36px);
  border-radius: 999px;
  background: var(--brand-2);
  content: "";
}

.operation-steps article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
}

.operation-steps strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #3d2d00;
  background: var(--brand);
  font-weight: 1000;
}

.operation-steps h3,
.strength-cards h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 1000;
}

.operation-steps p,
.strength-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.terminal-card {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  animation: terminal-slide 0.3s ease both;
}

.terminal-card::before {
  display: none;
}

.money-card figure {
  margin: 0;
  background: #fff8e2;
}

.terminal-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
}

.terminal-gallery {
  position: relative;
  width: min(100%, 316px);
  min-height: 238px;
  margin: 0 auto;
  perspective: 1000px;
  touch-action: pan-y pinch-zoom;
  animation: terminal-slide 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.poster-gallery .terminal-gallery {
  display: grid;
  place-items: center;
  width: min(100%, 386px);
  min-height: auto;
  margin: 4px auto 0;
  aspect-ratio: 768 / 458;
  perspective: none;
}

.terminal-poster-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}

.terminal-user .terminal-poster-frame::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 3.2%;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #fff8eb 0%, #fff8e4 48%, #fff7e2 100%);
  content: "";
  pointer-events: none;
}

.terminal-poster-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  animation: terminal-product-pop 0.46s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.reference-phone-gallery .terminal-gallery {
  display: grid;
  place-items: center;
  overflow: visible;
}

.terminal-reference-showcase {
  display: block;
  width: 334px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: none;
  margin-bottom: 6px;
  user-select: none;
}

.device-frame {
  position: absolute;
  margin: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.device-frame:hover {
  transform: translateX(-50%) translateY(-3px);
}

.device-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  animation: none;
}

.device-frame.phone {
  overflow: visible;
}

.iphone-device {
  position: relative;
  width: 100%;
  aspect-ratio: 393 / 680;
  border-radius: 14.2% / 7.4%;
  background:
    linear-gradient(145deg, #262a31 0%, #08090c 36%, #2b2f37 68%, #090a0d 100%);
  box-shadow:
    0 14px 22px rgba(46, 34, 6, 0.085),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  padding: 4px;
}

.iphone-device::before {
  position: absolute;
  inset: 2px;
  border-radius: 13.4% / 7%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  content: "";
  pointer-events: none;
}

.iphone-screen {
  position: absolute;
  inset: 4.5px;
  overflow: hidden;
  border-radius: 12.4% / 6.4%;
  background: #fff;
}

.dynamic-island {
  position: absolute;
  left: 50%;
  top: 3.6%;
  z-index: 4;
  width: 28%;
  height: 2.7%;
  border-radius: 999px;
  background: #07080a;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
}

.dynamic-island::after {
  position: absolute;
  right: 7%;
  top: 50%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #14161a;
  content: "";
  transform: translateY(-50%);
}

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 2.4%;
  z-index: 4;
  width: 34%;
  height: 0.9%;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  transform: translateX(-50%);
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0;
}

.device-frame.desktop {
  left: 50%;
  top: 18px;
  width: 85%;
  border: 5px solid #17191f;
  border-radius: 16px;
  padding-top: 12px;
  aspect-ratio: 16 / 9.6;
  transform: translateX(-50%);
  box-shadow: 0 22px 34px rgba(69, 49, 0, 0.14);
}

.device-frame.desktop::after {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 46%;
  height: 10px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #d4d7dc, #aeb4bd);
  content: "";
  transform: translateX(-50%);
}

.device-frame.tablet {
  border: 6px solid #202124;
  border-radius: 22px;
}

.device-chrome {
  display: none;
}

.phone-gallery .device-frame.phone {
  top: 0;
}

.phone-gallery .device-frame.focus-device {
  z-index: 3;
  left: 50%;
  width: 35.5%;
  opacity: 1;
  filter: none;
  transform: translateX(-50%) rotate(0deg);
}

.phone-gallery .device-frame.focus-device:hover {
  transform: translateX(-50%) translateY(-3px) rotate(0deg);
}

.phone-gallery .device-frame.side-device {
  z-index: 2;
  top: 25px;
  width: 27.6%;
  opacity: 0.96;
  filter: saturate(0.96);
}

.phone-gallery .device-frame.left-device {
  left: 6.4%;
  transform: translateY(0) rotate(-5deg);
  transform-origin: bottom center;
}

.phone-gallery .device-frame.right-device {
  right: 6.4%;
  transform: translateY(0) rotate(5deg);
  transform-origin: bottom center;
}

.phone-gallery .device-frame.left-device:hover {
  transform: translateY(-3px) rotate(-5deg);
}

.phone-gallery .device-frame.right-device:hover {
  transform: translateY(-3px) rotate(5deg);
}

.terminal-gallery-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}

.terminal-gallery-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e7dec8;
}

.terminal-gallery-dots i.active {
  width: 18px;
  background: var(--brand);
}

.terminal-flow-copy {
  max-width: 322px;
  margin: 12px auto 0;
  color: #666;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.terminal-features {
  display: grid;
  grid-template-columns: repeat(3, 108px);
  justify-content: center;
  gap: 10px;
  min-height: 74px;
  margin-top: 18px;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.terminal-features article {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  box-sizing: border-box;
  width: 108px;
  height: 74px;
  min-width: 0;
  padding: 11px 7px;
  border-radius: 16px;
  background: rgba(255, 250, 236, 0.72);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.terminal-features article + article {
  border-left: 0;
}

.terminal-features span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #7b5700;
  background: #fff4cf;
  font-size: 13px;
  font-weight: 1000;
}

.terminal-features strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 900;
  white-space: nowrap;
}

.terminal-features em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  color: #666;
  font-size: 11px;
  font-style: normal;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.terminal-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(236, 219, 168, 0.78);
  border-radius: 24px;
  padding: 8px 6px;
  background: rgba(255, 255, 255, 0.82);
}

.terminal-tags article {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0 6px;
  text-align: center;
}

.terminal-tags article + article {
  border-left: 1px solid rgba(236, 219, 168, 0.78);
}

.terminal-tags span {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  color: #5c4400;
  background: linear-gradient(180deg, #ffe59b, #ffc72c);
  font-size: 13px;
  font-weight: 1000;
}

.terminal-tags strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
}

.terminal-tags em {
  color: #7a8494;
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.25;
  font-weight: 500;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.qualification-card img {
  animation: image-breathe 4.8s ease-in-out infinite alternate;
}

.screenshot-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(105, 82, 28, 0.1);
  background: #fff;
  box-shadow: 0 8px 18px rgba(105, 82, 28, 0.08);
}

.screenshot-frame img,
.terminal-card .screenshot-frame img,
.money-card .screenshot-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  object-fit: contain;
  object-position: top center;
  box-shadow: none;
  animation: none;
}

.phone-frame {
  width: min(46%, 148px);
  aspect-ratio: 9 / 18.6;
  border: 7px solid #202124;
  border-radius: 28px;
  background: #fff;
}

.phone-frame::before {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(32, 33, 36, 0.35);
  content: "";
  transform: translateX(-50%);
}

.phone-frame img {
  border-radius: 20px;
}

.desktop-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  padding: 20px 8px 8px;
}

.desktop-frame::before {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 34px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b56 0 7px, #ffc14f 7px 17px, #52c46b 17px 27px);
  content: "";
}

.tablet-frame {
  width: 82%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  padding: 8px;
}

.photo-frame {
  width: 84%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  padding: 0;
  background: #fff;
}

.photo-frame img {
  object-fit: cover;
  object-position: center;
}

.compact.desktop-frame {
  width: calc(100% - 24px);
}

.compact.phone-frame {
  width: min(44%, 124px);
}

.money-card figure span,
.case-card figure span {
  color: #9c6b05;
  font-size: 12px;
  font-weight: 1000;
}

.money-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.money-card p {
  margin: 0;
  color: #586171;
  font-size: 13px;
}

.terminal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 328px;
  width: min(100%, 328px);
  margin: 20px auto 0;
}

.terminal-actions .btn {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
}

.terminal-actions .btn:hover {
  transform: translateY(-1px);
}

.terminal-actions .primary {
  color: #2c2100;
  background: var(--brand);
  box-shadow: 0 10px 20px rgba(255, 197, 48, 0.18);
}

.terminal-actions .secondary {
  color: var(--ink);
  border: 1px solid rgba(92, 73, 25, 0.24);
  background: rgba(255, 255, 255, 0.82);
}

.terminal-hint {
  margin: 12px 0 0;
  color: #9aa3b2;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.35;
}

@keyframes terminal-slide {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.982);
  }

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

@keyframes terminal-product-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.972);
    filter: saturate(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

.monetization-track {
  grid-auto-columns: 86%;
}

.money-card {
  position: relative;
  overflow: hidden;
  animation: card-rise 0.45s ease both;
}

.money-card figure {
  position: relative;
  height: 176px;
  display: grid;
  place-items: end center;
  padding: 34px 8px 12px;
}

.money-card-phone figure {
  height: 252px;
  place-items: center;
  padding-top: 40px;
}

.money-card figure span {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 157, 36, 0.22);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 253, 246, 0.92);
  box-shadow: 0 4px 12px rgba(105, 82, 28, 0.08);
}

.money-card > div {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.money-card div div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.money-card em {
  border-radius: 999px;
  padding: 4px 8px;
  color: #8a6a18;
  background: #fff3cb;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.money-card .screenshot-frame img {
  object-position: center;
}

.money-card .fit-cover img {
  object-fit: cover;
}

.money-card .fit-contain img {
  object-fit: contain;
}

.money-card-wide .compact.desktop-frame {
  width: calc(100% - 8px);
  max-width: 268px;
  padding: 16px 7px 7px;
}

.money-card-phone .compact.phone-frame {
  width: min(43%, 116px);
  border-width: 6px;
  border-radius: 26px;
}

.money-card-phone .phone-frame img {
  border-radius: 19px;
}

.case-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.case-featured {
  display: grid;
  gap: 10px;
  margin: 14px 0 10px;
}

.case-featured-title {
  color: #9c6b05;
  font-size: 12px;
  font-weight: 1000;
}

.case-photo-wall {
  display: grid;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  padding: 2px 0 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-y pinch-zoom;
}

.case-photo-wall::-webkit-scrollbar {
  display: none;
}

.case-photo-wall.is-moving {
  cursor: grab;
}

.case-photo-wall.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.case-photo-group {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 136px 136px 102px;
  gap: 9px;
  scroll-snap-align: start;
  border: 1px solid rgba(234, 217, 166, 0.88);
  border-radius: 22px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
}

.case-featured-card {
  display: block;
  min-height: 0;
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: #fff8e2;
  box-shadow: none;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.case-featured-card:hover {
  box-shadow: 0 10px 20px rgba(105, 82, 28, 0.12);
  transform: translateY(-2px);
}

.case-featured-card figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff8e2;
}

.case-photo-tile.tile-0 {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 281px;
}

.case-photo-tile.tile-1,
.case-photo-tile.tile-2 {
  grid-column: 2;
  min-height: 136px;
}

.case-photo-tile.tile-3,
.case-photo-tile.tile-4 {
  min-height: 106px;
}

.case-featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-featured-card figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 28px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(20, 15, 4, 0.76));
  color: #fff;
}

.case-featured-card figcaption span {
  justify-self: start;
  border-radius: 999px;
  padding: 3px 7px;
  color: #3d2d00;
  background: rgba(255, 211, 61, 0.94);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 1000;
}

.case-featured-card figcaption strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 1000;
}

.case-proof article {
  position: relative;
  min-height: 76px;
  padding: 10px;
  overflow: hidden;
}

.case-proof article::after {
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
  content: "";
}

.case-proof strong,
.case-proof span {
  display: block;
}

.case-proof strong {
  color: var(--ink);
  font-size: 14px;
}

.case-proof span {
  margin-top: 5px;
  color: #7a6a4b;
  font-size: 11px;
  line-height: 1.35;
}

.case-track {
  grid-auto-columns: 76%;
}

.case-card {
  position: relative;
  overflow: hidden;
  animation: card-rise 0.45s ease both;
}

.case-card figure {
  position: relative;
  margin: 0;
  background: #fff8e2;
}

.case-card img {
  height: 180px;
}

.case-card figure span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #3d2d00;
  background: rgba(255, 211, 61, 0.92);
  box-shadow: 0 4px 12px rgba(105, 82, 28, 0.12);
}

.case-card div {
  display: grid;
  gap: 6px;
  padding: 12px;
}

.case-card strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
}

.case-card p {
  margin: 0;
  color: #586171;
  font-size: 12px;
}

.case-card em {
  justify-self: start;
  margin-top: 2px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #8a4a11;
  background: #fff3cb;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
}

.support-grid {
  display: grid;
  gap: 12px;
}

.support-grid article {
  min-height: 72px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
}

.support-card {
  display: grid;
  gap: 9px;
}

.support-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 1000;
}

.support-card p {
  margin: 0;
  color: #586171;
  font-size: 13px;
}

.support-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.support-card span {
  border-radius: 999px;
  padding: 4px 8px;
  color: #8a6a18;
  background: #fff3cb;
  font-size: 11px;
  font-weight: 900;
}

.qualification-carousel {
  margin-top: 6px;
}

.qualification-focus {
  display: grid;
  gap: 14px;
}

.qualification-stage {
  position: relative;
  min-height: 268px;
  overflow: hidden;
  border: 1px solid rgba(221, 195, 128, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 249, 231, 0.9), rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at 50% 4%, rgba(255, 205, 53, 0.3), transparent 30%);
  box-shadow: 0 18px 38px rgba(120, 89, 21, 0.08);
}

.qualification-slide {
  position: absolute;
  left: 50%;
  top: 16px;
  display: grid;
  width: min(72%, 330px);
  min-height: 226px;
  border: 1px solid rgba(236, 219, 168, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(105, 82, 28, 0.14);
  cursor: pointer;
  overflow: hidden;
  transform: translateX(-50%) scale(1);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
  will-change: transform, opacity;
}

.qualification-slide.q-offset-0 {
  z-index: 3;
}

.qualification-slide.q-offset--1 {
  z-index: 2;
  opacity: 0.52;
  filter: saturate(0.8);
  transform: translateX(-118%) scale(0.82);
}

.qualification-slide.q-offset-1 {
  z-index: 2;
  opacity: 0.52;
  filter: saturate(0.8);
  transform: translateX(18%) scale(0.82);
}

.qualification-slide.q-offset-2 {
  opacity: 0;
  pointer-events: none;
  transform: translateX(88%) scale(0.72);
}

.qualification-slide figure {
  display: grid;
  place-items: center;
  min-height: 170px;
  margin: 0;
  padding: 12px 12px 8px;
  background: #fffdf7;
}

.qualification-slide img {
  width: 100%;
  max-height: 156px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(105, 82, 28, 0.12);
}

.qualification-slide div {
  display: grid;
  gap: 4px;
  border-top: 1px solid #f3ead3;
  padding: 10px 12px 12px;
}

.qualification-slide span,
.qualification-summary span {
  color: #9c6b05;
  font-size: 11px;
  font-weight: 1000;
}

.qualification-slide strong,
.qualification-summary strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 1000;
}

.qualification-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(236, 219, 168, 0.88);
  border-radius: 999px;
  color: #5c4400;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(105, 82, 28, 0.12);
  font-size: 25px;
  font-weight: 900;
  transform: translateY(-50%);
}

.qualification-nav.prev {
  left: 12px;
}

.qualification-nav.next {
  right: 12px;
}

.qualification-summary {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(236, 219, 168, 0.78);
  border-radius: 18px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.82);
}

.qualification-summary div:first-child {
  display: grid;
  gap: 5px;
}

.qualification-summary p {
  margin: 0;
  color: #586171;
  font-size: 13px;
  line-height: 1.55;
}

.qualification-dots {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.qualification-dots::-webkit-scrollbar {
  display: none;
}

.qualification-dots button {
  flex: 0 0 auto;
  border: 1px solid rgba(236, 219, 168, 0.86);
  border-radius: 999px;
  padding: 7px 10px;
  color: #7a6a4b;
  background: #fffdf6;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.qualification-dots button.active {
  border-color: rgba(255, 197, 48, 0.7);
  color: #3d2d00;
  background: var(--brand);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 15px 68px 15px 16px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 1000;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 24px;
  border: 1px solid rgba(255, 197, 48, 0.34);
  border-radius: 999px;
  color: #7a4a0f;
  background: #fff5d0;
  content: "展开";
  font-size: 11px;
  font-weight: 1000;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  color: #3d2d00;
  background: var(--brand);
  content: "收起";
}

.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  color: #586171;
  font-size: 13px;
  line-height: 1.65;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes image-breathe {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

.contact-section {
  background: linear-gradient(180deg, #fff8e8 0%, #fffdf6 100%);
}

.contact-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 18px;
  text-align: center;
}

.contact-headline {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-actions {
  justify-content: center;
  margin-top: 8px;
}

.qr-wrap {
  width: 154px;
  padding: 8px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.qr-wrap img {
  width: 100%;
  border-radius: 12px;
}

.phone-line {
  margin: 4px 0 0;
  color: var(--orange);
  font-weight: 1000;
}

.phone-line:empty {
  display: none;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  padding: 24px 20px 94px;
  color: #9aa1ad;
  text-align: center;
  background: #f7f4eb;
  font-size: 13px;
}

.footer p {
  margin: 4px 0;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: min(100%, 430px);
  min-height: 66px;
  padding: 0 8px max(0px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(105, 82, 28, 0.1);
  background: rgba(255, 253, 246, 0.96);
  box-shadow: 0 -10px 24px rgba(105, 82, 28, 0.12);
  transform: translateX(-50%);
}

.bottom-nav a {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.bottom-nav span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #3d2d00;
  background: #fff2c4;
  font-size: 12px;
  font-weight: 1000;
}

.back-top {
  position: fixed;
  right: max(14px, calc((100vw - 430px) / 2 + 16px));
  bottom: 86px;
  z-index: 45;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #3d2d00;
  background: var(--brand);
  font-size: 26px;
  box-shadow: var(--shadow);
}

.back-top.show {
  display: block;
}

.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 16px;
  background: rgba(31, 41, 51, 0.55);
}

.demo-modal.show {
  display: flex;
}

.demo-modal-panel {
  position: relative;
  width: min(100%, 430px);
  padding: 22px 18px 18px;
  border-radius: 24px 24px 18px 18px;
  background: #fffdf6;
  box-shadow: var(--shadow);
}

.demo-modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #5b6270;
  background: #f1eee4;
  font-size: 24px;
  line-height: 1;
}

.demo-modal h3 {
  margin: 6px 42px 4px 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.18;
}

.demo-modal-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.demo-qr-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(234, 217, 166, 0.92);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8e6, #fffdf6);
  text-align: center;
}

.demo-qr-card img {
  width: 168px;
  height: 168px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.demo-qr-card strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 1000;
}

.demo-qr-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.demo-copy-wechat {
  width: 100%;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(31, 41, 51, 0.72);
}

.case-modal.show {
  display: flex;
}

.case-modal figure {
  position: relative;
  width: min(100%, 430px);
  max-height: 86vh;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fffdf6;
  box-shadow: var(--shadow);
}

.case-modal img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  background: #111827;
}

.case-modal figcaption {
  display: grid;
  gap: 5px;
  padding: 14px;
}

.case-modal figcaption strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 1000;
}

.case-modal figcaption span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 1000;
}

.case-modal figcaption p {
  margin: 0;
  color: #586171;
  font-size: 13px;
}

.case-modal-close,
.case-modal-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 50%;
  color: #3d2d00;
  background: var(--brand);
  box-shadow: var(--soft-shadow);
}

.case-modal-close {
  right: 16px;
  top: 14px;
  width: 36px;
  height: 36px;
  font-size: 26px;
  line-height: 1;
}

.case-modal-nav {
  top: 48%;
  width: 38px;
  height: 38px;
  font-size: 32px;
  line-height: 1;
  transform: translateY(-50%);
}

.case-modal-nav.prev {
  left: 12px;
}

.case-modal-nav.next {
  right: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 380px) {
  .hero-section h1 {
    font-size: 34px;
  }

  .hero-actions,
  .contact-actions {
    gap: 8px;
  }

  .btn {
    padding: 0 14px;
    font-size: 13px;
  }

  .section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-section {
    padding-left: 16px;
    padding-right: 16px;
  }

}

@media (max-width: 360px) {
  .brand-bar {
    grid-template-columns: 38px 1fr 58px;
    padding: 0 12px;
  }

  .brand {
    gap: 6px;
    font-size: 16px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    font-size: 13px;
  }

  .hero-section h1 {
    font-size: 31px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-actions,
  .contact-actions,
  .terminal-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .calculator-form,
  .startup-form,
  .startup-fields {
    grid-template-columns: 1fr;
  }

  .calculator-panel .calculator-tabs button {
    min-height: 44px;
    padding: 5px 4px;
  }

  .calculator-panel .calculator-tabs button strong {
    font-size: 12px;
  }

  .calculator-panel .calculator-tabs button span {
    font-size: 9px;
  }

  .terminals-section .terminal-tabs {
    width: 100%;
  }

  .terminals-section .terminal-tabs button {
    font-size: 12px;
  }

  .bottom-nav a {
    font-size: 11px;
  }

  .demo-modal {
    padding: 10px;
  }

  .demo-modal-panel {
    padding: 20px 14px 16px;
  }

}

@media (max-width: 759px) {
  .back-top,
  .back-top.show {
    display: none;
  }
}

@media (min-width: 760px) {
  body {
    padding: 28px 0;
  }

  .app-header,
  main,
  .footer,
  .bottom-nav {
    border-radius: 24px;
  }

  .app-header {
    border-radius: 24px 24px 0 0;
  }

  .bottom-nav {
    border-radius: 0 0 24px 24px;
  }
}

@media (min-width: 900px) {
  body::after {
    display: none;
  }

  .app-header,
  main,
  .footer {
    width: min(calc(100% - 48px), 1120px);
  }

  .bottom-nav {
    display: none;
  }

  .brand-bar {
    grid-template-columns: 52px 1fr 92px;
    min-height: 68px;
    padding: 0 28px;
  }

  .hero-section {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 46px;
    align-items: center;
    min-height: 640px;
    padding: 72px 58px 64px;
  }

  .hero-section h1 {
    max-width: 540px;
    font-size: 58px;
    line-height: 1.05;
  }

  .hero-subtitle {
    max-width: 520px;
    font-size: 18px;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    align-content: center;
  }

  .section,
  .contact-section {
    padding: 72px 58px;
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: 34px;
  }

  .calculator-panel {
    padding: 22px;
  }

  .calculator-presets {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .startup-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .terminal-card {
    padding: 0;
  }

  .terminal-showcase {
    max-width: 760px;
    margin: 0 auto;
  }

  .terminal-gallery {
    min-height: 238px;
  }

  .poster-gallery .terminal-gallery {
    width: min(100%, 386px);
    min-height: auto;
  }

  .phone-gallery .device-frame.focus-device {
    width: 35.5%;
  }

  .phone-gallery .device-frame.side-device {
    width: 27.6%;
    top: 25px;
  }

  .phone-gallery .device-frame.left-device {
    left: 6.4%;
  }

  .phone-gallery .device-frame.right-device {
    right: 6.4%;
  }

  .desktop-gallery .terminal-gallery {
    min-height: 292px;
  }

  .desktop-gallery .device-frame.desktop {
    width: min(85%, 620px);
  }

  .terminal-features {
    max-width: 680px;
    margin: 0 auto;
  }

  .terminal-actions {
    max-width: 620px;
    margin: 0 auto;
  }

  .monetization-track {
    grid-auto-columns: 42%;
  }

  .case-track {
    grid-auto-columns: 32%;
  }

  .case-photo-wall {
    grid-auto-columns: calc((100% - 18px) / 2);
    gap: 18px;
  }

  .case-photo-group {
    grid-template-rows: 156px 156px 126px;
    gap: 10px;
    padding: 10px;
  }

  .case-photo-tile.tile-0 {
    min-height: 322px;
  }

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

  .support-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .qualification-focus {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    align-items: center;
  }

  .qualification-stage {
    min-height: 318px;
  }

  .qualification-slide {
    width: min(60%, 390px);
    min-height: 270px;
  }

  .qualification-slide figure {
    min-height: 210px;
  }

  .qualification-slide img {
    max-height: 194px;
  }

  .qualification-summary {
    align-self: stretch;
    align-content: center;
  }

  .contact-card {
    max-width: 720px;
    margin: 0 auto;
  }

  .faq-list {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}
