@charset "utf-8";
/*============================================================
   杭州东恩科技有限公司 官网样式
   设计风格：科技感、深蓝主色、青蓝点缀、留白充足
   主色取自 LOGO：蓝 #1155cc / 绿 #16a34a
   ============================================================= */

:root {
  --blue: #1155cc;
  --blue-dark: #0d3f9e;
  --blue-light: #3b82f6;
  --green: #16a34a;
  --green-light: #22c55e;

  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fd;

  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 23, 42, .07);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .12);
  --max: 1200px;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-light); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

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

/* ============ 顶部导航 ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; height: 72px; gap: 36px; }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo img { width: 42px; height: 42px; object-fit: contain; }
.logo-txt b { display: block; font-size: 18px; color: var(--ink); letter-spacing: .5px; line-height: 1.3; }
.logo-txt span { display: block; font-size: 11px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 18px; border-radius: 8px; color: var(--text);
  font-size: 15px; font-weight: 500;
}
.nav a:hover { background: var(--bg-soft); color: var(--blue); }
.nav a.on { background: var(--blue); color: #fff; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 20px; border-radius: 8px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #15803d; color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 13px 30px; font-size: 15px; }

/* ============ 首屏 ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #061637 0%, #0b2a63 45%, #0e3a8c 100%);
  color: #fff; padding: 92px 0 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 380px at 82% 8%, rgba(34, 197, 94, .16), transparent 65%),
    radial-gradient(680px 380px at 10% 92%, rgba(59, 130, 246, .28), transparent 62%);
}
/* 网格纹理，增强科技感 */
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000, transparent 78%);
}
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .19);
  font-size: 13px; color: #cfe0ff; margin-bottom: 22px;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }

.hero h1 { font-size: 44px; line-height: 1.24; font-weight: 700; letter-spacing: -.5px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #6ee7a8; }
.hero p.lead { font-size: 17px; color: #b9c9e8; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 46px; }
.hero-stat { padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); }
.hero-stat b { display: block; font-size: 30px; font-weight: 700; color: #fff; letter-spacing: -.5px; }
.hero-stat span { font-size: 13px; color: #a8bcdf; }

/* 右侧服务卡片 */
.hero-card {
  background: rgba(255, 255, 255, .085);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 18px; padding: 26px;
  backdrop-filter: blur(14px);
}
.hero-card h3 { font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.hero-card h3 i { width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--green-light), var(--blue-light)); }
.hero-item { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hero-item:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-item .ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; font-size: 17px;
  background: rgba(255, 255, 255, .1);
}
.hero-item b { display: block; font-size: 14.5px; color: #fff; font-weight: 600; }
.hero-item span { font-size: 12.5px; color: #9fb4d8; }

/* ============ 通用区块 ============ */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }

.sec-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.sec-head .tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: rgba(17, 85, 204, .09); color: var(--blue);
  font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 14px;
}
.sec-head h2 { font-size: 32px; color: var(--ink); font-weight: 700; letter-spacing: -.4px; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 15.5px; }

/* ============ 卡片网格 ============ */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: all .25s;
}
.card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.card-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(17, 85, 204, .1), rgba(34, 197, 94, .1));
}
.card h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; font-weight: 650; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 500; }

/* ============ 特性条 ============ */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { text-align: center; padding: 26px 18px; }
.feature .ico {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 25px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff;
  box-shadow: 0 8px 22px rgba(17, 85, 204, .26);
}
.feature b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.feature span { font-size: 13.5px; color: var(--muted); }

