/* ==========================================================================
   SURFLIX APP — HOMEPAGE LAYER  "Cinema"
   A self-contained, premium homepage design. All classes are prefixed `hx-`
   so nothing here collides with the shared style.css (nav + footer are the
   only shared components reused). Palette follows the brand: navy chrome,
   electric-cyan accent, warm editorial light sheets.
   ========================================================================== */

:root {
  --hx-ink:        #0a1120;
  --hx-ink-2:      #0e1a2e;
  --hx-ink-3:      #13233d;
  --hx-cyan:       #22bdf1;
  --hx-cyan-lt:    #7fe3ff;
  --hx-cyan-dk:    #0a86b3;
  --hx-cyan-deep:  #075b7a;
  --hx-violet:     #7a5af8;
  --hx-page:       #eef3f8;
  --hx-sheet:      #ffffff;
  --hx-sheet-2:    #f5f9fd;
  --hx-line:       #e3ebf3;
  --hx-line-2:     #eef3f8;
  --hx-text:       #0f1b2b;
  --hx-soft:       #46586c;
  --hx-muted:      #6d7d90;
  --hx-faint:      #9aa9b8;
  --hx-r:          18px;
  --hx-r-lg:       28px;
  --hx-r-sm:       12px;
  --hx-pill:       999px;
  --hx-ease:       cubic-bezier(.22,.72,.24,1);
  --hx-band:       linear-gradient(103deg, #7fe3ff 0%, #22bdf1 46%, #0fa2d8 100%);
  --hx-sh-sm:      0 1px 2px rgba(12,26,45,.05), 0 8px 20px -12px rgba(12,26,45,.20);
  --hx-sh:         0 2px 6px rgba(12,26,45,.05), 0 24px 48px -24px rgba(12,26,45,.30);
  --hx-sh-cyan:    0 14px 40px -14px rgba(34,189,241,.55);
}

/* ---- page ground: subtle vertical wash instead of flat grey ---- */
body.hx {
  background:
    radial-gradient(1200px 620px at 82% -8%, rgba(34,189,241,.06), transparent 60%),
    var(--hx-page);
}

.hx-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* keep shared nav readable on this page */
.hx .nav { background: rgba(9,15,26,.86); }

/* ============================================================
   1 · HERO — cinematic dark stage
   ============================================================ */

.hx-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 560px at 50% -18%, #1a3554 0%, rgba(10,17,32,0) 60%),
    linear-gradient(180deg, #0b1424 0%, #0a1120 100%);
  color: #eaf3fb;
  padding: 96px 0 210px;
  isolation: isolate;
}

/* animated aurora blobs */
.hx-hero__glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hx-hero__glow i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
}
.hx-hero__glow i:nth-child(1) {
  width: 620px; height: 620px; top: -220px; left: -60px;
  background: radial-gradient(circle, rgba(34,189,241,.55), transparent 66%);
  animation: hx-drift1 20s var(--hx-ease) infinite alternate;
}
.hx-hero__glow i:nth-child(2) {
  width: 560px; height: 560px; top: -120px; right: -40px;
  background: radial-gradient(circle, rgba(122,90,248,.42), transparent 68%);
  animation: hx-drift2 26s var(--hx-ease) infinite alternate;
}
.hx-hero__glow i:nth-child(3) {
  width: 520px; height: 520px; bottom: -240px; left: 46%;
  background: radial-gradient(circle, rgba(31,111,235,.36), transparent 68%);
  animation: hx-drift3 30s var(--hx-ease) infinite alternate;
}
@keyframes hx-drift1 { to { transform: translate(70px,50px) scale(1.12); } }
@keyframes hx-drift2 { to { transform: translate(-60px,64px) scale(1.08); } }
@keyframes hx-drift3 { to { transform: translate(50px,-44px) scale(1.14); } }

/* faint grid + grain for depth */
.hx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  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: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}

.hx-hero__inner { position: relative; z-index: 2; text-align: center; }

.hx-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 16px; border-radius: var(--hx-pill);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  color: rgba(226,241,251,.9);
}
.hx-badge b {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: var(--hx-pill);
  background: rgba(34,189,241,.16); color: var(--hx-cyan-lt);
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.hx-badge b::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fe08a;
  box-shadow: 0 0 0 0 rgba(47,224,138,.5); animation: hx-pulse 2.4s ease-out infinite;
}
@keyframes hx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,224,138,.5); }
  70% { box-shadow: 0 0 0 9px rgba(47,224,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,224,138,0); }
}

