/* ==========================================================
   HUEWINE — Module-page shared styles (used by every /products/* page)
   Same design tokens as home / product / about / contact
   ========================================================== */
:root {
  --hue-blue: #0a53be;
  --hue-blue-dark: #063c91;
  --hue-accent: #f57813;
  --hue-grey: #6c757d;
  --hue-bg: #f6f9ff;
  --hue-green: #15a04a;
}
body.page-module { font-family: 'Open Sans', system-ui, -apple-system, sans-serif; }

/* --- Hero --- */
body.page-module .module-hero {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0a1e3f 0%, #0a2c63 45%, #0a53be 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
body.page-module .module-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.16), transparent) 12% 25% / 500px 500px no-repeat,
    radial-gradient(closest-side, rgba(245,120,19,.16), transparent) 88% 75% / 480px 480px no-repeat;
  filter: blur(10px);
}
body.page-module .eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.7); padding: 6px 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px; margin-bottom: 22px;
}
body.page-module .eyebrow i { color: #7ab1ff; margin-right: 4px; }
body.page-module .module-hero h1 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700;
  line-height: 1.12; margin-bottom: 22px; letter-spacing: -.02em; color: #fff;
}
body.page-module .module-hero h1 .grad {
  background: linear-gradient(90deg, #7ab1ff, #c4d8ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
body.page-module .module-hero .lead {
  font-size: 1.08rem; line-height: 1.7; color: rgba(255,255,255,.85);
  margin-bottom: 28px; max-width: 720px; margin-left: auto; margin-right: auto;
}
body.page-module .hero-cta { display: inline-flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
body.page-module .hero-cta .btn-primary-cta {
  background: linear-gradient(135deg, #ff8a1f, #f57813); color: #fff;
  padding: 14px 28px; border-radius: 8px; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 24px rgba(245,120,19,.32);
  transition: transform .15s ease, box-shadow .15s ease;
}
body.page-module .hero-cta .btn-primary-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245,120,19,.42); color: #fff; }
body.page-module .hero-cta .btn-ghost { color: #fff; text-decoration: none; padding: 14px 22px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; font-weight: 600; transition: background .15s; }
body.page-module .hero-cta .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
body.page-module .pill-stats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
body.page-module .pill-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 100px; padding: 10px 20px; color: rgba(255,255,255,.92); font-size: .92rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
body.page-module .pill-stat i { color: #7ab1ff; }

/* --- Sections --- */
body.page-module .section-pad { padding: 80px 0; }
body.page-module .section-bg { background: var(--hue-bg); }
body.page-module .section-title { text-align: center; margin-bottom: 50px; }
body.page-module .section-title h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: #1a2238; margin-bottom: 14px; position: relative; display: inline-block; padding-bottom: 14px; }
body.page-module .section-title h2::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%) scaleX(0); width: 64px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--hue-blue), #3b82f6); transition: transform .8s cubic-bezier(.2,.7,.3,1); }
body.page-module .section-title h2.in-view::after { transform: translateX(-50%) scaleX(1); }
body.page-module .section-title p { color: var(--hue-grey); font-size: 1.05rem; max-width: 720px; margin: 0 auto; }

/* --- Feature cards --- */
body.page-module .feat-card { background:#fff; border:1px solid #eef1f7; border-radius:14px; padding:26px; height:100%; box-shadow:0 6px 22px rgba(0,0,0,.04); transition:transform .25s, box-shadow .25s, border-color .25s; }
body.page-module .feat-card:hover { transform:translateY(-4px); box-shadow:0 14px 32px rgba(10,83,190,.10); border-color:#d8e3f7; }
body.page-module .feat-card .feat-icon { width:50px; height:50px; border-radius:12px; background:linear-gradient(135deg, var(--hue-blue), #3b82f6); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.35rem; margin-bottom:14px; }
body.page-module .feat-card h3 { color:#1a2238; font-weight:700; font-size:1.05rem; margin-bottom:8px; }
body.page-module .feat-card p { color:var(--hue-grey); font-size:.94rem; line-height:1.6; margin:0; }

/* --- Compare cards (good vs bad) --- */
body.page-module .compare-card { background:#fff; border:1px solid #eef1f7; border-radius:16px; padding:30px; height:100%; box-shadow:0 6px 22px rgba(0,0,0,.04); }
body.page-module .compare-card h3 { color:#1a2238; font-weight:700; font-size:1.1rem; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
body.page-module .compare-card h3 i { font-size:1.4rem; color:#d04848; }
body.page-module .compare-card.good { border-color:rgba(21,160,74,.25); background:linear-gradient(180deg, rgba(21,160,74,.04), #fff 80%); }
body.page-module .compare-card.good h3 i { color:var(--hue-green); }
body.page-module .compare-card ul { list-style:none; padding:0; margin:0; }
body.page-module .compare-card ul li { padding-left:24px; position:relative; margin-bottom:10px; color:#4a5568; font-size:.95rem; line-height:1.55; }
body.page-module .compare-card ul li::before { content:''; position:absolute; left:0; top:8px; width:8px; height:8px; border-radius:50%; background:#d04848; }
body.page-module .compare-card.good ul li::before { background:var(--hue-green); }

/* --- Pricing mini cards --- */
body.page-module .price-mini { background:#fff; border:1px solid #eef1f7; border-radius:18px; padding:32px 28px; box-shadow:0 10px 30px rgba(0,0,0,.05); position:relative; height:100%; display:flex; flex-direction:column; }
body.page-module .price-mini.featured { border:2px solid var(--hue-blue); box-shadow:0 16px 40px rgba(10,83,190,.18); }
body.page-module .price-mini .popular-tag { position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:linear-gradient(135deg,#ff8a1f,#f57813); color:#fff; font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; padding:6px 16px; border-radius:100px; box-shadow:0 6px 14px rgba(245,120,19,.32); }
body.page-module .price-mini .plan-name { color:#1a2238; font-weight:700; font-size:1.05rem; margin-bottom:12px; }
body.page-module .price-mini .plan-price { font-family:'Montserrat',sans-serif; font-weight:800; color:var(--hue-blue); font-size:2.5rem; line-height:1; }
body.page-module .price-mini .plan-price span { font-size:.9rem; color:var(--hue-grey); font-weight:600; margin-left:4px; }
body.page-module .price-mini .plan-billing { color:#94a3b8; font-size:.82rem; margin:6px 0 20px; }
body.page-module .price-mini .plan-features { list-style:none; padding:0; margin:0 0 20px; flex-grow:1; }
body.page-module .price-mini .plan-features li { display:flex; gap:10px; align-items:flex-start; margin-bottom:9px; color:#4a5568; font-size:.93rem; line-height:1.55; }
body.page-module .price-mini .plan-features li i { color:var(--hue-green); font-size:1rem; flex-shrink:0; margin-top:2px; }
body.page-module .price-mini .plan-btn, body.page-module .price-mini .plan-btn-secondary { display:block; text-align:center; padding:12px; border-radius:10px; font-weight:700; text-decoration:none; transition:all .15s; }
body.page-module .price-mini .plan-btn { background:linear-gradient(135deg,#ff8a1f,#f57813); color:#fff; box-shadow:0 8px 18px rgba(245,120,19,.32); }
body.page-module .price-mini .plan-btn:hover { transform:translateY(-2px); box-shadow:0 12px 24px rgba(245,120,19,.42); color:#fff; }
body.page-module .price-mini .plan-btn-secondary { background:#fff; color:var(--hue-blue); border:1.5px solid var(--hue-blue); }
body.page-module .price-mini .plan-btn-secondary:hover { background:var(--hue-blue); color:#fff; }

/* --- Integration tiles --- */
body.page-module .integration-tile { background:#fff; border:1px solid #eef1f7; border-radius:12px; padding:18px; display:flex; gap:14px; align-items:center; box-shadow:0 4px 14px rgba(0,0,0,.03); transition:transform .2s, box-shadow .2s; height:100%; }
body.page-module .integration-tile:hover { transform:translateY(-3px); box-shadow:0 10px 26px rgba(10,83,190,.10); }
body.page-module .integration-tile i { width:42px; height:42px; border-radius:10px; background:rgba(10,83,190,.08); color:var(--hue-blue); display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
body.page-module .integration-tile strong { color:#1a2238; font-weight:700; font-size:.96rem; display:block; }
body.page-module .integration-tile span { color:#6c757d; font-size:.82rem; }

/* --- Related-article cards --- */
body.page-module .article-card { display:block; background:#fff; border:1px solid #eef1f7; border-radius:14px; overflow:hidden; text-decoration:none; color:inherit; box-shadow:0 6px 22px rgba(0,0,0,.04); transition:transform .25s, box-shadow .25s; height:100%; }
body.page-module .article-card:hover { transform:translateY(-4px); box-shadow:0 14px 32px rgba(10,83,190,.12); color:inherit; }
body.page-module .article-card .article-thumb { height:160px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.4rem; font-weight:800; text-align:center; padding:18px; font-family:'Montserrat',sans-serif; }
body.page-module .article-card .article-body { padding:22px; }
body.page-module .article-card .article-tag { display:inline-block; font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--hue-blue); background:rgba(10,83,190,.08); padding:3px 10px; border-radius:100px; margin-bottom:10px; }
body.page-module .article-card h3 { color:#1a2238; font-weight:700; font-size:1.05rem; margin-bottom:8px; line-height:1.35; }
body.page-module .article-card p { color:var(--hue-grey); font-size:.92rem; line-height:1.55; margin-bottom:12px; }
body.page-module .article-card .article-link { color:var(--hue-blue); font-weight:700; font-size:.9rem; }

/* --- FAQ accordion --- */
body.page-module .faq-item { background:#fff; border:1px solid #eaecf3; border-radius:10px; margin-bottom:14px; overflow:hidden; }
body.page-module .faq-item summary { padding:18px 22px; font-weight:700; color:#1a2238; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; }
body.page-module .faq-item summary::-webkit-details-marker { display:none; }
body.page-module .faq-item summary::after { content:'+'; font-size:1.4rem; color:var(--hue-blue); }
body.page-module .faq-item[open] summary::after { content:'-'; }
body.page-module .faq-item .faq-body { padding:0 22px 18px; color:var(--hue-grey); line-height:1.65; font-size:.98rem; }
body.page-module .faq-item[open] { box-shadow:0 4px 14px rgba(0,0,0,.06); }
body.page-module .faq-item a { color:var(--hue-blue); font-weight:600; text-decoration:none; }
body.page-module .faq-item a:hover { text-decoration:underline; }

/* --- CTA band --- */
body.page-module .cta-band { background:linear-gradient(135deg, var(--hue-blue), #3b82f6); color:#fff; padding:70px 0; text-align:center; border-radius:16px; margin:30px 0; }
body.page-module .cta-band h2 { font-size:clamp(1.7rem, 3vw, 2.3rem); font-weight:800; margin-bottom:14px; color:#fff; }
body.page-module .cta-band p { color:rgba(255,255,255,.92); max-width:620px; margin:0 auto 24px; font-size:1.05rem; }
body.page-module .cta-band a { background:#fff; color:var(--hue-blue); padding:14px 32px; border-radius:8px; font-weight:700; text-decoration:none; display:inline-block; transition:transform .15s; }
body.page-module .cta-band a:hover { transform:translateY(-2px); color:var(--hue-blue); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; } }
@media (max-width: 768px) {
  body.page-module .module-hero { padding:120px 0 60px; }
  body.page-module .section-pad { padding:56px 0; }
  body.page-module .price-mini.featured { transform:none; }
}