/* ============ 流程 ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step .no {
  width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 19px; font-weight: 700;
  background: #fff; color: var(--blue);
  border: 2px solid var(--blue); position: relative; z-index: 2;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; left: 50%; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green-light)); opacity: .34;
}
.step b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 7px; }
.step span { font-size: 13.5px; color: var(--muted); }

/* ============ 关于 ============ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about h2 { font-size: 30px; color: var(--ink); margin-bottom: 18px; line-height: 1.35; }
.about p { color: var(--muted); margin-bottom: 15px; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.about-list div { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text); }
.about-list i { color: var(--green); font-style: normal; font-weight: 700; }

.about-visual {
  border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.about-visual .bar { display: flex; gap: 6px; padding: 11px 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.about-visual .bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.about-visual .bar i:first-child { background: #f87171; }
.about-visual .bar i:nth-child(2) { background: #fbbf24; }
.about-visual .bar i:nth-child(3) { background: #34d399; }
.about-visual .body { padding: 24px; font-size: 13.5px; }
.metric { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.metric div { background: var(--bg-soft); border-radius: 10px; padding: 15px; text-align: center; }
.metric b { display: block; font-size: 25px; color: var(--blue); font-weight: 700; }
.metric span { font-size: 12.5px; color: var(--muted); }

/* ============ 产品服务（读数据库） ============ */
.cat-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.cat-tabs a {
  padding: 8px 20px; border-radius: 999px; font-size: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--text);
}
.cat-tabs a.on, .cat-tabs a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.prod { display: flex; flex-direction: column; height: 100%; }
.prod-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.prod-top .ico {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, var(--blue), #2563eb); color: #fff;
}
.prod-top .code { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.prod-top h3 { font-size: 17px; color: var(--ink); margin: 2px 0 0; }
.prod .sub { font-size: 13px; color: var(--blue); margin-bottom: 12px; }
.prod p { font-size: 14px; color: var(--muted); flex: 1; }
.prod .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.prod .tags span { font-size: 12px; padding: 3px 10px; border-radius: 5px; background: var(--bg-soft); color: var(--muted); }

/* ============ 表单 ============ */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 38px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 7px; font-weight: 500; }
.field label i { color: #dc2626; font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; font-size: 14.5px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(17, 85, 204, .11);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 12px 16px; border-radius: 9px; font-size: 14px; margin-bottom: 20px; }
.alert-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-ok { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-tip { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }

/* ============ 认证页 ============ */
.auth { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 56px 20px;
        background: linear-gradient(135deg, #061637, #0b2a63); }
.auth-box { width: 100%; max-width: 430px; }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head img { width: 60px; height: 60px; margin: 0 auto 14px; object-fit: contain; }
.auth-head h1 { font-size: 23px; color: #fff; margin-bottom: 6px; }
.auth-head p { font-size: 14px; color: #a8bcdf; }
.auth .form-card { padding: 32px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 14px; color: #a8bcdf; }
.auth-foot a { color: #6ee7a8; font-weight: 500; }
.demo-tip { margin-top: 18px; padding: 13px 16px; border-radius: 9px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; color: #b9c9e8; }
.demo-tip b { color: #fff; }

/* ============ 表格 ============ */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 13px 15px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-soft); color: var(--ink); font-weight: 600; font-size: 13.5px; }
.table tr:hover td { background: rgba(17, 85, 204, .025); }
.table .empty { text-align: center; color: var(--muted); padding: 46px 0; }

/* 状态标签 */
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.pill-blue { background: rgba(17, 85, 204, .1); color: var(--blue); }
.pill-green { background: #f0fdf4; color: #15803d; }
.pill-gray { background: #f1f5f9; color: var(--muted); }

/* ============ 页面头部 ============ */
.page-head {
  background: linear-gradient(135deg, #061637, #0e3a8c);
  color: #fff; padding: 58px 0; position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; inset: 0; opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 52px 52px;
}
.page-head-in { position: relative; z-index: 2; }
.page-head h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.page-head p { color: #b9c9e8; font-size: 15px; }

.crumb { font-size: 13.5px; color: #93a9cc; margin-bottom: 14px; }
.crumb a { color: #93a9cc; }
.crumb a:hover { color: #fff; }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item {
  display: flex; gap: 15px; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: all .2s;
}
.info-item:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.info-item .ico {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 19px;
  background: linear-gradient(135deg, rgba(17,85,204,.1), rgba(34,197,94,.1));
}
.info-item b { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 3px; }
.info-item span { font-size: 14px; color: var(--muted); word-break: break-all; }

.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  height: 300px; background: var(--bg-soft);
  display: grid; place-items: center; text-align: center; color: var(--muted); padding: 26px;
}

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { padding: 18px 22px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 14px; }
.faq-q:hover { color: var(--blue); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ============ 页脚 ============ */
.footer { background: #071130; color: #93a9cc; padding: 56px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; background: #fff; border-radius: 8px; padding: 3px; }
.footer-brand b { color: #fff; font-size: 17px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #93a9cc; font-size: 14px; }
.footer-links a:hover { color: #6ee7a8; }
.footer-contact li { margin-bottom: 11px; display: flex; gap: 9px; }
.footer-contact span { color: #6ee7a8; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 20px 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 13px; color: #64748b;
}

/* ============ 响应式 ============ */
@media (max-width: 1000px) {
  .hero-in, .about, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .grid-4, .features { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero h1 { font-size: 34px; }
  .nav { display: none; }
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .sec-head h2 { font-size: 25px; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 27px; }
  .hero-stats { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .features, .steps, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .form-card { padding: 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* 动画 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .6s ease both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }
