/* ============================================================
   ANENG FANS | 上海谙能风机有限公司 - Global Styles
   Industrial B2B website, English, responsive
   ============================================================ */

:root {
  --blue: #0b4da2;
  --blue-dark: #083a7a;
  --blue-light: #e8f0fb;
  --accent: #ffb400;
  --ink: #16283d;
  --muted: #5a6b80;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --shadow: 0 10px 30px rgba(9, 40, 80, .08);
  --radius: 14px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
h3 { font-size: 22px; }
.lead { font-size: 19px; color: var(--muted); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-pad { padding: 84px 0; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  transition: all .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), #2f7ad4);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 20px;
}
.brand-name { font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-light); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    padding: 14px 6%;
  }
  .nav-menu.open { display: flex; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(47,122,212,.28), transparent 60%),
    linear-gradient(135deg, #081f3d, #0b4da2);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -100px; bottom: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,0,.16), transparent 65%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px; border-radius: 40px;
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: rgba(255,255,255,.82); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.stat b { font-size: 30px; display: block; color: var(--accent); }
.stat span { font-size: 13px; color: rgba(255,255,255,.78); }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 80px; }
}

/* ---------- Cards / Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 26px;
}
.card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
  display: block;
  background: #eef;
}
.card-media + h3 { margin-top: 0; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Feature / band ---------- */
.band { background: var(--bg-soft); }
.band-blue { background: linear-gradient(135deg, #081f3d, #0b4da2); color: #fff; }
.band-blue p, .band-blue .muted { color: rgba(255,255,255,.8); }

/* ---------- Product types ---------- */
.type-ribbon { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0; }
.type-pill {
  padding: 10px 22px;
  border-radius: 40px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.type-pill:hover { border-color: var(--blue); color: var(--blue); }
.type-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.product-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 22px;
  transition: box-shadow .25s;
}
.product-row:hover { box-shadow: var(--shadow); }
.product-visual {
  height: 160px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-light), #dbe9fb);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px;
}
.product-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.product-row h3 { margin-bottom: 6px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 30px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .product-row { grid-template-columns: 1fr; }
}

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--blue); color: #fff; font-weight: 600; }
.spec-table tr:nth-child(even) td { background: var(--bg-soft); }

/* ---------- Model showcase ---------- */
.model-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.model-gallery .model-main {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
}
.model-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.model-thumbs img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 10px; border: 2px solid transparent; cursor: pointer;
  background: #fff; transition: border-color .2s ease, transform .2s ease;
}
.model-thumbs img:hover { border-color: var(--blue); transform: translateY(-2px); }
.model-thumbs img.active { border-color: var(--blue); }
.model-spec h3 { margin-bottom: 16px; }
.model-spec .spec-table td:first-child { white-space: nowrap; font-weight: 600; color: var(--ink); }
@media (max-width: 800px) { .model-grid { grid-template-columns: 1fr; } }

/* ---------- Applications ---------- */
.app-item {
  text-align: center;
  padding: 34px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s;
}
.app-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.app-item .icon { font-size: 42px; margin-bottom: 14px; }
.app-item .app-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 14px; display: block; }
.app-item h4 { margin-bottom: 6px; }

/* ---------- Timeline / about ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; }
.step .num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.step h4 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .steps { grid-template-columns: repeat(2,1fr); } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 70px 0; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 560px; margin: 0 auto 28px; color: rgba(255,255,255,.85); }

/* ---------- Footer ---------- */
.site-footer { background: #0a1a2e; color: rgba(255,255,255,.75); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; font-size: 13px; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner) ---------- */
.page-hero {
  background: linear-gradient(135deg, #081f3d, #0b4da2);
  color: #fff;
  padding: 64px 0;
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 640px; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 6px; color: rgba(255,255,255,.4); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,77,162,.12);
}
.form-group.full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info .ci-icon { font-size: 22px; color: var(--blue); }
@media (max-width: 800px) { .contact-cols { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.muted { color: var(--muted); }
.flex { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.in { opacity: 1; transform: none; }
