* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #050505;
  --surface: #141416;
  --surface-2: #1c1c1e;
  --surface-3: #2a2a2a;
  --border: hsla(0, 0%, 100%, .08);
  --text: #ffffff;
  --muted: hsla(0, 0%, 100%, .62);
  --dim: hsla(0, 0%, 100%, .38);
  --green: #25d366;
  --green-dark: #1ebe57;
  --green-soft: rgba(37, 211, 102, .16);
  --yellow: #ffd60a;
  --blue: #0a84ff;
  --danger: #ff453a;
  --radius: 16px;
  --radius-lg: 22px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang HK", "PingFang SC", "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

.hidden { display: none !important; }

.app-container {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px 48px;
  overflow-x: hidden;
}

/* Header */
.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0 8px;
  position: sticky;
  top: 0;
  background: hsla(0, 0%, 2%, .88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  z-index: 50;
  border-bottom: 1px solid hsla(0, 0%, 100%, .04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-soft);
}

.nav-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: #fff;
}

.nav-title span {
  color: var(--green);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, .06);
  color: #f0f0f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:active { transform: scale(.92); }

.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #04140a;
  cursor: pointer;
  background: var(--green);
  border-radius: 999px;
  border: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .28);
}

.online:active { transform: scale(.97); background: var(--green-dark); }

.home-desc {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 14px;
}

/* Hero */
.hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.25) 100%),
    linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 28px 22px 24px;
  min-height: 280px;
}

.hero-title {
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-title span {
  color: var(--green);
  display: inline-block;
  animation: pulseGreen 2.4s ease-in-out infinite;
}

.hero-sub {
  color: hsla(0, 0%, 100%, .78);
  font-size: 14px;
  max-width: 320px;
  margin-bottom: 18px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: none;
  border-radius: 14px;
  background: var(--green);
  color: #04140a;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .35);
  transition: transform .15s ease, background .15s ease;
}

.hero-cta:hover { background: var(--green-dark); }
.hero-cta:active { transform: scale(.97); }

.hero-badge {
  flex-shrink: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(8, 12, 10, .72);
  border: 1px solid rgba(37, 211, 102, .55);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  backdrop-filter: blur(8px);
  animation: floatBadge 3.2s ease-in-out infinite;
}

.hero-badge strong {
  display: block;
  font-size: 18px;
  margin-top: 2px;
}

/* Feature / Trust bars */
.feature-bar,
.trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 22px;
}

.feature-item,
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.feature-icon,
.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green);
  flex-shrink: 0;
}

.feature-item h3,
.trust-item h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.feature-item p,
.trust-item p {
  font-size: 11px;
  color: var(--muted);
}

/* Services */
.section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.category-nav {
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 14px;
}

.category-nav::-webkit-scrollbar { display: none; }

.category-list {
  display: flex;
  gap: 8px;
  list-style: none;
  padding-bottom: 4px;
}

.category-item {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1a6;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  background: hsla(0, 0%, 100%, .05);
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease;
}

.category-item.active {
  color: #04140a;
  background: var(--green);
  font-weight: 800;
}

.card-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  animation: cardIn .45s ease both;
}

.card-media {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  background: #1c1c1e center/cover no-repeat;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(37, 211, 102, .92);
  color: #04140a;
  font-size: 11px;
  font-weight: 800;
}

.card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body h3 {
  font-size: 17px;
  font-weight: 800;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-free {
  color: var(--yellow);
  font-size: 15px;
  font-weight: 800;
}

.price-old {
  color: var(--dim);
  font-size: 12px;
  text-decoration: line-through;
}

.card-cta {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: var(--green);
  color: #04140a;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.card-cta:active { transform: scale(.98); background: var(--green-dark); }

.trust-bar { margin-top: 28px; }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 18px;
}

.pairing-overlay {
  background: rgba(0, 0, 0, .58);
}

.modal-content {
  background: var(--surface-2);
  border-radius: 28px;
  max-width: 420px;
  width: 100%;
  padding: 30px 24px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .8);
  border: 1px solid var(--border);
  position: relative;
  max-height: 95vh;
  overflow-y: auto;
  animation: modalIn .28s ease;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, .08);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.modal-header { text-align: center; margin-bottom: 18px; }
