:root {
  --ink: #1e1d1d;
  --muted: #5c5959;
  --line: #ebeef5;
  --orange: #ff612e;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Muli", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, summary { cursor: pointer; }
ul, ol { margin: 0; padding: 0; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; color: #fff; background: rgba(30, 29, 29, .96); }
.header-inner { min-height: 80px; max-width: var(--max); margin: 0 auto; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: -.5px; }
.brand-logo { display: block; width: 176px; height: auto; padding: 4px 9px; border-radius: 8px; background: #fff; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 31px; font-size: 14px; font-weight: 400; }
.desktop-nav > a:hover, .language-trigger:hover { color: #d7d7d7; }
.language-menu { position: relative; }
.language-trigger { display: flex; align-items: center; gap: 6px; color: #fff; border: 0; padding: 25px 0; background: transparent; }
.globe { display: inline-flex; width: 18px; height: 18px; color: currentColor; }
.globe svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.language-dropdown { position: absolute; z-index: 20; top: calc(100% - 4px); right: -10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: 238px; padding: 10px; color: var(--ink); border: 1px solid rgba(30,29,29,.08); border-radius: 10px; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.22); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.language-dropdown a { display: flex; min-height: 34px; align-items: center; padding: 6px 9px; border-radius: 6px; color: var(--ink); font-size: 13px; line-height: 1.25; white-space: nowrap; transition: color .15s ease, background-color .15s ease; }
.language-dropdown a:hover, .language-dropdown a:focus-visible { color: var(--orange); outline: 0; background: #fff2ed; }
.language-dropdown a.active { color: var(--orange); font-weight: 700; background: #fff2ed; }
.language-menu:hover .language-dropdown, .language-menu:focus-within .language-dropdown, .language-menu.open .language-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.menu-toggle, .mobile-menu { display: none; }

.hero { padding-top: 80px; min-height: 304px; color: #fff; background: linear-gradient(108deg, #ff0050 0%, #ec007d 20%, #7139dd 56%, #07bade 100%); }
.hero-content { max-width: var(--max); margin: 0 auto; padding: 69px 10px 57px; text-align: center; }
.hero h1 { margin: 0 0 16px; font-size: 48px; line-height: 1.17; font-weight: 800; }
.hero-benefits { display: flex; justify-content: center; gap: 48px; font-size: 16px; line-height: 20px; }
.hero-benefits span { display: inline-flex; align-items: center; gap: 8px; }
.check-icon { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; font-style: normal; font-size: 12px; }
.download-panel { padding: 30px 10px 39px; color: #fff; text-align: center; background: linear-gradient(108deg, #ee0069 0%, #8541d2 49%, #06c0e0 100%); }
.download-form { display: flex; align-items: center; justify-content: center; gap: 16px; }
.input-wrap { position: relative; width: 700px; }
.input-wrap input { width: 100%; height: 68px; padding: 0 45px 0 16px; color: #606266; border: 1px solid #dcdfe6; border-radius: 4px; outline: 0; background: #fff; font-size: 14px; }
.input-wrap input:focus { box-shadow: 4px 6px 12px rgba(47,43,192,.2); }
.input-wrap input::placeholder { color: #606266; opacity: .3; }
.clear-input { display: none; position: absolute; right: 12px; top: 20px; width: 28px; height: 28px; color: #838383; border: 0; background: transparent; font-size: 25px; line-height: 1; }
.input-wrap.has-value .clear-input { display: block; }
.download-button { display: inline-flex; align-items: center; justify-content: center; width: 240px; height: 68px; color: #fff; border: 1px solid #040404; border-radius: 4px; background: #040404; font-size: 24px; font-weight: 800; transition: color .2s, transform .2s; }
.download-button:hover { color: #d9d9d9; transform: translateY(-1px); }
.download-button.loading span:first-child { opacity: .55; }
.button-spinner { display: none; width: 18px; height: 18px; margin-left: 10px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.download-button.loading .button-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.terms { position: relative; z-index: 1; margin: 0; padding-top: 0; font-size: 16px; line-height: 26px; }
.terms a { text-decoration: underline; }
.download-result { position: relative; z-index: 2; max-width: 960px; margin: 18px auto 0; display: none; color: #444; text-align: left; }
.download-result.visible { display: block; }
.result-box { display: flex; min-height: 272px; overflow: visible; border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(30,29,29,.16); }
.thumb-box { position: relative; flex: 0 0 272px; min-height: 272px; overflow: hidden; border-radius: 8px 0 0 8px; background: #e9e9e9; }
.clip { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #e9e9e9; }
.clip:disabled { cursor: default; }
.thumb { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.play-btn { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; border: 3px solid #fff; border-radius: 50%; background: rgba(0,0,0,.34); box-shadow: 0 2px 10px rgba(0,0,0,.25); transform: translate(-50%, -50%); transition: transform .2s, background .2s; }
.play-btn::after { content: ""; position: absolute; left: 22px; top: 15px; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 17px solid #fff; }
.clip:not(:disabled):hover .play-btn { background: rgba(0,0,0,.58); transform: translate(-50%, -50%) scale(1.06); }
.info-box { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 30px 26px; }
.meta { min-width: 0; }
.meta .row { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meta .title { color: var(--ink); font-size: 20px; font-weight: 800; line-height: 1.4; }
.meta .duration { margin-top: 9px; color: var(--muted); font-size: 14px; }
.link-box { display: flex; align-items: stretch; gap: 8px; margin-top: 24px; }
.def-btn-box, .drop-down-box { position: relative; flex: 0 0 auto; }
.link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 4px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.primary-download { min-width: 108px; padding: 0 22px; color: #fff; background: var(--ink); }
.primary-download:hover { background: var(--orange); }
.link-box.has-format-menu { gap: 0; }
.link-box.has-format-menu .def-btn-box { position: relative; z-index: 1; }
.link-box.has-format-menu .primary-download { border-radius: 4px 0 0 4px; }
.link-box.has-format-menu .drop-down-box { margin-left: -1px; }
.link-box.has-format-menu .def-btn-name { border-radius: 0 4px 4px 0; }
.def-btn-name { display: inline-flex; align-items: center; gap: 4px; min-height: 42px; padding: 0 16px; color: var(--ink); border: 1px solid #d9d9d9; border-radius: 4px; background: #fff; font-size: 14px; font-weight: 700; }
.def-btn-name::after { content: ""; width: 7px; height: 7px; margin-left: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.drop-down-box.open .def-btn-name::after { transform: translateY(2px) rotate(225deg); }
.def-btn-name:hover { border-color: var(--orange); color: var(--orange); }
.subname { font-weight: 400; }
.list { position: absolute; z-index: 5; right: 0; bottom: calc(100% + 8px); display: none; min-width: 190px; max-height: min(60vh, 360px); overflow-y: auto; padding: 8px; border: 1px solid #e6e6e6; border-radius: 5px; background: #fff; box-shadow: 0 8px 25px rgba(0,0,0,.16); }
.drop-down-box.open .list { display: block; }
.links, .link-group { display: grid; gap: 2px; }
.format-section + .format-section { margin-top: 8px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
.format-section-title { padding: 2px 11px 5px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase; }
.format-link { justify-content: flex-start; width: 100%; min-height: 38px; padding: 0 11px; color: var(--ink); font-weight: 600; }
.format-link .subname { margin-left: 3px; color: var(--muted); }
.format-link.selected { color: var(--orange); background: #fff4f0; }
.format-link:hover { color: var(--orange); background: #fff4f0; }
.analysis-note { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.download-modal { position: fixed; z-index: 40; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.46); }
.download-modal[hidden] { display: none; }
.download-dialog { position: relative; width: min(92vw, 380px); padding: 30px 24px 24px; color: var(--ink); text-align: center; border-radius: 8px; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.28); }
.download-dialog-spinner { width: 42px; height: 42px; margin: 0 auto 18px; border: 3px solid #e9e9e9; border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
.download-dialog-title { display: block; font-size: 18px; line-height: 26px; }
.download-dialog-message { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.download-dialog.error .download-dialog-title { color: var(--orange); }
.download-dialog.success .download-dialog-title { color: #198754; }
.download-progress { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.download-progress[hidden] { display: none; }
.download-progress-track { position: relative; flex: 1; height: 7px; overflow: hidden; border-radius: 999px; background: #ececec; }
.download-progress-bar { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #ff9a5c); transition: width .18s ease; }
.download-progress.indeterminate .download-progress-bar { width: 32%; animation: download-progress-slide 1.1s ease-in-out infinite; }
.download-progress-label { min-width: 42px; color: var(--muted); font-size: 12px; text-align: right; }
@keyframes download-progress-slide { 0% { transform: translateX(-130%); } 100% { transform: translateX(330%); } }
.download-dialog-close { margin-top: 20px; padding: 8px 20px; color: #fff; border: 0; border-radius: 4px; background: var(--ink); font-size: 14px; }
.download-dialog-close:hover { background: var(--orange); }
.link-download.is-downloading { pointer-events: none; opacity: .58; }
.preview-modal { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.78); }
.preview-modal[hidden] { display: none; }
.preview-dialog { position: relative; width: min(92vw, 540px); padding: 22px; color: #fff; border-radius: 8px; background: #151515; box-shadow: 0 18px 60px rgba(0,0,0,.4); }
.preview-dialog strong { display: block; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-close { position: absolute; right: 12px; top: 8px; width: 32px; height: 32px; color: #fff; border: 0; background: transparent; font-size: 28px; line-height: 1; }
.preview-video { display: block; width: 100%; max-height: 72vh; margin-top: 14px; background: #000; }
.analysis-note { color: var(--muted); }

.device-section { margin-top: 60px; }
.device-card { max-width: var(--max); margin: 0 auto; padding: 60px 65px; border-radius: 8px; background: #f8f8f8; }
h2 { margin: 0 auto; font-size: 36px; line-height: 46px; font-weight: 800; text-align: center; }
.device-card h2 { max-width: 680px; padding-bottom: 28px; }
.intro { max-width: 800px; margin: 0 auto; padding-bottom: 60px; color: var(--muted); text-align: center; }
.two-columns { display: grid; grid-template-columns: minmax(0,471px) minmax(0,471px); justify-content: space-around; gap: 72px; }
h3 { margin: 0; padding-bottom: 32px; font-size: 20px; line-height: 30px; text-align: center; }
.feature-list, .steps-list { color: var(--muted); }
.feature-list { list-style: none; }
.feature-list li { position: relative; margin-bottom: 16px; }
.feature-list li::before { content: ""; position: absolute; left: -17px; top: 11px; width: 6px; height: 6px; border: 1px solid #949597; border-radius: 50%; background: #949597; }
.steps-list { padding-left: 19px; }
.steps-list li { position: relative; padding-left: 29px; padding-bottom: 16px; list-style: none; }
.steps-list li::before { content: counter(list-item); position: absolute; left: -1px; top: 0; color: var(--ink); font-weight: 700; }
.steps-list li:not(:last-child)::after { content: ""; position: absolute; left: 3px; top: 24px; height: calc(100% - 8px); border-left: 1px dashed #cacbcd; }

.faq-section { padding: 120px 10px 80px; }
.faq-inner { max-width: var(--max); margin: 0 auto; }
.faq-inner h2 { padding-bottom: 38px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 20px; list-style: none; font-size: 18px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-size: 25px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 30px 30px; color: var(--muted); font-size: 16px; }
.faq-answer ul { padding-left: 23px; }
.faq-answer li { padding: 2px 0; }
.faq-answer p { margin: 0 0 8px; }

footer { color: #e6e6e6; text-align: center; background: #2b2b2b; }
.footer-top { padding: 29px 10px 20px; display: flex; align-items: center; justify-content: center; gap: 27px; flex-wrap: wrap; }
.footer-top strong { color: #fff; }
.footer-features { display: flex; align-items: center; justify-content: center; gap: 25px; flex-wrap: wrap; }
.footer-features span { display: inline-flex; align-items: center; gap: 6px; }
.footer-features span:first-letter { color: #fff; }
.footer-links { padding: 17px 10px; border-top: 1px solid #3d3c3c; border-bottom: 1px solid #3d3c3c; font-size: 14px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links b { margin: 0 11px; color: #828282; font-weight: 400; }
.copyright { padding: 17px 10px 22px; color: #969696; font-size: 14px; }

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; width: 36px; height: 36px; padding: 7px 4px; flex-direction: column; justify-content: space-around; border: 0; background: transparent; }
  .menu-toggle span { height: 2px; border-radius: 2px; background: #fff; }
  .mobile-menu { padding: 0 20px; background: #fff; color: var(--ink); }
  .mobile-menu.open { display: block; }
  .mobile-menu > a, .mobile-language { display: flex; width: 100%; min-height: 48px; align-items: center; border-bottom: 1px solid #eee; background: none; color: inherit; font-size: 14px; text-align: left; }
  .mobile-language { justify-content: space-between; border: 0; }
  .mobile-languages { display: none; grid-template-columns: 1fr 1fr; padding: 0 10px 12px; background: #f8f8f8; }
  .mobile-languages.open { display: grid; }
  .mobile-languages a { padding: 7px 0; font-size: 13px; }
  .hero h1 { font-size: 36px; }
  .device-card { margin: 0 10px; padding: 50px 35px; }
  .two-columns { gap: 45px; }
  h2 { font-size: 29px; line-height: 38px; }
}

@media (max-width: 767px) {
  .header-inner { min-height: 64px; }
  .site-header { position: absolute; }
  .brand-logo { width: 132px; padding: 3px 7px; border-radius: 6px; }
  .hero { padding-top: 64px; min-height: 248px; }
  .hero-content { padding: 59px 10px 39px; }
  .hero h1 { font-size: 28px; line-height: 36px; }
  .hero-benefits { gap: 18px; font-size: 13px; }
  .check-icon { width: 16px; height: 16px; font-size: 10px; }
  .download-panel { padding: 25px 10px 32px; }
  .download-form { flex-direction: column; gap: 0; }
  .input-wrap, .download-button { width: 100%; }
  .download-button { height: 60px; margin-top: 10px; font-size: 21px; }
  .input-wrap input { height: 60px; }
  .clear-input { top: 17px; }
  .terms { padding-top: 8px; font-size: 13px; }
  .result-box { display: block; }
  .thumb-box { width: 100%; height: min(72vw, 272px); min-height: 0; border-radius: 8px 8px 0 0; }
  .info-box { padding: 20px; }
  .meta .title { font-size: 18px; }
  .link-box { margin-top: 22px; }
  .def-btn-box, .drop-down-box { min-width: 0; flex: 1 1 0; }
  .primary-download, .def-btn-name { width: 100%; padding-right: 12px; padding-left: 12px; }
  .list { right: 0; left: auto; width: min(220px, calc(100vw - 40px)); min-width: 0; }
  .device-section { margin-top: 0; }
  .device-card { padding: 40px 25px; background: transparent; }
  .device-card h2 { padding-bottom: 20px; }
  h2 { font-size: 20px; line-height: 30px; }
  .intro { padding-bottom: 38px; font-size: 14px; text-align: center; }
  .two-columns { display: block; }
  .two-columns > div + div { margin-top: 40px; }
  h3 { padding-bottom: 22px; font-size: 18px; }
  .feature-list, .steps-list { margin-left: 17px; font-size: 14px; }
  .faq-section { padding: 30px 10px 55px; }
  .faq-inner h2 { padding-bottom: 20px; }
  .faq-list summary { min-height: 56px; padding: 0 12px; font-size: 14px; line-height: 20px; }
  .faq-answer { padding: 0 12px 24px; font-size: 13px; }
  .footer-top { display: block; padding-top: 25px; }
  .footer-features { margin-top: 13px; gap: 10px 18px; font-size: 13px; }
  .footer-links { font-size: 12px; }
  .copyright { font-size: 12px; }
}

@media (max-width: 420px) {
  .hero-benefits { gap: 9px; font-size: 11px; }
  .hero-benefits span { gap: 4px; }
}
