:root {
  --ink: #14110f;
  --muted: #6d625b;
  --line: #eadfd4;
  --paper: #fffaf2;
  --soft: #f5efe6;
  --mist: #eef7f8;
  --glass: rgba(255, 255, 255, 0.84);
  --charcoal: #181614;
  --bark: #6b3f22;
  --beak: #e5332a;
  --amber: #f6c748;
  --moss: #2f6f58;
  --sky: #b9d9e8;
  --shadow: 0 28px 80px rgba(43, 28, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(246, 252, 252, 0.96) 0 38%, rgba(238, 247, 248, 0.78) 38% 62%, rgba(255, 249, 232, 0.9) 62% 100%),
    radial-gradient(circle at 13% 18%, rgba(185, 217, 232, 0.55), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(246, 199, 72, 0.28), transparent 26%),
    radial-gradient(circle at 78% 68%, rgba(47, 111, 88, 0.15), transparent 30%),
    linear-gradient(135deg, #f7fcfc 0%, #edf7f8 50%, #fff8e4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.62;
  background-image:
    linear-gradient(rgba(47, 111, 88, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 88, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 47%, rgba(229, 51, 42, 0.08) 47% 49%, transparent 49% 100%);
  background-position: 0 0, 0 0, right 90px top 118px;
  background-size: 34px 34px, 34px 34px, 360px 360px;
}

body::after {
  content: "";
  position: fixed;
  right: min(6vw, 80px);
  top: 112px;
  width: min(38vw, 520px);
  height: min(36vw, 480px);
  pointer-events: none;
  opacity: 0.46;
  background: var(--hero-art-url, url("assets/woodpecker-hero.svg")) center / contain no-repeat;
  filter: drop-shadow(0 28px 60px rgba(32, 64, 66, 0.16));
  z-index: -1;
}

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

.site-header {
  height: 76px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(107, 63, 34, 0.16);
  background: rgba(248, 253, 253, 0.88);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand,
nav,
.hero-actions,
.hero-stats {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name strong {
  font-size: 16px;
}

.brand-name em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark,
.woodpecker-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  position: relative;
  display: inline-block;
  background:
    linear-gradient(135deg, var(--charcoal) 0 50%, var(--amber) 50% 100%);
  box-shadow: 0 10px 28px rgba(20, 17, 15, 0.2);
  overflow: hidden;
}

.woodpecker-mark::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  left: 10px;
  top: 10px;
  background: #ffffff;
  box-shadow: 3px 0 0 #14110f inset;
}

.woodpecker-mark::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 17px;
  border-left: 14px solid var(--beak);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

nav {
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

nav a {
  transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-cta,
.primary-link,
.secondary-link {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta,
.primary-link {
  color: #fffaf2;
  background: var(--charcoal);
  box-shadow: 0 14px 32px rgba(20, 17, 15, 0.22);
}

.nav-cta:hover,
.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.secondary-link {
  border: 1px solid rgba(107, 63, 34, 0.22);
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  min-height: calc(100vh - 76px);
  padding: 76px 6vw 52px;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(380px, 1.1fr);
  gap: 58px;
  align-items: center;
}

.hero-copy {
  padding: 26px;
  border: 1px solid rgba(47, 111, 88, 0.16);
  border-radius: 24px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 86px rgba(32, 64, 66, 0.16);
}

.eyebrow {
  width: fit-content;
  color: var(--bark);
  background: rgba(246, 199, 72, 0.34);
  border: 1px solid rgba(107, 63, 34, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 18px;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  margin: 26px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 650px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 30px;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-stats span {
  padding: 9px 12px;
  border: 1px solid rgba(47, 111, 88, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-preview {
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 18px;
  background: rgba(24, 22, 20, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.product-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(246, 199, 72, 0.08), transparent 42%),
    radial-gradient(circle at 82% 24%, rgba(229, 51, 42, 0.16), transparent 24%);
}

.mascot-orbit {
  position: absolute;
  right: 34px;
  top: 72px;
  width: 112px;
  height: 112px;
  z-index: 2;
}

.woodpecker-large {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  position: absolute;
  right: 14px;
  top: 14px;
  background:
    linear-gradient(135deg, #fffaf2 0 12%, var(--charcoal) 12% 55%, var(--amber) 55% 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  transform: rotate(-8deg);
  overflow: hidden;
}

.woodpecker-large::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  left: 20px;
  top: 20px;
  background: #ffffff;
  box-shadow: 4px 0 0 var(--charcoal) inset;
}

.woodpecker-large::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 35px;
  border-left: 24px solid var(--beak);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.scan-pulse {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(246, 199, 72, 0.55);
  border-radius: 50%;
  animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.72);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

.preview-toolbar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 250, 242, 0.1);
  background: rgba(255, 250, 242, 0.06);
  color: rgba(255, 250, 242, 0.72);
  position: relative;
  z-index: 1;
}

.preview-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d9e1;
}

.preview-toolbar span:first-child {
  background: var(--beak);
}

.preview-toolbar span:nth-child(2) {
  background: var(--amber);
}

.preview-toolbar span:nth-child(3) {
  background: var(--moss);
}

.preview-toolbar strong {
  margin-left: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-stage {
  height: 560px;
  padding: 54px 46px;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 250, 242, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 242, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.phone {
  height: 460px;
  border-radius: 28px;
  background: #fffaf2;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  padding: 28px 24px;
  position: relative;
}

.phone.left {
  transform: translateY(18px) rotate(-1deg);
}

.phone.right {
  transform: translateY(-10px) rotate(1deg);
}

.screen-band {
  height: 92px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sky), #f5d0a3);
  margin-bottom: 28px;
}

.screen-band.alt {
  background: linear-gradient(135deg, #c7e5d6, #f6c748);
  transform: translateX(8px);
}

.screen-title,
.screen-line,
.screen-card {
  border-radius: 8px;
  background: #ded1c2;
}

.screen-title {
  width: 58%;
  height: 22px;
  margin-bottom: 18px;
}

.screen-line {
  width: 74%;
  height: 14px;
  margin-bottom: 12px;
}

.screen-line.long {
  width: 92%;
}

.screen-card {
  height: 152px;
  margin-top: 28px;
  background: #efe5d8;
}

.screen-card.lower {
  margin-top: 180px;
}

.split-line {
  height: 440px;
  background: var(--amber);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(20, 17, 15, 0.2);
}

.issue {
  position: absolute;
  border: 2px solid var(--beak);
  background: rgba(229, 51, 42, 0.1);
  color: #9d1c16;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: 8px;
}

.issue-one {
  top: 138px;
  left: 34px;
}

.issue-two {
  bottom: 86px;
  right: 24px;
}

.section {
  padding: 78px 6vw;
}

.section-heading {
  margin-bottom: 30px;
}

.section h2,
.price-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

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

.feature-grid article,
.price-card,
.service-card {
  border: 1px solid rgba(107, 63, 34, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 24px;
  box-shadow: 0 18px 46px rgba(32, 64, 66, 0.08);
}

.feature-grid article {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(43, 28, 18, 0.13);
}

.feature-grid i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--amber);
  font-size: 24px;
}

.feature-grid h3,
.service-card h3 {
  margin: 18px 0 10px;
}

.feature-grid p,
.service-card p,
.price-card li {
  color: var(--muted);
  line-height: 1.65;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.price {
  font-size: 30px;
  font-weight: 900;
  margin: 16px 0;
}

.price-card ul {
  padding-left: 18px;
  min-height: 140px;
}

.price-card.pro {
  border-color: var(--charcoal);
  background: var(--charcoal);
  color: #fffaf2;
  position: relative;
}

.price-card.pro li {
  color: rgba(255, 250, 242, 0.75);
}

.badge {
  position: absolute;
  right: 20px;
  top: 18px;
  margin: 0;
  padding: 7px 11px;
  border-radius: 9px;
  background: var(--amber);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 900;
}

footer {
  padding: 30px 6vw;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(107, 63, 34, 0.16);
  color: var(--muted);
  font-size: 13px;
}

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

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 18px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px 16px 42px;
    gap: 26px;
  }

  .hero-copy {
    padding: 18px;
    border-radius: 18px;
  }

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

  .product-preview {
    border-radius: 14px;
    width: 100%;
    overflow: hidden;
  }

  .preview-stage {
    height: 390px;
    padding: 18px;
    gap: 16px;
  }

  .phone {
    height: 320px;
    padding: 18px 14px;
    border-radius: 22px;
  }

  .screen-band {
    height: 70px;
  }

  .screen-card {
    height: 110px;
  }

  .screen-card.lower {
    margin-top: 142px;
  }

  .split-line {
    height: 315px;
  }

  .mascot-orbit {
    right: 14px;
    top: 58px;
    transform: scale(0.72);
  }

  footer {
    flex-direction: column;
    gap: 8px;
  }
}