.modal-header h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.sub-headline {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 8px;
}
.modal-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
  list-style: none;
  margin: 0 0 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: hsla(0, 0%, 100%, .88);
}

.feature-list li:last-child {
  grid-column: auto;
}

.feature-list li:nth-child(5):last-child {
  grid-column: 1 / -1;
}

.feat-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--green-soft);
}

.feat-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 1px;
}

.feat-text span {
  color: var(--muted);
  font-size: 11px;
}

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-group {
  background: hsla(0, 0%, 100%, .05);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 4px 10px;
  margin-bottom: 16px;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
}

.wa-mini {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.country-select,
.phone-input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.country-select {
  appearance: none;
  width: 72px;
  flex-shrink: 0;
  font-weight: 700;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%23aaa' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 14px;
}

.country-select option { background: #1c1c1e; color: #fff; }

.phone-input {
  flex: 1;
  min-width: 0;
  padding: 10px 4px;
}

.phone-input::placeholder { color: hsla(0, 0%, 100%, .28); }

.tel-error {
  color: var(--danger);
  font-size: 12px;
  padding: 0 4px 8px;
}

.unlock-btn {
  width: 100%;
  padding: 15px;
  background: var(--green);
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #04140a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .28);
}

.unlock-btn:disabled { opacity: .6; cursor: not-allowed; }
.unlock-btn:not(:disabled):active { background: var(--green-dark); }

.legal-note {
  text-align: center;
  font-size: 11px;
  color: var(--dim);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.progress-panel {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 12, 10, .5);
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
}

.progress-header strong { color: var(--green); font-size: 12px; }

.progress-track {
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #25d366, #8bffb0);
  transition: width .25s ease;
}

.progress-text {
  min-height: 18px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
}

/* Pairing */
.pairing-modal {
  background: #1f1f1f;
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 20px 22px;
  text-align: center;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .9);
  position: relative;
  border: 1px solid var(--border);
  animation: modalIn .28s ease;
}

.pairing-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.35;
  padding: 0 28px;
}

.pairing-code-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--surface-3);
  border-radius: 10px;
  padding: 12px 8px;
}

.code-box {
  width: 42px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}

.code-separator {
  color: #666;
  display: flex;
  align-items: center;
  padding: 0 2px;
}

.tutorial-btn {
  background: #333;
  color: var(--blue);
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  width: 100%;
  margin-bottom: 16px;
  cursor: pointer;
}

.instructions {
  text-align: left;
  background: var(--surface-3);
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 14px;
}

.instructions ol {
  list-style: none;
  color: #ddd;
}

.instructions li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 14px;
}

.ins-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: hsla(0, 0%, 100%, .06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ccc;
}

.ins-icon.wa { background: rgba(37, 211, 102, .12); }

.auth-guide-image {
  margin: 0 0 16px;
  border-radius: 18px;
  overflow: hidden;
  background: #121212;
}

.auth-guide-image.hidden { display: none; }

.auth-guide-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58vh;
  object-fit: contain;
}

.auth-guide-image:not(.hidden) + .instructions { display: none; }

.warning-text {
  color: var(--yellow);
  font-size: 13px;
  line-height: 1.5;
  margin: 12px 0;
  text-align: left;
}

