/* ============================================================
   TECHLY® — E-commerce Promo Template (moban17)
   电商促销风：活力橙 + 青蓝撞色、促销通栏、倒计时、商品卡
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #FFF7F0;
  --ink: #1F2430;
  --muted: #6B7280;
  --orange: #FF6B35;
  --orange-deep: #E84D1B;
  --cyan: #00B8D9;
  --cyan-deep: #0093AB;
  --yellow: #FFC93C;
  --green: #12B76A;
  --line: #F0EAE3;
  --shadow: 0 8px 24px rgba(31, 36, 48, 0.08);
  --shadow-lg: 0 16px 40px rgba(31, 36, 48, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--cyan-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--orange);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea {
  font-family: inherit;
}

::selection {
  background: rgba(255, 107, 53, 0.25);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ============================================================
   顶部促销通栏
   ============================================================ */

.promo-bar {
  background: linear-gradient(90deg, var(--orange), var(--orange-deep) 55%, #FF8A5C);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  padding: 8px 14px;
  letter-spacing: 0.02em;
}

.promo-bar .flash {
  display: inline-block;
  background: var(--yellow);
  color: var(--orange-deep);
  font-size: 11.5px;
  font-weight: 800;
  padding: 1px 8px;
  border-radius: 999px;
  margin-right: 8px;
  vertical-align: 1px;
}

/* ============================================================
   头部
   ============================================================ */

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

.topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 1px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

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

.site-nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--orange);
  background: var(--bg-soft);
}

.site-nav a.active {
  color: #fff;
  background: linear-gradient(120deg, var(--orange), var(--orange-deep));
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.cart-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.cart-chip .n {
  background: var(--cyan);
  color: #fff;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0 5px;
}

/* ============================================================
   Hero 促销区
   ============================================================ */

.hero {
  position: relative;
  background: linear-gradient(135deg, #FFF3E9 0%, #FFE9D6 55%, #E3F7FB 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 184, 217, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding: 60px 0 64px;
}

.hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid var(--yellow);
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.18;
  font-weight: 900;
  margin: 18px 0 16px;
  letter-spacing: 0.01em;
}

.hero h1 .hl {
  color: var(--orange);
  position: relative;
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 10px;
  background: rgba(255, 201, 60, 0.45);
  z-index: -1;
  border-radius: 4px;
}

.hero p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 560px;
}

.hero p strong {
  color: var(--ink);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 24px;
}

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

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

