:root {
  /* Brand palette sampled directly from the official TrackBack logo (white / near-black-navy /
     light blue-green), replacing the earlier placeholder indigo scheme. */
  --teal-50: #eafaf6;
  --teal-100: #ccf2e8;
  --teal-500: #14a08c;
  --teal-600: #0d7d6b;
  --teal-700: #0a6357;
  --teal-900: #0c1c2b;
  --emerald-50: #ecfdf5;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --amber-50: #fffbeb;
  --amber-700: #b45309;
  --zinc-900: #0c1c2b;
  --zinc-800: #16283a;
  --zinc-700: #2c3e4f;
  --zinc-600: #52616f;
  --zinc-500: #71808d;
  --zinc-400: #a3adb6;
  --zinc-200: #e2e6e9;
  --zinc-100: #f3f5f6;
  --zinc-50: #fafbfb;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(12, 28, 43, 0.06);
  --shadow: 0 8px 24px rgba(12, 28, 43, 0.08);
  --shadow-lg: 0 24px 64px rgba(12, 28, 43, 0.14);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--zinc-800);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--zinc-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--muted {
  background: var(--zinc-50);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-top: 14px;
}

.section-head p {
  margin-top: 14px;
  color: var(--zinc-600);
  font-size: 17px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(13, 125, 107, 0.12), 0 8px 20px rgba(13, 125, 107, 0.28);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--zinc-800);
  border-color: var(--zinc-200);
}

.btn-secondary:hover {
  border-color: var(--zinc-400);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-700);
}

.btn-ghost:hover {
  background: var(--teal-50);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--zinc-100);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.nav-logo img {
  height: 60px;
  width: auto;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--zinc-600);
  transition: color 0.15s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--zinc-800);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 76px 0 40px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin-top: 20px;
}

.hero h1 .accent {
  color: var(--teal-600);
}

.hero-sub {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 19px;
  color: var(--zinc-600);
}

.hero-tagline {
  margin: 8px auto 0;
  font-size: 15px;
  color: var(--zinc-500);
  font-style: italic;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-shot {
  margin: 56px auto 0;
  max-width: 1040px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--zinc-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: var(--zinc-100);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--zinc-100);
  border-bottom: 1px solid var(--zinc-200);
}

.browser-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--zinc-300, #d4d4d8);
}

.browser-chrome span:nth-child(1) { background: #f87171; }
.browser-chrome span:nth-child(2) { background: #fbbf24; }
.browser-chrome span:nth-child(3) { background: #34d399; }

.hero-shot img {
  width: 100%;
  display: block;
}

/* Logos / trust strip */
.trust-strip {
  padding: 36px 0;
  border-top: 1px solid var(--zinc-100);
  border-bottom: 1px solid var(--zinc-100);
}

.trust-strip p {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--zinc-400);
}

.trust-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.trust-item {
  text-align: center;
  font-size: 14px;
  color: var(--zinc-500);
  padding: 10px 6px;
  border: 1px dashed var(--zinc-200);
  border-radius: var(--radius-sm);
}

/* Problem list */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.problem-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--zinc-200);
}

.problem-card .mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fef2f2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.problem-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.problem-card p {
  color: var(--zinc-600);
  font-size: 15px;
}

/* Showcase (alternating feature rows) */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase + .showcase {
  margin-top: 110px;
}

.showcase.reverse .showcase-copy {
  order: 2;
}

.showcase.reverse .showcase-shot {
  order: 1;
}

.showcase-copy .eyebrow {
  margin-bottom: 16px;
}

.showcase-copy h3 {
  font-size: clamp(24px, 3vw, 30px);
}

.showcase-copy p {
  margin-top: 16px;
  color: var(--zinc-600);
  font-size: 16px;
}

.showcase-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--zinc-700);
}

.showcase-list .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
}

.showcase-shot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--zinc-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--zinc-50);
}

.showcase-shot img {
  width: 100%;
}

/* Feature grid (smaller cards) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--zinc-200);
  background: var(--white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--zinc-600);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--zinc-200);
  background: var(--white);
  position: relative;
}

.price-card.featured {
  border-color: var(--teal-600);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.price-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--zinc-900);
}

.price-value {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-value .amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--zinc-900);
  letter-spacing: -0.02em;
}

.price-value .period {
  color: var(--zinc-500);
  font-size: 15px;
}

.price-limits {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--zinc-600);
  font-weight: 500;
}

.price-desc {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--zinc-500);
}

.price-features {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--zinc-100);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--zinc-700);
}

.price-features .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

.price-card .btn {
  margin-top: 26px;
}

.pricing-addons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  text-align: center;
}

.pricing-addons span {
  font-size: 14.5px;
  color: var(--zinc-600);
  font-weight: 500;
}

.pricing-addons strong {
  color: var(--zinc-900);
}

.pricing-note {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--zinc-500);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--zinc-900);
}

.faq-question .plus {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--zinc-300, #d4d4d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zinc-600);
  transition: transform 0.2s ease, background 0.2s ease;
  font-size: 15px;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 22px 20px;
  color: var(--zinc-600);
  font-size: 15px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-info h2 {
  font-size: clamp(26px, 3.2vw, 34px);
}

.contact-info p {
  margin-top: 14px;
  color: var(--zinc-600);
  font-size: 16px;
}

.contact-email {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal-700);
  font-size: 15px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--zinc-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--zinc-700);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--zinc-200);
  font-size: 15px;
  font-family: inherit;
  color: var(--zinc-900);
  background: var(--white);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-100);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: var(--emerald-50);
  color: var(--emerald-700);
}

.form-status.error {
  background: #fef2f2;
  color: #b91c1c;
}

/* Footer */
.footer {
  border-top: 1px solid var(--zinc-100);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-brand p {
  margin-top: 14px;
  color: var(--zinc-500);
  font-size: 14px;
  max-width: 280px;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--zinc-400);
  margin-bottom: 14px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14.5px;
  color: var(--zinc-600);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--teal-700);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--zinc-100);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--zinc-400);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--zinc-100);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    box-shadow: var(--shadow);
  }

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

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .problem-grid,
  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase.reverse .showcase-copy,
  .showcase.reverse .showcase-shot {
    order: initial;
  }

  .showcase + .showcase {
    margin-top: 64px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 48px 0 24px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
