:root {
  --primary: #7177CB;
  --primary-dark: #545ad2;
  --primary-blue: #7177CB;
  --accent: #ec4899;
  --accent-pink: #ec4899;
  --ink: #15221c;
  --dark-text: #15221c;
  --muted: #5b6178;
  --body-text: #333333;
  --border: #e3e6ef;
  --border-gray: #cccccc;
  --card-bg: #ffffff;
  --surface: #f7f8fb;
  --light-gray: #f3f3f3;
  --table-stripe: #f3f5ff;
  --success: #29a36a;
  --warning: #e58a00;
  --danger: #d14343;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray);
  padding: 20px 0;
}

.nav-container {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

  button.nav-link.nav-link-toggle:hover{
    box-shadow: none;
    transform: none;
  }

.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-bar {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--dark-text);
  transition: background 0.3s ease;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--dark-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-bar::before {
  transform: translateY(-6px);
}

.nav-toggle-bar::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: rotate(-45deg);
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--dark-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  background: none;
}

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

.nav-link.active {
  color: var(--primary-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
}

.nav-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-item.open .nav-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.1);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1001;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: var(--dark-text);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  border-bottom: 1px solid var(--light-gray);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover {
  background: var(--light-gray);
  color: var(--primary);
}

.dropdown-link-title {
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-link-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.product-icon {
  width: 16px;
  height: 16px;
}

.nav-cta {
  background: var(--primary-blue);
  color: var(--white);
  padding: 9px 15px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 119, 203, 0.35);
}

.nav-login {
  background: transparent;
  color: var(--dark-text);
  padding: 9px 15px;
  border: 1px solid var(--border-gray);
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-login:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  line-height: 24px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f0f9ff 100%);
  color: var(--body-text);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  color: var(--dark-text);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  color: var(--body-text);
}

main.app {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid var(--border-gray);
  margin-bottom: 32px;
}

.intro-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.intro-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.intro h1 {
  font-size: 42px;
  line-height: 52px;
  font-weight: 900;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 28px;
  color: var(--body-text);
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark-text);
  font-size: 15px;
}

.input-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

textarea,
input[type='url'] {
  width: 100%;
  padding: 16px 18px;
  border-radius: 8px;
  border: 2px solid var(--border-gray);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--dark-text);
  transition: all 0.3s ease;
  resize: vertical;
}

textarea:focus,
input[type='url']:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(113, 119, 203, 0.15);
}

textarea::placeholder,
input[type='url']::placeholder {
  color: #999;
}

button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
  display: inline-block;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 119, 203, 0.35);
}

#scan-form button {
  margin-top: 20px;
  width: 100%;
}

.status {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
}

.status.loading {
  background: #fff5e6;
  color: var(--warning);
  border-color: #ffe4b3;
}

.status.error {
  background: #fff1f1;
  color: var(--danger);
  border-color: #ffd5d5;
}

.status.success {
  background: #effcf6;
  color: var(--success);
  border-color: #c8f0da;
}

.hidden {
  display: none !important;
}

.verdict-block {
  display: flex;
  gap: 32px;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.agent-summary {
  flex: 1 1 320px;
  min-width: 320px;
}

.verdict-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.human-cta {
  flex: 1 1 320px;
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f9ff 100%);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border-gray);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  align-self: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.human-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  background: var(--primary-blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 119, 203, 0.35);
}

.gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 46, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
  backdrop-filter: blur(14px);
}

.gate-card {
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--border-gray);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.gate-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 12px;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.gate-close:hover {
  background: var(--light-gray);
  color: var(--dark-text);
  transform: none;
}

.gate-logo {
  width: 48px;
  height: 48px;
  align-self: center;
  margin-bottom: 8px;
  object-fit: contain;
  display: block;
}

.gate-tag {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  display: none;
}

.gate-card h2 {
  font-size: 32px;
  line-height: 40px;
  margin: 0;
  text-align: center;
  font-weight: 800;
  color: var(--dark-text);
}

.gate-sub {
  font-size: 17px;
  line-height: 28px;
  color: var(--body-text);
  margin-bottom: 8px;
  text-align: center;
}

.gate-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gate-form label {
  font-weight: 600;
  color: var(--dark-text);
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
}

