/* ============================================================
   HiCineAPK Custom Site — S4 Crimson Light design
   Clean white surfaces, crimson red accents, soft shadows.
   No external dependencies. Scoped under .hc-*.
   ============================================================ */
:root {
	--hc-bg: #fafafa;
	--hc-card: #ffffff;
	--hc-line: #e9e4e4;
	--hc-text: #1a1a1a;
	--hc-muted: #5c5c5c;
	--hc-red: #dc2626;
	--hc-red-l: #f87171;
	--hc-red-d: #991b1b;
	--hc-red-soft: #fee2e2;
	--hc-radius: 18px;
	--hc-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--hc-shadow: 0 12px 38px rgba(0, 0, 0, 0.07);
	--hc-btn-shadow: 0 8px 24px rgba(220, 38, 38, 0.32);
}

/* ---------- base ---------- */
.hc-body {
	background: var(--hc-bg);
	color: var(--hc-text);
	font-family: var(--hc-font);
	margin: 0;
	-webkit-font-smoothing: antialiased;
}
.hc-body a { color: inherit; }
.hc-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.hc-main { display: block; }
.hc-skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--hc-red); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.hc-skip:focus { left: 0; }
.hc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- sticky nav ---------- */
.hc-nav {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--hc-line);
}
.hc-nav-inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.hc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; color: var(--hc-text); }
.hc-brand-t em { font-style: normal; color: var(--hc-red); }
.hc-appicon { display: inline-flex; filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.35)); }
.hc-links { display: flex; gap: 4px; margin-left: auto; }
.hc-links a { text-decoration: none; color: var(--hc-muted); font-weight: 600; font-size: 14.5px; padding: 9px 13px; border-radius: 10px; transition: color .15s, background .15s; }
.hc-links a:hover { color: var(--hc-red); background: var(--hc-red-soft); }
.hc-links a[aria-current="page"] { color: var(--hc-red); background: var(--hc-red-soft); }
.hc-nav-cta { margin-left: 6px; }
.hc-burger { display: none; background: #fff; border: 1px solid var(--hc-line); border-radius: 10px; padding: 9px 11px; cursor: pointer; }
.hc-burger span { display: block; width: 20px; height: 2px; background: var(--hc-text); margin: 4px 0; border-radius: 2px; }
.hc-mobilemenu { display: none; flex-direction: column; padding: 8px 20px 16px; gap: 2px; background: #fff; }
.hc-mobilemenu a { text-decoration: none; padding: 11px 6px; border-bottom: 1px solid var(--hc-line); color: var(--hc-muted); font-weight: 600; }
.hc-nav.open .hc-mobilemenu { display: flex; }

/* ---------- buttons ---------- */
.hc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	text-decoration: none; font-weight: 700; font-size: 15px; cursor: pointer;
	border-radius: 13px; padding: 12px 22px; border: 1px solid transparent;
	transition: transform .12s, box-shadow .2s, background .2s;
}
.hc-btn:active { transform: translateY(1px); }
.hc-btn-primary { background: var(--hc-red); color: #fff; box-shadow: var(--hc-btn-shadow); }
.hc-btn-primary:hover { background: #b91c1c; transform: translateY(-1px); box-shadow: 0 10px 30px rgba(220,38,38,.45); }
.hc-btn-ghost { background: #fff; border-color: var(--hc-line); color: var(--hc-text); }
.hc-btn-ghost:hover { border-color: var(--hc-red); color: var(--hc-red); }
.hc-btn-lg { font-size: 17px; padding: 15px 30px; border-radius: 15px; }
.hc-btn-small { font-size: 13.5px; padding: 9px 16px; border-radius: 10px; background: var(--hc-red); color: #fff; }
.hc-btn-small:hover { background: #b91c1c; }
.hc-ico { flex: none; }

/* ---------- hero ---------- */
.hc-hero { padding: 56px 0 40px; }
.hc-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: center; }
.hc-eyebrow {
	display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
	color: var(--hc-red); background: var(--hc-red-soft);
	border: 1px solid #fecaca; border-radius: 999px; padding: 7px 15px; margin: 0 0 18px;
}
.hc-hero h1 { font-size: clamp(32px, 4.8vw, 50px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.5px; color: #111; }
.hc-hero h1 .hc-hl { color: var(--hc-red); }
.hc-lede { color: var(--hc-muted); font-size: 17px; line-height: 1.65; margin: 0 0 22px; max-width: 34em; }
.hc-hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; margin: 0 0 24px; }
.hc-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.hc-trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--hc-muted); font-size: 14px; font-weight: 600; }
.hc-trust .hc-ico { color: var(--hc-red); }

/* hero art: app card */
.hc-hero-art { display: flex; justify-content: center; }
.hc-appcard {
	text-align: center; background: var(--hc-card); border: 1px solid var(--hc-line);
	border-radius: 24px; padding: 36px 42px; box-shadow: var(--hc-shadow);
}
.hc-appcard-name { font-size: 21px; font-weight: 800; margin: 16px 0 4px; color: #111; }
.hc-appcard-ver { color: var(--hc-red); font-weight: 700; font-size: 14.5px; margin: 0 0 16px; }
.hc-appcard-feats { list-style: none; margin: 18px 0 0; padding: 0; text-align: left; display: grid; gap: 10px; }
.hc-appcard-feats li { display: flex; align-items: center; gap: 10px; color: var(--hc-muted); font-size: 14px; font-weight: 600; }
.hc-appcard-feats .hc-ico { color: var(--hc-red); }

/* spec strip */
.hc-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 0; }
.hc-spec { background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: 14px; padding: 18px 14px; text-align: center; box-shadow: var(--hc-shadow); transition: transform .15s; }
.hc-spec:hover { transform: translateY(-3px); border-color: #fca5a5; }
.hc-spec .hc-ico { color: var(--hc-red); margin-bottom: 6px; }
.hc-spec b { display: block; font-size: 18px; margin-bottom: 3px; color: #111; }
.hc-spec span { color: var(--hc-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }

/* ---------- cards / sections ---------- */
.hc-card { background: var(--hc-card); border: 1px solid var(--hc-line); border-radius: var(--hc-radius); box-shadow: var(--hc-shadow); }
.hc-section { padding: 40px 0 6px; }
.hc-sechead { max-width: 640px; margin: 0 0 26px; }
.hc-sechead h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 10px; color: #111; }
.hc-sub { color: var(--hc-muted); font-size: 16px; line-height: 1.6; margin: 0; }
.hc-grid { display: grid; gap: 18px; }
.hc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hc-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* features */
.hc-feat { padding: 26px 24px; transition: transform .15s, border-color .2s; }
.hc-feat:hover { transform: translateY(-3px); border-color: #fca5a5; }
.hc-feat-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 14px; background: var(--hc-red-soft); color: var(--hc-red); }
.hc-feat h3 { font-size: 17px; margin: 0 0 8px; color: #111; }
.hc-feat p { color: var(--hc-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* download card */
.hc-dlcard { padding: 30px; margin: 10px 0 0; border-color: #fecaca; }
.hc-dlcard-top { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.hc-dlcard-name { font-size: 25px; margin: 0 0 10px; color: #111; }
.hc-dlcard-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-pill { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; background: #f4f4f5; border: 1px solid var(--hc-line); border-radius: 999px; padding: 6px 14px; color: var(--hc-text); }
.hc-pill-hot { background: var(--hc-red-soft); border-color: #fecaca; color: var(--hc-red); }
.hc-dlcard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hc-dlcard .hc-trust { margin-bottom: 22px; }

/* tables */
.hc-tablewrap { overflow-x: auto; border-radius: var(--hc-radius); border: 1px solid var(--hc-line); }
.hc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--hc-card); }
.hc-table th, .hc-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hc-line); vertical-align: middle; }
.hc-table thead th { color: var(--hc-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .9px; background: #fafafa; }
.hc-table tbody tr:last-child th, .hc-table tbody tr:last-child td { border-bottom: none; }
.hc-table tbody tr:hover { background: #fafafa; }
.hc-table code { background: #f4f4f5; border: 1px solid var(--hc-line); padding: 3px 9px; border-radius: 7px; font-size: 13px; }
.hc-filetable th { color: var(--hc-muted); font-weight: 600; width: 34%; }
.hc-ta-right { text-align: right; }
.hc-muted { color: var(--hc-muted); }
.hc-note { color: var(--hc-muted); font-size: 13.5px; margin: 16px 2px 0; }

/* install steps */
.hc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hc-step { display: flex; gap: 18px; padding: 24px; align-items: flex-start; }
.hc-step-n { flex: none; width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; color: #fff; background: var(--hc-red); box-shadow: var(--hc-btn-shadow); }
.hc-step h3 { margin: 2px 0 7px; font-size: 17px; color: #111; }
.hc-step p { margin: 0; color: var(--hc-muted); font-size: 14.5px; line-height: 1.6; }

/* FAQ accordion */
.hc-accordion { display: grid; gap: 12px; }
.hc-acc-item { overflow: hidden; }
.hc-acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: none; border: none; color: var(--hc-text); cursor: pointer; font-size: 16px; font-weight: 700; text-align: left; padding: 19px 22px; font-family: inherit; }
.hc-acc-btn .hc-ico { color: var(--hc-red); transition: transform .2s; flex: none; }
.hc-acc-item.open .hc-acc-btn .hc-ico { transform: rotate(90deg); }
.hc-acc-panel { overflow: hidden; max-height: 0; transition: max-height .28s ease; }
.hc-acc-panel p { margin: 0; padding: 0 22px 20px; color: var(--hc-muted); font-size: 15px; line-height: 1.7; }

/* final CTA */
.hc-finalcta { margin: 50px 0 10px; border-radius: 26px; text-align: center; padding: 54px 30px; background: linear-gradient(160deg, #fff 0%, var(--hc-red-soft) 130%); border: 1px solid #fecaca; box-shadow: var(--hc-shadow); }
.hc-finalcta-inner { max-width: 560px; margin: 0 auto; }
.hc-finalcta h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 18px 0 10px; color: #111; }
.hc-finalcta p { color: var(--hc-muted); font-size: 16px; margin: 0 0 26px; }
.hc-blogcta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; margin: 34px 0 0; }
.hc-blogcta h3 { margin: 0 0 6px; font-size: 19px; color: #111; }
.hc-blogcta p { margin: 0; color: var(--hc-muted); font-size: 14.5px; }

/* device cards */
.hc-devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hc-device { display: block; text-decoration: none; padding: 22px 18px; text-align: center; transition: transform .15s, border-color .2s; }
.hc-device:hover { transform: translateY(-3px); border-color: #fca5a5; }
.hc-device .hc-ico { color: var(--hc-red); margin-bottom: 10px; }
.hc-device h3 { margin: 0 0 6px; font-size: 16px; color: #111; }
.hc-device p { margin: 0; color: var(--hc-muted); font-size: 13px; }

/* page head */
.hc-pagehead { padding: 48px 0 6px; }
.hc-pagehead h1 { font-size: clamp(28px, 4.2vw, 42px); margin: 0; color: #111; }
.hc-pagebody { padding-bottom: 40px; }

/* sticky mobile bar */
.hc-stickybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; align-items: center; gap: 12px; background: rgba(255,255,255,.96); border: 1px solid #fecaca; border-radius: 18px; padding: 10px 12px; box-shadow: 0 14px 40px rgba(0,0,0,.14); transform: translateY(140%); transition: transform .3s ease; }
.hc-stickybar.show { transform: translateY(0); }
.hc-stickybar-t { flex: 1; min-width: 0; }
.hc-stickybar-t strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #111; }
.hc-stickybar-t span { color: var(--hc-muted); font-size: 12px; }

/* footer */
.hc-footer { border-top: 1px solid var(--hc-line); margin-top: 56px; background: #fff; }
.hc-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; padding: 44px 20px 28px; }
.hc-footer-brand p { color: var(--hc-muted); font-size: 14.5px; line-height: 1.65; max-width: 30em; }
.hc-footer nav { display: flex; flex-direction: column; gap: 4px; }
.hc-footer-h { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--hc-muted); font-weight: 800; margin: 0 0 10px; }
.hc-footer nav a { text-decoration: none; color: var(--hc-muted); font-size: 14.5px; padding: 5px 0; }
.hc-footer nav a:hover { color: var(--hc-red); }
.hc-footer-legal { border-top: 1px solid var(--hc-line); padding: 20px; }
.hc-footer-legal p { color: var(--hc-muted); font-size: 12.5px; line-height: 1.6; margin: 0 0 6px; }

/* responsive */
@media (max-width: 900px) {
	.hc-hero-grid { grid-template-columns: 1fr; gap: 32px; }
	.hc-hero-art { order: -1; }
	.hc-grid-3 { grid-template-columns: 1fr 1fr; }
	.hc-specs { grid-template-columns: 1fr 1fr; }
	.hc-steps { grid-template-columns: 1fr; }
	.hc-devices { grid-template-columns: 1fr 1fr; }
	.hc-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.hc-links, .hc-nav-cta { display: none; }
	.hc-burger { display: block; margin-left: auto; }
	.hc-grid-3, .hc-grid-2 { grid-template-columns: 1fr; }
	.hc-hero { padding: 40px 0 30px; }
	.hc-dlcard { padding: 22px; }
	.hc-dlcard-top { flex-direction: column; align-items: flex-start; }
	.hc-stickybar { display: flex; }
	.hc-blogcta { flex-direction: column; align-items: flex-start; }
	.hc-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* article typography */
.hc-article { max-width: 780px; margin: 0 auto; padding-top: 8px; }
.hc-article h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin: 0 0 1rem; color: #111; }
.hc-article h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin: 2.4rem 0 .9rem; color: #111; padding-bottom: .45rem; border-bottom: 2px solid var(--hc-red-soft); }
.hc-article h3 { font-size: 1.15rem; margin: 1.8rem 0 .6rem; color: var(--hc-red); }
.hc-article p, .hc-article li { color: #3d3d3d; line-height: 1.75; }
.hc-article p { margin: 0 0 1.1rem; }
.hc-article a { color: var(--hc-red); text-decoration: underline; text-underline-offset: 3px; }
.hc-article a:hover { color: var(--hc-red-d); }
.hc-article ul, .hc-article ol { margin: 0 0 1.2rem 1.2rem; padding: 0; }
.hc-article li { margin-bottom: .45rem; }
.hc-article li::marker { color: var(--hc-red); }
.hc-article table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; background: #fff; border: 1px solid var(--hc-line); border-radius: 12px; overflow: hidden; font-size: .95rem; }
.hc-article th, .hc-article td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--hc-line); }
.hc-article th { color: #111; background: #fafafa; font-weight: 600; }
.hc-article td { color: #3d3d3d; }
.hc-article tr:last-child th, .hc-article tr:last-child td { border-bottom: 0; }
.hc-article img { max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hc-line); }
.hc-article blockquote { border-left: 3px solid var(--hc-red); padding: .4rem 0 .4rem 1.1rem; margin: 1.4rem 0; background: var(--hc-red-soft); border-radius: 0 12px 12px 0; }

/* blog grid */
.hc-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; padding-bottom: 48px; }
.hc-postcard { display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: transform .25s ease, border-color .25s ease; background: #fff; }
.hc-postcard:hover { transform: translateY(-4px); border-color: #fca5a5; }
.hc-postcard-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--hc-red-soft); }
.hc-postcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; border-radius: 0; }
.hc-postcard-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.hc-postcard-t { color: #111; font-size: 1.08rem; line-height: 1.4; }
.hc-postcard-x { color: var(--hc-muted); font-size: .92rem; line-height: 1.65; }
.hc-postcard-more { color: var(--hc-red); font-size: .9rem; font-weight: 600; margin-top: 4px; }

/* download timer overlay (light) */
.hc-dloverlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20,10,10,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.hc-dloverlay.show { opacity: 1; pointer-events: auto; }
.hc-dlbox { position: relative; width: 100%; max-width: 430px; text-align: center; padding: 38px 34px 32px; background: #fff; border: 1px solid #fecaca; box-shadow: 0 30px 80px rgba(0,0,0,.25); border-radius: 22px; }
.hc-dlbox h2 { color: #111; font-size: 1.45rem; margin: 6px 0 4px; }
.hc-dlcount { font-size: 4rem; font-weight: 800; line-height: 1; margin: 14px 0 18px; color: var(--hc-red); }
.hc-dlbar { height: 8px; border-radius: 99px; background: #f3e2e2; overflow: hidden; margin: 0 0 16px; }
.hc-dlbar > span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--hc-red-d), var(--hc-red-l)); transition: width 1s linear; }
.hc-dlnote { color: var(--hc-muted); font-size: .92rem; margin: 0 0 8px; }
.hc-dlalt { color: var(--hc-muted); font-size: .85rem; margin: 0; }
.hc-dlalt a { color: var(--hc-red); }
.hc-dlclose { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--hc-muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.hc-dlclose:hover { color: #111; }
