/* =========================================================
   Chinyo Power · Global Stylesheet
   风格：克隆自 reptbattero.com（瑞浦兰钧）· 配 Chinyo logo 绿
   ========================================================= */

:root {
  --blue: #0739A1;
  --blue-2: #0056A7;
  --blue-deep: #002A78;
  --blue-light: #6EC1E4;
  --blue-bg: #DCF5FF;
  --blue-pale: #F0F8FF;
  --green: #0FA958;        /* Chinyo logo 绿（点缀色） */
  --green-light: #E8F5E9;
  --text: #1A1A1A;
  --text-2: #4A4A4A;
  --text-3: #6B7280;
  --line: #E6E9EF;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --shadow: 0 6px 24px rgba(7,57,161,.08);
  --shadow-lg: 0 12px 40px rgba(7,57,161,.12);
  --radius: 12px;
  --container: 1200px;
  --font: "Noto Sans", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; transition: .2s; }
a:hover { color: var(--blue-2); }
img { max-width: 100%; display: block; }

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

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img, .brand svg { height: 38px; width: auto; }
.brand .tag { display: none; }

.nav-menu { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 10px 18px; color: var(--text); font-weight: 500; font-size: 15px; border-radius: 8px; transition: .2s; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--blue); background: var(--blue-pale); }
.nav-menu .has-sub > a::after { content: " ▾"; font-size: 10px; opacity: .6; }
.nav-menu .sub { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav-menu .has-sub:hover .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub a { display: block; padding: 8px 14px; font-size: 14px; color: var(--text-2); border-radius: 6px; }
.nav-menu .sub a:hover { background: var(--blue-pale); color: var(--blue); }

.nav-cta { background: var(--blue); color: #fff !important; padding: 10px 22px; border-radius: 50px; font-weight: 600; transition: .2s; }
.nav-cta:hover { background: var(--blue-2); color: #fff; }

.menu-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--text); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; height: 620px; color: #fff; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(7,57,161,.78) 0%, rgba(7,57,161,.45) 60%, rgba(0,42,120,.2) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero .eyebrow { display: inline-block; background: var(--green); color: #fff; padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 18px; }
.hero h1 { font-size: 55px; line-height: 1.15; font-weight: 800; margin-bottom: 20px; letter-spacing: -.5px; }
.hero p { font-size: 18px; opacity: .95; margin-bottom: 32px; max-width: 560px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Buttons
   ========================================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 15px; cursor: pointer; transition: .2s; border: 0; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7,57,161,.25); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.15); color: #fff; border-color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #0c8a47; color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* =========================================================
   Section helpers
   ========================================================= */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { display: inline-block; color: var(--green); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: 43px; font-weight: 700; color: var(--blue); line-height: 1.2; margin-bottom: 16px; }
.section-head p { color: var(--text-2); font-size: 17px; }

.section-soft { background: var(--bg-soft); }
.section-blue { background: linear-gradient(180deg, var(--blue-pale) 0%, #fff 100%); }
.section-dark { background: var(--blue-deep); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark p { color: #fff; }
.section-dark .section-head .eyebrow { color: var(--green); }

/* =========================================================
   Solutions cards
   ========================================================= */
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.solution-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; cursor: pointer; }
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.solution-card .cover { height: 200px; overflow: hidden; position: relative; background: var(--blue-pale); }
.solution-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.solution-card:hover .cover img { transform: scale(1.05); }
.solution-card .body { padding: 26px 24px; }
.solution-card h3 { font-size: 20px; color: var(--blue); margin-bottom: 10px; }
.solution-card p { color: var(--text-2); font-size: 14.5px; margin-bottom: 16px; }
.solution-card .more { color: var(--blue); font-weight: 600; font-size: 14px; }

/* =========================================================
   Stats band
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .num { font-size: 56px; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 8px; font-family: var(--font-head); }
.stat-item .label { font-size: 16px; color: rgba(255,255,255,.85); font-weight: 500; }

/* =========================================================
   Product cards
   ========================================================= */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; border: 1px solid var(--line); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.product-card .cover { height: 220px; overflow: hidden; background: var(--blue-pale); }
.product-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 26px; }
.product-card .tag { display: inline-block; background: var(--blue-pale); color: var(--blue); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.product-card h3 { font-size: 22px; color: var(--blue); margin-bottom: 10px; }
.product-card .desc { color: var(--text-2); font-size: 14.5px; margin-bottom: 16px; }
.product-card .specs { display: flex; gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.product-card .specs div { font-size: 13px; color: var(--text-3); }
.product-card .specs strong { display: block; color: var(--blue); font-size: 16px; font-weight: 700; }

/* =========================================================
   Technology / Features
   ========================================================= */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tech-card { padding: 32px 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: .3s; }
.tech-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.tech-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-pale); color: var(--blue); display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.tech-card h3 { font-size: 19px; color: var(--blue); margin-bottom: 10px; }
.tech-card p { color: var(--text-2); font-size: 14.5px; }

/* =========================================================
   Partner / client logos
   ========================================================= */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: center; }
.partner-card { background: #fff; border-radius: 10px; padding: 22px; display: grid; place-items: center; min-height: 100px; border: 1px solid var(--line); transition: .2s; }
.partner-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow); }
.partner-card img { max-height: 50px; max-width: 80%; object-fit: contain; filter: grayscale(20%); transition: .2s; }
.partner-card:hover img { filter: grayscale(0%); }

/* =========================================================
   News cards
   ========================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .3s; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card .cover { height: 200px; overflow: hidden; background: var(--blue-pale); position: relative; }
.news-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.news-card:hover .cover img { transform: scale(1.05); }
.news-card .date { position: absolute; top: 16px; left: 16px; background: rgba(7,57,161,.92); color: #fff; padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.news-card .body { padding: 24px 26px; }
.news-card .tag { display: inline-block; color: var(--green); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.news-card h3 { font-size: 19px; color: var(--blue); margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: var(--text-2); font-size: 14px; }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 100%); color: #fff; border-radius: 16px; padding: 64px 56px; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: 32px; margin-bottom: 8px; }
.cta-banner p { opacity: .9; font-size: 16px; max-width: 540px; }

/* =========================================================
   Page header (for inner pages)
   ========================================================= */
.page-header { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 100%); color: #fff; padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-header::before { content: ""; position: absolute; right: -10%; top: -20%; width: 50%; height: 160%; background: radial-gradient(circle, rgba(15,169,88,.2), transparent 60%); }
.page-header .container { position: relative; z-index: 1; }
.page-header .eyebrow { display: inline-block; background: var(--green); padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.page-header h1 { font-size: 48px; font-weight: 800; margin-bottom: 14px; line-height: 1.15; }
.page-header p { font-size: 18px; opacity: .92; max-width: 640px; }

/* =========================================================
   Specs table
   ========================================================= */
.spec-table-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-top: 56px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th { background: var(--blue); color: #fff; padding: 16px 20px; text-align: left; font-size: 14px; font-weight: 600; }
.spec-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--text-2); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tr:hover td { background: var(--blue-pale); }
.spec-table td:first-child { font-weight: 600; color: var(--blue); }

/* =========================================================
   About page specific
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-grid .img-wrap img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.about-grid h2 { font-size: 36px; color: var(--blue); margin-bottom: 18px; }
.about-grid p { color: var(--text-2); margin-bottom: 14px; font-size: 15.5px; }
.value-list { margin-top: 24px; display: grid; gap: 16px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .check { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info { display: grid; gap: 22px; }
.info-card { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start; }
.info-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-pale); color: var(--blue); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.info-card h4 { color: var(--blue); margin-bottom: 4px; font-size: 15px; }
.info-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

.form-card { background: #fff; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h3 { color: var(--blue); font-size: 24px; margin-bottom: 8px; }
.form-card p { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: 14px; transition: .2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(7,57,161,.1); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.85); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; }
.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col a:hover { color: var(--green); }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo img, .footer-brand .logo svg { height: 38px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 340px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .2s; }
.footer-social a:hover { background: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.55); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .section-head h2 { font-size: 34px; }
  .solutions-grid, .stats, .product-grid, .tech-grid, .partners, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .nav-menu.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-menu .sub { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; padding-left: 16px; }
  .hero { height: 500px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  section { padding: 56px 0; }
  .section-head h2 { font-size: 28px; }
  .solutions-grid, .product-grid, .tech-grid, .news-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 24px; }
  .page-header h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 32px; }
}
