:root {
  color-scheme: light;
  --ink: #131720;
  --muted: #66717f;
  --line: #e0e6ed;
  --paper: #ffffff;
  --wash: #f5f7f9;
  --soft: #eef6f2;
  --dark: #0d1420;
  --panel: #151f2c;
  --blue: #1d5cff;
  --cyan: #00a6b4;
  --green: #bdf447;
  --gold: #ffc83d;
  --red: #ff5c5c;
  --shadow: 0 26px 80px rgba(18, 28, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

p {
  color: var(--muted);
  line-height: 1.75;
}

.topbar {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.topbar a {
  color: var(--green);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 15px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(224, 230, 237, 0.76);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(126, 224, 255, 0.22) 0%, rgba(126, 224, 255, 0) 42%),
    linear-gradient(135deg, #0b2447 0%, #175cd3 58%, #18a0fb 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 92, 211, 0.24);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}

.mark-frame,
.mark-a,
.mark-route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-frame {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
}

.mark-a {
  stroke: #fff;
  stroke-width: 3.4;
}

.mark-route {
  stroke: #7ee0ff;
  stroke-width: 2.4;
}

.mark-dot {
  fill: #7ee0ff;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  line-height: 1.05;
}

.brand strong {
  font-size: 18px;
}

.brand em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #283441;
  font-size: 14px;
  font-weight: 760;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: clamp(30px, 5vw, 78px);
  align-items: center;
  overflow: hidden;
  padding: 84px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(13, 20, 32, 0.98) 0%, rgba(18, 31, 48, 0.95) 56%, rgba(29, 92, 255, 0.18) 100%),
    url("assets/meta-ad-account-dashboard.png") right center / min(46vw, 620px) auto no-repeat;
  color: #fff;
}

.hero::after {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 42px;
  width: 42vw;
  max-width: 560px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(189, 244, 71, 0.65), transparent);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 910px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-weight: 880;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 960px;
  font-size: clamp(42px, 5.4vw, 80px);
}

.hero-text {
  max-width: 780px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(17px, 1.55vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 850;
}

.btn.primary {
  background: var(--green);
  color: #152009;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-points div,
.deal-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.hero-points div {
  min-height: 106px;
  padding: 15px;
}

.hero-points dt {
  color: #fff;
  font-weight: 900;
}

.hero-points dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

.deal-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  box-shadow: var(--shadow);
}

.deal-head {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.deal-head span {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.deal-head b {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.18;
}

.deal-row {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.deal-row span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.deal-row strong {
  color: #fff;
}

.deal-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(189, 244, 71, 0.13);
}

.deal-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.signal-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #3a4652;
  font-size: 13px;
  font-weight: 850;
}

.section {
  padding: 92px clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-head p:not(.eyebrow) {
  margin: 18px 0 0;
  font-size: 18px;
}

.section h2,
.contact h2 {
  font-size: clamp(31px, 4vw, 58px);
}

.products,
.faq {
  background: var(--wash);
}

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

.price-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.price-card.featured {
  border-color: rgba(29, 92, 255, 0.36);
  box-shadow: var(--shadow);
}

.card-top span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

h3 {
  margin: 12px 0 10px;
  font-size: 21px;
  line-height: 1.28;
}

.price {
  margin: 12px 0 20px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.56;
}

.price-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.price-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 850;
}

.compare {
  background: #fff;
}

.compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compare-table > div {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr 1.1fr;
}

.compare-table span {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.compare-table div:last-child span {
  border-bottom: 0;
}

.compare-table span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.table-head {
  background: var(--dark);
}

.table-head span,
.table-head span:first-child {
  color: #fff;
  font-weight: 900;
}

.scenarios {
  background: var(--soft);
}

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

.scenario-grid article {
  min-height: 240px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process {
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 26px;
  border-top: 3px solid var(--cyan);
  background: var(--wash);
}

.timeline span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.risk {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: #fff;
}

.risk-copy p:not(.eyebrow) {
  max-width: 680px;
  font-size: 18px;
}

.risk-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: var(--dark);
  box-shadow: var(--shadow);
}

.risk-board div {
  min-height: 154px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.risk-board b {
  display: block;
  margin-bottom: 14px;
  font-size: 25px;
}

.risk-board span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 850;
}

.faq p {
  margin-top: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 34px;
  align-items: center;
  padding: 92px clamp(18px, 5vw, 72px);
  background: #e5efec;
}

.contact-copy {
  max-width: 810px;
}

.contact-card {
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.contact-card a {
  display: block;
  margin: 10px 0 14px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--green);
  color: #152009;
  box-shadow: var(--shadow);
  font-weight: 900;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 13px;
  }

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

  .hero {
    background:
      linear-gradient(135deg, rgba(13, 20, 32, 0.98) 0%, rgba(18, 31, 48, 0.96) 100%),
      url("assets/meta-ad-account-dashboard.png") right bottom / 620px auto no-repeat;
  }

  .deal-card {
    max-width: 680px;
  }

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

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-header {
    padding: 13px 16px;
  }

  .brand em {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 64px 18px 46px;
    background: linear-gradient(135deg, #0d1420 0%, #152236 100%);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-points,
  .price-grid,
  .scenario-grid,
  .timeline,
  .risk-board {
    grid-template-columns: 1fr;
  }

  .deal-card {
    display: none;
  }

  .section,
  .contact {
    padding: 64px 18px;
  }

  .price-card,
  .scenario-grid article {
    min-height: auto;
  }

  .compare-table {
    border: 0;
    background: transparent;
  }

  .compare-table > div,
  .compare-table > div.table-head {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .compare-table .table-head {
    display: none;
  }

  .compare-table span {
    padding: 14px 16px;
  }

  .compare-table span:last-child {
    border-bottom: 0;
  }

  .contact-card a {
    font-size: 20px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 84px;
  }
}
