@charset "utf-8";
/* ==========================================================================
   芒果电影票 - 站点样式表（纯静态 CSS，无 JS 依赖，百度蜘蛛抓取即渲染）
   主色 #FF7D00 / 辅助色 #165DFF
   ========================================================================== */

:root {
    --primary: #FF7D00;
    --primary-dark: #E86F00;
    --primary-soft: rgba(255, 125, 0, .09);
    --secondary: #165DFF;
    --dark: #1D2939;
    --text: #374151;
    --muted: #6B7280;
    --line: #EEF0F3;
    --gray-light: #F3F4F6;
    --bg: #F9FAFB;
    --radius: 16px;
    --shadow-sm: 0 4px 14px rgba(16, 24, 40, .05);
    --shadow-md: 0 12px 30px rgba(16, 24, 40, .08);
    --shadow-lg: 0 20px 48px rgba(16, 24, 40, .12);
    --wrap: 1200px;
}

* { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--dark);
    background: var(--bg);
}

img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.35; }
p { margin: 0 0 14px; }
strong { font-weight: 700; }
ul, ol { margin: 0 0 16px; }
button { font-family: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* 无障碍：屏幕阅读器可见、视觉隐藏 */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 跳转到主内容（键盘用户） */
.skip {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ------------------------------------------------------------------ 头部 */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 1px 3px rgba(16, 24, 40, .07);
}
@supports (backdrop-filter: blur(4px)) {
    .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(10px); }
}
.header-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 13px 0;
}
.brand { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.brand__name { font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: .5px; }
.brand__slogan { font-size: 12.5px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { position: relative; padding: 6px 0; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--primary); }
.nav a.is-active { color: var(--primary); font-weight: 700; }
.nav a.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
    background: var(--primary); border-radius: 2px;
}
.header-cta { flex-shrink: 0; }

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px;
    background: #fff; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 18px; height: 2px; background: var(--dark); border-radius: 2px; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.mobile-nav { display: none; }
.mobile-nav.is-open {
    display: block; border-top: 1px solid var(--line); background: #fff; padding: 6px 0 18px;
}
.mobile-nav a { display: block; padding: 12px 0; font-size: 15.5px; border-bottom: 1px dashed var(--line); }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .btn { margin-top: 14px; }

