:root {
  --ink: #151b2a;
  --muted: #70798c;
  --night: #080f1d;
  --night-soft: #11182a;
  --paper: #f7f8fc;
  --white: #fff;
  --pink: #ff668d;
  --coral: #ff7b71;
  --violet: #8a6df1;
  --blue: #6587ef;
  --cyan: #72dfd7;
  --line: rgba(61, 73, 103, .13);
  --shadow: 0 28px 75px rgba(31, 38, 69, .17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.section-shell, .nav-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 125px 0; }
.skip-link { position: fixed; z-index: 100; top: -70px; left: 18px; padding: 10px 16px; border-radius: 10px; color: white; background: var(--pink); transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, backdrop-filter .25s; }
.site-header.scrolled { border-color: rgba(255,255,255,.08); background: rgba(8,15,29,.84); backdrop-filter: blur(22px); }
.nav-shell { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; font-size: 16px; font-weight: 780; }
.brand img { border-radius: 12px; }
.site-nav { display: flex; align-items: center; gap: 30px; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 700; }
.site-nav > a { transition: color .2s; }
.site-nav > a:hover { color: white; }
.nav-download { padding: 9px 16px; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--pink), var(--violet)); box-shadow: 0 10px 28px rgba(232,80,136,.23); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.06); }
.menu-button span { width: 20px; height: 2px; display: block; margin: 4px 0; border-radius: 2px; background: white; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 970px; padding: 160px 0 65px; overflow: hidden; color: white; background: var(--night); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: radial-gradient(rgba(255,255,255,.21) .7px, transparent .7px); background-size: 30px 30px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .2; }
.orb-one { width: 700px; height: 700px; right: -180px; top: 20px; background: #bd4ea5; }
.orb-two { width: 520px; height: 520px; left: -240px; bottom: -120px; background: #497de0; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: rgba(255,255,255,.55); font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 6px rgba(255,102,141,.1); }
.hero h1 { margin: 0; font-size: clamp(56px, 6.5vw, 84px); line-height: 1.08; letter-spacing: -.055em; }
.hero h1 span { color: transparent; background: linear-gradient(100deg, #ff91ac, #b28bf5 50%, #77c9f4); background-clip: text; -webkit-background-clip: text; }
.hero-copy > p { max-width: 600px; margin: 26px 0 32px; color: rgba(255,255,255,.58); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 21px; border: 1px solid transparent; border-radius: 14px; font-size: 13px; font-weight: 760; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--pink), var(--violet)); box-shadow: 0 16px 38px rgba(229,75,132,.28); }
.button-ghost { color: white; border-color: rgba(255,255,255,.13); background: rgba(255,255,255,.05); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 26px; color: rgba(255,255,255,.38); font-size: 10px; }
.hero-note span { width: 18px; height: 18px; display: block; border: 1px solid rgba(114,223,215,.45); border-radius: 50%; box-shadow: inset 0 0 0 5px rgba(114,223,215,.08); }

.device-stage { position: relative; min-height: 650px; }
.device-ring { position: absolute; left: 50%; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; transform: translateX(-50%); }
.ring-one { width: 580px; height: 580px; top: 30px; }
.ring-two { width: 660px; height: 430px; top: 105px; transform: translateX(-50%) rotate(-14deg); }
.phone { position: absolute; margin: 0; overflow: hidden; border: 6px solid #1a2435; border-radius: 35px; background: #172132; box-shadow: 0 34px 80px rgba(0,0,0,.39); }
.phone::before { content: ""; position: absolute; z-index: 2; width: 32%; height: 19px; left: 50%; top: 0; transform: translateX(-50%); border-radius: 0 0 12px 12px; background: #1a2435; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-main { z-index: 3; width: 270px; height: 584px; left: 50%; top: 18px; transform: translateX(-50%) rotate(1deg); }
.phone-left, .phone-right { z-index: 1; width: 220px; height: 476px; top: 92px; opacity: .82; filter: saturate(.87); }
.phone-left { left: 0; transform: rotate(-8deg); }
.phone-right { right: 0; transform: rotate(8deg); }
.floating-chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px; min-width: 160px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; color: white; background: rgba(20,28,48,.72); box-shadow: 0 18px 44px rgba(0,0,0,.3); backdrop-filter: blur(18px); }
.floating-chip b { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: #ff9bb4; background: rgba(255,102,141,.12); }
.floating-chip span { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; }
.floating-chip small { color: rgba(255,255,255,.4); font-size: 9px; font-weight: 500; }
.chip-cloud { left: -10px; top: 27px; }
.chip-play { right: -18px; bottom: 42px; }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; padding: 24px 26px; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; background: rgba(255,255,255,.035); backdrop-filter: blur(15px); }
.hero-stats div { display: flex; flex-direction: column; padding: 2px 27px; border-right: 1px solid rgba(255,255,255,.09); }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { font-size: 17px; }
.hero-stats span { color: rgba(255,255,255,.42); font-size: 11px; }

.section-heading { max-width: 690px; margin-bottom: 62px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-kicker { display: inline-block; margin-bottom: 13px; color: #775ee1; font-size: 11px; font-weight: 850; letter-spacing: .18em; }
.section-kicker.pink { color: var(--pink); }
.section-heading h2, .library-copy h2, .device-copy h2, .download-inner h2 { margin: 0 0 17px; font-size: clamp(38px, 5vw, 62px); line-height: 1.14; letter-spacing: -.045em; }
.section-heading p, .library-copy > p, .device-copy > p { margin: 0; color: var(--muted); font-size: 16px; }

.source-section { background: #fafbfe; }
.source-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }
.source-cards { display: grid; gap: 16px; }
.source-card { position: relative; padding: 26px 28px; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: 0 14px 42px rgba(37,49,78,.055); }
.source-icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 14px; color: #6b56d4; background: #eeeaff; font-size: 20px; font-weight: 800; }
.server-card .source-icon { color: #d65378; background: #ffe9ef; }
.nas-card .source-icon { color: #287eaa; background: #e2f4ff; }
.source-number { position: absolute; right: 25px; top: 23px; color: #bcc2ce; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.source-card h3 { margin: 0 0 5px; font-size: 20px; }
.source-card > p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { padding: 6px 9px; border: 1px solid #edf0f5; border-radius: 8px; color: #606b7d; background: #f8f9fc; font-size: 10px; }
.source-preview { position: relative; min-height: 680px; }
.preview-halo { position: absolute; width: 510px; height: 510px; left: 50%; top: 75px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(135,105,236,.21), rgba(100,168,239,.08) 50%, transparent 68%); }
.source-phone { z-index: 2; width: 290px; height: 626px; left: 50%; top: 15px; transform: translateX(-50%) rotate(2deg); }
.preview-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid white; border-radius: 15px; color: #536073; background: rgba(255,255,255,.82); box-shadow: 0 16px 40px rgba(42,48,75,.15); backdrop-filter: blur(14px); font-size: 11px; font-weight: 700; }
.preview-label i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--pink); font-style: normal; font-size: 10px; }
.label-one { left: 0; top: 120px; transform: rotate(-3deg); }
.label-two { right: -15px; bottom: 105px; transform: rotate(3deg); }

.library-section { position: relative; overflow: hidden; color: white; background: #0a1322; }
.library-section::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(rgba(255,255,255,.22) .7px, transparent .7px); background-size: 30px 30px; }
.library-glow { position: absolute; width: 760px; height: 760px; left: -320px; top: 80px; border-radius: 50%; background: #784fca; filter: blur(150px); opacity: .16; }
.library-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .88fr; gap: 100px; align-items: center; }
.library-visual { position: relative; min-height: 690px; }
.library-phone { z-index: 2; width: 296px; height: 639px; left: 40px; top: 0; transform: rotate(-5deg); }
.history-phone { z-index: 3; width: 230px; height: 497px; right: 25px; bottom: 5px; transform: rotate(7deg); }
.library-chip { position: absolute; z-index: 5; left: 0; bottom: 70px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(18,28,48,.73); box-shadow: 0 20px 50px rgba(0,0,0,.3); backdrop-filter: blur(16px); }
.library-chip span, .library-chip b { display: block; }
.library-chip span { color: var(--pink); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.library-chip b { font-size: 12px; }
.library-copy > p { color: rgba(255,255,255,.5); }
.check-list { display: grid; gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list i { width: 25px; height: 25px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--pink), var(--violet)); font-style: normal; font-size: 11px; }
.check-list span { display: flex; flex-direction: column; }
.check-list b { font-size: 14px; }
.check-list small { color: rgba(255,255,255,.39); font-size: 11px; }

.player-section { background: #f4f6fb; }
.player-stage { position: relative; padding: 70px 55px 40px; overflow: hidden; border-radius: 38px; background: radial-gradient(circle at 50% 10%, #6a4fad, #231d3e 46%, #0d1524 78%); box-shadow: var(--shadow); }
.player-stage::before { content: ""; position: absolute; width: 820px; height: 820px; left: 50%; top: -380px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.018), 0 0 0 150px rgba(255,255,255,.012); }
.screen-frame { position: relative; z-index: 2; overflow: hidden; border: 7px solid #141c2a; border-radius: 28px; background: #080b12; box-shadow: 0 30px 70px rgba(0,0,0,.43); }
.screen-frame img { width: 100%; aspect-ratio: 2.16 / 1; object-fit: cover; }
.player-badges { position: relative; z-index: 2; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.player-badges span { padding: 7px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; color: rgba(255,255,255,.58); background: rgba(255,255,255,.05); font-size: 10px; }
.player-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 24px; }
.detail-card { padding: 25px; border: 1px solid var(--line); border-radius: 23px; background: white; box-shadow: 0 13px 35px rgba(33,44,72,.05); }
.detail-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 14px; color: #6b57d4; background: #eeeaff; font-size: 12px; font-weight: 850; }
.detail-card:nth-child(2) .detail-icon { color: #d35479; background: #ffe9ef; }
.detail-card:nth-child(3) .detail-icon { color: #258192; background: #e1f7f5; }
.detail-card h3 { margin: 0 0 6px; font-size: 17px; }
.detail-card p { margin: 0; color: var(--muted); font-size: 11px; }
.iptv-card { grid-column: 1 / -1; display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; align-items: center; background: linear-gradient(125deg, #fff, #f2efff 55%, #eaf8ff); }
.iptv-card .detail-icon { grid-row: 1 / 3; margin: 0; color: #27809d; background: #dff3fb; }

.feature-section { background: white; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-item { min-height: 225px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fafbfe; transition: transform .25s, box-shadow .25s; }
.feature-item:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(35,45,74,.08); }
.feature-item > span { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 27px; border-radius: 13px; color: #6f58d8; background: #ece8ff; font-size: 16px; font-weight: 850; }
.feature-item:nth-child(2n) > span { color: #d55278; background: #ffe8ee; }
.feature-item:nth-child(3n) > span { color: #267e98; background: #e2f4fa; }
.feature-item h3 { margin: 0 0 7px; font-size: 17px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 11px; }
.feature-item.wide { grid-column: 1 / -1; min-height: auto; display: grid; grid-template-columns: 43px 1fr auto; align-items: center; gap: 19px; background: linear-gradient(120deg, #fff7f9, #f4f0ff 52%, #eef9ff); }
.feature-item.wide > span { margin: 0; }
.feature-item.wide b { padding: 7px 11px; border-radius: 999px; color: #c84e75; background: rgba(255,255,255,.75); font-size: 10px; }

.device-section { overflow: hidden; color: white; background: #0b1423; }
.device-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.device-copy > p { color: rgba(255,255,255,.48); }
.text-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 27px; color: #ff91ad; font-size: 12px; font-weight: 750; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.device-visual { position: relative; min-height: 530px; }
.device-visual::before { content: ""; position: absolute; width: 590px; height: 590px; left: 48%; top: -25px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(126,90,220,.26), transparent 67%); }
.tablet { position: absolute; width: 570px; right: 20px; top: 55px; padding: 9px; border-radius: 28px; background: #1b2432; box-shadow: 0 35px 85px rgba(0,0,0,.4); transform: rotate(-3deg); }
.tablet img { border-radius: 20px; }
.small-phone { position: absolute; z-index: 3; width: 170px; height: 367px; left: 15px; bottom: 0; overflow: hidden; border: 6px solid #1a2332; border-radius: 28px; box-shadow: 0 28px 65px rgba(0,0,0,.42); transform: rotate(5deg); }
.small-phone img { width: 100%; height: 100%; object-fit: cover; }

.download-section { position: relative; overflow: hidden; padding: 125px 0; color: white; background: #070e19; text-align: center; }
.download-section::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(rgba(255,255,255,.23) .7px, transparent .7px); background-size: 30px 30px; }
.download-glow { position: absolute; width: 850px; height: 520px; left: 50%; bottom: -330px; transform: translateX(-50%); border-radius: 50%; background: #b24798; filter: blur(120px); opacity: .32; }
.download-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.download-icon { margin-bottom: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; box-shadow: 0 28px 65px rgba(242,85,139,.25); }
.download-inner p { margin: 0 0 29px; color: rgba(255,255,255,.5); }
.button.large { min-width: 225px; min-height: 57px; }

.site-footer { color: rgba(255,255,255,.45); background: #040a12; }
.footer-inner { min-height: 98px; display: flex; align-items: center; gap: 28px; font-size: 11px; }
.footer-inner .brand { font-size: 13px; }
.company-link { color: rgba(255,255,255,.55); }
.company-link:hover, .footer-legal a:hover { color: white; }
.footer-legal { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.footer-legal p { margin: 0; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .device-stage { width: min(650px, 100%); margin-inline: auto; }
  .source-layout, .library-grid, .device-grid { gap: 45px; }
  .library-phone { left: 0; }
  .tablet { width: 520px; right: 0; }
}

@media (max-width: 780px) {
  .section-shell, .nav-shell { width: min(100% - 30px, 1180px); }
  .section { padding: 90px 0; }
  .nav-shell { height: 68px; }
  .menu-button { display: block; }
  .menu-button.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 68px; left: 15px; right: 15px; display: none; align-items: stretch; gap: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 19px; background: rgba(8,15,29,.97); box-shadow: 0 22px 50px rgba(0,0,0,.3); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .nav-download { margin-top: 6px; text-align: center; }
  .hero { padding-top: 125px; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .hero-copy > p { font-size: 15px; }
  .device-stage { min-height: 540px; transform: scale(.86); transform-origin: top center; margin-bottom: -75px; }
  .phone-left { left: -45px; }.phone-right { right: -45px; }
  .floating-chip { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 14px; }
  .hero-stats div { padding: 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .hero-stats div:nth-child(3), .hero-stats div:nth-child(4) { border-bottom: 0; }
  .source-layout, .library-grid, .device-grid { grid-template-columns: 1fr; }
  .source-preview { min-height: 650px; }
  .library-copy { order: -1; text-align: center; }
  .check-list { width: min(460px, 100%); margin-inline: auto; text-align: left; }
  .library-visual { min-height: 620px; }
  .player-stage { padding: 35px 22px 25px; border-radius: 28px; }
  .player-details, .feature-grid { grid-template-columns: 1fr 1fr; }
  .iptv-card, .feature-item.wide { grid-column: 1 / -1; }
  .device-copy { text-align: center; }
  .device-visual { min-height: 500px; }
  .tablet { width: min(92%, 570px); top: 70px; }
  .footer-inner { padding: 24px 0; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
  .footer-legal { width: 100%; margin: 0; justify-content: center; flex-wrap: wrap; gap: 7px 17px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { width: 100%; flex-direction: column; }
  .button { width: 100%; }
  .device-stage { min-height: 455px; transform: scale(.7); margin-bottom: -145px; }
  .section-heading h2, .library-copy h2, .device-copy h2, .download-inner h2 { font-size: 38px; }
  .source-card { padding: 23px; }
  .source-preview { min-height: 570px; transform: scale(.88); transform-origin: top center; margin-bottom: -65px; }
  .preview-label { display: none; }
  .library-visual { min-height: 515px; transform: scale(.8); transform-origin: top center; margin-bottom: -105px; }
  .library-phone { width: 270px; height: 583px; }
  .history-phone { right: -30px; }
  .player-details, .feature-grid { grid-template-columns: 1fr; }
  .iptv-card, .feature-item.wide { grid-column: auto; }
  .iptv-card { display: block; }
  .iptv-card .detail-icon { margin-bottom: 17px; }
  .feature-item.wide { grid-template-columns: 43px 1fr; }
  .feature-item.wide b { grid-column: 2; justify-self: start; }
  .device-visual { min-height: 365px; }
  .tablet { top: 50px; }
  .small-phone { width: 120px; height: 259px; left: -5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