.hx-hero h1 {
  font-family: var(--font-display, "Poppins", sans-serif);
  font-weight: 800;
  font-size: clamp(2.7rem, 6vw, 4.7rem);
  line-height: 1.04; letter-spacing: -.035em;
  margin: 26px auto 0; max-width: 15ch; color: #fff;
}
.hx-hero h1 .hx-grad {
  background: linear-gradient(100deg, #9deaff 0%, #22bdf1 55%, #1f8fe0 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hx-lead {
  margin: 24px auto 0; max-width: 60ch;
  font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.66;
  color: rgba(220,234,246,.76);
}

.hx-hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px;
}

.hx-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: var(--hx-pill);
  font-family: var(--font-display, "Poppins", sans-serif);
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--hx-ease), box-shadow .2s var(--hx-ease),
              background .2s var(--hx-ease), border-color .2s var(--hx-ease);
}
.hx-btn--primary {
  background: var(--hx-band); color: #052232;
  box-shadow: var(--hx-sh-cyan), inset 0 1px 0 rgba(255,255,255,.5);
}
.hx-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 46px -14px rgba(34,189,241,.75), inset 0 1px 0 rgba(255,255,255,.5); text-decoration: none; }
.hx-btn--ghost {
  background: rgba(255,255,255,.05); color: #fff; border-color: rgba(255,255,255,.22);
}
.hx-btn--ghost:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); text-decoration: none; }
.hx-btn .hx-arrow { transition: transform .2s var(--hx-ease); }
.hx-btn:hover .hx-arrow { transform: translateX(4px); }

