:root {
  --navy: #06223a;
  --navy-2: #0b3558;
  --blue: #0e6bbd;
  --blue-2: #1b88d2;
  --teal: #1fa7b8;
  --accent: #ff9f1c;
  --accent-dark: #d97800;
  --text: #10243b;
  --muted: #5e7085;
  --line: #dbe5ef;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(4, 26, 44, .12);
  --radius: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 28, 49, .98);
  box-shadow: 0 4px 22px rgba(0,0,0,.18);
}
.nav-wrap {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-size: 40px;
  line-height: 1;
  color: #fff;
  font-weight: 900;
  letter-spacing: 1px;
}
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 28px;
}
.site-nav a {
  color: #eaf5ff;
  font-size: 14px;
  font-weight: 700;
  opacity: .95;
}
.site-nav a::after { content: "▼"; margin-left: 5px; font-size: 10px; opacity: .8; }
.site-nav a:nth-last-child(-n+2)::after { content: ""; }
.nav-toggle {
  display: none;
  margin-left: auto;
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-outline-light {
  color: #fff;
  border: 2px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
}
.nav-cta { padding: 12px 19px; white-space: nowrap; }

/* HERO */
.hero {
  position: relative;
  min-height: 455px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg,
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url("/skin/oilcf/banner.jpg");
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2,16,32,.92) 0%, rgba(4,28,48,.75) 38%, rgba(4,28,48,.25) 75%, rgba(4,28,48,.08) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 70px 0 104px; }
.hero-copy { max-width: 650px; color: #fff; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -1px;
}
.hero p {
  margin: 0 0 28px;
  max-width: 610px;
  color: #eff7ff;
  font-size: 17px;
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-badges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(2, 28, 48, .82);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,.18);
}
.badge-row {
  display: flex;
  gap: 20px;
  padding: 15px 0;
}
.pill {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 800;
}
.pill .icon { font-size: 18px; }

/* GENERAL */
.section { padding: 52px 0; }
.section-head { max-width: 680px; margin-bottom: 24px; }
.section-head.centered { text-align: center; margin-left: auto; margin-right: auto; }
h2 {
  margin: 0 0 2px;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -.3px;
}
.section-head p, .lead {
  color: var(--muted);
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

/* WHY */
.why { background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: start;
}
.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.media-card.large img { height: 420px; width: 100%; object-fit: cover; }
.why-copy h2 { max-width: 620px; }
.risk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 8px 0 8px;
}
.risk-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 4px;
  text-align: center;
  min-height: 178px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(4, 26, 44, .06);
}
.risk-icon { font-size: 42px; margin-bottom: 10px; }
.risk-card h3 {
  color: var(--navy);
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
}
.risk-card p { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.video-card {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 5px;
  background: #f8fbfd;
}
.video-card img { border-radius: 10px; height: 80px; object-fit: cover; }
.video-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  display: block;
  margin-bottom: 2px;
}
.video-card strong { display: block; color: var(--navy); line-height: 1.15; }
.video-card small { color: var(--muted); display: block; margin-top: 3px; }

/* PACKAGE */
.package { padding-top: 26px; background: linear-gradient(#fff 0%, #f9fcff 100%); }
.process-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr 18px);
  align-items: center;
  gap: 5px;
  margin: 24px 0 26px;
}
.process-strip div {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  background: #edf5fb;
  border: 1px solid #d6e7f4;
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
}
.process-strip i {
  font-style: normal;
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}
.process-strip i:last-child { display: none; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 25px rgba(4, 26, 44, .06);
}
.product-card img { width: 100%; height: 280px; object-fit: cover; }
.card-body { padding: 18px 16px 20px; }
.product-card h3 { margin: 0 0 5px; font-size: 20px; color: var(--navy); }
.product-card p { margin: 0 0 7px; color: var(--muted); font-weight: 700; font-size: 14px; }
.product-card small { color: var(--muted); font-size: 13px; font-weight: 700; }

