:root {
  --ink: #151922;
  --muted: #5f6877;
  --line: #dfe5ea;
  --paper: #fffdf8;
  --surface: #f6faf9;
  --teal: #0f9f8f;
  --teal-dark: #087568;
  --coral: #ef6b57;
  --yellow: #f3bf3b;
  --blue: #4277d9;
  --shadow: 0 24px 70px rgba(21, 25, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(223, 229, 234, 0.8);
  display: flex;
  gap: 28px;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand,
.panel-title {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
}

.brand-mark,
.mini-logo {
  border-radius: 8px;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-left: auto;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.language-switcher {
  background: #eef4f4;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: inline-flex;
  padding: 3px;
}

.lang-select {
  appearance: none;
  background: white;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 4px 14px rgba(21, 25, 34, 0.1);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  height: 32px;
  min-width: 92px;
  padding: 0 26px 0 10px;
}

.lang-button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  height: 32px;
  min-width: 34px;
  padding: 0 9px;
}

.lang-button.active {
  background: white;
  box-shadow: 0 4px 14px rgba(21, 25, 34, 0.1);
  color: var(--ink);
}

.header-cta,
.button {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  gap: 9px;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
}

.text-icon,
.stat-icon,
.step-icon,
.list-icon,
.summary-icon {
  fill: none;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.text-icon {
  height: 18px;
  width: 18px;
}

.stat-icon {
  color: var(--teal-dark);
  height: 26px;
  margin-bottom: 10px;
  width: 26px;
}

.rating-stars {
  color: var(--blue);
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.rating-stars svg {
  fill: currentColor;
  height: 18px;
  stroke: #245cc4;
  stroke-width: 1.5;
  width: 18px;
}

.header-cta,
.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}

.menu-button {
  background: transparent;
  border: 0;
  display: none;
  height: 40px;
  padding: 8px;
  width: 40px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px 0;
  width: 24px;
}

.hero {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px) 34px;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(15, 159, 143, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(239, 107, 87, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, #000, transparent 74%);
  pointer-events: none;
  position: absolute;
}

.hero-copy,
.product-scene {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.02;
  margin-bottom: 24px;
  max-width: 820px;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  margin-bottom: 18px;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
}

.hero-lede,
.workflow-copy p,
.pricing-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero-stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  max-width: 620px;
}

.hero-stats div {
  border-left: 3px solid var(--teal);
  padding-left: 14px;
}

.hero-stats dt {
  font-size: 26px;
  font-weight: 800;
}

.hero-stats dd {
  color: var(--muted);
  margin: 4px 0 0;
}

.product-scene {
  align-items: center;
  display: flex;
  min-width: 0;
}

.browser-frame {
  background: #ffffff;
  border: 1px solid #cfd8df;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
}

.browser-top {
  align-items: center;
  background: #eef4f4;
  border-bottom: 1px solid #d8e1e4;
  display: flex;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
}

.browser-top span {
  border-radius: 50%;
  display: block;
  height: 11px;
  width: 11px;
}

.browser-top span:nth-child(1) {
  background: var(--coral);
}

.browser-top span:nth-child(2) {
  background: var(--yellow);
}

.browser-top span:nth-child(3) {
  background: var(--teal);
}

.address {
  background: white;
  border: 1px solid #dbe4e8;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  margin-left: 10px;
  overflow: hidden;
  padding: 7px 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 48%;
}

.webpage-preview {
  background: linear-gradient(135deg, #f8fbfb, #fff8ee);
  display: grid;
  gap: 18px;
  grid-template-columns: 92px 1fr;
  min-height: 560px;
  padding: 24px;
  position: relative;
}

.preview-sidebar {
  background: repeating-linear-gradient(#d8e7e4 0 16px, transparent 16px 34px);
  border-radius: 14px;
  opacity: 0.88;
}

.preview-content {
  min-width: 0;
}

.preview-hero {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 18px;
  height: 128px;
  margin-bottom: 18px;
}

.preview-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.preview-grid span,
.long-content span {
  background: #ffffff;
  border: 1px solid #e2e7eb;
  border-radius: 14px;
  display: block;
}

.preview-grid span {
  height: 88px;
}

.long-content {
  display: grid;
  gap: 14px;
}

.long-content span {
  height: 54px;
}

.capture-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(207, 216, 223, 0.9);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(21, 25, 34, 0.16);
  max-width: 292px;
  padding: 16px;
  position: absolute;
  right: 24px;
  top: 92px;
}

.capture-mode {
  background: #f7fafb;
  border: 1px solid #dfe7ea;
  border-radius: 12px;
  color: var(--ink);
  display: block;
  margin-top: 12px;
  padding: 12px;
  text-align: left;
  width: 100%;
}

.capture-mode span,
.capture-mode small {
  display: block;
}

.capture-mode span {
  font-weight: 800;
}

.capture-mode small {
  color: var(--muted);
  margin-top: 3px;
}

.capture-mode.active {
  background: #e9fbf7;
  border-color: var(--teal);
}

.progress {
  background: #e6ecef;
  border-radius: 999px;
  height: 8px;
  margin: 16px 0 10px;
  overflow: hidden;
}

.progress span {
  animation: progress 2.8s ease-in-out infinite;
  background: linear-gradient(90deg, var(--teal), var(--yellow));
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 76%;
}

.capture-panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.trust-strip,
.section,
.workflow-section,
.comparison-section,
.reviews-section,
.pricing-section,
.faq-section,
.final-cta,
.site-footer {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.trust-strip {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
}

.trust-strip span {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 10px;
  font-weight: 800;
  justify-content: center;
  min-height: 76px;
  text-align: center;
}

.trust-strip .text-icon {
  color: #90efe2;
}

.section,
.comparison-section,
.reviews-section,
.faq-section {
  padding-bottom: clamp(70px, 8vw, 116px);
  padding-top: clamp(70px, 8vw, 116px);
}

.section-heading {
  max-width: 850px;
}

.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
}

.feature-card,
.review-card,
.plan,
.use-cases article,
.steps article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  min-height: 320px;
  padding: 28px;
}

.feature-card.highlight {
  background: var(--ink);
  color: white;
}

.feature-card p,
.use-cases p,
.steps p,
.review-card span,
.plan p,
.plan li,
.faq-list p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-card.highlight p {
  color: rgba(255, 255, 255, 0.75);
}

.icon-box {
  align-items: center;
  background: #e5f7f4;
  border-radius: 12px;
  color: var(--teal-dark);
  display: flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 34px;
  width: 48px;
}

.icon-box.coral {
  background: #fff0ed;
  color: var(--coral);
}

.icon-box.yellow {
  background: #fff6d8;
  color: #ad7b00;
}

.icon-box.ink {
  background: #edf1f6;
  color: var(--ink);
}

.icon-box svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 25px;
}

.workflow-section {
  align-items: start;
  background: #eef8f6;
  display: grid;
  gap: 44px;
  grid-template-columns: 0.8fr 1.2fr;
  padding-bottom: clamp(70px, 8vw, 110px);
  padding-top: clamp(70px, 8vw, 110px);
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article {
  display: grid;
  gap: 18px;
  grid-template-columns: 64px 0.35fr 1fr;
  padding: 26px;
}

.steps span {
  align-items: center;
  color: var(--coral);
  display: inline-flex;
  font-size: 24px;
  font-weight: 800;
  gap: 10px;
}

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

.steps h3,
.steps p {
  margin: 0;
}

.use-cases {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}

.use-cases article {
  padding: 24px;
}

.use-cases strong {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
}

.reviews-section {
  background: #fff7e7;
}

.review-grid,
.plans {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}

.review-card {
  min-height: 230px;
  padding: 28px;
}

.stars {
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 22px;
}

.review-card p {
  font-size: 20px;
  line-height: 1.5;
}

.pricing-section {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: 0.9fr 1.1fr;
  padding-bottom: clamp(70px, 8vw, 116px);
  padding-top: clamp(70px, 8vw, 116px);
}

.plans {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0;
}

.plan {
  padding: 30px;
  position: relative;
}

.plan h3 {
  font-size: 34px;
}

.plan ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding-left: 0;
}

.plan li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.list-icon {
  color: var(--teal-dark);
  height: 18px;
  margin-top: 4px;
  width: 18px;
}

.plan.premium .list-icon {
  color: var(--yellow);
}

.plan.premium {
  background: var(--ink);
  color: white;
}

.plan.premium p,
.plan.premium li {
  color: rgba(255, 255, 255, 0.76);
}

.plan-badge {
  background: var(--yellow);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  position: absolute;
  right: 22px;
  top: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  max-width: 920px;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px;
}

summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 800;
  gap: 12px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.summary-icon {
  background: #eef8f6;
  border-radius: 8px;
  color: var(--teal-dark);
  height: 34px;
  padding: 7px;
  width: 34px;
}

details p {
  margin: 16px 0 0;
}

.final-cta {
  align-items: center;
  background: var(--blue);
  color: white;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 58px;
  padding-top: 58px;
}

.final-cta .eyebrow {
  color: #dbe8ff;
}

.final-cta h2 {
  margin: 0;
  max-width: 820px;
}

.final-cta .button.primary {
  background: white;
  color: var(--ink);
  flex: 0 0 auto;
}

.site-footer {
  align-items: center;
  background: #11151d;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 92px;
}

.site-footer span:first-child {
  color: white;
  font-weight: 800;
}

@keyframes progress {
  0% {
    transform: translateX(-55%);
  }
  55% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(34%);
  }
}

@media (max-width: 1100px) {
  .hero,
  .workflow-section,
  .pricing-section {
    grid-template-columns: 1fr;
  }

  .product-scene {
    max-width: 780px;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    height: 66px;
  }

  .nav-links,
  .header-cta {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-button {
    display: block;
  }

  .site-header.nav-open .nav-links {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 0;
    left: 0;
    padding: 10px 20px 18px;
    position: absolute;
    right: 0;
    top: 66px;
  }

  .site-header.nav-open .nav-links a {
    border-top: 1px solid var(--line);
    padding: 14px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-stats,
  .trust-strip,
  .feature-grid,
  .use-cases,
  .plans {
    grid-template-columns: 1fr;
  }

  .webpage-preview {
    grid-template-columns: 1fr;
    min-height: 560px;
    padding: 16px;
  }

  .preview-sidebar {
    display: none;
  }

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

  .capture-panel {
    left: 24px;
    max-width: none;
    right: 24px;
    top: 78px;
  }

  .steps article {
    grid-template-columns: 1fr;
  }

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
