/* ============================================
   阳葵育儿 · 新中式H5官网
   设计系统：淡紫宣纸底 + 深紫主色 + 暖金点缀 + 白卡片
   字体：Noto Serif SC (标题) + Noto Sans SC (正文)
   ============================================ */

/* === Design Tokens === */
:root {
  --purple-deep: #3d2b5c;
  --purple-mid: #6b4f8a;
  --purple-light: #f5f0f8;
  --gold: #c8a86e;
  --gold-light: #f0e6d0;
  --gold-dark: #a8884a;
  --white: #ffffff;
  --paper: #fdfcfe;
  --ink: #2a2235;
  --muted: #7a7285;
  --line: rgba(61, 43, 92, 0.08);
  --shadow: rgba(61, 43, 92, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #app {
  margin: 0;
  min-height: 100%;
  background: var(--purple-light);
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
body { user-select: none; -webkit-user-select: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

/* === Phone Shell === */
.phone-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--purple-light);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 84px;
}

/* === Typography === */
h1, h2, h3, .serif {
  font-family: var(--font-serif);
}

/* === Hero Section === */
.hero {
  background: linear-gradient(160deg, var(--purple-deep) 0%, #4a3570 50%, #5d4480 100%);
  color: #fff;
  padding: 28px 24px 36px;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border: 1px solid rgba(200, 168, 110, 0.15);
  border-radius: 50%;
  right: -90px; top: -80px;
}
.hero::after {
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  border: 1px solid rgba(200, 168, 110, 0.10);
  border-radius: 50%;
  left: -40px; bottom: -30px;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.logo {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: grid;
  place-items: center;
  color: var(--purple-deep);
  font-weight: 900;
  font-size: 18px;
  font-family: var(--font-serif);
}
.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: var(--font-serif);
}
.brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  letter-spacing: 2px;
}
.user-pill {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  white-space: nowrap;
}
.hero h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 36px 0 14px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}
.hero p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
  max-width: 340px;
}
.gold { color: var(--gold); }

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

/* === Buttons === */
.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn.gold-btn {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--purple-deep);
  box-shadow: 0 8px 24px rgba(200, 168, 110, 0.3);
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  box-shadow: none;
}
.btn.ghost-dark {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  box-shadow: none;
}
.btn.block { width: 100%; margin-top: 12px; }
.btn.small { padding: 8px 14px; font-size: 12px; }

/* === Section === */
.section {
  padding: 24px 20px 0;
}
.section-title {
  margin-bottom: 16px;
}
.section-title h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: 0.5px;
}

/* === Card === */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 30px var(--shadow);
}

/* === Teacher Section === */
.teacher-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
}
.teacher-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold-light);
}
.teacher-info h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--purple-deep);
}
.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.teacher-tags span {
  background: var(--purple-light);
  color: var(--purple-mid);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}
.teacher-info p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* === 领资料入口 === */
.materials-section {
  margin: 24px 20px 0;
}
.materials-card {
  padding: 20px;
}
.materials-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.material-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--purple-light);
  border-radius: var(--radius-sm);
}
.material-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.material-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}
.material-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.materials-cta {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.materials-cta-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 12px;
}

/* === Pain Points (emoji + ?! animation) === */
.pain-section {
  background: linear-gradient(180deg, var(--purple-light) 0%, #f0eaf8 100%);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin: 24px 20px 0;
}
.pain-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(61, 43, 92, 0.06);
  animation: painFadeIn 0.5s ease both;
}
.pain-item:last-child { border-bottom: none; }
.pain-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  animation: painShake 2s ease-in-out infinite;
}
.pain-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}
.pain-cta {
  margin-top: 18px;
  text-align: center;
}
.pain-cta p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 12px;
}

@keyframes painFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes painShake {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-8deg); }
  20% { transform: rotate(8deg); }
  30% { transform: rotate(-5deg); }
  40% { transform: rotate(5deg); }
  50%, 100% { transform: rotate(0deg); }
}

