:root {
  --bg: #f4f7fb;
  --bg-alt: #eef3f9;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --border: #d9e3ef;
  --text: #0e0e0e;
  --text-muted: #4f6482;
  --text-soft: #6a7c97;
  --brand: #e05f1b;
  --brand-hover: #c75214;
  --brand-soft: #fff1e9;
  --link: #1c4fd0;
  --green: #15803d;
  --red: #dc2626;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(18, 34, 61, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 22px;
}

.logo-nav img {
  max-width: 156px;
}

.logo-footer img {
  max-width: 182px;
  max-height: 23px;
}

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

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  padding: 10px 22px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
}

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

.btn-outline {
  padding: 10px 22px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.btn-outline:hover {
  border-color: #c2cfdf;
  background: #fbfdff;
}

.btn-ghost {
  padding: 10px 14px;
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.hero {
  padding: 120px 0 90px;
  text-align: center;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fe 58%, #f4f7fb 100%),
    radial-gradient(circle at 15% 12%, rgba(224, 95, 27, 0.12), transparent 42%);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 22px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #ffd7c2;
  background: var(--brand-soft);
  color: #a44614;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.15rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(95deg, #e05f1b 0%, #f68a4a 52%, #d14f0d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 740px;
  margin: 0 auto 30px;
  color: var(--text-muted);
  font-size: 1.075rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 42px;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-soft);
}

.hero-stats {
  display: inline-flex;
  align-items: stretch;
  gap: 24px;
  padding: 18px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat {
  min-width: 104px;
  color: var(--text-soft);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.stat-divider {
  width: 1px;
  background: var(--border);
}

.section {
  padding: 92px 0;
}

.bg-dark {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.section-header h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 2.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card,
.audit-card,
.feature,
.step,
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.comparison-card {
  padding: 28px;
}

.comparison-card h3 {
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.comparison-card ul {
  list-style: none;
}

.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.comparison-card li.total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
}

.comparison-card.new {
  border-color: #ffc29d;
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
}

.x {
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.audit-card {
  padding: 22px;
}

.audit-card:hover {
  border-color: #c5d2e3;
}

.audit-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.audit-card h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  color: var(--text);
}

.audit-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

.feature {
  padding: 24px;
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.workflow-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.workflow-step {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a44614;
  background: var(--brand-soft);
  border: 1px solid #ffd7c2;
}

.workflow-item h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--text);
}

.workflow-item p {
  color: var(--text-muted);
  font-size: 0.89rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-grid-dual {
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 24px;
  text-align: left;
  position: relative;
}

.price-card.popular {
  border-color: #ffbe97;
  box-shadow: 0 4px 14px rgba(224, 95, 27, 0.12);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 1.125rem;
  padding-right: 110px;
}

.price {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.per-token {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 18px;
}

.price-card li {
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 6px 0;
}

.price-card li::before {
  content: "✓ ";
  color: var(--green);
  margin-right: 5px;
}

.credit-pack-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.credit-pack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid #ffd7c2;
  border-radius: 8px;
  background: #fff7f2;
  color: #8f3d13;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.toggle-btn {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.toggle-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.toggle-badge {
  background: rgba(255,255,255,0.25);
  color: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.toggle-btn:not(.active) .toggle-badge {
  background: var(--brand);
  color: #fff;
}

.price-suffix {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

.price-equiv {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  margin-top: -4px;
}

.pricing-note {
  margin-top: 22px;
  text-align: center;
}

.pricing-note p {
  color: var(--text-soft);
  font-size: 0.9375rem;
}

.cost-table {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.92rem;
}

th {
  background: #f5f8fd;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

td:first-child {
  color: var(--text);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

.cta-section {
  text-align: center;
  background:
    linear-gradient(180deg, #f5f8ff 0%, #f4f7fb 100%),
    radial-gradient(circle at 50% 95%, rgba(224, 95, 27, 0.08), transparent 48%);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-section p {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 1rem;
}

.footer { border-radius: 8px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 54px 0 42px;
}

.footer-brand p {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

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

.footer-links h4 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  padding: 4px 0;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0 20px;
}

.footer-bottom p {
  color: var(--text-soft);
  font-size: 0.82rem;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .audit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    min-height: 58px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 102px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 340px;
    padding: 16px;
  }

  .stat {
    min-width: 0;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .comparison-grid,
  .audit-grid,
  .features-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .credit-pack-list {
    grid-template-columns: 1fr;
  }

  .price-card h3 {
    padding-right: 0;
  }

  .popular-badge {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
  }

  .section {
    padding: 76px 0;
  }

  .section-header h2 {
    font-size: 1.72rem;
  }

  th,
  td {
    padding: 12px 10px;
    font-size: 0.84rem;
  }

  .footer-inner,
  .footer-links {
    flex-direction: column;
    gap: 28px;
  }
}
