@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --pink: #F4736A;
  --orange: #F5A623;
  --pink-light: #FFF0EF;
  --orange-light: #FFF8ED;
  --dark: #2D2D2D;
  --gray: #666;
  --gray-light: #F7F7F7;
  --border: #EDEDED;
  --white: #FFFFFF;
  --gradient: linear-gradient(135deg, #F4736A 0%, #F5A623 100%);
  --ms: #0078D4;
  --ms-light: #EEF6FF;
  --max-w: 860px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans SC', sans-serif;
  color: var(--dark);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== NAV ===== */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.logo {
  font-size: 17px; font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-decoration: none;
}
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 13px; color: var(--gray); text-decoration: none; }
.nav-links a:hover { color: var(--pink); }
.nav-links a.active { color: var(--pink); font-weight: 500; }

/* ===== HERO (首页) ===== */
.hero {
  background: linear-gradient(160deg, #FFF5F4 0%, #FFF9F0 60%, #fff 100%);
  padding: 52px 24px 44px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.hero::before {
  content: ''; position: absolute; top: -60px; right: calc(50% - 480px);
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(244,115,106,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -40px; left: calc(50% - 480px);
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(245,166,35,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pink-light); color: var(--pink);
  font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.hero h1 { font-size: 26px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; letter-spacing: -.5px; }
.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.hero-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.hero-tag { background: #fff; border: 1px solid var(--border); color: var(--gray); font-size: 12px; padding: 4px 10px; border-radius: 20px; }

/* ===== PAGE HERO (内页) ===== */
.page-hero {
  background: linear-gradient(160deg, #FFF5F4 0%, #FFF9F0 60%, #fff 100%);
  padding: 44px 24px 36px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb { font-size: 12px; color: var(--gray); margin-bottom: 16px; }
.breadcrumb a { color: var(--gray); text-decoration: none; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb span { margin: 0 6px; opacity: .5; }
.page-hero h1 { font-size: 24px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.3px; }
.page-hero p { font-size: 14px; color: var(--gray); }

/* ===== QUICK NAV ===== */
.quick-nav { background: var(--gray-light); border-bottom: 1px solid var(--border); padding: 12px 24px; }
.quick-nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; gap: 8px; flex-wrap: wrap; }
.quick-nav a {
  font-size: 12px; color: var(--gray); text-decoration: none;
  background: var(--white); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 20px; transition: all .2s;
}
.quick-nav a:hover { color: var(--pink); border-color: var(--pink); }

/* ===== SECTION ===== */
.section { padding: 44px 0; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section-bg { background: var(--gray-light); }
.section-header { text-align: center; margin-bottom: 24px; }
.section-title { font-size: 18px; font-weight: 700; display: inline-block; position: relative; }
.section-title::after {
  content: ''; display: block; width: 32px; height: 3px;
  background: var(--gradient); border-radius: 2px; margin: 6px auto 0;
}
.section-sub { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* ===== COUPON ===== */
.coupon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.coupon-card { border-radius: 16px; padding: 22px 16px; text-align: center; position: relative; overflow: hidden; }
.coupon-card.main { background: var(--gradient); color: #fff; }
.coupon-card.ms-card { background: #fff; border: 1.5px solid #C8E1F7; }
.coupon-card::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; background: rgba(255,255,255,.1); border-radius: 50%;
}
.coupon-label { font-size: 11px; font-weight: 500; opacity: .85; margin-bottom: 6px; }
.ms-card .coupon-label { color: var(--ms); opacity: 1; font-weight: 600; }
.coupon-code { font-size: 19px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 4px; }
.ms-card .coupon-code { color: var(--ms); font-size: 15px; letter-spacing: 1px; }
.coupon-discount { font-size: 12px; opacity: .85; margin-bottom: 5px; }
.ms-card .coupon-discount { color: var(--gray); opacity: 1; }
.coupon-scope { font-size: 11px; opacity: .7; margin-bottom: 16px; line-height: 1.5; }
.ms-card .coupon-scope { color: var(--gray); opacity: 1; }
.copy-btn {
  width: 100%; padding: 9px; border-radius: 8px; border: none;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.main .copy-btn { background: rgba(255,255,255,.25); color: #fff; }
.main .copy-btn:hover { background: rgba(255,255,255,.38); }
.ms-card .copy-btn { background: var(--ms-light); color: var(--ms); }
.ms-card .copy-btn:hover { background: #D8EDFF; }
.coupon-tip {
  background: var(--orange-light); border-left: 3px solid var(--orange);
  border-radius: 8px; padding: 12px 14px; font-size: 13px; color: #8a5e00; line-height: 1.6;
}

/* ===== SAVING ===== */
.saving-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.saving-box { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.saving-box.ms-box { background: var(--ms-light); border-color: #C8E1F7; }
.saving-title { font-size: 12px; font-weight: 600; color: var(--gray); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.ms-box .saving-title { color: var(--ms); border-bottom-color: #C8E1F7; }
.saving-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; }
.saving-row .lbl { color: var(--gray); }
.saving-row .val { font-weight: 500; }
.saving-row.total .lbl { color: var(--dark); font-weight: 600; font-size: 13px; }
.saving-row.total .val { color: var(--pink); font-size: 16px; font-weight: 700; }
.ms-box .saving-row.total .val { color: var(--ms); }

/* ===== HOW TO ===== */
.how-to-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 16px;
  display: flex; align-items: flex-start; gap: 12px; transition: box-shadow .2s;
}
.step-card:hover { box-shadow: 0 4px 16px rgba(244,115,106,.1); }
.step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--gradient);
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step-title { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.step-desc-small { font-size: 12px; color: var(--gray); line-height: 1.5; }
.how-to-tip {
  margin-top: 14px; background: var(--pink-light); border-radius: 10px;
  padding: 12px 14px; font-size: 13px; color: #c0392b; line-height: 1.6; text-align: center;
}

/* ===== PRODUCTS ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 12px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 7px;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 0 4px 16px rgba(244,115,106,.13); transform: translateY(-2px); }
.product-icon-wrap {
  width: 56px; height: 56px; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-light); flex-shrink: 0;
}
.product-icon-wrap img { width: 56px; height: 56px; object-fit: contain; }
.fallback { font-size: 26px; line-height: 1; }
.product-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.product-desc { font-size: 11px; color: var(--gray); line-height: 1.4; flex: 1; }
.product-price-row { display: flex; align-items: center; gap: 6px; justify-content: center; }
.price-orig { font-size: 11px; color: #bbb; text-decoration: line-through; }
.price-new { font-size: 14px; font-weight: 700; color: var(--pink); }
.price-new.ms { color: var(--ms); }
.code-tag { font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 500; display: inline-block; }
.code-tag.g { background: var(--pink-light); color: var(--pink); }
.code-tag.m { background: var(--ms-light); color: var(--ms); }
.buy-btn {
  display: block; width: 100%; padding: 7px 0;
  background: var(--gradient); color: #fff; border: none;
  border-radius: 8px; font-size: 12px; font-weight: 500; cursor: pointer;
  text-decoration: none; transition: opacity .2s; font-family: inherit; text-align: center;
}
.buy-btn:hover { opacity: .85; }
.buy-btn.ms-btn { background: var(--ms); }

/* ===== ABOUT BOX ===== */
.about-box {
  background: linear-gradient(135deg, #FFF5F4 0%, #FFF9F0 100%);
  border-radius: 16px; padding: 22px;
}
.about-box p { font-size: 14px; color: var(--gray); line-height: 1.9; }
.about-box strong { color: var(--dark); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  padding: 14px 16px; font-size: 14px; font-weight: 500;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  background: #fff; transition: background .2s; user-select: none;
}
.faq-q:hover { background: var(--gray-light); }
.faq-q .arrow { color: var(--pink); font-size: 16px; transition: transform .2s; margin-left: 8px; flex-shrink: 0; }
.faq-a {
  padding: 0 16px; font-size: 13px; color: var(--gray); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 16px 14px; }
.faq-item.open .arrow { transform: rotate(45deg); }

/* ===== TUTORIAL PAGE ===== */
.main-content { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px; }
.tip-box {
  background: var(--orange-light); border-left: 3px solid var(--orange);
  border-radius: 10px; padding: 14px 16px; font-size: 13px; color: #8a5e00;
  line-height: 1.7; margin-bottom: 36px;
}
.tip-box strong { color: #6d4a00; }
.step-section { margin-bottom: 48px; }
.step-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 2px solid var(--border);
}
.step-badge {
  width: 36px; height: 36px; border-radius: 50%; background: var(--gradient);
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-header-title { font-size: 18px; font-weight: 700; line-height: 1.2; }
.step-header-sub { font-size: 13px; color: var(--gray); margin-top: 2px; }
.screenshot-wrap {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  margin: 16px 0; box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.screenshot-wrap img { width: 100%; display: block; }
.screenshot-caption {
  background: var(--gray-light); padding: 10px 16px;
  font-size: 12px; color: var(--gray); border-top: 1px solid var(--border);
}
.mark-red {
  display: inline-block; background: #FFF0EF; color: var(--pink);
  border: 1px solid #FFCCC9; border-radius: 4px; padding: 1px 6px;
  font-size: 12px; font-weight: 500; margin: 0 2px;
}
.mark-blue {
  display: inline-block; background: var(--ms-light); color: var(--ms);
  border: 1px solid #C8E1F7; border-radius: 4px; padding: 1px 6px;
  font-size: 12px; font-weight: 500; margin: 0 2px;
}
.mark-green {
  display: inline-block; background: #F0FFF4; color: #27ae60;
  border: 1px solid #B7EFCD; border-radius: 4px; padding: 1px 6px;
  font-size: 12px; font-weight: 500; margin: 0 2px;
}
.step-body-desc { font-size: 14px; color: var(--dark); line-height: 1.8; margin-bottom: 12px; }
.step-body-desc li { margin-left: 20px; margin-bottom: 4px; }
.notice {
  background: var(--pink-light); border-radius: 8px;
  padding: 12px 14px; font-size: 13px; color: #c0392b; line-height: 1.6; margin: 12px 0;
}
.notice-green {
  background: #F0FFF4; border-radius: 8px;
  padding: 12px 14px; font-size: 13px; color: #27ae60; line-height: 1.6; margin: 12px 0;
}
.saving-result {
  background: var(--gradient); border-radius: 12px; padding: 20px 24px;
  color: #fff; text-align: center; margin: 16px 0;
}
.saving-result .sr-label { font-size: 13px; opacity: .85; margin-bottom: 4px; }
.saving-result .sr-amount { font-size: 28px; font-weight: 700; letter-spacing: -.5px; }
.saving-result .sr-note { font-size: 12px; opacity: .75; margin-top: 4px; }
.inline-coupon {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1.5px dashed var(--pink);
  border-radius: 12px; padding: 14px 16px; margin: 16px 0;
}
.inline-coupon .ic-code { font-size: 20px; font-weight: 700; letter-spacing: 2px; color: var(--pink); }
.inline-coupon .ic-desc { font-size: 13px; color: var(--gray); flex: 1; }
.inline-copy {
  background: var(--gradient); color: #fff; border: none;
  border-radius: 8px; padding: 8px 16px; font-size: 13px; font-weight: 500;
  cursor: pointer; white-space: nowrap; font-family: inherit; flex-shrink: 0;
  transition: opacity .2s;
}
.inline-copy:hover { opacity: .85; }
.summary-box { background: var(--gray-light); border-radius: 16px; padding: 24px; }
.summary-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; text-align: center; }
.summary-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.summary-step { text-align: center; }
.summary-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--gradient);
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 6px;
}
.summary-text { font-size: 11px; color: var(--gray); line-height: 1.4; }
.cta-box {
  background: var(--gradient); border-radius: 16px; padding: 28px 24px;
  text-align: center; color: #fff; margin-top: 40px;
}
.cta-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.cta-box p { font-size: 13px; opacity: .85; margin-bottom: 18px; }
.cta-btn {
  display: inline-block; background: rgba(255,255,255,.25); color: #fff;
  border: 1.5px solid rgba(255,255,255,.5); border-radius: 10px;
  padding: 10px 28px; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background .2s;
}
.cta-btn:hover { background: rgba(255,255,255,.38); }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ===== ABOUT / GENUINE PAGE ===== */
.prose-section { margin-bottom: 40px; }
.prose-section h2 {
  font-size: 17px; font-weight: 700; margin-bottom: 14px;
  padding-left: 12px; border-left: 3px solid var(--pink);
}
.prose-section p { font-size: 14px; color: var(--gray); line-height: 1.9; margin-bottom: 10px; }
.prose-section ul { margin-left: 20px; }
.prose-section li { font-size: 14px; color: var(--gray); line-height: 1.9; margin-bottom: 4px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.info-card {
  background: var(--gray-light); border-radius: 12px; padding: 16px;
  display: flex; align-items: flex-start; gap: 12px;
}
.info-icon { font-size: 24px; flex-shrink: 0; }
.info-card-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.info-card-desc { font-size: 12px; color: var(--gray); line-height: 1.5; }
.compare-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.compare-table th {
  background: var(--gradient); color: #fff;
  padding: 10px 14px; text-align: left; font-weight: 500;
}
.compare-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--gray-light); }
.check { color: #27ae60; font-weight: 600; }
.cross { color: #e74c3c; }
.highlight-box {
  background: var(--gradient); color: #fff;
  border-radius: 14px; padding: 20px 24px; margin: 20px 0; text-align: center;
}
.highlight-box .hb-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.highlight-box .hb-desc { font-size: 13px; opacity: .85; line-height: 1.6; }

/* ===== PRIVACY PAGE ===== */
.privacy-content { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px; }
.privacy-content h2 { font-size: 16px; font-weight: 700; margin: 28px 0 10px; }
.privacy-content p { font-size: 14px; color: var(--gray); line-height: 1.9; margin-bottom: 8px; }
.privacy-content ul { margin-left: 20px; margin-bottom: 8px; }
.privacy-content li { font-size: 14px; color: var(--gray); line-height: 1.9; }
.privacy-updated { font-size: 13px; color: var(--gray); margin-bottom: 24px; }

/* ===== TOAST ===== */
.toast-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.toast-overlay.show { opacity: 1; pointer-events: all; }
.toast-box {
  background: #fff; border-radius: 18px; padding: 28px 32px;
  text-align: center; width: 90%; max-width: 340px;
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
}
.toast-icon { font-size: 36px; margin-bottom: 10px; }
.toast-title { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.toast-sub { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 18px; }
.toast-countdown {
  font-size: 28px; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 14px;
}
.toast-cancel {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 20px; font-size: 13px; color: var(--gray);
  cursor: pointer; font-family: inherit;
}
.toast-cancel:hover { background: var(--gray-light); }

/* ===== FOOTER ===== */
footer { background: var(--dark); padding: 28px 24px; text-align: center; color: rgba(255,255,255,.5); font-size: 13px; }
.footer-logo {
  font-size: 16px; font-weight: 700;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px;
}
footer a { color: rgba(255,255,255,.4); text-decoration: none; font-size: 12px; }
.dot { margin: 0 8px; opacity: .3; }

/* ===== RESPONSIVE ===== */
@media (max-width: 780px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .hero h1 { font-size: 22px; }
  .page-hero h1 { font-size: 20px; }
  .coupon-grid { grid-template-columns: 1fr 1fr; }
  .saving-grid { grid-template-columns: 1fr 1fr; }
  .how-to-wrap { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .summary-steps { grid-template-columns: repeat(3, 1fr); }
  .step-header-title { font-size: 16px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .inline-coupon { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .coupon-grid { grid-template-columns: 1fr; }
  .saving-grid { grid-template-columns: 1fr; }
  .how-to-wrap { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}