.btn--orange {
  background: linear-gradient(120deg, var(--orange), var(--orange-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 107, 53, 0.38);
}

.btn--cyan {
  background: linear-gradient(120deg, var(--cyan), var(--cyan-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 184, 217, 0.32);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.countdown .lb {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--orange-deep);
}

.countdown .cell {
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  min-width: 46px;
  text-align: center;
  padding: 7px 8px;
  border-radius: 10px;
  letter-spacing: 0.06em;
}

.countdown .sep {
  color: var(--orange);
  font-weight: 900;
}

.hero-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(1deg);
}

.hero-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.hero-card-body {
  padding: 18px 20px 20px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-now {
  font-size: 26px;
  font-weight: 900;
  color: var(--orange-deep);
}

.price-now small {
  font-size: 15px;
}

.price-old {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-off {
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.buy-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.stock-bar {
  font-size: 12.5px;
  color: var(--muted);
}

.stock-bar .bar {
  display: block;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  margin-top: 5px;
  overflow: hidden;
}

.stock-bar .bar i {
  display: block;
  height: 100%;
  width: 68%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
}

/* ============================================================
   通栏活动条
   ============================================================ */

.strip {
  background: var(--ink);
  color: #fff;
  padding: 16px 0;
  overflow: hidden;
}

.strip-inner {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.strip-inner span {
  color: var(--yellow);
}

/* ============================================================
   Section
   ============================================================ */

.section {
  padding: 72px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--cyan-soft {
  background: #EDFBFE;
}

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

.section-head .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--cyan-deep);
  background: #E3F7FB;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  line-height: 1.25;
}

.section-head p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 15px;
}

/* ============================================================
   商品卡
   ============================================================ */

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.prod-media {
  position: relative;
}

.prod-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.prod-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.prod-badge.cyan {
  background: var(--cyan);
}

.prod-body {
  padding: 16px;
}

.prod-body h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.prod-body p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.prod-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prod-price {
  font-size: 19px;
  font-weight: 900;
  color: var(--orange-deep);
}

.prod-price small {
  font-size: 12px;
}

.prod-btn {
  background: var(--cyan);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 15px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.prod-btn:hover {
  background: var(--cyan-deep);
}

/* ============================================================
   服务条目（通栏大行）
   ============================================================ */

.svc-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svc-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-row:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.svc-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.svc-row h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.svc-row p {
  color: var(--muted);
  font-size: 14px;
}

.svc-cta {
  color: var(--cyan-deep);
  font-weight: 800;
  font-size: 14.5px;
  white-space: nowrap;
}

/* ============================================================
   数据亮点
   ============================================================ */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 16px;
}

.stat-card .num {
  font-size: 34px;
  font-weight: 900;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-card .num small {
  font-size: 17px;
  color: var(--muted);
  font-weight: 700;
}

.stat-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}

/* ============================================================
   双栏图文
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.split .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split .frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split h3 {
  font-size: 24px;
  font-weight: 900;
  margin: 14px 0 12px;
  line-height: 1.35;
}

.split p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 12px;
}

.split p strong {
  color: var(--ink);
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  font-size: 14.5px;
  border-bottom: 1px dashed var(--line);
}

.ticks li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  margin-top: 2px;
}

/* ============================================================
   资讯卡
   ============================================================ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-body {
  padding: 18px;
}

.news-date {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan-deep);
  letter-spacing: 0.06em;
}

.news-body h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 8px 0 6px;
  line-height: 1.45;
}

.news-body p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ============================================================
   公告/日志表
   ============================================================ */

.log-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.log-table th,
.log-table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.log-table th {
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.log-table tr:last-child td {
  border-bottom: none;
}

.chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: 999px;
}

.chip--new {
  background: rgba(255, 107, 53, 0.14);
  color: var(--orange-deep);
}

.chip--ok {
  background: rgba(18, 183, 106, 0.14);
  color: var(--green);
}

.chip--cyan {
  background: rgba(0, 184, 217, 0.14);
  color: var(--cyan-deep);
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--orange);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
}

.faq-item button .ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.faq-item.open button .ic {
  transform: rotate(45deg);
  background: var(--orange);
  color: #fff;
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 8px;
}

/* ============================================================
   表单
   ============================================================ */

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease;
  background: var(--bg-soft);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--cyan);
  background: #fff;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.status-text {
  font-size: 13.5px;
  color: var(--green);
  min-height: 20px;
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: #CBD5E1;
  padding: 52px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 34px;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 10px;
}

.site-footer .brand small {
  color: #94A3B8;
}

.site-footer p {
  font-size: 13.5px;
  color: #94A3B8;
  max-width: 320px;
}

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

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a {
  color: #94A3B8;
  font-size: 13.5px;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #94A3B8;
}

/* ============================================================
   Breadcrumb（内页）
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, #FFF3E9, #E3F7FB);
  padding: 54px 0 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
}

.page-hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 15px;
}

.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
}

.crumbs a {
  color: var(--cyan-deep);
  font-weight: 700;
}

/* ============================================================
   步骤条
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
}

.step .n {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(120deg, var(--orange), var(--orange-deep));
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

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

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 980px) {
  .prod-grid,
  .stat-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0;
  }

  .hero-card {
    transform: none;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .cart-chip {
    display: none;
  }

  .prod-grid,
  .stat-grid,
  .news-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .svc-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .section {
    padding: 52px 0;
  }

  .strip-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