/* --------------------------------------------------------------- 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 30px; border: 2px solid transparent; border-radius: 999px;
    font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn--primary { background: var(--secondary); color: #fff; box-shadow: 0 10px 24px rgba(22, 93, 255, .22); }
.btn--primary:hover { background: #0E4EE0; transform: translateY(-1px); }
.btn--orange { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(255, 125, 0, .26); }
.btn--orange:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn--outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary-soft); }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--lg { padding: 15px 36px; font-size: 17px; }
.btn--block { width: 100%; }

/* ------------------------------------------------------- 通用版式/区块 */
.section { padding: 70px 0; }
.section--white { background: #fff; }
.section--gray { background: var(--gray-light); }
.section--tint { background: linear-gradient(135deg, rgba(255, 125, 0, .06), rgba(22, 93, 255, .05)); }
.section-head { max-width: 800px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 14px 0 12px; }
.section-head p { margin: 0; color: var(--muted); font-size: 16.5px; }
.badge {
    display: inline-block; padding: 5px 15px; border-radius: 999px;
    background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600;
}
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-sm { margin-top: 14px; }
.mt-md { margin-top: 26px; }
.mt-lg { margin-top: 44px; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------- 首屏 */
.hero {
    padding: 58px 0 70px;
    background:
        radial-gradient(1100px 460px at 10% -12%, rgba(255, 125, 0, .11), transparent 62%),
        radial-gradient(900px 420px at 100% 0, rgba(22, 93, 255, .07), transparent 58%);
}
.hero--sub { padding: 34px 0 44px; }
.hero--sub h1 { font-size: clamp(25px, 3.4vw, 36px); }
.hero--sub .lead { max-width: 780px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(29px, 4.1vw, 44px); margin-bottom: 18px; }
.hl { color: var(--primary); }
.hero .lead { font-size: 17px; color: #4B5563; max-width: 560px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; isolation: isolate; }
.hero__shot {
    max-width: 380px; margin: 0 auto;
    border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
    background: #fff; padding: 10px; transform: rotate(1.2deg); transition: transform .5s ease;
}
.hero__shot:hover { transform: rotate(0); }
.hero__shot img { border-radius: 14px; }
.blob { position: absolute; border-radius: 50%; filter: blur(46px); z-index: -1; }
.blob--orange { width: 150px; height: 150px; background: rgba(255, 125, 0, .28); bottom: -24px; left: -24px; }
.blob--blue { width: 150px; height: 150px; background: rgba(22, 93, 255, .22); top: -24px; right: -20px; }

/* 扫码区 */
.scan { margin-top: 34px; }
.scan__title { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--primary); margin: 0 0 16px; }
.scan__box {
    display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
    background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow-md);
}
.scan__box img { width: 210px; height: 210px; object-fit: contain; }
.scan__tip { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------- 卡片 */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card--gray { background: var(--gray-light); border-color: transparent; }
.card h3 { font-size: 19px; margin: 16px 0 10px; }
.card h4 { font-size: 17px; margin: 0 0 10px; }
.card p { margin: 0; color: #4B5563; font-size: 15px; }
.card p + p { margin-top: 10px; }

.icon {
    width: 52px; height: 52px; border-radius: 50%; background: var(--primary-soft);
    display: flex; align-items: center; justify-content: center; font-size: 23px; line-height: 1;
}
.icon--blue { background: rgba(22, 93, 255, .09); }

/* 图标 + 标题（行内） */
.card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-title .icon { width: 40px; height: 40px; font-size: 18px; flex-shrink: 0; }
.card-title h3, .card-title h4 { margin: 0; }

/* 勾选清单 */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 11px; color: var(--text); font-size: 15.5px; }
.checklist li::before {
    content: "✓"; position: absolute; left: 2px; top: 0; color: var(--primary); font-weight: 800;
}
.checklist--blue li::before { color: var(--secondary); }

/* 步骤 */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { position: relative; padding-left: 50px; margin-bottom: 15px; color: var(--text); font-size: 15.5px; }
.steps li::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 0; top: 3px; width: 32px; height: 32px; border-radius: 50%;
    background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}

/* ------------------------------------------------------------- 图文分栏 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split + .split { margin-top: 62px; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; }
.split h3 { font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.split h3 .icon { width: 40px; height: 40px; font-size: 18px; flex-shrink: 0; }
.quote-box { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); margin-top: 22px; }
.quote-box p { margin: 0; color: var(--text); font-weight: 600; font-size: 15.5px; }

/* --------------------------------------------------------------- 方案 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.plan {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: 20px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.plan--featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); transform: scale(1.035); z-index: 2; }
.plan__flag { background: var(--primary); color: #fff; text-align: center; padding: 6px; font-size: 13px; font-weight: 600; }
.plan__body { padding: 26px 26px 0; }
.plan__body h3 { font-size: 21px; margin-bottom: 6px; }
.plan__desc { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.plan__price { font-size: 34px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.plan__price small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan__body .checklist { margin-top: 18px; }
.plan__foot { padding: 22px 26px 26px; margin-top: auto; }

/* --------------------------------------------------------------- 表格 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { padding: 13px 16px; text-align: left; font-size: 15px; border-bottom: 1px solid #F1F3F5; }
thead th { background: #FAFAFB; font-weight: 700; color: var(--dark); }
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; background: #fff; }

/* --------------------------------------------------------------- 数据 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; text-align: center; }
.stat__num { font-size: 30px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stat__label { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* --------------------------------------------------------------- 文章 */
.prose { max-width: 880px; }
.prose h2 { font-size: clamp(21px, 2.7vw, 28px); margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.note {
    background: #FFF7EC; border-left: 4px solid var(--primary); border-radius: 0 12px 12px 0;
    padding: 16px 20px; color: #7C4A00; font-size: 15px; margin: 0 0 18px;
}
.note p:last-child { margin-bottom: 0; }
.meta { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }

/* --------------------------------------------------------------- 面包屑 */
.breadcrumb { font-size: 13.5px; color: var(--muted); padding-top: 14px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 7px; }

/* --------------------------------------------------------------- FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    margin-bottom: 13px; overflow: hidden;
}
.faq summary {
    cursor: pointer; padding: 16px 22px; font-size: 16px; font-weight: 700;
    display: flex; align-items: center; justify-content: space-between; gap: 14px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq__a { padding: 16px 22px 6px; color: var(--text); font-size: 15.5px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------- 功能展示图组 */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.shot__media {
    background: var(--gray-light); padding: 14px; display: flex; align-items: center; justify-content: center;
}
.shot__media img { width: 100%; max-width: 250px; border-radius: 12px; box-shadow: 0 6px 18px rgba(16, 24, 40, .13); }
.shot__text { padding: 16px 20px 20px; }
.shot__text h3 { font-size: 17px; margin-bottom: 6px; }
.shot__text p { margin: 0; color: #4B5563; font-size: 14.5px; }

/* --------------------------------------------------------------- 弹窗 */
.modal {
    display: none; position: fixed; inset: 0; z-index: 200; padding: 24px;
    background: rgba(0, 0, 0, .72); align-items: center; justify-content: center;
}
.modal.is-open { display: flex; }
.modal__inner { position: relative; max-width: min(92vw, 520px); }
.modal__img { width: 100%; border-radius: 14px; background: #fff; padding: 10px; }
.modal__close {
    position: absolute; top: -44px; right: 0; background: none; border: 0; padding: 0;
    color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}

/* --------------------------------------------------------------- 二维码 */
.qr-box {
    display: inline-block; background: #fff; border: 1px solid var(--line);
    border-radius: 18px; padding: 16px; box-shadow: var(--shadow-sm);
}
.qr-box img { width: 220px; height: 220px; object-fit: contain; }

/* ------------------------------------------------------------ 咨询区块 */
.cta-band {
    background: linear-gradient(135deg, #FFA23A, #FF7D00);
    color: #fff; border-radius: 22px; padding: 44px 34px; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .94); max-width: 620px; margin: 0 auto 22px; }
.cta-band .btn { background: #fff; color: var(--primary); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }

/* --------------------------------------------------------------- 页脚 */
.site-footer { background: var(--dark); color: #9CA3AF; padding: 54px 0 26px; font-size: 15px; }
.site-footer h3 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.site-footer a { color: #9CA3AF; }
.site-footer a:hover { color: var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; font-size: 14.5px; }
.friend-links { border-bottom: 1px solid rgba(255, 255, 255, .09); padding-bottom: 26px; margin-bottom: 34px; }
.friend-links h3 { font-size: 16px; margin-bottom: 14px; }
.friend-links__list { display: flex; flex-wrap: wrap; gap: 12px; }
.friend-links__list a {
    background: rgba(255, 255, 255, .07); border-radius: 8px; padding: 5px 14px; font-size: 14px;
}
.footer-brand__desc { font-size: 14.5px; line-height: 1.8; margin-bottom: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 34px; padding-top: 22px;
    text-align: center; font-size: 13.5px; color: #98A2B3;
}
.footer-bottom p { margin: 0 0 6px; }

/* --------------------------------------------------------------- 浮钮 */
#backToTop {
    position: fixed; right: 22px; bottom: 26px; z-index: 80;
    width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 20px; cursor: pointer;
    box-shadow: 0 10px 24px rgba(255, 125, 0, .34);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
#backToTop.is-show { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
    .nav { gap: 18px; }
    .nav a { font-size: 14.5px; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .nav, .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .hero__grid { grid-template-columns: 1fr; gap: 34px; }
    .hero__media { max-width: 420px; }
    .split { grid-template-columns: 1fr; gap: 28px; }
    .split--reverse .split__media { order: 0; }
    .split + .split { margin-top: 46px; }
    .plans { grid-template-columns: 1fr; }
    .plan--featured { transform: none; }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .shots { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .section { padding: 50px 0; }
    .grid--2, .grid--3, .grid--4, .shots { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .scan__box img { width: 180px; height: 180px; }
    .qr-box img { width: 190px; height: 190px; }
    .card { padding: 22px; }
    .cta-band { padding: 34px 22px; }
}