/* === Course Card === */
.course-card {
  margin-bottom: 16px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s;
}
.course-card:active {
  transform: scale(0.98);
}
.course-cover {
  height: 160px;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.course-cover::after {
  content: "不吼不叫做智慧父母";
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
  letter-spacing: 1px;
}
.badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  color: #fff;
  letter-spacing: 1px;
}
.course-cover-title {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  max-width: 280px;
  font-family: var(--font-serif);
}
.course-body {
  padding: 18px;
}
.course-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--purple-deep);
}
.course-body > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}
.meta span {
  background: var(--purple-light);
  color: var(--purple-mid);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.price {
  font-size: 26px;
  font-weight: 900;
  color: #d9783a;
  font-family: var(--font-serif);
}
.price small {
  color: #bbb;
  font-size: 13px;
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

/* === Barrage (上下滚动) === */
.barrage-section {
  padding: 24px 20px;
}
.barrage-box {
  height: 240px;
  background: linear-gradient(160deg, var(--purple-deep) 0%, #4a3570 100%);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  padding: 16px 18px;
}
.barrage-scroll {
  height: 100%;
  overflow: hidden;
  position: relative;
}
.barrage-list {
  animation: scrollUp 40s linear infinite;
}
.barrage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.barrage-item:last-child { border-bottom: none; }
.barrage-name {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 70px;
  font-family: var(--font-serif);
}
.barrage-text {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  line-height: 1.5;
}
@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* === FAQ === */
.faq-section {
  padding: 24px 20px;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 0;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--purple-deep);
}
.faq-item summary::before {
  content: "+";
  font-size: 16px;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.2s;
}
.faq-item[open] summary::before {
  content: "−";
}
.faq-item p {
  margin: 0 0 16px 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* === Bottom Nav === */
.bottom-nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  max-width: 430px;
  width: 100%;
  height: 68px;
  background: rgba(253, 252, 254, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 30;
}
.nav-item {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  padding-top: 8px;
  cursor: pointer;
  gap: 2px;
}
.nav-item .nav-icon {
  font-size: 20px;
  line-height: 1;
  font-family: var(--font-serif);
}
.nav-item.active {
  color: var(--purple-deep);
  font-weight: 700;
}
.nav-item.active .nav-icon {
  color: var(--gold);
}

/* === Float Service === */
.float-service {
  position: fixed;
  right: max(calc(50% - 195px), 14px);
  bottom: 86px;
  z-index: 35;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--purple-deep);
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 8px 24px rgba(200, 168, 110, 0.35);
  cursor: pointer;
}

/* === Detail Page === */
.detail-cover {
  height: 240px;
  color: #fff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  cursor: pointer;
}
.detail-cover h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  font-family: var(--font-serif);
}
.detail-panel {
  margin: -24px 20px 0;
  position: relative;
  z-index: 2;
}
.detail-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

/* === Highlights === */
.highlight-list {
  display: grid;
  gap: 10px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.highlight-item:last-child { border-bottom: none; }
.highlight-check {
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
}
.highlight-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

/* === Module List (Course Outline) === */
.module-list {
  display: grid;
  gap: 10px;
}
.module-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  overflow: hidden;
}
.module-item summary {
  padding: 14px 0;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.module-item summary::before {
  content: "+";
  font-size: 16px;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.2s;
}
.module-item[open] summary::before {
  content: "−";
}
.module-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--purple-deep);
}
.module-count {
  background: var(--purple-light);
  color: var(--purple-mid);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}
.module-desc {
  color: var(--muted);
  font-size: 12px;
  width: 100%;
  margin-left: 24px;
  line-height: 1.5;
}
.module-episodes {
  padding: 0 0 14px 24px;
}
.ep-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(61, 43, 92, 0.05);
}
.ep-item:last-child { border-bottom: none; }
.ep-title {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}
.ep-duration {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  margin-left: 12px;
}

/* === Lesson List (目录) === */
.lesson-list {
  display: grid;
  gap: 0;
}
.lesson-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.lesson-item:last-child { border-bottom: none; }
.lesson-title {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.lesson-duration {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.lesson-status {
  font-size: 11px;
  color: var(--gold-dark);
  white-space: nowrap;
  font-weight: 600;
}

/* === Login === */
.login-box {
  padding: 40px 24px;
}
.login-box .logo {
  width: 56px;
  height: 56px;
  font-size: 24px;
  border-radius: 16px;
}
.login-box h1 {
  font-size: 26px;
  margin: 16px 0 8px;
  color: var(--purple-deep);
}
.login-box p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 20px;
}
.login-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  background: var(--purple-light);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.login-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.login-tab.active {
  background: var(--white);
  color: var(--purple-deep);
  box-shadow: 0 2px 8px rgba(61, 43, 92, 0.08);
}
.wx-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  color: var(--muted);
  font-size: 12px;
}
.wx-login-divider::before,
.wx-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.wx-login-btn {
  background: #07c160 !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(7, 193, 96, 0.3) !important;
}
.wx-icon {
  font-size: 18px;
}
.input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--white);
  margin: 8px 0;
  outline: none;
  font-size: 15px;
  transition: border-color 0.2s;
}
.input:focus {
  border-color: var(--gold);
}
.notice {
  background: #faf6f0;
  color: #7a6a50;
  border: 1px solid #f0e6d0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.7;
  margin: 12px 0;
}