/* SCENARIOS */
.scenarios { padding-top: 24px; padding-bottom: 34px; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.scenario-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 9px 20px rgba(4, 26, 44, .07);
}
.scenario-card img { height: 135px; width: 100%; object-fit: cover; }
.scenario-card h3 {
  text-align: center;
  margin: 0;
  padding: 12px 9px 14px;
  min-height: 58px;
  font-size: 14px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RECOMMENDED */
.recommended {
  background: var(--soft);
  padding-top: 40px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  box-shadow: var(--shadow);
  min-height: 410px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid rgba(255, 159, 28, .85); transform: translateY(-7px); }
.popular {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 900;
}
.price-card h3 { margin: 0 0 6px; color: var(--navy); font-size: 25px; }
.package-for { margin: 0 0 18px; color: var(--muted); font-weight: 700; }
.price-card ul { padding-left: 20px; margin: 0 0 22px; color: var(--text); font-weight: 700; }
.price-card li { margin: 8px 0; }
.price-card .btn { margin-top: auto; width: 100%; }
.package-note {
  margin: 26px auto 0;
  max-width: 960px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px 24px;
  color: var(--muted);
  font-weight: 700;
}

/* WHY JXY */
.why-jxy { background: #fff; }
.why-jxy-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr .82fr;
  gap: 30px;
  align-items: center;
}
.collage img { height: 420px; width: 100%; object-fit: cover; }
.benefit-list { display: grid; gap: 16px; }
.benefit { display: flex; gap: 12px; align-items: flex-start; }
.benefit span {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}
.benefit strong { display: block; color: var(--navy); font-size: 17px; }
.benefit p { margin: 3px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 145px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  box-shadow: 0 10px 25px rgba(4, 26, 44, .06);
  background: #fff;
}
.metric span { font-size: 40px; }
.metric strong { color: var(--navy); font-size: 20px; line-height: 1.2; }

/* FAQ */
.faq {
  background: #fff;
  padding-top: 28px;
}
.faq h2 { margin-bottom: 18px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
details {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 17px 20px;
  color: var(--navy);
  font-weight: 900;
  position: relative;
  font-size:14px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "▼";
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 18px;
  color: var(--blue);
}
details[open] summary::after { content: "▲"; }
details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* CTA */
.final-cta {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 58px 0;
}
.cta-bg {
  background-image: url("assets/cta-port-night.svg");
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,22,39,.95), rgba(5,34,58,.9));
}
.cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: center;
}
.cta-copy h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 45px);
  max-width: 560px;
}
.cta-copy p { color: #d7eaf7; max-width: 560px; font-weight: 600; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.contact-form label { display: block; }
.contact-form span {
  display: block;
  color: #d7eaf7;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 11px 12px;
  outline: none;
}
.contact-form textarea { min-height: 46px; resize: vertical; }
.btn-form {
  grid-column: 1 / -1;
  background: var(--blue);
  color: #fff;
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .site-nav { gap: 16px; }
  .why-grid,
  .why-jxy-grid,
  .cta-grid { grid-template-columns: 1fr; }
  .media-card.large img, .collage img { height: auto; }
  .scenario-grid { grid-template-columns: repeat(3, 1fr); }
  .process-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-strip i { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px;
    background: var(--navy);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .nav-cta { display: none; }
  .hero { min-height: 560px; }
  .badge-row { flex-wrap: wrap; }
  .risk-cards,
  .product-grid,
  .pricing-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .video-card { grid-template-columns: 110px 1fr; }
  .video-card .btn { grid-column: 1 / -1; width: 100%; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand { font-size: 34px; }
  .hero-content { padding-top: 54px; }
  .hero-actions .btn { width: 100%; }
  .scenario-grid { grid-template-columns: repeat(2, 1fr); }
  .process-strip { grid-template-columns: 1fr; }
  .product-card img { height: 280px; }
  .metric-grid { grid-template-columns: 1fr; }
}
.nav-close {
    display: none;
    margin-top:1rem;
    padding:6px 12px;
    border:1px solid #fff;
    background:transparent;
    color:#fff;
    font-size:18px;
    cursor:pointer;
}
@media(max-width:992px){
    .nav-close{display:block;}
}
/* 视频弹窗样式 */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
}
.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}
.modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  background: #000;
  padding: 10px;
}
.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  padding: 0 10px;
}
.iframe-wrap {
  width: 100%;
  padding-top: 56.25%; /* 16:9比例 */
  position: relative;
}
#youtubeIframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* 打开弹窗时显示 */
.video-modal.show {
  display: block;
}