:root {
  --orange-1: #FF7A3D;
  --orange-2: #FF9A4D;
  --cream: #FFF8F0;
  --mist: #FFF3E8;
  --pink: #FFD9C0;
  --brown: #2B211D;
  --brown-deep: #1F1815;
  --text: #4A3B33;
  --text-light: #7A6A60;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --shadow-soft: 0 4px 16px rgba(80, 45, 20, 0.06), 0 18px 40px rgba(80, 45, 20, 0.06);
  --shadow-hover: 0 8px 24px rgba(80, 45, 20, 0.10), 0 24px 56px rgba(80, 45, 20, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --sec-gap: 96px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange-1); outline-offset: 3px; border-radius: 4px; }

/* --- 通用外壳与节头 --- */
section { scroll-margin-top: 84px; position: relative; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.sec { padding: var(--sec-gap) 0; }
.sec--light { background: var(--cream); }
.sec--mist { background: linear-gradient(180deg, var(--mist), var(--cream)); }
.sec--dark { background: var(--brown); color: #fff; }
.sec-head { margin-bottom: 40px; max-width: 720px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-1); font-weight: 700; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--orange-1); display: inline-block; }
.sec--dark .eyebrow { color: var(--orange-2); }
.sec h2 {
  font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--brown);
}
.sec--dark h2 { color: #fff; }
h2 em.juicy {
  font-style: normal; color: var(--orange-1); position: relative; display: inline-block;
}
h2 em.juicy::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 6px;
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  border-radius: 4px; opacity: .35; transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease-out .2s;
}
.in em.juicy::after, .reveal.em-in em.juicy::after { transform: scaleX(1); }
.lede { margin-top: 16px; font-size: 17px; color: var(--text-light); line-height: 1.7; max-width: 52ch; }
.sec-head--center .lede { margin-left: auto; margin-right: auto; }
.sec--dark .lede { color: rgba(255,248,240,.75); }

/* --- 通用卡片 --- */
.card {
  background: #fff; border: 1px solid rgba(255,122,61,.18); border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), var(--shadow-soft);
  padding: 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px); border-color: var(--orange-1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 6px rgba(255,122,61,.10), var(--shadow-hover);
}

/* --- 按钮 --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 16px;
  position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange-1), var(--orange-2));
  color: #fff; box-shadow: 0 8px 24px rgba(255,122,61,.3);
}
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .6s;
}
.btn-primary:hover::after { left: 150%; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 4px 12px rgba(255,122,61,.3); }
.btn-ghost {
  background: rgba(255,255,255,.6); backdrop-filter: blur(12px); border: 1px solid var(--orange-1);
  color: var(--orange-1);
}
.btn-ghost:hover { background: rgba(255,122,61,.05); }

/* --- 吸顶导航 --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,248,240,.72); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, background .3s;
}
.site-header::after {
  content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,122,61,.4) 50%, transparent);
}
.site-header.scrolled { background: rgba(255,248,240,.92); box-shadow: 0 8px 24px rgba(80,45,20,.06); }
.nav-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.brand img { height: 32px; width: auto; object-fit: contain; border-radius: 8px; }
.brand span { color: var(--brown); }
.brand em { font-style: normal; color: var(--orange-1); }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--text); }
.nav-links a { position: relative; padding: 8px 0; transition: color .2s; }
.nav-links a:hover { color: var(--orange-1); }
.nav-links a::after {
  content: ""; position: absolute; bottom: 0; left: 50%; width: 4px; height: 4px;
  background: var(--orange-1); border-radius: 50%; transform: translateX(-50%) scale(0);
  transition: transform .2s;
}
.nav-links a:hover::after { transform: translateX(-50%) scale(1); }
.nav-cta { display: flex; justify-content: flex-end; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }

/* --- 首屏 Hero --- */
#hero {
  padding: 80px 0 100px; min-height: 88vh; display: flex; align-items: center;
  background: var(--cream); overflow: hidden;
}
#hero::before, #hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(40px); z-index: 1;
}
#hero::before {
  width: 500px; height: 500px; top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(255,154,77,.28), transparent 70%);
}
#hero::after {
  width: 400px; height: 400px; bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(255,217,192,.5), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-text h1 { font-size: 52px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--brown); margin-bottom: 20px; }
.hero-text h1 em { font-style: normal; color: var(--orange-1); position: relative; display: inline-block; }
.hero-text h1 em::after {
  content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 8px;
  background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
  border-radius: 4px; opacity: .3; transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease-out .3s;
}
.hero-text .in em::after { transform: scaleX(1); }
.hero-sub { font-size: 18px; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; max-width: 46ch; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tags span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--brown);
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,122,61,.2);
  padding: 6px 14px; border-radius: 50px; backdrop-filter: blur(8px);
}
.hero-tags span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-1); }