.gate-form .form-group {
  margin-bottom: 0;
}

.gate-form input,
.gate-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  color: var(--dark-text);
  font-size: 15px;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  transition: all 0.3s ease;
}

.gate-form input:focus,
.gate-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(113, 119, 203, 0.15);
}

.gate-form input::placeholder,
.gate-form textarea::placeholder {
  color: #999;
  font-size: 14px;
}

.gate-form textarea {
  height: 140px;
  resize: vertical;
  line-height: 1.6;
}

#gate-submit {
  width: 100%;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
  display: inline-block;
}

#gate-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 119, 203, 0.35);
}

#gate-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

#gate-submit:active {
  transform: translateY(-1px);
}

.gate-disclaimer {
  font-size: 13px;
  text-align: center;
  color: var(--muted);
  margin-top: 0;
}

.gate-disclaimer a {
  color: var(--primary-blue);
  text-decoration: none;
}

.gate-disclaimer a:hover {
  text-decoration: underline;
}

#gate-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gate-hint {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

#report.locked {
  filter: blur(4px);
  position: relative;
}

.scanned-url {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

.agent-notes {
  margin-top: 8px;
  max-width: 480px;
}

.checkout-panel {
  min-width: 240px;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-gray);
}

.checkout-label {
  margin-bottom: 8px;
  font-weight: 600;
}

.checkout-label.good {
  color: var(--success);
}

.checkout-label.warn {
  color: var(--warning);
}

.checkout-panel ul,
.summary-columns ul,
.suggestions ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.summary {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.summary-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

/* Inline Email Gate */
.email-gate {
  margin-top: 40px;
  margin-bottom: 40px;
}

.email-gate-card {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f9ff 100%);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.email-gate-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
}

.email-gate-card h3 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 800;
  color: var(--dark-text);
  margin: 0 0 16px 0;
}

.email-gate-sub {
  font-size: 17px;
  line-height: 28px;
  color: var(--body-text);
  margin: 0 auto 32px auto;
  max-width: 600px;
}

.inline-gate-form {
  max-width: 600px;
  margin: 0 auto;
}

.inline-form-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.inline-form-group input[type="email"] {
  flex: 1;
  min-width: 280px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 2px solid var(--border-gray);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--dark-text);
  transition: all 0.3s ease;
}

.inline-form-group input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(113, 119, 203, 0.15);
}

.inline-form-group button {
  padding: 16px 32px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.inline-form-group button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 119, 203, 0.35);
}

.email-gate-disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.email-gate-disclaimer a {
  color: var(--primary-blue);
  text-decoration: none;
}

.email-gate-disclaimer a:hover {
  text-decoration: underline;
}

/* Inline Email Gate */
.email-gate-inline {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f9ff 100%);
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  padding: 32px;
  margin: 32px 0;
  text-align: center;
}

.email-gate-inline h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--dark-text);
  font-weight: 700;
}

.email-gate-inline p {
  font-size: 16px;
  line-height: 24px;
  color: var(--body-text);
  margin-bottom: 20px;
}

.inline-gate-form {
  max-width: 500px;
  margin: 0 auto;
}