/* floating glass rating card */
.hx-hero__card {
  position: relative; z-index: 2;
  margin: 52px auto 0; max-width: 720px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 26px 30px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.7);
  backdrop-filter: blur(14px); text-align: left;
}
.hx-score {
  position: relative; width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--hx-cyan) 0 .60turn, rgba(255,255,255,.12) .60turn 1turn);
  flex-shrink: 0;
}
.hx-score::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0d1a2c; }
.hx-score__val { position: relative; text-align: center; }
.hx-score__val b { display: block; font-family: var(--font-display,"Poppins",sans-serif); font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.hx-score__val span { display: block; margin-top: 3px; font-size: .58rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(226,241,251,.55); }
.hx-hero__card h3 { font-family: var(--font-display,"Poppins",sans-serif); font-size: 1.12rem; font-weight: 800; color: #fff; margin: 0 0 6px; letter-spacing: -.01em; }
.hx-hero__card p { margin: 0; font-size: .95rem; line-height: 1.6; color: rgba(220,234,246,.7); }
.hx-hero__card .hx-stars { color: var(--hx-cyan-lt); letter-spacing: .1em; font-size: .9rem; margin-top: 8px; }

/* film strip peeking from hero bottom */
.hx-hero__reel {
  position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  z-index: 1; display: flex; gap: 14px; align-items: flex-end; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  opacity: .9;
}
.hx-hero__reel i {
  width: 96px; border-radius: 14px 14px 0 0;
  border: 1px solid rgba(255,255,255,.12); border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 -20px 40px -22px rgba(0,0,0,.7);
}
.hx-hero__reel i:nth-child(1){ height: 92px;  background: linear-gradient(168deg,#15425c,#0a2233); }
.hx-hero__reel i:nth-child(2){ height: 126px; background: linear-gradient(168deg,#1d2f63,#0d1730); }
.hx-hero__reel i:nth-child(3){ height: 156px; background: linear-gradient(168deg,#0f4a58,#082230); }
.hx-hero__reel i:nth-child(4){ height: 178px; background: linear-gradient(168deg,#234b8f,#101d3d); }
.hx-hero__reel i:nth-child(5){ height: 156px; background: linear-gradient(168deg,#0e4666,#0a1e2e); }
.hx-hero__reel i:nth-child(6){ height: 126px; background: linear-gradient(168deg,#2c2a72,#141433); }
.hx-hero__reel i:nth-child(7){ height: 92px;  background: linear-gradient(168deg,#11405e,#0b2030); }
@media (prefers-reduced-motion: no-preference) {
  .hx-hero__reel i { animation: hx-bob 6.5s ease-in-out infinite alternate; }
  .hx-hero__reel i:nth-child(2n){ animation-delay: -2.2s; }
  .hx-hero__reel i:nth-child(3n){ animation-delay: -4.1s; }
  @keyframes hx-bob { to { transform: translateY(-6px); } }
}

/* ============================================================
   2 · MARQUEE TRUST STRIP
   ============================================================ */

.hx-strip {
  position: relative; z-index: 5; margin-top: -68px;
}
.hx-strip__inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px;
  padding: 20px 24px; border-radius: var(--hx-r);
  background: var(--hx-sheet); border: 1px solid var(--hx-line);
  box-shadow: var(--hx-sh);
}
.hx-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--hx-pill);
  background: var(--hx-sheet-2); border: 1px solid var(--hx-line-2);
  font-size: .82rem; font-weight: 700; color: var(--hx-soft);
}
.hx-chip svg { width: 16px; height: 16px; color: var(--hx-cyan-dk); flex-shrink: 0; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */

.hx-section { padding: 78px 0; }
.hx-section--tight { padding: 56px 0; }

.hx-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--hx-cyan-dk); margin-bottom: 16px;
}
.hx-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--hx-cyan-lt), var(--hx-cyan)); }
.hx-h2 {
  font-family: var(--font-display,"Poppins",sans-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.85rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; color: var(--hx-text); margin: 0;
}
.hx-h2 .hx-grad {
  background: linear-gradient(100deg, var(--hx-cyan) 0%, var(--hx-cyan-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hx-head p { margin: 18px auto 0; max-width: 60ch; font-size: 1.06rem; line-height: 1.7; color: var(--hx-soft); }

.hx-prose { max-width: 760px; margin: 40px auto 0; }
.hx-prose p { margin: 0 0 18px; font-size: 1.05rem; line-height: 1.82; color: var(--hx-soft); }
.hx-prose p:last-child { margin-bottom: 0; }
.hx-prose a { color: var(--hx-cyan-dk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hx-prose strong { color: var(--hx-text); font-weight: 700; }

/* ============================================================
   3 · FEATURE CARDS
   ============================================================ */

.hx-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

.hx-card {
  position: relative; overflow: hidden;
  background: var(--hx-sheet); border: 1px solid var(--hx-line);
  border-radius: var(--hx-r); padding: 32px 30px;
  box-shadow: var(--hx-sh-sm);
  transition: transform .24s var(--hx-ease), box-shadow .24s var(--hx-ease), border-color .24s var(--hx-ease);
}
.hx-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 200px at 100% 0%, rgba(34,189,241,.07), transparent 60%);
  opacity: 0; transition: opacity .24s var(--hx-ease);
}
.hx-card:hover { transform: translateY(-6px); box-shadow: var(--hx-sh); border-color: rgba(34,189,241,.5); }
.hx-card:hover::after { opacity: 1; }
.hx-card__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, #e6f7fe, #d3f0fc); border: 1px solid #c6ecfb;
  margin-bottom: 20px; color: var(--hx-cyan-dk);
}
.hx-card__ico svg { width: 26px; height: 26px; }
.hx-card h3 { font-family: var(--font-display,"Poppins",sans-serif); font-size: 1.18rem; font-weight: 800; letter-spacing: -.015em; margin: 0 0 10px; color: var(--hx-text); }
.hx-card p { margin: 0; font-size: .99rem; line-height: 1.68; color: var(--hx-soft); }

/* ============================================================
   4 · VERDICT PANEL
   ============================================================ */

.hx-verdict {
  display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center;
  background: linear-gradient(158deg, #0c1626 0%, #12233d 60%, #103c52 100%);
  color: #fff; border-radius: var(--hx-r-lg); padding: 48px 52px;
  position: relative; overflow: hidden; box-shadow: var(--hx-sh);
}
.hx-verdict::after {
  content: ""; position: absolute; top: -160px; right: -100px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(34,189,241,.28), transparent 66%); pointer-events: none;
}
.hx-verdict__ring { position: relative; z-index: 2; text-align: center; }
.hx-ring {
  position: relative; width: 200px; height: 200px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--hx-cyan) 0 .60turn, rgba(255,255,255,.12) .60turn 1turn);
  box-shadow: 0 20px 44px -18px rgba(34,189,241,.6);
}
.hx-ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #0c1626; }
.hx-ring__v { position: relative; text-align: center; }
.hx-ring__v b { display: block; font-family: var(--font-display,"Poppins",sans-serif); font-size: 3.3rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #fff; }
.hx-ring__v span { display: block; margin-top: 4px; font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(226,241,251,.6); }
.hx-verdict__ring .hx-stars { margin-top: 16px; color: var(--hx-cyan-lt); letter-spacing: .14em; font-size: 1rem; }
.hx-vlist { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; }
.hx-vlist li {
  display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 1rem; line-height: 1.6; color: rgba(226,241,251,.82);
}
.hx-vlist li:last-child { border-bottom: 0; }
.hx-vlist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--hx-cyan-lt); margin-top: 2px; }
.hx-vlist strong { color: #fff; font-weight: 700; }

/* ============================================================
   5 · METHOD STEPS (numbered, connected)
   ============================================================ */

.hx-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }
.hx-step {
  position: relative; background: var(--hx-sheet); border: 1px solid var(--hx-line);
  border-radius: var(--hx-r); padding: 30px 24px 26px; box-shadow: var(--hx-sh-sm);
  transition: transform .22s var(--hx-ease), box-shadow .22s var(--hx-ease);
}
.hx-step:hover { transform: translateY(-5px); box-shadow: var(--hx-sh); }
.hx-step__n {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: var(--hx-band); color: #052232; font-family: var(--font-display,"Poppins",sans-serif);
  font-size: 1.15rem; font-weight: 800; box-shadow: var(--hx-sh-cyan); margin-bottom: 18px;
}
.hx-step h3 { font-family: var(--font-display,"Poppins",sans-serif); font-size: 1.08rem; font-weight: 800; margin: 0 0 9px; color: var(--hx-text); }
.hx-step p { margin: 0; font-size: .95rem; line-height: 1.66; color: var(--hx-soft); }
.hx-step__tag { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hx-faint); display: block; margin-bottom: 6px; }

/* ============================================================
   6 · ARTICLE CARDS
   ============================================================ */

.hx-articles { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.hx-art {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--hx-sheet); border: 1px solid var(--hx-line); border-radius: var(--hx-r);
  box-shadow: var(--hx-sh-sm); color: inherit; padding: 30px 28px 26px;
  transition: transform .24s var(--hx-ease), box-shadow .24s var(--hx-ease), border-color .24s var(--hx-ease);
}
/* slim gradient accent bar at the top — the card's anchor, no image */
.hx-art::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--hx-band); opacity: .9;
}
.hx-art::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(460px 220px at 100% 0%, rgba(34,189,241,.06), transparent 62%);
  opacity: 0; transition: opacity .24s var(--hx-ease);
}
.hx-art:hover { transform: translateY(-7px); box-shadow: var(--hx-sh); border-color: rgba(34,189,241,.5); text-decoration: none; }
.hx-art:hover::after { opacity: 1; }
.hx-art__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-muted); }
.hx-tag { display: inline-flex; padding: 5px 12px; border-radius: var(--hx-pill); background: #e6f7fe; border: 1px solid #d3f0fc; color: var(--hx-cyan-deep); }
.hx-art h3 { font-family: var(--font-display,"Poppins",sans-serif); font-size: 1.22rem; font-weight: 800; line-height: 1.3; letter-spacing: -.018em; margin: 0 0 12px; color: var(--hx-text); }
.hx-art p { margin: 0 0 20px; font-size: .97rem; line-height: 1.66; color: var(--hx-soft); }
.hx-art__more { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hx-line-2); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-cyan-dk); display: inline-flex; align-items: center; gap: 8px; }
.hx-art:hover .hx-art__more .hx-arrow { transform: translateX(4px); }
.hx-art__more .hx-arrow { transition: transform .2s var(--hx-ease); }

.hx-center { text-align: center; margin-top: 44px; }
.hx-btn--dark { background: var(--hx-ink); color: #fff; }
.hx-btn--dark:hover { transform: translateY(-3px); background: var(--hx-ink-2); text-decoration: none; box-shadow: var(--hx-sh); }

/* ============================================================
   7 · STATS BAND
   ============================================================ */

.hx-stats {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  background: linear-gradient(150deg, #0b1424, #12233d); color: #fff;
  border-radius: var(--hx-r-lg); padding: 44px 28px; box-shadow: var(--hx-sh);
}
.hx-stats::before { content: ""; position: absolute; top: -120px; right: -60px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(34,189,241,.24), transparent 66%); }
.hx-stats li { list-style: none; text-align: center; position: relative; }
.hx-stats b { display: block; font-family: var(--font-display,"Poppins",sans-serif); font-size: clamp(1.9rem,4vw,2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--hx-cyan-lt); line-height: 1; }
.hx-stats span { display: block; margin-top: 9px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(226,241,251,.6); }

/* ============================================================
   8 · TOOLS GRID
   ============================================================ */

.hx-tools { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.hx-tool {
  display: flex; flex-direction: column; gap: 12px; min-height: 178px;
  padding: 26px 24px; border-radius: var(--hx-r); color: inherit;
  background: var(--hx-sheet); border: 1px solid var(--hx-line); box-shadow: var(--hx-sh-sm);
  transition: transform .22s var(--hx-ease), box-shadow .22s var(--hx-ease), border-color .22s var(--hx-ease);
}
.hx-tool:hover { transform: translateY(-5px); box-shadow: var(--hx-sh); border-color: rgba(34,189,241,.5); text-decoration: none; }
.hx-tool__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(150deg,#e6f7fe,#d3f0fc); border: 1px solid #c6ecfb; color: var(--hx-cyan-dk); }
.hx-tool__ico svg { width: 22px; height: 22px; }
.hx-tool h3 { font-family: var(--font-display,"Poppins",sans-serif); font-size: 1.06rem; font-weight: 800; margin: 0; color: var(--hx-text); }
.hx-tool p { margin: 0; font-size: .92rem; line-height: 1.58; color: var(--hx-muted); }

/* ---- interactive cost & data calculator ---- */
.hx-calc {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 0;
  margin: 0 0 30px; border-radius: var(--hx-r-lg); overflow: hidden;
  background: var(--hx-sheet); border: 1px solid var(--hx-line); box-shadow: var(--hx-sh);
}
.hx-calc__form { padding: clamp(26px,3.4vw,42px); }
.hx-calc__tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--hx-cyan-dk);
  background: linear-gradient(150deg,#e6f7fe,#d8f2fd); border: 1px solid #cbedfb;
  padding: 6px 12px; border-radius: var(--hx-pill); margin-bottom: 16px;
}
.hx-calc__form h3 { font-family: var(--font-display,"Poppins",sans-serif); font-size: clamp(1.3rem,2.4vw,1.7rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; color: var(--hx-text); }
.hx-calc__lead { margin: 0 0 22px; font-size: .98rem; line-height: 1.6; color: var(--hx-soft); }
.hx-calc__field { margin-bottom: 20px; }
.hx-calc__field > label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .9rem; font-weight: 700; color: var(--hx-text); margin-bottom: 10px; }
.hx-calc__field > label b { font-family: var(--font-display,"Poppins",sans-serif); color: var(--hx-cyan-dk); font-size: 1rem; }
.hx-calc__hint { font-weight: 500; color: var(--hx-muted); font-size: .8rem; }
.hx-seg { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.hx-seg button {
  padding: 11px 6px; border-radius: var(--hx-r-sm); cursor: pointer;
  font: inherit; font-size: .86rem; font-weight: 700; color: var(--hx-soft);
  background: var(--hx-sheet-2); border: 1.5px solid var(--hx-line);
  transition: all .16s var(--hx-ease);
}
.hx-seg button:hover { border-color: rgba(34,189,241,.55); color: var(--hx-cyan-dk); }
.hx-seg button.is-on { background: var(--hx-band); border-color: transparent; color: #052232; box-shadow: var(--hx-sh-cyan); }
.hx-calc input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: var(--hx-line); outline: none; cursor: pointer;
}
.hx-calc input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid var(--hx-cyan); box-shadow: var(--hx-sh-sm); cursor: pointer;
}
.hx-calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--hx-cyan); cursor: pointer; }
.hx-calc input[type=number] {
  width: 100%; padding: 12px 14px; border-radius: var(--hx-r-sm); font: inherit; font-weight: 700;
  color: var(--hx-text); background: var(--hx-sheet-2); border: 1.5px solid var(--hx-line);
}
.hx-calc input[type=number]:focus { border-color: var(--hx-cyan); outline: none; background: #fff; }
.hx-calc__out {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: clamp(26px,3.4vw,42px);
  background:
    radial-gradient(600px 300px at 80% -10%, rgba(34,189,241,.16), transparent 60%),
    linear-gradient(180deg,#0e1a2e,#0a1120);
  color: #eaf2f9;
}
.hx-calc__gauge { display: flex; flex-direction: column; align-items: flex-start; }
.hx-calc__num { font-family: var(--font-display,"Poppins",sans-serif); font-size: clamp(3rem,7vw,4.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; background: linear-gradient(100deg,#9deaff,#22bdf1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-calc__unit { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(220,234,246,.6); margin-top: 4px; }
.hx-calc__cost { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.hx-calc__cost span { font-size: .9rem; color: rgba(220,234,246,.72); }
.hx-calc__cost b { font-family: var(--font-display,"Poppins",sans-serif); font-size: 1.5rem; font-weight: 800; color: #fff; }
.hx-calc__cost--alt b { font-size: 1.15rem; color: var(--hx-cyan-lt); }
.hx-calc__verdict { margin: 6px 0 0; font-size: .92rem; line-height: 1.55; color: rgba(233,241,250,.82); }
.hx-calc__verdict b { color: #fff; }
.hx-calc__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font-size: .92rem; font-weight: 700; color: var(--hx-cyan-lt); }
.hx-calc__link:hover { color: #fff; text-decoration: none; }
.hx-calc__link:hover .hx-arrow { transform: translateX(4px); }
.hx-calc__link .hx-arrow { transition: transform .18s var(--hx-ease); }
@media (max-width: 760px) {
  .hx-calc { grid-template-columns: 1fr; }
}

/* ============================================================
   9 · TABLE
   ============================================================ */

.hx-tablewrap {
  overflow-x: auto; border: 1px solid var(--hx-line); border-radius: var(--hx-r);
  box-shadow: var(--hx-sh-sm); background: var(--hx-sheet); -webkit-overflow-scrolling: touch;
}
.hx-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.hx-table thead th {
  background: linear-gradient(180deg, var(--hx-ink-3), var(--hx-ink));
  color: #fff; text-align: left; padding: 16px 20px;
  font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.hx-table tbody td { padding: 16px 20px; border-top: 1px solid var(--hx-line-2); font-size: .96rem; color: var(--hx-soft); vertical-align: top; line-height: 1.6; }
.hx-table tbody tr:nth-child(even) { background: var(--hx-sheet-2); }
.hx-table tbody td:first-child { color: var(--hx-text); font-weight: 800; }
.hx-note { font-size: .87rem; color: var(--hx-muted); margin: 16px 0 0; }
.hx-note a { color: var(--hx-cyan-dk); font-weight: 700; }

/* ============================================================
   10 · FAQ
   ============================================================ */

.hx-faq { max-width: 820px; margin: 0 auto; background: var(--hx-sheet); border: 1px solid var(--hx-line); border-radius: var(--hx-r); box-shadow: var(--hx-sh-sm); overflow: hidden; }
.hx-faq details { border-top: 1px solid var(--hx-line); }
.hx-faq details:first-child { border-top: 0; }
.hx-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 20px 26px; font-family: var(--font-display,"Poppins",sans-serif);
  font-size: 1.04rem; font-weight: 700; letter-spacing: -.01em; color: var(--hx-text);
  transition: background .16s var(--hx-ease);
}
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary:hover { background: var(--hx-sheet-2); }
.hx-faq summary::after {
  content: ""; flex-shrink: 0; margin-left: auto; width: 15px; height: 15px; border-radius: 2px;
  background: linear-gradient(var(--hx-cyan-dk),var(--hx-cyan-dk)) center/15px 2px no-repeat,
              linear-gradient(var(--hx-cyan-dk),var(--hx-cyan-dk)) center/2px 15px no-repeat;
  transition: transform .26s var(--hx-ease);
}
.hx-faq details[open] summary::after { transform: rotate(45deg); }
.hx-faq details[open] { background: var(--hx-sheet-2); }
.hx-faq__body { padding: 0 26px 22px; font-size: .98rem; line-height: 1.72; color: var(--hx-soft); }
.hx-faq__body a { color: var(--hx-cyan-dk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   11 · EDITORIAL / AUTHOR
   ============================================================ */

.hx-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.hx-author {
  display: flex; gap: 22px; align-items: flex-start; margin-top: 26px;
  background: linear-gradient(180deg, var(--hx-sheet), var(--hx-sheet-2));
  border: 1px solid var(--hx-line); border-radius: var(--hx-r); padding: 30px 32px; box-shadow: var(--hx-sh-sm);
}
.hx-avatar {
  width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--hx-ink-3), var(--hx-ink)); color: #fff;
  font-family: var(--font-display,"Poppins",sans-serif); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px #d3f0fc;
}
.hx-author__label { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--hx-cyan-dk); margin-bottom: 8px; }
.hx-author b { display: block; font-family: var(--font-display,"Poppins",sans-serif); font-size: 1.12rem; font-weight: 800; color: var(--hx-text); margin-bottom: 8px; }
.hx-author p { margin: 0; font-size: .95rem; line-height: 1.68; color: var(--hx-soft); }
.hx-author a { color: var(--hx-cyan-dk); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   12 · CTA
   ============================================================ */

.hx-cta {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(155deg, #0b1424 0%, #12233d 60%, #103c52 100%);
  color: #fff; border-radius: var(--hx-r-lg); padding: 72px 48px; box-shadow: var(--hx-sh);
}
.hx-cta::before { content: ""; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 780px; height: 520px; background: radial-gradient(ellipse at center, rgba(34,189,241,.3), transparent 66%); }
.hx-cta::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: 54px 54px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000, transparent); mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000, transparent);
}
.hx-cta > * { position: relative; z-index: 2; }
.hx-cta .hx-eyebrow { color: var(--hx-cyan-lt); justify-content: center; }
.hx-cta h2 { font-family: var(--font-display,"Poppins",sans-serif); font-size: clamp(1.9rem,3.6vw,2.7rem); font-weight: 800; letter-spacing: -.03em; color: #fff; margin: 0 auto; max-width: 20ch; line-height: 1.12; }
.hx-cta h2 .hx-grad { background: linear-gradient(100deg,#9deaff,#22bdf1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-cta p { margin: 20px auto 0; max-width: 56ch; font-size: 1.05rem; line-height: 1.66; color: rgba(220,234,246,.76); }
.hx-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.hx-rv { opacity: 0; transform: translateY(26px); }
.hx-rv.hx-in { opacity: 1; transform: none; transition: opacity .6s var(--hx-ease), transform .6s var(--hx-ease); }
@media (prefers-reduced-motion: reduce) { .hx-rv { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1000px) {
  .hx-grid-3, .hx-articles, .hx-steps, .hx-tools { grid-template-columns: repeat(2,1fr); }
  .hx-verdict { grid-template-columns: 1fr; gap: 34px; text-align: center; padding: 40px 30px; }
  .hx-vlist li { text-align: left; }
}

@media (max-width: 760px) {
  .hx-hero { padding: 72px 0 170px; }
  .hx-hero__card { grid-template-columns: 1fr; text-align: center; gap: 18px; padding: 24px; }
  .hx-score { margin: 0 auto; }
  .hx-hero__card .hx-stars { text-align: center; }
  .hx-grid-3, .hx-articles, .hx-steps, .hx-tools, .hx-grid-2, .hx-stats { grid-template-columns: 1fr; }
  .hx-stats { padding: 34px 24px; gap: 26px; }
  .hx-section { padding: 56px 0; }
  .hx-wrap { padding: 0 20px; }
  .hx-cta { padding: 52px 26px; }
  .hx-btn { width: 100%; justify-content: center; }
  .hx-author { flex-direction: column; align-items: flex-start; }
  .hx-hero__reel i { width: 60px; }
}
