:root {
  --color-primary: #ff642d;
  --color-primary-dark: #e84f18;
  --color-secondary: #6f42ff;
  --color-ink: #161526;
  --color-muted: #68677a;
  --color-soft: #f7f4ff;
  --color-soft-orange: #fff3ed;
  --color-white: #ffffff;
  --color-line: rgba(22, 21, 38, 0.1);
  --shadow-sm: 0 12px 30px rgba(26, 18, 64, 0.08);
  --shadow-md: 0 22px 60px rgba(26, 18, 64, 0.16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

p,
h1,
h2,
h3,
figure,
blockquote {
  margin: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-alt {
  background: linear-gradient(180deg, #fff 0%, #f8f6ff 100%);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-white);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--color-line);
  box-shadow: 0 10px 30px rgba(26, 18, 64, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: 1.08rem;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 24px rgba(255, 100, 45, 0.25);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--color-primary);
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--color-white) !important;
  background: var(--color-ink);
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-soft-orange);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--color-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(2) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(3) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(4) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 100, 45, 0.18), transparent 30%),
    radial-gradient(circle at 80% 8%, rgba(111, 66, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #fff8f5 0%, #ffffff 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 64px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 6px rgba(255, 100, 45, 0.12);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
}

.hero-lead {
  max-width: 680px;
  margin-top: 28px;
  color: var(--color-muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions,
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), #ff8c42);
  box-shadow: 0 16px 34px rgba(255, 100, 45, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 42px rgba(255, 100, 45, 0.36);
}

.btn-secondary {
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  color: var(--color-primary-dark);
  background: var(--color-white);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.affiliate-note {
  max-width: 620px;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 100, 45, 0.18);
  border-radius: var(--radius-sm);
  color: #5f4a3e;
  background: rgba(255, 243, 237, 0.8);
  font-size: 0.92rem;
}

.hero-metrics {
  margin-top: 28px;
}

.hero-metrics div {
  min-width: 160px;
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.05rem;
}

.hero-metrics span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.hero-card {
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(255, 100, 45, 0.28), rgba(111, 66, 255, 0.24));
  filter: blur(4px);
}

.dashboard-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.card-topline {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.card-topline span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ffb199;
}

.card-topline span:nth-child(2) {
  background: #ffd37a;
}

.card-topline span:nth-child(3) {
  background: #9be7c3;
}

.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-header p {
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-header h2 {
  margin-top: 4px;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
}

.status-pill {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: #277653;
  background: #eafff4;
  font-size: 0.78rem;
  font-weight: 900;
}

.chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 220px;
  margin: 30px 0;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f5f1ff, #fff7f2);
}

.chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--color-secondary), var(--color-primary));
  box-shadow: 0 10px 22px rgba(111, 66, 255, 0.16);
  animation: barRise 1.1s ease both;
}

.chart span:nth-child(2n) {
  animation-delay: 0.08s;
}

.chart span:nth-child(3n) {
  animation-delay: 0.16s;
}

@keyframes barRise {
  from {
    transform: scaleY(0.35);
    transform-origin: bottom;
    opacity: 0.35;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
}

.insight-list {
  display: grid;
  gap: 14px;
}

.insight-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: var(--color-white);
}

.insight-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--color-white);
  background: var(--color-ink);
  font-size: 0.75rem;
  font-weight: 900;
}