.inline-gate-form .form-group {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.inline-gate-form input[type="email"] {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.inline-gate-form input[type="email"]:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.inline-gate-form button[type="submit"] {
  padding: 14px 24px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.inline-gate-form button[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(113, 119, 203, 0.3);
}

.inline-gate-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Report Preview Section */
#report-preview {
  margin-bottom: 32px;
}

.scanned-url {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.scanned-url a {
  color: var(--primary-blue);
  text-decoration: none;
}

.scanned-url a:hover {
  text-decoration: underline;
}

.agent-readiness-section {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f9ff 100%);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}

.agent-badge-container {
  margin-bottom: 20px;
}

.agent-score-display {
  margin: 24px 0;
}

.score-number-large {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.agent-notes {
  font-size: 16px;
  line-height: 24px;
  color: var(--body-text);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.detailed-report {
  margin-top: 40px;
}

.detailed-report h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--dark-text);
  font-weight: 700;
}

.detailed-report h3 {
  font-size: 22px;
  margin-bottom: 16px;
  margin-top: 32px;
  color: var(--dark-text);
  font-weight: 700;
}

/* Summary Section */
.summary-section {
  margin-bottom: 32px;
}

/* Crawlability Section */
.crawlability-section,
.agentic-commerce-section {
  margin-bottom: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--border);
}

.agentic-commerce-section h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.crawlability-section h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.section-description {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 15px;
}

.crawlability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.crawl-check-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.crawl-check-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.crawl-check-card.critical-check {
  border: 2px solid var(--primary-blue);
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  position: relative;
  padding-top: 32px;
}

.crawl-check-card.critical-check::before {
  content: 'CRITICAL';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 800;
  color: var(--primary-blue);
  background: rgba(113, 119, 203, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.check-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.check-header h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-badge {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.check-badge.status-pass {
  background: #e7f7ef;
  color: var(--success);
}

.check-badge.status-warn {
  background: #fff4e5;
  color: var(--warning);
}

.check-badge.status-fail {
  background: #fdedef;
  color: var(--danger);
}

.check-message {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.check-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.check-details ul {
  margin: 8px 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--muted);
}

.check-details li {
  margin: 4px 0;
}

.bot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.bot-tag {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
}

.bot-tag.blocked {
  background: #fdedef;
  border-color: var(--danger);
  color: var(--danger);
}

.bot-tag.allowed {
  background: #e7f7ef;
  border-color: var(--success);
  color: var(--success);
}

.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.summary-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.summary-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.summary-col h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--dark-text);
  font-weight: 600;
}

.summary-col ul {
  margin: 0;
  padding-left: 20px;
}

.summary-col li {
  margin-bottom: 8px;
  color: var(--body-text);
}

/* Checkout Section */
.checkout-section {
  margin-bottom: 32px;
}

.checkout-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.checkout-label.good {
  color: var(--success);
}

.checkout-label.warn {
  color: var(--warning);
}

#checkout-missing {
  margin: 12px 0;
  padding-left: 20px;
}

#checkout-missing li {
  margin-bottom: 6px;
  color: var(--body-text);
}

/* Fields Table Section */
.fields-table-section {
  margin-bottom: 32px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.fields-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.fields-table thead {
  background: var(--surface);
}

.fields-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: var(--dark-text);
  border-bottom: 2px solid var(--border);
}

.fields-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--body-text);
}

.fields-table tbody tr:last-child td {
  border-bottom: none;
}

.fields-table tbody tr:hover {
  background: var(--surface);
}

.field-label {
  cursor: help;
}

/* JSON Section */
.json-section {
  margin-bottom: 32px;
}

.json-output {
  position: relative;
  background: var(--dark-text);
  border-radius: 8px;
  padding: 20px;
}

.copy-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 16px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

#raw-json {
  margin: 0;
  padding: 0;
  color: #10b981;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  font-size: 13px;
  line-height: 20px;
  overflow-x: auto;
}

/* PDF Download Section */
.pdf-download-section {
  text-align: center;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: 12px;
  margin-top: 40px;
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

/* Results Summary */
#results-summary {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f9ff 100%);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: center;
}

#results-summary h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--dark-text);
  font-weight: 800;
}

#results-summary h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.summary-text {
  font-size: 16px;
  line-height: 26px;
  color: var(--body-text);
}

/* Scores Grid */
.scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.score-card {
  background: var(--white);
  border: 2px solid var(--border-gray);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.score-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--primary-blue);
}

.score-card-url {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
  word-break: break-all;
}

.score-display {
  text-align: center;
  margin: 20px 0;
}

.score-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--dark-text) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-label {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.score-badge {
  display: inline-block;
  margin-top: 12px;
}

.score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.score-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0;
}

.score-header .score-badge {
  margin-top: 0;
  font-size: 12px;
  padding: 4px 12px;
}

.score-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.score-notes {
  font-size: 14px;
  line-height: 22px;
  color: var(--body-text);
  margin-bottom: 8px;
}

.score-error {
  font-size: 14px;
  line-height: 22px;
  color: var(--danger);
  margin-bottom: 8px;
}

.score-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.score-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  justify-content: center;
}

