/* ===================================================================
   Drealvia · 商厨大师 企业官网静态站
   设计令牌：深石板灰 + 厨房琥珀橙 + 暖白
   =================================================================== */

:root {
  --ink: #15171C;        /* 深石板灰（Hero / About 背景） */
  --ink-2: #1C1F26;      /* 卡片暗面 */
  --amber: #E07A2F;      /* 厨房琥珀橙：主强调色 */
  --amber-soft: #F2A45C; /* 浅橙，渐变用 */
  --cream: #F6F5F2;      /* 暖白（Features 背景） */
  --footer: #0F1115;     /* Footer 背景 */
  --paper: #FFFFFF;
  --text: #15171C;
  --text-soft: #5B6068;
  --on-dark: #F6F5F2;
  --on-dark-soft: #9AA0A6;
  --line: rgba(21, 23, 28, 0.10);
  --line-dark: rgba(246, 245, 242, 0.12);

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(21, 23, 28, 0.12);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.45);

  --font-en: "Outfit", system-ui, sans-serif;
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-dark);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--on-dark); }
.brand__mark {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .3px;
}
.brand__sub {
  font-size: 13px;
  color: var(--amber-soft);
  font-weight: 500;
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  color: var(--on-dark-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--on-dark); }
.nav__cta {
  padding: 9px 18px;
  border: 1px solid var(--amber);
  border-radius: 999px;
  color: var(--amber-soft) !important;
  font-weight: 600 !important;
  transition: background .2s ease, color .2s ease;
}
.nav__cta:hover { background: var(--amber); color: #fff !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: .25s; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  padding: 150px 24px 90px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(224, 122, 47, 0.22), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(224, 122, 47, 0.10), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-soft);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--amber); }
.hero__title {
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.hero__title .accent { color: var(--amber-soft); }
.hero__sub {
  margin-top: 22px;
  max-width: 30em;
  color: var(--on-dark-soft);
  font-size: 17px;
}
.hero__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.btn--primary { background: var(--amber); color: #fff; }
.btn--primary:hover { background: var(--amber-soft); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line-dark); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--amber-soft); color: var(--amber-soft); }

.hero__trust {
  margin-top: 40px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__trust li {
  font-size: 13px;
  color: var(--on-dark-soft);
  padding: 7px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

/* Hero 软件界面示意 */
.hero__right { display: flex; justify-content: center; }
.mock {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(160deg, #20242C, #16191F);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-dark);
}
.mock__bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #3a3f48; }
.mock__bar .dot:first-child { background: #5a606b; }
.mock__title { margin-left: 10px; font-size: 12px; color: var(--on-dark-soft); font-family: var(--font-en); }
.mock__body { display: flex; height: 230px; }
.mock__side { width: 64px; padding: 16px 12px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line-dark); }
.mock__chip { height: 26px; border-radius: 7px; background: #262b33; }
.mock__chip--on { background: linear-gradient(135deg, var(--amber), var(--amber-soft)); }
.mock__canvas { position: relative; flex: 1; background: #11141a; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
}
.equip { position: absolute; border-radius: 5px; background: linear-gradient(135deg, #2f3540, #23272f); border: 1px solid var(--line-dark); }
.equip--1 { left: 16px; top: 16px; width: 70px; height: 54px; }
.equip--2 { right: 18px; top: 22px; width: 92px; height: 44px; }
.equip--3 { left: 50%; bottom: 18px; transform: translateX(-50%); width: 120px; height: 40px; }
.pipe { position: absolute; background: var(--amber); opacity: .8; }
.pipe--h { left: 16px; top: 92px; width: 200px; height: 3px; }
.pipe--v { right: 40px; top: 16px; width: 3px; height: 150px; }
.mock__foot { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line-dark); }
.mock__tag { font-size: 11px; color: var(--on-dark-soft); padding: 5px 10px; border: 1px solid var(--line-dark); border-radius: 999px; font-family: var(--font-en); }
.mock__tag--amber { color: var(--amber-soft); border-color: rgba(224, 122, 47, .4); }

/* ============ SECTION 通用 ============ */
.section { padding: 96px 24px; }
.section--light { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section__head { max-width: var(--maxw); margin: 0 auto 52px; text-align: center; }
.section__title {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.section__lead { margin: 16px auto 0; max-width: 40em; color: var(--text-soft); font-size: 17px; }
.section--dark .section__lead { color: var(--on-dark-soft); }

/* ============ 适用行业卡片 ============ */
.cards {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section--cream .card { background: var(--paper); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(224, 122, 47, .35); }
.card__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(224, 122, 47, .10);
  color: var(--amber);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 15px; }

/* 价值条 */
.valuestrip {
  max-width: var(--maxw);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 38px 34px;
}
.valuestrip__item { color: var(--on-dark); }
.valuestrip__num {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 26px;
  color: var(--amber-soft);
  margin-bottom: 8px;
}
.valuestrip__item p { color: var(--on-dark-soft); font-size: 15px; }

/* ============ BENTO 亮点 ============ */
.bento {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.bento__cell {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bento__cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bento__cell--wide { grid-column: span 1; }
.bento__idx {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--amber);
  letter-spacing: 1px;
}
.bento__cell h3 { font-size: 23px; font-weight: 700; margin: 10px 0 12px; }
.bento__cell p { color: var(--text-soft); font-size: 16px; max-width: 32em; }

/* 大卡内嵌视觉 */
.bento__visual { margin-top: 22px; height: 120px; border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.bento__visual--auto {
  background: linear-gradient(135deg, #20242C, #14171d);
  display: grid; place-items: center;
}
.mini-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(246,245,242,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(246,245,242,.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.mini-pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 5px rgba(224,122,47,.25);
}
.mini-pin:nth-of-type(2) { top: 38%; left: 30%; }
.mini-pin:nth-of-type(3) { top: 60%; left: 55%; background: var(--amber-soft); }
.mini-pin:nth-of-type(4) { top: 30%; left: 72%; }
.bento__visual--model { background: linear-gradient(160deg, #20242C, #14171d); display: grid; place-items: center; }
.cube {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--amber), var(--amber-soft));
  border-radius: 12px;
  transform: rotate(18deg);
  box-shadow: 0 12px 30px rgba(224,122,47,.35);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: rotate(18deg) translateY(0); } 50% { transform: rotate(18deg) translateY(-10px); } }

/* ============ 关于我们 / 解决方案 ============ */
.about__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about__title {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.25;
  margin: 16px 0 24px;
  letter-spacing: -0.4px;
}
.about__body { color: var(--on-dark-soft); font-size: 16px; margin-bottom: 16px; max-width: 34em; }
.brandcard {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(224,122,47,.10), rgba(224,122,47,0));
}
.brandcard__name { font-family: var(--font-en); font-weight: 700; font-size: 26px; color: var(--amber-soft); }
.brandcard__desc { margin-top: 8px; color: var(--on-dark); font-size: 15px; line-height: 1.7; }
.brandcard__desc strong { color: var(--amber-soft); font-weight: 600; }

.about__right { display: flex; flex-direction: column; gap: 24px; }
.solu {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px;
}
.solu h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.solu__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.solu__list li { color: var(--on-dark-soft); font-size: 15px; padding-left: 2px; }
.solu__list li span {
  display: inline-block;
  min-width: 6.5em;
  color: var(--amber-soft);
  font-weight: 600;
  margin-right: 8px;
}
.about__meta { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px 28px; }
.meta__row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.meta__row:last-child { border-bottom: 0; }
.meta__row span { color: var(--on-dark-soft); }
.meta__row b { color: var(--on-dark); font-weight: 600; }

/* ============ FOOTER ============ */
.footer { background: var(--footer); color: var(--on-dark); padding: 64px 24px 30px; }
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__mark { font-family: var(--font-en); font-weight: 700; font-size: 24px; }
.footer__brand p { color: var(--on-dark-soft); font-size: 14px; margin-top: 10px; }
.footer__addr { max-width: 24em; line-height: 1.6; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-size: 15px; font-weight: 600; margin-bottom: 16px; color: var(--on-dark); }
.footer__col a, .footer__plain { display: block; color: var(--on-dark-soft); font-size: 14px; margin-bottom: 10px; transition: color .2s ease; }
.footer__col a:hover { color: var(--amber-soft); }
.footer__bottom {
  max-width: var(--maxw);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--on-dark-soft);
  font-size: 13px;
}
.footer__icp { color: var(--on-dark-soft); border: 1px solid var(--line-dark); padding: 5px 12px; border-radius: 6px; }
.footer__icp:hover { color: var(--amber-soft); border-color: rgba(224,122,47,.4); }

/* ============ 滚动入场动效 ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__right { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(15,17,21,.97);
    backdrop-filter: blur(14px);
    padding: 12px 24px 22px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line-dark); }
  .nav__cta { margin-top: 12px; text-align: center; }
  .nav__toggle { display: flex; }

  .section { padding: 72px 20px; }
  .cards { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide { grid-column: span 1; }
  .valuestrip { grid-template-columns: 1fr; gap: 26px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