.phone-hero {
  width: 320px; height: 660px; margin: 0 auto; border-radius: 44px;
  background: var(--brown); padding: 10px; position: relative;
  box-shadow: 0 20px 50px rgba(43,33,29,.15), 0 0 0 1px rgba(255,255,255,.1) inset;
  transform: rotate(-4deg); animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-8px); } }
.phone-hero::before {
  content: ""; position: absolute; top: 15px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 25px; background: #000; border-radius: 20px; z-index: 10;
}
.phone-hero img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: var(--mist);
}

/* --- 关于 --- */
#about .wrap { max-width: 820px; text-align: center; }
#about .sec-head { text-align: center; }
.about-line { height: 1px; background: linear-gradient(90deg, transparent, var(--orange-2), transparent); margin: 30px 0; position: relative; }
.about-line::before, .about-line::after {
  content: ""; position: absolute; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-1);
}
.about-line::before { left: 10%; } .about-line::after { right: 10%; }
.about-tags { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.about-tags span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,122,61,.3);
  border-radius: 50px; font-weight: 700; font-size: 15px; color: var(--brown); transition: all .2s;
}
.about-tags span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-1); }
.about-tags span:hover { border-color: var(--orange-1); box-shadow: 0 4px 12px rgba(255,122,61,.15); transform: translateY(-2px); }

/* --- 内容特色 --- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { text-align: left; }
.feature-icon {
  height: 120px; border-radius: var(--radius-sm); margin-bottom: 20px; position: relative;
  background: linear-gradient(135deg, #FFF3E8, #fff);
}
.feature-icon::after {
  content: attr(data-no); position: absolute; top: 10px; right: 15px;
  font-size: 40px; font-weight: 900; color: rgba(255,122,61,.1); font-style: italic;
}
.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--brown); }
.feature-card p { font-size: 14px; color: var(--text-light); }

/* --- 甜橘剧场 --- */
.tabs-wrap { display: flex; gap: 12px; margin-bottom: 28px; overflow-x: auto; padding-bottom: 8px; }
.tab {
  padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 700;
  background: #fff; border: 1px solid rgba(255,122,61,.2); color: var(--text); white-space: nowrap;
  transition: all .2s; cursor: pointer; outline: none;
}
.tab.active { background: var(--orange-1); color: #fff; border-color: var(--orange-1); box-shadow: 0 4px 12px rgba(255,122,61,.3); }
.grid-theater { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.drama-card {
  border-radius: var(--radius-md); overflow: hidden; background: #fff;
  border: 1px solid rgba(255,122,61,.15); box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
}
.drama-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.drama-cover { position: relative; aspect-ratio: 9/16; overflow: hidden; background: #eee; }
.drama-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.drama-card:hover .drama-cover img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.8);
  backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; color: var(--orange-1);
}
.drama-info { padding: 16px; }
.drama-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--brown); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-meta { display: flex; gap: 8px; font-size: 12px; color: var(--text-light); }

/* --- App 内页展示 --- */
.screens-wrap {
  display: flex; justify-content: center; align-items: flex-end; gap: -20px;
  padding: 40px 0 60px; overflow: hidden;
}
.screen-item {
  width: 220px; flex-shrink: 0; margin: 0 -15px; position: relative;
  transition: transform .4s, z-index .4s; transform-origin: bottom center;
}
.screen-item:nth-child(1) { transform: rotate(-6deg) translateY(20px); z-index: 1; }
.screen-item:nth-child(2) { transform: rotate(-3deg) translateY(10px); z-index: 2; }
.screen-item:nth-child(3) { transform: scale(1.06); z-index: 3; }
.screen-item:nth-child(4) { transform: rotate(3deg) translateY(10px); z-index: 2; }
.screen-item:nth-child(5) { transform: rotate(6deg) translateY(20px); z-index: 1; }
.screen-item:hover { transform: rotate(0) translateY(-10px) scale(1.1) !important; z-index: 10 !important; }
.screen-phone {
  border-radius: 30px; background: var(--brown); padding: 6px;
  box-shadow: 0 10px 30px rgba(43,33,29,.1); position: relative;
}
.screen-phone::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 14px; background: #000; border-radius: 10px; z-index: 10;
}
.screen-phone img { border-radius: 24px; aspect-ratio: 9/19.5; object-fit: cover; width: 100%; background: #FFF3E8; }

/* --- 追剧动线 --- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; position: relative; }
.step-badge {
  width: 50px; height: 50px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange-1), var(--orange-2)); color: #fff;
  font-size: 20px; font-weight: 800; border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  box-shadow: 0 4px 12px rgba(255,122,61,.3);
}
.step h3 { font-size: 20px; margin-bottom: 10px; color: var(--brown); }
.step p { font-size: 15px; color: var(--text-light); }

/* --- 口碑 --- */
.love-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.card-meter { background: var(--brown); color: #fff; padding: 40px; }
.card-meter h3 { font-size: 24px; margin-bottom: 20px; color: var(--orange-2); }
.card-meter p { font-size: 16px; line-height: 1.8; margin-bottom: 30px; }
.meter-bar { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.meter-fill { width: 85%; height: 100%; background: linear-gradient(90deg, var(--orange-1), var(--orange-2)); border-radius: 4px; }
.sub-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sub-cards .card { padding: 20px; }
.sub-cards p { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 12px; }
.sub-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-light); }
.sub-meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-1); }