/* === Pay === */
.pay-card {
  margin: 18px 20px;
}
.order-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.order-row:last-of-type { border-bottom: none; }
.pay-methods {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.pay-method {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.pay-method.active {
  border-color: var(--gold);
  background: #fdfaf5;
}

/* === Agreement === */
.agreement-box {
  background: var(--purple-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 16px;
}
.agreement-box label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  color: var(--purple-deep);
  font-size: 13px;
}
.agreement-box input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.terms-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.terms-links button {
  border: 1px solid rgba(200, 168, 110, 0.3);
  background: var(--white);
  color: var(--gold-dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  cursor: pointer;
}

/* === Coupon === */
.coupon-tag {
  background: #d9783a;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 6px;
  margin-right: 4px;
  vertical-align: middle;
}
.coupon-bar {
  background: #faf6f0;
  border: 1px solid #f0e6d0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  color: #7a6a50;
  margin-top: 12px;
  text-align: center;
}
.coupon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
}
.coupon-card b {
  color: #d9783a;
  font-size: 14px;
  white-space: nowrap;
}
.coupon-card span {
  color: var(--muted);
  font-size: 12px;
}

/* === Orders === */
.order-card {
  margin-bottom: 14px;
}
.order-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.order-head span {
  background: #eaf4ec;
  color: #326145;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}
.order-head .status-warn {
  background: #fef3e2;
  color: #b8860b;
}
.order-head .status-done {
  background: #eaf4ec;
  color: #326145;
}
.order-head .status-muted {
  background: #f0f0f0;
  color: #999;
}

/* === Profile === */
.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

/* === Service === */
.service-card {
  text-align: center;
  padding: 24px;
}
.service-card h2 {
  margin: 0 0 16px;
  color: var(--purple-deep);
  font-size: 18px;
}
.service-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}
.qr-box {
  width: 200px;
  margin: 14px auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--line);
}
.qr-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Player (音频/小窗/后台/续播) === */
.player-top {
  background: var(--purple-deep);
  color: #fff;
  padding: 16px 16px 20px;
}
.video-box {
  height: 220px;
  border-radius: var(--radius);
  margin-top: 14px;
  background: linear-gradient(135deg, #1a1228, #4a3570);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.video-box::before {
  content: "";
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  position: absolute;
}
.play-icon {
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid var(--gold);
  margin-left: 8px;
  z-index: 1;
}
.watermark {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
}

/* === Player Controls === */
.player-controls {
  padding: 16px 0 0;
}
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s;
}
.progress-thumb {
  display: none;
}
.time-display {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.player-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.ctrl-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  transition: all 0.2s;
}
.ctrl-btn:active {
  transform: scale(0.92);
  background: rgba(255,255,255,0.15);
}

/* === Security Grid === */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.security-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.security-grid b {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

/* === Terms === */
.terms-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--purple-deep);
}
.terms-card p, .mini-term span {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}
.mini-term {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.mini-term b {
  display: block;
  margin-bottom: 6px;
  color: var(--purple-deep);
}

/* === Promo Card === */
.promo-card {
  background: linear-gradient(135deg, var(--white), var(--gold-light));
  border: 1px solid rgba(200, 168, 110, 0.3);
  border-radius: var(--radius);
  padding: 22px;
}
.promo-kicker {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.promo-card h2 {
  margin: 10px 0;
  font-size: 22px;
  line-height: 1.3;
  color: var(--purple-deep);
}
.promo-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 16px;
  font-size: 14px;
}
.promo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.promo-stats span {
  background: var(--white);
  color: var(--purple-mid);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
}

/* === Feature Grid === */
.feature-grid {
  display: grid;
  gap: 10px;
}
.feature-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.feature-grid b {
  display: block;
  color: var(--purple-deep);
  margin-bottom: 6px;
  font-size: 15px;
}
.feature-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* === Refund System === */
.refund-reasons {
  display: grid;
  gap: 8px;
}
.refund-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.refund-option.selected {
  border-color: var(--gold);
  background: #fdfaf5;
}
.refund-option input[type="radio"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}
.refund-timer {
  text-align: center;
  padding: 20px;
}
.timer-display {
  font-size: 48px;
  font-weight: 900;
  color: var(--purple-deep);
  font-family: var(--font-serif);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 8px;
}
.timer-label {
  font-size: 13px;
  color: var(--muted);
}

/* === Desktop Padding === */
@media (min-width: 431px) {
  body { padding: 20px 0; background: #e8e0f0; }
  .phone-shell { min-height: calc(100vh - 40px); border-radius: 28px; overflow: hidden; }
  .bottom-nav { bottom: 20px; border-radius: 0 0 28px 28px; }
  .float-service { bottom: 90px; }
}
