/* ===== 基础变量 ===== */
:root {
  --primary: #ff7a1a;
  --primary-dark: #e8630a;
  --navy: #14213d;
  --navy-soft: #1f3157;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --border: #e6e9ef;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 33, 61, .08);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 头部导航 ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(20, 33, 61, .08);
  border-bottom-color: var(--border);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #ffb056);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 18px; color: var(--navy); letter-spacing: 1px; }
.logo-text em { font-size: 11px; font-style: normal; color: var(--text-light); letter-spacing: 2px; }

.nav-menu { display: flex; gap: 30px; }
.nav-menu a {
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .25s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 90px;
  background:
    radial-gradient(1000px 420px at 78% 8%, rgba(255, 122, 26, .16), transparent 60%),
    linear-gradient(160deg, #f8fbff 0%, #eef3fb 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 26, .12);
  color: var(--primary-dark);
  font-size: 13px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 20px;
}
.hero p { color: var(--text-light); font-size: 16px; max-width: 560px; }

.hero-actions { display: flex; gap: 14px; margin: 30px 0 36px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff9a45);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 26, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 122, 26, .38); }
.btn-ghost {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-mini { padding: 8px 18px; font-size: 13px; background: var(--navy); color: #fff; }
.btn-mini:hover { background: var(--navy-soft); }
.btn-outline { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); background: #fff; color: var(--primary-dark); }
.btn-block { width: 100%; text-align: center; border: none; cursor: pointer; font-family: inherit; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stats strong {
  display: block;
  font-size: 30px;
  color: var(--navy);
}
.hero-stats span { font-size: 13px; color: var(--text-light); }

/* 手机示意 */
.hero-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone {
  width: 168px;
  height: 330px;
  border-radius: 26px;
  background: #fff;
  border: 6px solid var(--navy);
  box-shadow: var(--shadow);
  padding: 10px;
  position: absolute;
  transition: transform .3s;
}
.phone:hover { transform: translateY(-8px); }
.phone-screen {
  height: 100%;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff7ef 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.app-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; font-weight: 700;
  margin-bottom: 10px;
}
.phone-a .app-icon { background: linear-gradient(135deg, var(--primary), #ffb056); }
.phone-b .app-icon { background: linear-gradient(135deg, #2b6cf6, #6aa1ff); }
.phone-c .app-icon { background: linear-gradient(135deg, #16a37b, #4fd1a5); }
.app-name { font-size: 16px; font-weight: 600; color: var(--navy); }
.app-role { font-size: 12px; color: var(--text-light); }

.phone-a { transform: rotate(-10deg) translateX(-110px); z-index: 1; }
.phone-b { transform: translateY(-28px); z-index: 3; height: 356px; }
.phone-c { transform: rotate(10deg) translateX(110px); z-index: 2; }
.phone-a:hover { transform: rotate(-10deg) translateX(-110px) translateY(-8px); }
.phone-c:hover { transform: rotate(10deg) translateX(110px) translateY(-8px); }

/* ===== 通用区块 ===== */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head h2 {
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-head p { color: var(--text-light); font-size: 16px; }

/* ===== 产品卡片 ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.product-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  color: #fff;
  font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-tenant { background: linear-gradient(135deg, var(--primary), #ffb056); }
.icon-agent { background: linear-gradient(135deg, #2b6cf6, #6aa1ff); }
.icon-owner { background: linear-gradient(135deg, #16a37b, #4fd1a5); }

.product-top h3 { font-size: 20px; color: var(--navy); }
.tag {
  display: inline-block;
  margin-top: 2px;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
}
.tag-tenant { background: rgba(255, 122, 26, .12); color: var(--primary-dark); }
.tag-agent { background: rgba(43, 108, 246, .12); color: #2b6cf6; }
.tag-owner { background: rgba(22, 163, 123, .12); color: #16a37b; }

.product-desc { color: var(--text-light); font-size: 14px; margin-bottom: 16px; }

.feature-list { margin-bottom: 22px; }
.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .7;
}

.product-actions { display: flex; gap: 10px; margin-top: auto; }

/* ===== 服务流程 ===== */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.flow-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  border-top: 3px solid var(--primary);
}
.flow-step {
  font-size: 26px;
  font-weight: 700;
  color: rgba(255, 122, 26, .35);
  display: block;
  margin-bottom: 8px;
}
.flow-item h4 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.flow-item p { font-size: 14px; color: var(--text-light); }

/* ===== 核心优势 ===== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.advantage-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background .3s, transform .3s;
}
.advantage-card:hover { background: #fff; transform: translateY(-5px); box-shadow: var(--shadow); }
.advantage-card h4 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--text-light); }

/* ===== 关于我们 ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 46px;
  align-items: start;
}
.about-text h2 { font-size: 32px; color: var(--navy); margin-bottom: 18px; }
.about-text p { color: var(--text-light); margin-bottom: 14px; }
.about-list { margin-top: 20px; }
.about-list li {
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.about-list span {
  display: inline-block;
  width: 90px;
  color: var(--text-light);
  font-size: 13px;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
}
.about-card h3 { font-size: 19px; color: var(--navy); }
.en-name { font-size: 12px; color: var(--text-light); margin: 6px 0 20px; line-height: 1.6; }
.about-card dt { font-size: 13px; color: var(--text-light); margin-top: 14px; }
.about-card dd { font-size: 15px; color: var(--text); }

/* ===== 联系我们 ===== */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-item {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.contact-item h4 { font-size: 15px; color: var(--navy); }
.contact-item p { font-size: 15px; color: var(--text-light); }
.tip { font-size: 12px; color: #b0b6c0; margin-top: 10px; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, .12);
}
.field textarea { resize: vertical; }
.form-tip { font-size: 13px; margin-top: 10px; min-height: 20px; text-align: center; }
.form-tip.ok { color: #16a37b; }
.form-tip.err { color: #e5484d; }

/* ===== 页脚 ===== */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 60px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer .logo-mark { background: linear-gradient(135deg, var(--primary), #ffb056); }
.footer .logo-text strong { color: #fff; }
.footer .logo-text em { color: rgba(255, 255, 255, .5); }
.footer-brand p { font-size: 13px; margin-top: 16px; line-height: 1.8; }
.footer-links h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-links a { display: block; font-size: 13px; margin-bottom: 8px; transition: color .25s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}

/* ===== 动画 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; order: -1; }
  .hero h1 { font-size: 36px; }
  .product-grid { grid-template-columns: 1fr; }
  .flow, .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(20, 33, 61, .08);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid #f1f3f7; }
  .hero { padding: 110px 0 70px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 24px; }
  .phone { width: 128px; height: 260px; }
  .phone-b { height: 282px; }
  .phone-a { transform: rotate(-10deg) translateX(-84px); }
  .phone-c { transform: rotate(10deg) translateX(84px); }
  .phone-a:hover { transform: rotate(-10deg) translateX(-84px); }
  .phone-c:hover { transform: rotate(10deg) translateX(84px); }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 26px; }
  .flow, .advantage-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
