/* ── Doypos — Pages shared CSS ── */

/* ── Page hero ── */
.page-hero {
  background: #fff;
  padding: 80px 24px 64px;
  text-align: center;
  overflow: hidden;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 500;
}
.page-hero-title {
  font-size: clamp(32px, 8vw, 48px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -1.44px;
  color: #131318;
  margin-bottom: 20px;
}
.page-hero-title strong { font-weight: 600; }
.page-hero-desc {
  font-size: 16px;
  line-height: 24px;
  color: #364152;
  max-width: 480px;
  margin: 0 auto 32px;
  letter-spacing: -0.32px;
}
.page-hero-cta {
  display: inline-block;
  background: transparent;
  color: #1c1c1e;
  border: 2px solid #1c1c1e;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.page-hero-cta:hover { background: #1c1c1e; color: #fff; }

/* ── Hero ── */
.page-hero { position: relative; }

/* ── Two-col section ── */
.page-section {
  max-width: 1152px;
  margin: 0 auto;
  padding: 80px 24px;
}
.page-section--sm { padding: 40px 24px 20px; }
.page-twocol {
  display: flex;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
}
.page-twocol-visual {
  flex-shrink: 0;
  width: 100%;
  max-width: 420px;
}
.page-twocol-text {
  flex: 1;
  max-width: 460px;
}
.page-twocol-title {
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -1.5px;
  color: #131318;
  margin-bottom: 20px;
}
.page-twocol-title strong { font-weight: 700; }
.page-twocol-desc {
  font-size: 16px;
  line-height: 26px;
  color: #364152;
  margin-bottom: 36px;
}
.page-twocol-cta {
  display: inline-block;
  background: #1c1c1e;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.page-twocol-cta:hover { opacity: 0.85; }

/* ── Feature cards grid ── */
.page-cards-grid {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.page-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 51%, #fafafa 100%);
  border: 1px solid #f4f4f4;
  border-radius: 24px;
  padding: clamp(24px, 5vw, 50px) clamp(20px, 5vw, 56px);
  display: flex;
  flex-direction: column;
}
.page-card-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.48px;
  color: #121926;
  margin-bottom: 8px;
}
.page-card-desc {
  font-size: 16px;
  line-height: 24px;
  color: #4B5565;
  margin-bottom: 32px;
  letter-spacing: -0.32px;
}
.page-card-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* ── Stats ── */
.page-stats {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
.page-stats-inner {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 51%, #fafafa 100%);
  border: 1px solid #f4f4f4;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.page-stat { text-align: center; }
.page-stat-val {
  font-size: clamp(36px, 8vw, 48px);
  font-weight: 700;
  letter-spacing: -2px;
  color: #121926;
  line-height: 1;
  margin-bottom: 8px;
}
.page-stat-label {
  font-size: 16px;
  font-weight: 600;
  color: #121926;
  margin-bottom: 8px;
}
.page-stat-desc {
  font-size: 14px;
  line-height: 22px;
  color: #4B5565;
}

/* ── Demo form section ── */
.page-demo {
  background: #fff;
  padding: 80px 24px;
}
.page-demo-inner {
  max-width: 500px;
  margin: 0 auto;
}
.page-demo-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.8px;
  color: #121926;
  text-align: center;
  margin-bottom: 8px;
}
.page-demo-desc {
  font-size: 16px;
  color: #4B5565;
  text-align: center;
  margin-bottom: 32px;
}
.pf-form { display: flex; flex-direction: column; gap: 8px; }
.pf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-input {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 16px;
  color: #121926;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  width: 100%;
  height: 52px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.pf-input:focus { border-color: #1c1c1e; }
.pf-input.has-error { border-color: #ef4444; }
.pf-select {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 16px;
  color: #9ca3af;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 16px;
  width: 100%;
  height: 52px;
  outline: none;
  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s;
}
.pf-select.has-value { color: #121926; }
.pf-select.has-error { border-color: #ef4444; }
.pf-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 2px;
  display: none;
}
.pf-error.is-visible { display: block; }
.pf-submit {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #1c1c1e;
  border-radius: 999px;
  padding: 16px;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  width: 100%;
  transition: opacity 0.2s;
  touch-action: manipulation;
}
.pf-submit:hover { opacity: 0.85; }
.pf-success {
  text-align: center;
  padding: 48px 0;
  display: none;
}
.pf-success.is-visible { display: block; }
.pf-privacy {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  line-height: 18px;
  margin-top: 4px;
}
.pf-privacy a { color: #9ca3af; }

/* ── Footer CTA ── */
.page-footer-cta {
  background: #1c1c1e;
  padding: 80px 24px;
  text-align: center;
}
.page-footer-cta-title {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.page-footer-cta-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.page-footer-cta-btn {
  display: inline-block;
  background: #c6ff81;
  color: #1c1c1e;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.page-footer-cta-btn:hover { opacity: 0.85; }

/* ── Animated mockups ── */
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mockup-title {
  font-size: 13px;
  font-weight: 600;
  color: #121926;
}
.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 2px #dcfce7;
}
.live-text { font-size: 11px; color: #16a34a; font-weight: 500; }

/* Masa grid */
.masa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.masa-cell {
  border-radius: 18px;
  padding: 18px 12px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1.5px solid #f0f0f0;
  background: #f9f9f9;
}
.masa-cell.is-active { transform: scale(1.04); }
.masa-no {
  font-size: 20px;
  font-weight: 700;
  color: #121926;
  margin-bottom: 5px;
}
.masa-status { font-size: 13px; font-weight: 600; }
.masa-time { font-size: 12px; color: #9ca3af; margin-top: 4px; }
.masa-legend {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.masa-legend-item { display: flex; align-items: center; gap: 6px; }
.masa-legend-dot { width: 9px; height: 9px; border-radius: 50%; }
.masa-legend-label { font-size: 13px; color: #4B5565; }

/* Flow steps */
.flow-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.flow-steps { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }
.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.4s ease;
  background: #fff;
}
.flow-step.is-active { transform: scale(1.02); }
.flow-step.is-future { opacity: 0.45; }
.flow-icon { font-size: 22px; }
.flow-label { font-size: 14px; font-weight: 600; color: #121926; margin-bottom: 2px; }
.flow-desc { font-size: 12px; color: #9ca3af; }
.flow-check { color: #16a34a; font-size: 14px; font-weight: 700; }
.flow-pulse { width: 8px; height: 8px; border-radius: 50%; }

/* Kitchen tickets */
.kds-ticket {
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.4s ease;
  background: #fff;
  margin-bottom: 10px;
}
.kds-ticket.is-active { transform: scale(1.02); }
.kds-ticket-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.kds-ticket-masa { font-size: 13px; font-weight: 700; color: #121926; }
.kds-ticket-meta { display: flex; align-items: center; gap: 6px; }
.kds-ticket-time { font-size: 11px; color: #9ca3af; }
.kds-ticket-status {
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 8px;
}
.kds-ticket-item { font-size: 12px; color: #4B5565; margin-bottom: 2px; }

/* Payment options */
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
}
.payment-option.is-active { background: #1c1c1e; border-color: #1c1c1e; }
.payment-option-icon { font-size: 22px; }
.payment-option-label { font-size: 15px; font-weight: 600; color: #121926; }
.payment-option.is-active .payment-option-label { color: #fff; }

/* Integration list */
.integration-list { display: flex; flex-direction: column; }
.integration-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.integration-row:last-child { border-bottom: none; }
.integration-info { flex: 1; }
.integration-label { font-size: 15px; font-weight: 600; color: #121926; margin-bottom: 3px; }
.integration-desc { font-size: 13px; color: #9ca3af; line-height: 18px; }
.integration-status { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.integration-dot { width: 8px; height: 8px; border-radius: 50%; }
.integration-status-text { font-size: 13px; font-weight: 500; }

/* Revenue chart */
.revenue-chart { width: 100%; }
.revenue-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.revenue-chart-label { font-size: 13px; font-weight: 600; color: #121926; }
.revenue-chart-val { font-size: 13px; font-weight: 700; color: #16a34a; }
.revenue-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-bottom: 6px; }
.revenue-bar { flex: 1; border-radius: 4px 4px 0 0; background: #e5e7eb; transition: height 0.6s ease; }
.revenue-bar.is-highlight { background: #1c1c1e; }
.revenue-days { display: flex; gap: 6px; margin-bottom: 16px; }
.revenue-day { flex: 1; text-align: center; font-size: 10px; color: #9ca3af; }
.revenue-rows { border-top: 1px solid #f0f0f0; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.revenue-row { display: flex; justify-content: space-between; align-items: center; }
.revenue-row-label { font-size: 13px; color: #4B5565; }
.revenue-row-right { display: flex; align-items: center; gap: 8px; }
.revenue-row-val { font-size: 14px; font-weight: 600; color: #121926; }
.revenue-row-badge {
  font-size: 11px;
  font-weight: 500;
  border-radius: 999px;
  padding: 2px 8px;
}

/* ── Legal pages ── */
.legal-content {
  max-width: 768px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.legal-update { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }
.legal-title {
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #121926;
  line-height: 1.2;
  margin-bottom: 16px;
}
.legal-intro { font-size: 16px; color: #4B5565; line-height: 1.7; margin-bottom: 32px; }
.legal-sections { display: flex; flex-direction: column; gap: 32px; }
.legal-section { border-top: 1px solid #f0f0f0; padding-top: 32px; }
.legal-section-title { font-size: 18px; font-weight: 600; color: #121926; letter-spacing: -0.3px; margin-bottom: 12px; }
.legal-section-content { font-size: 14px; line-height: 24px; color: #364152; white-space: pre-line; }

/* ── Contact page ── */
.contact-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-info-title { font-size: 18px; font-weight: 600; color: #121926; margin-bottom: 20px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #fafafa;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  text-decoration: none;
  transition: all 0.2s;
}
.contact-info-card:hover { background: #f5f3ff; border-color: #e0e7ff; }
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: #f0f0ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-label { font-size: 11px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-info-value { font-size: 14px; font-weight: 500; color: #121926; }
.contact-response {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px;
}
.contact-form-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px;
}
.contact-form-title { font-size: 28px; font-weight: 600; letter-spacing: -0.6px; color: #121926; margin-bottom: 6px; }
.contact-form-desc { font-size: 15px; color: #4B5565; margin-bottom: 24px; }
.cf-form { display: flex; flex-direction: column; gap: 8px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-input {
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: #121926;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  width: 100%;
  height: 52px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.cf-input:focus { border-color: #1c1c1e; }
.cf-input.has-error { border-color: #ef4444; }
.cf-textarea {
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: #121926;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px 16px;
  width: 100%;
  height: 130px;
  outline: none;
  box-sizing: border-box;
  resize: none;
  line-height: 1.6;
  transition: border-color 0.15s;
}
.cf-textarea:focus { border-color: #1c1c1e; }
.cf-textarea.has-error { border-color: #ef4444; }
.cf-error { font-size: 12px; color: #ef4444; margin-top: 2px; display: none; }
.cf-error.is-visible { display: block; }
.cf-submit {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: #1c1c1e;
  border-radius: 999px;
  padding: 16px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s;
}
.cf-submit:hover { opacity: 0.85; }
.cf-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.cf-success { text-align: center; padding: 48px 0; display: none; }
.cf-success.is-visible { display: block; }

/* ── Pricing page ── */
.pricing-bg { background: #f7f7f5; min-height: 100vh; }
.pricing-cards {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pricing-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 51%, #fafafa 100%);
  border: 1px solid #f4f4f4;
  border-radius: 24px;
  padding: clamp(24px, 5vw, 48px) clamp(20px, 5vw, 48px);
  display: flex;
  flex-direction: column;
}
.pricing-badge-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #c6ff81;
  color: #1c1c1e;
}
.pricing-name {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.48px;
  color: #121926;
  margin-bottom: 8px;
}
.pricing-desc {
  font-size: 16px;
  line-height: 24px;
  color: #4B5565;
  margin-bottom: 24px;
}
.pricing-divider { height: 1px; background: #ebebeb; margin-bottom: 24px; }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  letter-spacing: -0.3px;
  line-height: 24px;
}
.pricing-feature-item.excluded { color: #9ca3af; }
.pricing-feature-item.included { color: #121926; }
.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #1c1c1e;
  border-radius: 999px;
  padding: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.pricing-cta:hover { opacity: 0.85; }
.comparison-table {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 0;
}
.comparison-col-title {
  font-size: 16px;
  font-weight: 600;
  color: #121926;
  letter-spacing: -0.32px;
  text-align: center;
}
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}
.comparison-feature { padding-right: 24px; }
.comparison-feature-title {
  font-size: clamp(13px, 3vw, 16px);
  color: #121926;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}
.comparison-feature-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: #c6ff81;
  color: #1c1c1e;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}
.comparison-feature-desc { font-size: 14px; color: #364152; line-height: 20px; }
.comparison-check { display: flex; align-items: center; justify-content: center; }
.comparison-dash { color: #d1d5db; font-size: 18px; }

/* FAQ */
.faq-section { background: #fff; padding: 80px 24px; }
.faq-inner { max-width: 640px; margin: 0 auto; }
.faq-title { font-size: 30px; font-weight: 600; color: #131318; letter-spacing: -0.6px; text-align: center; margin-bottom: 8px; }
.faq-subtitle { font-size: 14px; color: #6b7280; text-align: center; margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: background 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.faq-item.is-open { background: #fafafa; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1c1c1e;
}
.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s;
  background: #f4f4f4;
  color: #6b7280;
}
.faq-item.is-open .faq-toggle { background: #1c1c1e; color: #fff; transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px 18px;
  font-size: 14px;
  color: #4B5565;
  line-height: 1.65;
  display: none;
}
.faq-item.is-open .faq-answer { display: block; }

/* ── Blog ── */
.blog-hero {
  background: #f9fafb;
  border-bottom: 1px solid #f0f0f0;
  padding: 64px 24px;
  text-align: center;
}
.blog-hero-badge {
  display: inline-block;
  background: #f3f0ff;
  border: 1px solid #e0d9ff;
  border-radius: 999px;
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #5500FF;
  margin-bottom: 20px;
}
.blog-hero-title {
  font-size: clamp(26px, 7vw, 42px);
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 16px;
}
.blog-hero-desc { font-size: 16px; color: #6b7280; line-height: 1.6; max-width: 520px; margin: 0 auto; }
.blog-filters { max-width: 1152px; margin: 0 auto; padding: 32px 24px 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.blog-filter-btn {
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
  touch-action: manipulation;
}
.blog-filter-btn.is-active { background: #111827; color: #fff; border-color: transparent; }
.blog-grid {
  max-width: 1152px;
  margin: 0 auto;
  padding: 16px 24px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  text-decoration: none;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); }
.blog-card-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.blog-card-title { font-size: 16px; font-weight: 500; color: #000; line-height: 1.3; margin-bottom: 10px; flex: 1; }
.blog-card-desc { font-size: 14px; color: #6b7280; line-height: 1.5; margin-bottom: 20px; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; }
.blog-card-author { display: flex; align-items: center; gap: 10px; }
.blog-card-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.blog-card-name { font-size: 14px; font-weight: 600; color: #111827; }
.blog-card-date { font-size: 13px; color: #6b7280; }
.blog-card-arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #374151; }

/* ── Mobile responsive ── */
@media (max-width: 900px) {
  /* stat cards */
  [id="stat-card-0"], [id="stat-card-1"], [id="stat-card-2"] { min-height: 160px !important; }
  .page-twocol { flex-direction: column; gap: 40px; }
  .page-twocol-visual, .page-twocol-text { max-width: 100%; width: 100%; }
  .page-cards-grid { grid-template-columns: 1fr; }
  .page-stats-inner { grid-template-columns: 1fr; gap: 24px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .comparison-table { overflow-x: auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .pf-row, .cf-row { grid-template-columns: 1fr; }
  .comparison-feature-desc { display: none; }
  /* qrmenu variations grid */
  [style*="grid-template-columns:7fr 4fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(2,1fr)"] { grid-template-columns: 1fr !important; }
}

/* ── qrtableco-style layout utilities ── */
.qp-section { background: #fff; width: 100%; }
.qp-hero { max-width: 42rem; margin: 0 auto; padding: 80px 1.5rem 64px; text-align: center; }
.qp-container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.qp-container-md { max-width: 48rem; margin: 0 auto; padding: 0 1.5rem; }
.qp-py20 { padding-top: 5rem; padding-bottom: 5rem; }
.qp-pb12 { padding-bottom: 3rem; }
.qp-pb16 { padding-bottom: 4rem; }
.qp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.qp-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.qp-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.qp-flex-feature { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px,8vw,120px); }
.qp-card { background: linear-gradient(180deg,#ffffff 0%,#f4f4f4 51%,#fafafa 100%); border: 1px solid #f4f4f4; border-radius: 24px; padding: clamp(28px,6vw,58px) clamp(20px,5vw,58px); display: flex; flex-direction: column; }
.qp-stats-card { background: linear-gradient(180deg,#ffffff 0%,#f4f4f4 51%,#fafafa 100%); border: 1px solid #f4f4f4; border-radius: 24px; padding: clamp(28px,5vw,48px) clamp(20px,5vw,64px); }
.qp-cta-btn { display: inline-block; border: 2px solid #1a1a1a; color: #1a1a1a; font-family: Inter,sans-serif; font-size: 16px; font-weight: 400; padding: 12px 32px; border-radius: 999px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.qp-cta-btn:hover { background: #1a1a1a; color: #fff; }
.qp-cta-dark { display: inline-block; background: #14141A; color: #fff; font-family: Inter,sans-serif; font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 999px; text-decoration: none; }
.qp-grid-bg { position: absolute; inset: -60px -120px; background-image: linear-gradient(#d1d1d6 1px,transparent 1px),linear-gradient(90deg,#d1d1d6 1px,transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%,black 30%,transparent 100%); mask-image: radial-gradient(ellipse 70% 70% at 50% 50%,black 30%,transparent 100%); pointer-events: none; z-index: 0; }

/* ── Device cards hover ── */
.device-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  border-color: #e0e0e0;
  transform: translateY(-4px);
}

/* ── FooterCTA orbit ── */
@keyframes qp-orbit-cw  { from{transform:rotate(0deg)}   to{transform:rotate(360deg)}  }
@keyframes qp-orbit-ccw { from{transform:rotate(0deg)}   to{transform:rotate(-360deg)} }
@keyframes qp-counter-cw  { from{transform:translateX(-50%) rotate(0deg)}   to{transform:translateX(-50%) rotate(-360deg)}  }
@keyframes qp-counter-ccw { from{transform:translateX(-50%) rotate(0deg)}   to{transform:translateX(-50%) rotate(360deg)} }
.qp-ftcta-wrap { max-width:1120px; margin:0 auto; background:linear-gradient(180deg,#ffffff 0%,#f4f4f4 51%,#fafafa 100%); border:1px solid #f0f0f0; border-radius:20px; display:grid; grid-template-columns:1fr 1fr; align-items:center; min-height:332px; padding:48px 56px; }
.qp-ftcta-right { position:relative; height:332px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.qp-ftcta-ring { position:absolute; border-radius:50%; border:1px solid rgba(100,90,220,0.2); top:50%; left:50%; transform:translate(-50%,-50%); }
.qp-ftcta-avatar { width:52px; height:52px; border-radius:50%; background:#d0cff0; border:3px solid white; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,0,0,0.14); font-size:24px; position:absolute; }
@media (max-width:768px) {
  .qp-grid-2,.qp-grid-3,.qp-grid-4 { grid-template-columns:1fr; }
  .qp-flex-feature { flex-direction:column; }
  .qp-ftcta-wrap { grid-template-columns:1fr; padding:40px 28px; min-height:auto; }
  .qp-ftcta-right { display:none; }
  .qp-hero { padding-top:56px; padding-bottom:48px; }
}
@media (max-width:480px) {
  .qp-ftcta-wrap { padding:28px 20px; border-radius:16px; }
}