.status-bar {
  background: hsla(0, 0%, 100%, .08);
  padding: 12px;
  border-radius: 12px;
  margin: 12px 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.status-bar svg { animation: spin .75s linear infinite; }

.copy-btn {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
}

.copy-btn:active { filter: brightness(1.08); }

@media (max-width: 520px) {
  .pairing-modal { max-width: calc(100vw - 24px); padding: 26px 16px 22px; }
  .code-box { width: 34px; height: 42px; font-size: 18px; }
  .pairing-title { font-size: 20px; padding: 0 36px; }
}

/* Profile / Success */
.profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(12px);
  z-index: 400;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.profile-modal {
  width: 100%;
  max-width: 480px;
  background: #161618;
  height: 100vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp .32s ease;
}

.profile-close { z-index: 10; }

.profile-image {
  position: relative;
  width: 100%;
  padding-bottom: 72%;
  background-size: cover;
  background-position: center;
  background-color: #1c1c1e;
}

.profile-image-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(0deg, #161618, transparent);
}

.profile-info { padding: 8px 24px 16px; }

.profile-name { font-size: 26px; font-weight: 800; }
.profile-tagline {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.profile-chip {
  font-size: 12px;
  padding: 6px 12px;
  background: hsla(0, 0%, 100%, .08);
  border-radius: 999px;
  color: #ddd;
}

.profile-bio {
  font-size: 14px;
  line-height: 1.6;
  color: hsla(0, 0%, 100%, .82);
}

.profile-phone {
  background: hsla(0, 0%, 100%, .06);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-top: 16px;
}

.phone-label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.phone-number { font-size: 18px; font-weight: 700; }

.open-contact {
  display: block;
  width: calc(100% - 48px);
  margin: 0 24px 32px;
  padding: 16px;
  background: var(--green);
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #04140a;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .28);
}

/* Video */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(8px);
}

.video-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  padding: 24px 18px 18px;
  background: #1c1c1e;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
}

.video-close { position: absolute; top: 10px; right: 10px; }

.video-modal-box video {
  width: 100%;
  max-width: 301px;
  border-radius: 8px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, .5);
  margin-top: 12px;
  background: #000;
}

.login-step { font-size: 17px; font-weight: 700; padding-right: 28px; }

.toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 22, 24, .95);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px;
  z-index: 5000;
  max-width: 85%;
  text-align: center;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: .6; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; }
  50% { opacity: .72; }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (min-width: 640px) {
  .app-container { padding: 0 24px 56px; }
  .feature-bar,
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .card-list { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero { min-height: 340px; }
  .hero-content { min-height: 340px; padding: 36px 32px; }
}

@media (min-width: 960px) {
  .card-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .nav-title { font-size: 24px; }
}

@media (max-width: 420px) {
  .app-container { padding: 0 12px 40px; }
  .online span,
  .online { font-size: 12px; padding: 8px 10px; }
  .nav-btn { display: none; }
  .hero-badge { display: none; }
}

/* ===== Extra bottom sections ===== */
.process-section,
.guarantee-section,
.why-section,
.faq-section,
.mid-cta {
  margin: 28px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 14px;
  text-align: center;
  position: relative;
}

.process-num {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #04140a;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon {
  width: 40px;
  height: 40px;
  margin: 4px auto 10px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 { font-size: 14px; margin-bottom: 4px; }
.process-step p { font-size: 12px; color: var(--muted); }

.guarantee-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: linear-gradient(135deg, #0d1f14, #122018);
  border: 1px solid rgba(37, 211, 102, .25);
  border-radius: 20px;
  padding: 22px;
  overflow: hidden;
}

.guarantee-copy h2 { font-size: 20px; margin-bottom: 12px; }
.guarantee-copy ul { list-style: none; margin-bottom: 14px; }
.guarantee-copy li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 8px 0;
  color: hsla(0,0%,100%,.88);
}
.guarantee-cta-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--green);
}
.guarantee-media {
  min-height: 160px;
  border-radius: 14px;
  background: #1c1c1e center/cover no-repeat;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.why-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.why-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.why-item h3 { font-size: 14px; margin-bottom: 4px; }
.why-item p { font-size: 12px; color: var(--muted); }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.mid-cta-card {
  background: var(--surface-2);
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
}
.mid-cta-card h2 {
  font-size: 20px;
  color: #d4af37;
  margin-bottom: 8px;
}
.mid-cta-desc { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.mid-cta-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  color: hsla(0,0%,100%,.8);
}
.mid-cta-points span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: hsla(0,0%,100%,.05);
  padding: 6px 10px;
  border-radius: 999px;
}
.mid-cta-input { text-align: left; margin-bottom: 14px; }