.btn-primary,
.btn-secondary {
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  flex: 1;
  min-width: 280px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 119, 203, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  flex: 1;
  min-width: 280px;
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(113, 119, 203, 0.35);
}

/* Implementation Guide */
.implementation-guide {
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
}

.implementation-guide h3 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark-text);
}

.guide-intro {
  font-size: 17px;
  line-height: 28px;
  color: var(--body-text);
  margin-bottom: 32px;
}

.guide-intro a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.guide-intro a:hover {
  text-decoration: underline;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.requirement-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 24px;
}

.requirement-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark-text);
}

.requirement-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirement-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 15px;
  line-height: 24px;
  color: var(--body-text);
}

.requirement-list li:last-child {
  border-bottom: none;
}

.requirement-list code {
  background: #f0f4ff;
  color: var(--primary-blue);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 14px;
  font-weight: 600;
}

.openai-flags {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f9ff 100%);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 24px;
}

.openai-flags h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark-text);
}

.openai-flags p {
  margin: 8px 0;
  font-size: 15px;
  line-height: 24px;
}

.locked .restricted {
  filter: blur(4px);
  pointer-events: none;
  position: relative;
}

.locked .restricted::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.unlock-banner {
  background: #f8f9ff;
  border-radius: 16px;
  border: 1px dashed rgba(113, 119, 203, 0.5);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.unlock-banner button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.locked .restricted {
  filter: blur(4px);
  pointer-events: none;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.field-label {
  position: relative;
  cursor: help;
  font-weight: 600;
  color: var(--ink);
}

.field-label::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 260px;
  padding: 10px 12px;
  background: #11152b;
  color: #f6f8ff;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(17, 21, 43, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.field-label::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 12px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #11152b transparent;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.field-label:hover::after,
.field-label:hover::before,
.field-label:focus-within::after,
.field-label:focus-within::before {
  opacity: 1;
  transform: translateY(0);
}

thead {
  background: var(--light-gray);
}

td,
th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}

th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink);
}

tr:nth-child(even) {
  background: var(--table-stripe);
}

.badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  border: 1px solid transparent;
}

.badge.found,
.badge.status-agent-ready {
  background: #effcf6;
  color: var(--success);
  border-color: #c8f0da;
}

.badge.missing,
.badge.status-not-ready {
  background: #fff1f1;
  color: var(--danger);
  border-color: #ffd5d5;
}

.badge.invalid,
.badge.status-almost-ready {
  background: #fff5e6;
  color: var(--warning);
  border-color: #ffe4b3;
}

.suggestions {
  margin-top: 24px;
}

.feed-preview {
  margin-top: 28px;
  background: #11152b;
  border-radius: 18px;
  padding: 18px;
  color: #f6f8ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feed-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.feed-preview button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}

.feed-preview button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

pre {
  margin: 0;
  font-family: 'Space Grotesk', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 13px;
  line-height: 1.5;
  overflow-x: auto;
}

@media (max-width: 640px) {
  button {
    width: 100%;
  }

  .input-row {
    flex-direction: column;
  }

  .verdict-block {
    flex-direction: column;
  }

  .intro-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .intro h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .gate-card {
    padding: 32px 24px;
  }

  .gate-card h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .gate-sub {
    font-size: 15px;
    line-height: 24px;
  }

  .gate-form {
    gap: 20px;
  }

  #gate-submit {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .email-gate-card {
    padding: 32px 24px;
  }

  .email-gate-card h3 {
    font-size: 28px;
    line-height: 36px;
  }

  .email-gate-sub {
    font-size: 15px;
    line-height: 24px;
  }

  .inline-form-group {
    flex-direction: column;
  }

  .inline-form-group input[type="email"] {
    min-width: 100%;
  }

  .inline-form-group button {
    width: 100%;
  }

  /* Navbar Mobile Styles */
  .nav-container {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link,
  .nav-cta,
  .nav-login {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-cta,
  .nav-login {
    text-align: center;
    justify-content: center;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    margin-top: 8px;
    background: var(--light-gray);
    border: none;
    border-radius: 8px;
    box-shadow: none;
    padding: 8px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-item.open .dropdown-menu {
    display: block;
  }

  .dropdown-link {
    padding: 10px 16px;
    border-bottom: none;
  }
}
