/* ============================================================
   Joyviewsemi · 深圳市早为微电子有限公司 官网样式
   设计基调：半导体蓝 + 能量绿，深色科技感 + 浅色内容区
   ============================================================ */
:root {
  --navy-900: #060d1a;
  --navy-800: #0a1628;
  --navy-700: #10203a;
  --navy-600: #1a3050;
  --brand: #16e0a4;          /* 能量绿 */
  --brand-deep: #0bb37f;
  --accent: #3d8bff;         /* 科技蓝 */
  --ink-900: #16233a;
  --ink-600: #4a5b74;
  --ink-400: #7d8ba1;
  --line: #e3e9f2;
  --bg-soft: #f4f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 22, 40, .08);
  --shadow-lg: 0 18px 50px rgba(10, 22, 40, .14);
  --max-w: 1180px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(6, 13, 26, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s;
}
.nav-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo-mark {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  background: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,.25);
  display: grid; place-items: center; overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-text { line-height: 1.25; }
.logo-text strong { display: block; font-size: 17px; letter-spacing: .5px; }
.logo-text span { display: block; font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: 1px; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  color: rgba(255, 255, 255, .78); font-size: 15px;
  padding: 8px 16px; border-radius: 8px; transition: all .25s;
}
.nav-menu a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-menu a.active { color: var(--brand); }
.nav-cta {
  margin-left: 12px; padding: 9px 22px !important;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep)) !important;
  color: var(--navy-900) !important; font-weight: 600; border-radius: 999px !important;
}
.nav-cta:hover { filter: brightness(1.08); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- 通用板块 ---------- */
main { padding-top: var(--header-h); }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--navy-800); color: var(--white); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--brand-deep); text-transform: uppercase; margin-bottom: 12px;
}
.section-dark .sec-tag { color: var(--brand); }
.sec-title { font-size: 34px; font-weight: 800; letter-spacing: .5px; line-height: 1.35; }
.sec-sub { margin-top: 14px; color: var(--ink-600); font-size: 16px; }
.section-dark .sec-sub { color: rgba(255, 255, 255, .65); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: all .25s; cursor: pointer; border: 0;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: var(--navy-900); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22, 224, 164, .35); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .35); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 75% -10%, rgba(61, 139, 255, .28), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(22, 224, 164, .18), transparent 55%),
              var(--navy-900);
  color: var(--white);
  padding: 120px 0 130px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--brand); font-weight: 600;
  border: 1px solid rgba(22, 224, 164, .4); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 24px; background: rgba(22, 224, 164, .08);
}
.hero-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.hero h1 { font-size: 46px; line-height: 1.28; font-weight: 800; letter-spacing: 1px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin-top: 20px; font-size: 17px; color: rgba(255, 255, 255, .72); max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 560px; }
.hero-stats b { display: block; font-size: 30px; font-weight: 800; color: var(--brand); font-family: "DIN Alternate", "Arial Narrow", Arial; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .55); }

/* Hero 右侧芯片示意卡 */
.chip-card {
  position: relative; border-radius: 20px; padding: 36px 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px);
}
.chip-card h3 { font-size: 18px; margin-bottom: 6px; }
.chip-card .chip-brand { font-size: 13px; color: var(--brand); letter-spacing: 2px; margin-bottom: 22px; }
.pin-row { display: flex; gap: 8px; margin-bottom: 14px; }
.pin { flex: 1; height: 10px; border-radius: 3px; background: rgba(255,255,255,.14); }
.pin.on { background: linear-gradient(90deg, var(--brand), var(--accent)); box-shadow: 0 0 12px rgba(22,224,164,.5); }
.chip-body {
  border-radius: 12px; padding: 20px;
  background: rgba(6, 13, 26, .55); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px; color: rgba(255, 255, 255, .75);
}
.chip-body li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.chip-body li::before { content: "▸"; color: var(--brand); font-size: 11px; }
.chip-float {
  position: absolute; right: -16px; bottom: -18px;
  background: var(--navy-800); border: 1px solid rgba(22, 224, 164, .45);
  border-radius: 12px; padding: 12px 18px; font-size: 13px; font-weight: 700; color: var(--brand);
  box-shadow: var(--shadow-lg);
}