.insight-item p {
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.trust {
  border-block: 1px solid var(--color-line);
  background: #fff;
}

.trust .container {
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.trust-grid span {
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  color: var(--color-muted);
  background: #fff;
  font-weight: 900;
}

.section-header {
  max-width: 790px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-header h2,
.value-card h2,
.cta-card h2,
.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.section-header p,
.value-card p,
.cta-card p,
.final-cta p {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.testimonial-card {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--color-soft-orange);
  font-size: 1.5rem;
}

.feature-card h3,
.use-case-list h3 {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.feature-card p,
.use-case-list p,
.testimonial-card figcaption {
  margin-top: 10px;
  color: var(--color-muted);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.split-grid .btn {
  margin-top: 28px;
}

.use-case-list {
  display: grid;
  gap: 16px;
}

.use-case-list article {
  display: flex;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(111, 66, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.use-case-list span {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  font-weight: 900;
}

.value-section {
  padding-top: 0;
}

.value-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.42), transparent 22%),
    linear-gradient(135deg, #201642, #3b1b6a 52%, #ff642d);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.value-card .eyebrow,
.value-card p,
.cta-card .eyebrow,
.cta-card p,
.final-cta .eyebrow,
.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.value-card .eyebrow::before,
.cta-card .eyebrow::before,
.final-cta .eyebrow::before {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
}

.value-points {
  display: grid;
  gap: 14px;
}

.value-points div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.value-points strong,
.value-points span {
  display: block;
}

.value-points span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.table-row {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
}

.table-row > div {
  padding: 20px;
  border-bottom: 1px solid var(--color-line);
}

.table-row > div:not(:last-child) {
  border-right: 1px solid var(--color-line);
}

.table-row:last-child > div {
  border-bottom: 0;
}

.table-head {
  color: var(--color-white);
  background: var(--color-ink);
  font-weight: 900;
}

.table-row:not(.table-head) > div:first-child {
  font-weight: 900;
}

.table-row:not(.table-head) > div:nth-child(2) {
  color: var(--color-muted);
}

.table-row:not(.table-head) > div:nth-child(3) {
  color: #256646;
  background: #f2fff8;
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card blockquote {
  color: var(--color-ink);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.testimonial-card figcaption {
  font-weight: 800;
}

.cta-band {
  padding-block: 88px;
  background: var(--color-white);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: var(--shadow-md);
}

.cta-card > div {
  max-width: 720px;
}

.faq-container {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  color: var(--color-ink);
  background: transparent;
  text-align: left;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.faq-icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: var(--color-soft-orange);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--color-muted);
}

.faq-answer code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--color-soft-orange);
  color: var(--color-primary-dark);
  font-size: 0.88em;
}

.final-cta {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 100, 45, 0.4), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(111, 66, 255, 0.34), transparent 28%),
    #161526;
}

.final-cta-inner {
  max-width: 850px;
  text-align: center;
}

.final-cta .btn {
  margin-top: 30px;
}

.site-footer {
  padding: 56px 0 88px;
  color: rgba(255, 255, 255, 0.72);
  background: #0f0e1d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 44px;
}

.footer-brand {
  margin-bottom: 16px;
  color: var(--color-white);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--color-white);
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible {
  color: var(--color-white);
}

.mobile-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 90;
  display: none;
  transform: translateY(130%);
  transition: transform 0.24s ease;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
}

.mobile-sticky-cta .btn {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-grid,
  .faq-container,
  .value-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-card {
    max-width: 620px;
    margin-inline: auto;
  }

  .features-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .section-sm {
    padding: 36px 0;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px;
    border-radius: 14px;
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: var(--color-soft-orange);
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    padding: 18px;
    border-radius: 26px;
  }

  .dashboard-header {
    display: grid;
  }

  .chart {
    height: 180px;
    gap: 8px;
    padding: 16px;
  }

  .features-grid,
  .testimonial-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    display: grid;
  }

  .cta-card .btn {
    width: 100%;
  }

  .comparison-table {
    display: grid;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .table-row,
  .table-row.table-head {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
  }

  .table-head {
    display: none !important;
  }

  .table-row > div {
    border-right: 0 !important;
  }

  .table-row > div::before {
    display: block;
    margin-bottom: 4px;
    color: var(--color-primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .table-row > div:nth-child(1)::before {
    content: "Marketing task";
  }

  .table-row > div:nth-child(2)::before {
    content: "Manual approach";
  }

  .table-row > div:nth-child(3)::before {
    content: "With Semrush";
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    display: block;
  }

  .site-footer {
    padding-bottom: 110px;
  }
}

@media (max-width: 520px) {
  .feature-card,
  .testimonial-card,
  .use-case-list article {
    padding: 22px;
  }

  .table-row > div {
    padding: 18px;
  }

  .faq-question {
    padding: 18px;
  }

  .faq-answer p {
    padding: 0 18px 18px;
  }
}