/* --- FAQ --- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: #fff; border: 1px solid rgba(255,122,61,.15); border-radius: var(--radius-sm);
  padding: 0 20px; transition: all .3s;
}
details.faq-item:hover { border-color: var(--orange-1); box-shadow: 0 4px 12px rgba(255,122,61,.05); }
summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-weight: 700; font-size: 16px; color: var(--brown); cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; margin-left: 16px; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--orange-1); transition: transform .2s; border-radius: 2px;
}
.faq-plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-plus::after { top: 0; left: 7px; width: 2px; height: 16px; }
details[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
details[open] summary { color: var(--orange-1); }
.faq-answer { padding-bottom: 20px; font-size: 15px; color: var(--text-light); line-height: 1.7; border-top: 1px dashed rgba(255,122,61,.2); padding-top: 16px; }

/* --- 下载 --- */
#download { background: var(--brown-deep); color: #fff; }
.dl-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.dl-left h2 { font-size: 42px; margin-bottom: 20px; color: #fff; }
.dl-left .lede { color: rgba(255,248,240,.7); margin-bottom: 40px; font-size: 18px; }
.dl-buttons { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.dl-btn {
  display: flex; align-items: center; gap: 12px; padding: 12px 24px;
  border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05); transition: all .2s; color: #fff;
}
.dl-btn:hover { background: rgba(255,255,255,.1); border-color: var(--orange-1); transform: translateY(-2px); }
.dl-btn-text { display: flex; flex-direction: column; text-align: left; }
.dl-btn-text small { font-size: 11px; color: rgba(255,255,255,.6); }
.dl-btn-text strong { font-size: 16px; font-weight: 700; }
.dl-meta { font-size: 13px; color: rgba(255,255,255,.5); border-top: 1px dashed rgba(255,255,255,.1); padding-top: 20px; line-height: 2; }
.qr-card {
  background: var(--cream); padding: 30px; border-radius: var(--radius-lg);
  text-align: center; color: var(--brown); width: 240px; margin: 0 auto;
}
.qr-box {
  width: 180px; height: 180px; margin: 0 auto 16px;
  background: #fff; border: 1px dashed rgba(255,122,61,.3); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.qr-box::before { content: "扫码下载"; font-size: 14px; color: var(--text-light); }

/* --- 页脚 --- */
footer {
  background: var(--brown-deep); color: rgba(255,255,255,.4); padding: 40px 0 30px;
  font-size: 13px; border-top: 1px solid rgba(255,255,255,.05);
}
.footer-content {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--orange-1); }

/* --- 滚动进场动画 --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .48s ease-out, transform .48s ease-out; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* --- 响应式 --- */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 60px; }
  .hero-text h1 { font-size: 42px; }
  .hero-text .lede { margin: 0 auto 32px; }
  .hero-cta, .hero-tags { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-theater { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; text-align: center; margin-bottom: 30px; }
  .dl-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .dl-left .lede { margin: 0 auto 40px; }
  .dl-buttons, .dl-meta { justify-content: center; text-align: center; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
}

@media (max-width: 767px) {
  :root { --sec-gap: 64px; }
  .wrap, .nav-inner, .footer-content { padding: 0 24px; }
  .hero-text h1 { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .grid-theater { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .love-grid { grid-template-columns: 1fr; }
  .sub-cards { grid-template-columns: 1fr; }
  .phone-hero { width: 260px; height: 540px; }
  .screens-wrap {
    justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 20px 24px; gap: 20px;
  }
  .screen-item { width: 70vw; margin: 0; scroll-snap-align: center; transform: none !important; }
  .screen-item:nth-child(n) { transform: none !important; }
  .sec h2 { font-size: 28px; }
  .footer-content { flex-direction: column; text-align: center; }
}

/* --- 动效降级 --- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .phone-hero { animation: none !important; }
  * { scroll-behavior: auto !important; }
}