/* ==========================================================================
   广州番禺游饮记软件开发工作室 · 官网样式
   单文件、零依赖，供 /srv/blog/www 静态托管使用
   ========================================================================== */

:root {
  --brand: #1e7be8;
  --brand-2: #12d1c4;
  --ink: #0f2438;
  --ink-2: #33475f;
  --muted: #667c93;
  --line: #e3ebf4;
  --bg: #f5f8fc;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 36, 56, 0.07);
  --shadow-hover: 0 16px 40px rgba(15, 36, 56, 0.13);
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: #1560bd;
}

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

/* ------------------------------------------------------------------ 顶栏 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand__sub {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  white-space: nowrap;
}

.site-nav a:hover {
  background: #eef5fd;
  color: var(--brand);
}

.site-nav a.active {
  background: #eef5fd;
  color: var(--brand);
  font-weight: 600;
}

/* ------------------------------------------------------------------ Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #0f2438 0%, #123a63 45%, #0d6b78 100%);
  color: #fff;
  padding: 84px 0 76px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 209, 196, 0.35) 0%, rgba(18, 209, 196, 0) 68%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  letter-spacing: 0.6px;
  color: #d7f5f2;
}

.hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.32;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.hero__lead {
  margin: 22px 0 0;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.84);
  max-width: 34em;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

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

.btn--primary {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 123, 232, 0.35);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(30, 123, 232, 0.45);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn--line {
  border-color: var(--line);
  background: #fff;
  color: var(--brand);
}

.btn--line:hover {
  border-color: #c9def6;
  color: var(--brand);
}

.hero__facts {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero__facts strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.hero__facts span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
}

/* 手机示意（纯 CSS 绘制，不依赖图片） */

.phone {
  width: 260px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.phone__screen {
  border-radius: 24px;
  background: #f5f8fc;
  padding: 16px 14px 18px;
  color: var(--ink);
}

.phone__caption {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.phone__grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.phone__grid div {
  background: #fff;
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 36, 56, 0.06);
}

.phone__grid b {
  display: block;
  font-size: 17px;
  color: var(--brand);
}

.phone__grid i {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}

.phone__rank {
  margin-top: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(15, 36, 56, 0.06);
}

.phone__rank-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}

.rank-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--ink-2);
  border-bottom: 1px solid #f0f4f9;
}

.rank-row:last-child {
  border-bottom: none;
}

.rank-row em {
  font-style: normal;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #eef5fd;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-row b {
  margin-left: auto;
  color: var(--ink);
}

/* --------------------------------------------------------------- 内容区块 */

.section {
  padding: 76px 0;
}

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

.section--alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--brand);
  text-transform: uppercase;
}

.section__head h2 {
  margin: 12px 0 0;
  font-size: 30px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 700;
}

.section__head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.page-head {
  background: linear-gradient(155deg, #0f2438 0%, #123a63 60%, #0d6b78 100%);
  color: #fff;
  padding: 60px 0 56px;
}

.page-head h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
}

.page-head p {
  margin: 14px 0 0;
  max-width: 46em;
  color: rgba(255, 255, 255, 0.82);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(30, 123, 232, 0.14) 0%, rgba(18, 209, 196, 0.18) 100%);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.card__list {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 15px;
  color: var(--muted);
}

.card__list li {
  margin-top: 6px;
}

/* 产品主推块 */

.feature-product {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 46px;
  box-shadow: var(--shadow);
}

.feature-product h2 {
  margin: 0;
  font-size: 26px;
  color: var(--ink);
  font-weight: 700;
}

.tag-row {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef5fd;
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
}

.feature-product p {
  margin: 18px 0 0;
  color: var(--muted);
}

.feature-product .hero__actions {
  margin-top: 26px;
}

.product-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px;
  border-radius: 18px;
  background: linear-gradient(150deg, #1e7be8 0%, #12d1c4 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 36px rgba(30, 123, 232, 0.28);
}

.product-badge__mark {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}

.product-badge__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.product-badge__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

/* 时间线 */

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin: 2px 0 6px;
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* 正文排版 */

.prose h2 {
  margin: 40px 0 0;
  font-size: 24px;
  color: var(--ink);
  font-weight: 700;
}

.prose h3 {
  margin: 28px 0 0;
  font-size: 19px;
  color: var(--ink);
  font-weight: 600;
}

.prose p {
  margin: 14px 0 0;
  color: var(--ink-2);
}

.prose ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--ink-2);
}

.prose li {
  margin-top: 8px;
}

.prose .card p,
.prose .card li {
  color: var(--muted);
}

.note {
  margin-top: 30px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: #eef5fd;
  border: 1px solid #d5e6fa;
  color: var(--ink-2);
  font-size: 15px;
}

/* 联系信息 */

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 28px;
  box-shadow: var(--shadow);
}

.contact-row {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f4f9;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row__label {
  flex: none;
  width: 110px;
  color: var(--muted);
  font-size: 15px;
}

.contact-row__value {
  color: var(--ink);
  font-size: 15px;
  word-break: break-all;
}

/* ------------------------------------------------------------------ 页脚 */

.site-footer {
  background: #0f2438;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 30px;
  font-size: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
  color: #fff;
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
  line-height: 1.9;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand__mark {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 19px;
}

.footer-brand__name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom .icp a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ------------------------------------------------------------------ 响应式 */

@media (max-width: 960px) {
  .hero__inner,
  .feature-product,
  .footer-cols {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 56px;
  }

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

  .phone {
    margin-top: 8px;
  }

  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header .wrap {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .section__head h2 {
    font-size: 24px;
  }

  .feature-product {
    padding: 28px 22px;
  }

  .brand__sub {
    display: none;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero__facts {
    gap: 20px;
  }
}