/* ---------- 业务卡片 ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .3s; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(22,224,164,.14), rgba(61,139,255,.14));
  color: var(--brand-deep); font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 17.5px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--ink-600); }
.card .card-watts { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .5px; }

/* ---------- 优势数字带 ---------- */
.feature-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { text-align: center; padding: 30px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.feature-item b { font-size: 26px; color: var(--brand); display: block; margin-bottom: 6px; }
.feature-item span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- 合作伙伴 ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.brand-item {
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  display: grid; place-items: center; height: 86px;
  font-weight: 700; color: var(--ink-600); font-size: 15px; letter-spacing: .5px;
  transition: all .25s; text-align: center; padding: 8px;
}
.brand-item:hover { color: var(--brand-deep); border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-item small { display: block; font-weight: 400; font-size: 11px; color: var(--ink-400); margin-top: 2px; }

/* ---------- 关于页横幅 ---------- */
.page-banner {
  background: radial-gradient(900px 400px at 80% -20%, rgba(61, 139, 255, .3), transparent 60%),
              radial-gradient(700px 350px at 0% 120%, rgba(22, 224, 164, .16), transparent 55%),
              var(--navy-900);
  color: var(--white); padding: 84px 0 70px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 38px; font-weight: 800; }
.page-banner p { margin-top: 12px; color: rgba(255,255,255,.65); max-width: 640px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.crumbs a:hover { color: var(--brand); }

/* ---------- 关于页内容 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .prose p { margin-bottom: 16px; color: var(--ink-600); font-size: 15.5px; }
.split .prose h2 { font-size: 28px; margin-bottom: 18px; }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand), var(--accent)); border-radius: 2px; opacity: .35; }
.timeline li { position: relative; padding: 0 0 30px 22px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--brand); }
.timeline b { display: block; font-size: 16px; color: var(--ink-900); }
.timeline span { font-size: 14px; color: var(--ink-600); }

.ip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ip-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.ip-card .k { font-size: 13px; color: var(--brand-deep); font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.ip-card p { font-size: 14px; color: var(--ink-600); }
.ip-card h4 { font-size: 16px; margin-bottom: 8px; }

/* ---------- 方案页 ---------- */
.plan-list { display: grid; gap: 22px; }
.plan {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 22px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; transition: all .3s;
}
.plan:hover { box-shadow: var(--shadow-lg); border-color: rgba(22, 224, 164, .5); transform: translateY(-3px); }
.plan .num {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: var(--brand); font-weight: 800; font-size: 20px;
}
.plan h3 { font-size: 18px; margin-bottom: 8px; }
.plan p { font-size: 14.5px; color: var(--ink-600); }
.plan .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.plan .tags span { font-size: 12px; padding: 3px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-600); border: 1px solid var(--line); }
.plan .chipset { font-size: 12.5px; color: var(--accent); font-weight: 700; white-space: nowrap; padding-top: 6px; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--navy-800); color: var(--white); font-weight: 600; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 600; color: var(--ink-900); width: 220px; }
.spec-table td.hl { color: var(--brand-deep); font-weight: 700; }

.callout {
  border-left: 4px solid var(--brand); background: rgba(22, 224, 164, .07);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; font-size: 14.5px; color: var(--ink-600);
}
.callout b { color: var(--ink-900); }

/* ---------- 新闻页 ---------- */
.news-list { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
.news-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; transition: all .3s;
}
.news-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.news-date { text-align: center; border-right: 1px solid var(--line); padding-right: 22px; }
.news-date b { display: block; font-size: 26px; color: var(--brand-deep); line-height: 1.2; }
.news-date span { font-size: 12.5px; color: var(--ink-400); }
.news-item h3 { font-size: 17px; margin-bottom: 8px; }
.news-item p { font-size: 14px; color: var(--ink-600); }
.news-item .src { margin-top: 10px; font-size: 12px; color: var(--ink-400); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-line { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .icon { width: 44px; height: 44px; flex: none; border-radius: 11px; background: linear-gradient(135deg, rgba(22,224,164,.14), rgba(61,139,255,.14)); display: grid; place-items: center; font-size: 19px; }
.contact-line b { display: block; font-size: 15px; }
.contact-line p { font-size: 14px; color: var(--ink-600); }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 15px; font-size: 14.5px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg-soft);
  transition: border .25s, background .25s; color: var(--ink-900);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 0; border-color: var(--brand); background: var(--white); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- CTA 带 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700) 55%, rgba(11, 179, 127, .35) 110%);
  border-radius: 22px; padding: 56px 60px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(22,224,164,.25), transparent 70%); }
.cta-band h2 { font-size: 28px; }
.cta-band p { margin-top: 8px; color: rgba(255,255,255,.65); font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-grid h4 { color: var(--white); font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--brand); }
.footer-brand p { margin-top: 14px; font-size: 13px; line-height: 1.9; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 返回顶部 & 滚动显现 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 46px; height: 46px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--navy-800); color: var(--brand); font-size: 18px;
  opacity: 0; transform: translateY(16px); transition: all .35s; box-shadow: var(--shadow-lg);
}
.back-top.show { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cards-grid, .cards-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .feature-band { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .chip-card { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .hero { padding: 76px 0 88px; }
  .hero h1 { font-size: 31px; }
  .sec-title { font-size: 25px; }
  .cards-grid, .cards-grid.cols-3, .ip-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 44px 1fr; }
  .plan .chipset { grid-column: 2; padding-top: 0; }
  .news-item { grid-template-columns: 1fr; }
  .news-date { display: flex; gap: 8px; align-items: baseline; text-align: left; border-right: 0; padding: 0 0 8px; border-bottom: 1px dashed var(--line); }
  .news-date b { font-size: 20px; }
  .cta-band { padding: 38px 28px; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(6, 13, 26, .98); padding: 16px 22px 26px;
    transform: translateY(-130%); transition: transform .35s ease; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-menu.open { transform: none; }
  .nav-menu a { padding: 13px 12px; font-size: 16px; }
  .nav-cta { margin: 10px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats b { font-size: 22px; }
}
