:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-soft: #eff6ff;
  --green: #047857;
  --green-soft: #ecfdf5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface-muted);
  padding: 2px 6px;
  border-radius: 5px;
  color: #1e293b;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-weight: 800;
  font-size: 15px;
}

.brand-sub {
  font-size: 11.5px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

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

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

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

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

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: #cbd5e1;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  background: var(--surface-muted);
}

/* Hero */
.hero {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 820px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid #bfdbfe;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero h1 span {
  color: var(--primary);
}

.hero-lead {
  margin: 0 auto 28px;
  max-width: 680px;
  font-size: 16px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
}

.trust-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.trust-item strong {
  display: block;
  font-size: 13.5px;
  margin-bottom: 3px;
}

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

/* Sections */
.section {
  padding: 64px 0;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Product Cards */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.product-card--reverse .product-info {
  order: 2;
}

.product-card--reverse .product-media {
  order: 1;
}

.product-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.product-icon {
  border-radius: 14px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.product-top h3 {
  margin: 4px 0 0;
  font-size: 21px;
  font-weight: 800;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}

.badge-blue {
  background: var(--primary-soft);
  color: var(--primary);
}

.badge-green {
  background: var(--green-soft);
  color: var(--green);
}

.badge-slate {
  background: var(--surface-muted);
  color: var(--muted);
}

.product-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
}

.feature-list {
  margin: 0 0 20px;
  padding-left: 18px;
  font-size: 14px;
  color: #334155;
}

.feature-list li {
  margin-bottom: 8px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shot-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
  cursor: zoom-in;
}

.shot-trigger img {
  width: 100%;
  height: auto;
  transition: transform 0.25s ease;
}

.shot-trigger:hover img {
  transform: scale(1.02);
}

.shot-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Tabs & Steps */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.tab-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}

.step-card h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.price-card--featured {
  border-color: var(--primary);
  box-shadow: 0 12px 32px -12px rgba(29, 78, 216, 0.25);
}

.price-tier {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.price-val {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 18px;
}

.price-val span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

/* FAQ */
.faq-wrap {
  max-width: 780px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-list summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.faq-list p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 13.5px;
  color: var(--muted);
}

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

.footer-inner p {
  margin: 4px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary);
}

/* Modals */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.modal-dialog--wide {
  width: min(1040px, 100%);
}

.modal-dialog--qr {
  width: min(420px, 100%);
  text-align: center;
  padding: 28px 24px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}

.modal-caption {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

.qr-note {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 16px;
}

.qr-img {
  width: 240px;
  max-width: 100%;
  margin: 0 auto 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

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

/* Responsive */
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .trust-grid,
  .steps-grid,
  .pricing-grid,
  .product-card {
    grid-template-columns: 1fr;
  }
  .product-card--reverse .product-info,
  .product-card--reverse .product-media {
    order: initial;
  }
  .product-card {
    padding: 20px;
  }
}