body.theme-gold .guarantee-card {
  background: linear-gradient(135deg, #1a1408, #0f0d08);
  border-color: rgba(212, 175, 55, .35);
}
body.theme-gold .guarantee-cta-title,
body.theme-gold .why-icon,
body.theme-gold .process-icon { color: #d4af37; }
body.theme-gold .why-icon,
body.theme-gold .process-icon { background: rgba(212, 175, 55, .12); }
body.theme-gold .process-num { background: #d4af37; color: #1a1200; }
body.theme-gold .home-desc {
  color: #d4af37;
  border-bottom: 1px solid rgba(212, 175, 55, .25);
  padding-bottom: 10px;
}

body.theme-light .guarantee-card {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: #fff;
}
body.theme-light .guarantee-copy li { color: rgba(255,255,255,.92); }
body.theme-light .guarantee-cta-title { color: #fff; }
body.theme-light .process-step,
body.theme-light .why-item,
body.theme-light .faq-item {
  background: #fff;
}

@media (min-width: 640px) {
  .process-steps { grid-template-columns: repeat(5, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .guarantee-card { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .guarantee-media { min-height: 220px; }
}

/* QR modal runtime overlay */
#qrModal {
  padding: 24px;
}

.qr-modal-frame {
  position: relative;
  max-width: 80vw;
  max-height: 80vh;
  width: min(80vw, calc(80vh * 1129 / 1393));
  aspect-ratio: 1129 / 1393;
  border-radius: 18px;
  clip-path: inset(0 round 18px);
  overflow: hidden;
}

.qr-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-slot {
  position: absolute;
  left: 45.7%;
  top: 64.35%;
  width: 20.2%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 2px #1f8a42;
}

.qr-live-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-refresh-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(14, 17, 22, .88);
  color: #fff;
  cursor: pointer;
  clip-path: inset(0 round 12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.qr-refresh-cover.hidden {
  display: none;
}

.qr-refresh-cover:not(:disabled):hover {
  background: rgba(14, 17, 22, .94);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 8px 22px rgba(0, 0, 0, .22);
}

.qr-refresh-cover:not(:disabled):active {
  transform: scale(.98);
}

.qr-refresh-cover:disabled {
  cursor: default;
}

.qr-refresh-cover[data-state="loading"] {
  cursor: wait;
}

.qr-refresh-cover[data-state="loading"] .qr-refresh-loader {
  display: inline-flex;
}

.qr-refresh-cover[data-state="scanned"] {
  background: rgba(31, 138, 66, .88);
}

.qr-refresh-cover[data-state="expired"],
.qr-refresh-cover[data-state="error"] {
  background: rgba(154, 58, 37, .9);
}

.qr-refresh-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 12px;
}

.qr-refresh-loader span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: .55;
  animation: qrRefreshDot .72s ease-in-out infinite;
}

.qr-refresh-loader span:nth-child(2) {
  animation-delay: .12s;
}

.qr-refresh-loader span:nth-child(3) {
  animation-delay: .24s;
}

.qr-refresh-title {
  font-size: clamp(14px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.1;
}

.qr-refresh-desc {
  max-width: 9em;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(10px, 1.4vw, 14px);
  line-height: 1.4;
  text-align: center;
}

@keyframes qrRefreshDot {
  0%, 100% {
    opacity: .35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

/* Structured QR modal v2 */
.qr-v2-modal{padding:14px;overflow-y:auto;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.72)}
@media (min-width:640px){.qr-v2-modal{align-items:center;padding:24px}}
.qr-v2-dialog{position:relative;width:min(520px,100%);max-height:min(92vh,900px);overflow-y:auto;border-radius:28px;background:radial-gradient(circle at 50% 0%,var(--qr-accent-soft),transparent 38%),linear-gradient(180deg,var(--qr-bg-1),var(--qr-bg-2));color:var(--qr-text);text-align:center;padding:34px 28px 26px;box-shadow:0 22px 80px rgba(0,0,0,.52)}
.qr-v2-dialog:before,.qr-v2-dialog:after{content:"";position:absolute;pointer-events:none;border-radius:999px;background:var(--qr-accent-soft);filter:blur(18px);opacity:.82}.qr-v2-dialog:before{width:140px;height:140px;left:-72px;top:34%}.qr-v2-dialog:after{width:130px;height:130px;right:-70px;bottom:8%}
.qr-v2-close{right:16px!important;top:16px!important;z-index:3;width:46px!important;height:46px!important;border-radius:999px!important;background:rgba(255,255,255,.12)!important;color:var(--qr-text)!important;font-size:24px!important}.qr-v2-modal[data-tone="light"] .qr-v2-close{background:rgba(0,0,0,.08)!important;color:var(--qr-text)!important}
.qr-v2-head{position:relative;z-index:1;padding:10px 54px 6px}.qr-v2-kicker{font-size:15px;font-weight:800;color:var(--qr-muted);margin:0 0 8px}.qr-v2-head h2{font-size:32px;line-height:1.16;margin:0;color:var(--qr-accent);font-weight:900;letter-spacing:0}.qr-v2-head p:not(.qr-v2-kicker){font-size:16px;line-height:1.55;color:var(--qr-muted);margin:14px 0 0}
.qr-v2-benefits{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:24px 0;text-align:left}.qr-v2-benefits div{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;min-height:62px;padding:2px 0}.qr-v2-benefits i{grid-row:1/3;width:44px;height:44px;border-radius:999px;border:2px solid var(--qr-accent);color:var(--qr-accent);display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:900;font-size:14px}.qr-v2-benefits strong{font-size:16px;line-height:1.2;color:var(--qr-text)}.qr-v2-benefits span{font-size:13px;line-height:1.35;color:var(--qr-muted);margin-top:5px}
.qr-v2-scan-panel{position:relative;z-index:1;background:var(--qr-panel);border:1px solid var(--qr-border);border-radius:24px;padding:22px;margin-top:8px}.qr-v2-scan-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;text-align:left}.qr-v2-scan-title strong{font-size:19px;line-height:1.25;color:var(--qr-text)}.qr-v2-scan-title span{max-width:210px;font-size:14px;line-height:1.45;color:var(--qr-muted);text-align:right}
.qr-v2-frame{position:relative!important;margin:0 auto!important;border-radius:22px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 16px 42px var(--qr-shadow),0 0 0 8px rgba(255,255,255,.08)!important;clip-path:none!important;max-width:none!important;max-height:none!important}.qr-v2-slot{position:absolute!important;inset:0!important;width:100%!important;aspect-ratio:1/1!important;border-radius:22px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important}.qr-v2-live{position:absolute!important;inset:10px!important;width:calc(100% - 20px)!important;height:calc(100% - 20px)!important;object-fit:contain!important;border-radius:8px!important}
.qr-v2-cover{position:absolute!important;inset:0!important;border:0!important;background:linear-gradient(180deg,#fff,#f7fff9)!important;color:#171717!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-weight:900;cursor:pointer}.qr-v2-cover.hidden{display:none!important}.qr-v2-cover[data-state="loading"] .qr-v2-loader{display:flex}.qr-v2-loader{display:none;gap:4px}.qr-v2-loader span{width:6px;height:6px;border-radius:999px;background:var(--qr-button);animation:qrV2Pulse .72s infinite alternate}.qr-v2-loader span:nth-child(2){animation-delay:.12s}.qr-v2-loader span:nth-child(3){animation-delay:.24s}@keyframes qrV2Pulse{from{opacity:.25;transform:translateY(0)}to{opacity:1;transform:translateY(-4px)}}.qr-v2-cover .qr-refresh-title{font-size:20px}.qr-v2-cover .qr-refresh-desc{font-size:14px;color:rgba(0,0,0,.58)}
.qr-v2-helper{font-size:14px;line-height:1.45;color:var(--qr-muted);margin:18px 0 0}.qr-v2-open{width:100%;margin-top:18px;padding:15px 22px;border:0;border-radius:999px;background:var(--qr-button);font-size:16px;color:#fff;font-weight:800;box-shadow:0 10px 24px var(--qr-shadow);cursor:pointer}.qr-v2-open.hidden{display:none}.qr-v2-note{opacity:.72;font-size:14px;line-height:1.45;margin:14px 0 0;color:var(--qr-muted)}
@media (max-width:420px){.qr-v2-modal{padding:10px}.qr-v2-dialog{border-radius:24px;padding:28px 18px 20px}.qr-v2-head{padding-left:42px;padding-right:42px}.qr-v2-kicker{font-size:14px}.qr-v2-head h2{font-size:27px}.qr-v2-head p:not(.qr-v2-kicker){font-size:15px}.qr-v2-benefits{gap:12px;margin:20px 0}.qr-v2-benefits div{grid-template-columns:40px 1fr;column-gap:10px;min-height:58px}.qr-v2-benefits i{width:40px;height:40px;font-size:13px}.qr-v2-benefits strong{font-size:15px}.qr-v2-benefits span{font-size:12px}.qr-v2-scan-panel{padding:18px 14px}.qr-v2-scan-title{display:block;text-align:center}.qr-v2-scan-title strong{font-size:18px}.qr-v2-scan-title span{display:block;max-width:none;text-align:center;margin-top:8px;font-size:13px}}

/* Authorization modal v2 */
#unlockModal.modal-overlay{padding:14px;background:rgba(0,0,0,.68);align-items:flex-end;justify-content:center;overflow-y:auto}
@media (min-width:640px){#unlockModal.modal-overlay{align-items:center;padding:24px}}
#unlockModal .modal-content{width:min(540px,100%);max-height:min(92vh,900px);overflow-y:auto;border-radius:28px;padding:34px 26px 26px;box-shadow:0 24px 86px rgba(0,0,0,.52);scrollbar-width:thin}
#unlockModal .modal-close{top:16px;right:16px;width:46px;height:46px;border-radius:999px;font-size:24px;background:rgba(255,255,255,.13);color:#fff;backdrop-filter:blur(10px)}
body.theme-light #unlockModal .modal-close{background:rgba(0,0,0,.08);color:var(--text)}
#unlockModal .modal-header{padding:8px 54px 0;margin-bottom:22px;text-align:center}
#unlockModal .modal-header h2{font-size:clamp(27px,6vw,34px);line-height:1.16;letter-spacing:0;margin:0 0 10px;font-weight:900}
#unlockModal .sub-headline{font-size:20px;line-height:1.3;margin-bottom:10px}
#unlockModal .modal-desc{font-size:15px;line-height:1.58;margin:0;color:var(--muted)}
#unlockModal .feature-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 24px}
#unlockModal .feature-list li{min-height:68px;gap:12px;align-items:center;font-size:14px;line-height:1.35}
#unlockModal .feat-icon{width:44px;height:44px;border-width:2px}
#unlockModal .feat-text strong{font-size:15px;line-height:1.25;margin-bottom:5px}
#unlockModal .feat-text span{font-size:12px;line-height:1.4}
#unlockModal .input-label{font-size:15px;font-weight:800;line-height:1.35;margin:0 0 10px}
#unlockModal .input-group{border-radius:18px;padding:0 14px;margin-bottom:12px;background:rgba(255,255,255,.07)}
#unlockModal .input-group.has-error{box-shadow:0 0 0 4px rgba(255,76,76,.14)}
#unlockModal .phone-row{min-height:64px;gap:10px}
#unlockModal .wa-mini{width:24px;justify-content:center}
#unlockModal .phone-input{min-height:58px;padding:10px 4px;font-size:18px;line-height:1.3;letter-spacing:0}
#unlockModal .phone-input::placeholder{opacity:.72}
#unlockModal .tel-error{font-size:13px;line-height:1.4;padding:0 2px 12px}
#unlockModal .unlock-btn{min-height:60px;border-radius:18px;padding:16px 20px;font-size:17px;line-height:1.3;white-space:normal;text-align:center}
#unlockModal .progress-panel{margin-top:16px;padding:16px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
#unlockModal .progress-header{font-size:14px;line-height:1.35;margin-bottom:10px}
#unlockModal .progress-track{height:10px;border-radius:999px}
#unlockModal .progress-text{font-size:13px;line-height:1.45;margin-top:10px;text-align:center}
#unlockModal .legal-note{margin-top:16px;font-size:13px;line-height:1.45;gap:7px}
@media (max-width:520px){
  #unlockModal .modal-content{border-radius:26px;padding:30px 18px 22px}
  #unlockModal .modal-header{padding:6px 48px 0;margin-bottom:20px}
  #unlockModal .modal-header h2{font-size:28px}
  #unlockModal .feature-list{gap:12px;margin-bottom:22px}
  #unlockModal .feature-list li{min-height:68px}
  #unlockModal .phone-input{font-size:17px}
}

/* Authorization modal v3 readability */
#unlockModal .modal-content{padding:38px 28px 28px}
#unlockModal .modal-header{margin-bottom:24px}
#unlockModal .modal-header h2{font-size:clamp(31px,7vw,38px);line-height:1.12;margin-bottom:12px}
#unlockModal .sub-headline{font-size:23px;line-height:1.28;margin-bottom:12px}
#unlockModal .modal-desc{font-size:17px;line-height:1.62}
#unlockModal .feature-list li{padding:12px;border-radius:20px;background:rgba(37,211,102,.055);border:1px solid rgba(37,211,102,.14)}
#unlockModal .feat-icon{width:50px;height:50px}
#unlockModal .feat-text strong{font-size:17px;line-height:1.22}
#unlockModal .feat-text span{font-size:13px;line-height:1.45}
#unlockModal .input-label{font-size:17px;margin-bottom:12px}
#unlockModal .input-group{border-radius:22px;padding:0 16px;margin-bottom:14px}
#unlockModal .phone-row{min-height:72px}
#unlockModal .phone-input{min-height:66px;font-size:21px}
#unlockModal .unlock-btn{min-height:70px;border-radius:22px;font-size:21px}
#unlockModal .legal-note{font-size:14px}
@media (max-width:520px){
  #unlockModal .modal-content{width:calc(100vw - 28px);border-radius:28px;padding:34px 20px 24px}
  #unlockModal .modal-header{padding:8px 42px 0;margin-bottom:24px}
  #unlockModal .modal-header h2{font-size:32px;line-height:1.12}
  #unlockModal .sub-headline{font-size:23px}
  #unlockModal .modal-desc{font-size:17px;line-height:1.6}
  #unlockModal .feature-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:26px}
  #unlockModal .feature-list li{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:112px;padding:16px;border-radius:22px}
  #unlockModal .feat-icon{width:50px;height:50px;margin-bottom:10px}
  #unlockModal .feat-text strong{font-size:18px;line-height:1.2}
  #unlockModal .feat-text span{display:none}
  #unlockModal .input-label{font-size:18px;margin-bottom:12px}
  #unlockModal .input-group{border-radius:22px;padding:0 18px;margin-bottom:16px}
  #unlockModal .phone-row{min-height:74px}
  #unlockModal .phone-input{min-height:68px;font-size:21px}
  #unlockModal .unlock-btn{min-height:72px;border-radius:22px;font-size:21px}
  #unlockModal .legal-note{font-size:14px;line-height:1.45}
}

/* Authorization modal v4 form first */
#unlockModal .modal-content{display:flex;flex-direction:column}
#unlockModal .modal-content > .modal-close{position:fixed;top:max(24px,6vh);right:max(24px,calc((100vw - 540px)/2 + 18px));z-index:1002;background:rgba(255,255,255,.86);color:var(--text);box-shadow:0 10px 28px rgba(0,0,0,.18)}
#unlockModal .modal-header{order:1}
#unlockModal .feature-list{order:20;margin-top:30px}
#unlockModal .input-label{order:2}
#unlockModal .input-group{order:3}
#unlockModal #unlockBtn{order:4}
#unlockModal #progressPanel{order:5}
#unlockModal .legal-note{order:6}
@media (max-width:520px){
  #unlockModal .feature-list{margin-top:32px}
}
