:root {
    --bg: #fdf8f3;
    --bg-dark: #3d2414;
    --bg-card: #fef3e8;
    --text-primary: #2c1a0e;
    --text-secondary: #7a5c44;
    --text-light: #fdf8f3;
    --accent: #e07b3a;
    --accent-hover: #c5622a;
    --accent-purple: #9b6ea8;
    --accent-warm: #f0a060;
    --border: #edddd0;
    --gold: #e07b3a;
    --serif: 'Noto Serif TC', serif;
    --sans: 'Noto Sans TC', sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }



  /* ===== PHOTO BADGE ===== */
  .photo-caption-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 10px 0 0;
    font-size: 12px;
    color: var(--text-secondary);
  }
  .hero {
    padding: 40px clamp(20px, 5vw, 60px) clamp(48px, 8vw, 100px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-product-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
  }

  .hero-product-brand {
    font-family: var(--serif);
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 900;
    color: var(--accent-purple);
    white-space: nowrap;
    letter-spacing: -0.01em;
    line-height: 1.15;
  }

  .hero-product-sub {
    font-family: var(--serif);
    font-size: clamp(32px, 5.5vw, 64px);
    font-weight: 900;
    color: var(--text-primary);
    white-space: nowrap;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .hero-eyebrow {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--text-secondary);
  }

  .hero-title {
    font-family: var(--serif);
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    color: var(--text-secondary);
    white-space: nowrap;
  }

  .hero-desc {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 440px;
  }

  .hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: white;
    padding: clamp(12px, 1.5vw, 14px) clamp(20px, 2.5vw, 28px);
    border-radius: 4px;
    font-size: clamp(15px, 1.5vw, 16px);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
  }

  .btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

  .btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--text-primary);
    padding: clamp(12px, 1.5vw, 14px) clamp(20px, 2.5vw, 28px);
    border-radius: 4px;
    font-size: clamp(15px, 1.5vw, 16px);
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
  }

  .btn-secondary:hover { border-color: var(--text-secondary); background: rgba(0,0,0,0.03); }

  .hero-meta {
    margin-top: 28px;
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    flex-wrap: wrap;
  }

  .hero-meta span { display: flex; align-items: center; gap: 6px; }

  /* Desktop-only meta row */
  .hero-meta-desktop { display: flex; }

  /* Chart */
  .hero-chart {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    aspect-ratio: 1;
    max-width: 380px;
    justify-self: end;
    width: 100%;
  }

  .chart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    height: 90%;
    border: 1px solid var(--border);
  }

  .chart-cell {
    background: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: var(--serif);
    position: relative;
    min-height: 60px;
  }

  .chart-cell.center {
    grid-column: 2 / 4;
    grid-row: 2 / 4;
    align-items: center;
    justify-content: center;
  }

  .ziwei-label {
    font-family: var(--serif);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--accent-purple);
  }

  .chart-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }

  .chart-tag {
    position: absolute;
    bottom: -44px;
    right: -10px;
    background: var(--text-primary);
    color: white;
    font-size: 11px;
    padding: 8px 12px;
    border-radius: 4px;
    line-height: 1.5;
    width: 140px;
    z-index: 2;
  }

  .chart-tag strong {
    display: block;
    font-size: 10px;
    opacity: 0.7;
    margin-bottom: 2px;
    letter-spacing: 0.05em;
  }

  /* ===== SECTION 02 ===== */
  .section {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px) clamp(40px, 5vw, 72px);
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-full {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px);
  }

  .section-eyebrow {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--text-secondary);
  }

  .section-title {
    font-family: var(--serif);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-primary);
  }

  /* Four aspects */
  .four-aspects-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
    margin-bottom: 0;
  }

  .four-aspects-left .section-title { max-width: 560px; }

  .four-aspects-right {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 640px;
    padding-left: 2px;
  }

  /* ===== SECTION 02 CHART ===== */
  .section02-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
  }

  /* Left col: stacks eyebrow/title row + aspects grid */
  .section02-text { display: flex; flex-direction: column; }

  /* Within left col: title full width on top, desc below */
  .four-aspects-layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
  }

  .four-aspects-left .section-title { max-width: 100%; }

  .four-aspects-right {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
    padding-top: 0;
  }

  .section02-chart-wrap {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 20px 16px;
    position: relative;
    /* sticky to top of left col */
    position: sticky;
    top: 80px;
  }

  .chart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
  }

  .chart-cell {
    background: white;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: var(--serif);
    position: relative;
    min-height: 52px;
  }

  .chart-cell.center {
    grid-column: 2 / 4;
    grid-row: 2 / 4;
    align-items: center;
    justify-content: center;
  }

  .ziwei-label {
    font-family: var(--serif);
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    color: var(--accent-purple);
  }

  .chart-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
  }

  .section02-chart-label {
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.04em;
  }

  .section02-chart-badge {
    margin-top: 12px;
    background: var(--text-primary);
    color: white;
    font-size: 13px;
    font-family: var(--serif);
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 4px;
    text-align: center;
    line-height: 1.5;
  }

  .section02-meta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .section02-meta-row span:nth-child(even) {
    opacity: 0.3;
    font-size: 10px;
  }

  /* Mobile mini chart strip (inside section02, hidden on PC) */
  .section02-chart-mobile {
    display: none;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    margin-top: 32px;
    margin-bottom: 0;
  }

  .aspects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid var(--border);
  }

  .aspect-item {
    padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px);
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }

  .aspect-item:nth-child(even) { border-right: none; }

  .aspect-num {
    font-family: var(--serif);
    font-size: 15px;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 14px;
    display: block;
  }

  .aspect-title {
    font-family: var(--serif);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    margin-bottom: 10px;
  }

  .aspect-desc {
    font-size: clamp(15px, 1.5vw, 16px);
    color: var(--text-secondary);
    line-height: 1.75;
  }

  /* ===== SECTION 03 — 8 axes ===== */
  .eight-axes-section {
    background: #fef0e0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .section-subtitle {
    font-family: var(--serif);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .section-subtitle .highlight { color: var(--accent-purple); }

  .axes-intro {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.8;
  }

  .axes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .axis-card {
    background: white;
    padding: clamp(24px, 3vw, 36px);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
  }

  .axis-card:nth-child(even) { border-right: none; }
  .axis-card:nth-last-child(-n+2) { border-bottom: none; }

  .axis-card.dark {
    background: #4a2818;
    color: white;
  }

  .axis-label {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .axis-card.dark .axis-label { color: rgba(255,255,255,0.5); }

  .axis-badge {
    background: var(--accent);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  .axis-title {
    font-family: var(--serif);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .axis-card.dark .axis-title { color: white; }

  .axis-points {
    list-style: none;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
  }

  .axis-card.dark .axis-points { color: rgba(255,255,255,0.65); }

  .axis-points li::before {
    content: '—';
    margin-right: 8px;
    opacity: 0.5;
  }

  /* ===== TESTIMONIAL ===== */
  .testimonial-section {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px);
    max-width: 1200px;
    margin: 0 auto;
  }

  .testimonial-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
  }

  .testimonial-header {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 0;
  }

  /* Tab switcher */
  .tab-switcher {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
  }

  .tab-btn {
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text-secondary);
    font-family: var(--sans);
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .tab-btn.active {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
  }

  .tab-btn:hover:not(.active) {
    border-color: var(--text-secondary);
  }

  /* Tab panels */
  .tab-panel { display: none; }
  .tab-panel.active { display: block; }

  .testimonial-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
  }

  .testimonial-img {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 13px;
    overflow: hidden;
  }

  .testimonial-img-caption {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
  }

  .quote-mark {
    font-family: var(--serif);
    font-size: 52px;
    color: var(--accent);
    line-height: 0.8;
    margin-bottom: 16px;
    display: block;
  }

  .testimonial-question {
    font-family: var(--serif);
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .testimonial-text {
    font-size: clamp(14px, 1.5vw, 15px);
    color: var(--text-secondary);
    line-height: 1.9;
  }

  .testimonial-author {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
  }

  /* ===== WHY ZIWEI ===== */
  .why-section {
    background: #3d2414;
    color: white;
  }

  .why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px);
    align-items: start;
  }

  .why-eyebrow {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .why-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,0.3);
  }

  .why-title {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .why-list {
    list-style: none;
    margin-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .why-list li {
    padding: clamp(14px, 2vw, 20px) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: clamp(14px, 1.5vw, 15px);
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }

  .why-list li::before {
    content: attr(data-num);
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-size: 13px;
    flex-shrink: 0;
    padding-top: 2px;
  }

  .why-right-eyebrow {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .why-right-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,0.3);
  }

  .guidance-title {
    font-family: var(--serif);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 28px;
  }

  .guidance-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 3px solid var(--accent);
  }

  .guidance-item {
    padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 24px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .guidance-item:last-child { border-bottom: none; }

  .guidance-item-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 6px;
  }

  .guidance-item-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
  }

  /* ===== MASTER ===== */
  .master-section {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px);
    max-width: 1200px;
    margin: 0 auto;
  }

  .master-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
  }

  .master-img {
    background: #e8e0f0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 13px;
    border: 1px solid var(--border);
    max-width: 320px;
    /* 固定高度，確保臉不被切 */
    height: 420px;
    aspect-ratio: unset;
  }

  .master-eyebrow {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
  }

  .master-name {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
  }

  .master-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
  }

  .master-quote {
    border-left: 3px solid var(--accent);
    padding: clamp(14px, 2vw, 20px) clamp(16px, 2vw, 24px);
    background: var(--bg-card);
    border-radius: 0 4px 4px 0;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-family: var(--serif);
  }

  .master-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .master-badge {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .master-badge:last-child { border-bottom: none; }

  .master-badge-icon {
    font-size: 18px;
    flex-shrink: 0;
    padding-top: 2px;
  }

  .master-badge-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
  }

  .master-badge-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
  }

  /* ===== ABOUT ===== */
  .about-section {
    background: #fef0e0;
    border-top: 1px solid var(--border);
  }

  .about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  }

  .stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 48px;
  }

  .stat-cell {
    background: white;
    padding: clamp(24px, 3vw, 36px);
    text-align: center;
  }

  .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    display: block;
  }

  .stat-num {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    display: block;
  }

  .stat-num.no1 { color: var(--accent); }

  .stat-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
    line-height: 1.5;
  }

  .about-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.3;
  }

  .about-title .bright { color: var(--accent-purple); }

  .about-desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.8;
  }

  /* ===== CTA / FORM ===== */
  .cta-section {
    padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 60px);
    max-width: 1200px;
    margin: 0 auto;
  }

  .cta-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }

  .cta-eyebrow {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cta-eyebrow::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--text-secondary);
  }

  .cta-title {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .cta-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
  }

  .steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
  }

  .step:last-child { border-bottom: none; }

  .step-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
  }

  .step-label {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 3px;
  }

  .step-title {
    font-size: clamp(15px, 1.5vw, 17px);
    font-weight: 600;
    margin-bottom: 3px;
  }

  .step-desc {
    font-size: 13px;
    color: var(--text-secondary);
  }

  .upgrade-note {
    background: #fff;
    border: 1px solid #f0d8c0;
    border-radius: 4px;
    padding: 14px 18px;
    font-size: 13px;
    color: var(--accent);
    gap: 10px;
    margin-top: 24px;
    line-height: 1.6;
  }
    .upgrade-note a{
        display: block;
        font-size: 13px;
        text-decoration: underline;
        color: #227aff;
    }
    @media (max-width: 768px) {
        .upgrade-note a{
            display: inline-block;
            font-size: 13px;
            text-decoration: underline;
            color: #227aff;
        }
    }


  /* Form */
  .form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: clamp(24px, 3vw, 40px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  }

  .form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .form-title {
    font-family: var(--serif);
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 700;
  }

  .form-badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 12px;
    color: var(--text-secondary);
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
  }

  .form-group { margin-bottom: 14px; }

  label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
  }

  input[type="text"], select{
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    padding: clamp(10px, 1.2vw, 13px) 14px;
    font-size: 16px;
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text-primary);
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
  }

  select{
    /* 3. 加入自訂的箭頭圖示 (這裡使用向下的小箭頭 SVG) */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center; /* 讓箭頭固定在右側靠中 */
    background-size: 12px; /* 箭頭大小 */
    cursor: pointer;
    
  }

  input[type="text"]:focus, select:focus {
    border-color: var(--accent);
    background: white;
  }

  .date-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 8px;
  }

  .time-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .date-row select , .time-row select{
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    padding: clamp(10px, 1.2vw, 13px) 14px;
    font-size: clamp(14px, 1.5vw, 15px);
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text-primary);
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center; /* 讓箭頭固定在右側靠中 */
    background-size: 12px; /* 箭頭大小 */
    cursor: pointer;
  }

  .gender-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gender-btn {
    border: 1.5px solid var(--border);
    border-radius: 4px;
    padding: clamp(10px, 1.2vw, 13px);
    font-size: clamp(14px, 1.5vw, 15px);
    cursor: pointer;
    background: var(--bg);
    color: var(--text-primary);
    transition: all 0.2s;
    font-family: var(--sans);
    text-align: center;
  }

  .gender-btn.active {
    background: #4a2818;
    color: white;
    border-color: #4a2818;
  }

  .gender-btn:hover:not(.active) { border-color: var(--text-secondary); }

  .price-row {
    background: var(--bg-card);
    border-radius: 4px;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .price-label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
  }

  .price-amount {
    font-family: var(--serif);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 900;
    color: var(--accent);
    white-space: nowrap;
  }

  .price-note {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: right;
    line-height: 1.5;
  }

  .form-btns {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 10px;
  }

  .btn-free {
    border: 1.5px solid var(--border);
    border-radius: 4px;
    padding: clamp(12px, 1.5vw, 14px);
    font-size: clamp(14px, 1.5vw, 15px);
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-family: var(--sans);
    font-weight: 500;
    text-align: center;
  }

  .btn-free:hover { border-color: var(--text-secondary); color: var(--text-primary); }

  .btn-paid {
    border: none;
    border-radius: 4px;
    padding: clamp(12px, 1.5vw, 14px);
    font-size: clamp(14px, 1.5vw, 15px);
    cursor: pointer;
    background: var(--accent);
    color: white;
    transition: background 0.2s;
    font-family: var(--sans);
    font-weight: 600;
    text-align: center;
  }

  .btn-paid:hover { background: var(--accent-hover); }

  .form-footer-note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
  }

 
  /* Mobile chart banner — default hidden, shown inside media query */
  .hero-chart-mobile {
    display: none;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 16px 16px;
    position: relative;
    overflow: hidden;
    margin-top: 28px;
  }

  /* ===== PHOTO BAND ===== */
  .photo-band {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    height: 200px;
    overflow: hidden;
    gap: 3px;
  }

  .photo-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95) saturate(1.08);
    transition: transform 0.4s;
  }

  .photo-band img:hover { transform: scale(1.03); }

  @media (max-width: 768px) {
    .photo-band { grid-template-columns: 1fr 1fr; height: 160px; }
    .photo-band img:nth-child(3),
    .photo-band img:nth-child(4) { display: none; }
    .photo-band { grid-template-columns: 1fr 1fr; }
  }

  /* ===== PHOTO BAND ===== */
  @media (max-width: 768px) {
    body { font-size: 16px; }

    .hero {
      grid-template-columns: 1fr;
      gap: 28px;
      padding-top: 24px;
    }

    /* show mobile chart, hide desktop chart */
    .hero-chart-mobile { display: block; }
    .hero-chart { display: none; }
    .hero-meta-desktop { display: none; }

    .hero-title { font-size: clamp(16px, 4.5vw, 20px); white-space: nowrap; }
    .hero-product-brand { font-size: clamp(32px, 9vw, 48px); }
    .hero-product-sub { font-size: clamp(38px, 11vw, 56px); }

    .aspects-grid { grid-template-columns: 1fr; }
    .aspect-item { border-right: none; }
    .aspect-item:nth-child(even) { border-right: none; }

    /* Section 02: collapse to single column, show mobile chart */
    .section02-inner { grid-template-columns: 1fr; }
    .section02-chart-wrap { display: none; position: static; }
    .section02-chart-mobile { display: block; }
    .four-aspects-layout { gap: 8px; }
    .four-aspects-right { padding-top: 0; }

    .axes-grid { grid-template-columns: 1fr; }
    .axis-card { border-right: none; }
    .axis-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
    .axis-card:last-child { border-bottom: none; }

    .testimonial-card { grid-template-columns: 1fr; }
    .testimonial-top { flex-direction: column; align-items: flex-start; }
    .tab-switcher { width: 100%; }
    .tab-btn { flex: 1; text-align: center; }

    .why-inner { grid-template-columns: 1fr; gap: 40px; }

    .master-card { grid-template-columns: 1fr; }
    .master-img {
      max-width: 100%;
      width: 100%;
      height: 320px;        /* 直向固定高，臉不被切 */
    }
    .master-img img {
      object-position: center 15% !important;  /* 臉偏上，確保顯示 */
    }

    .stats-row { grid-template-columns: 1fr; }

    .cta-layout { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
    .form-row .form-group { margin-bottom: 14px; }

    .date-row { grid-template-columns: 1fr 1fr 1fr; }

    .form-btns { grid-template-columns: 1fr; }
    .btn-free { order: 2; }
    .btn-paid { order: 1; }

    .footer-cta-btns { flex-direction: column; align-items: center; }
    .btn-cta-free, .btn-cta-paid { width: 100%; max-width: 340px; text-align: center; }

    footer { flex-direction: column; text-align: center; }
  }

  @media (max-width: 480px) {
    .date-row { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .date-row select { font-size: 13px; padding: 10px 8px; }
    .hero-title { font-size: 16px; }
    .hero-btns { flex-direction: column; align-items: flex-start; }
    .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  }



  .mobile-chart-title {
    font-family: var(--serif);
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
  }

  .mobile-chart-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
  }

  .mobile-chart-cell {
    background: white;
    padding: 10px 6px 8px;
    text-align: center;
    position: relative;
  }

  .mcc-palace {
    font-family: var(--serif);
    font-size: 11px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
  }

  .mcc-star {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1.3;
  }

  .mcc-star.purple { color: var(--accent-purple); font-size: 15px; }
  .mcc-star.orange { color: var(--accent); }

  .mcc-tag {
    font-size: 10px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border-radius: 2px;
    padding: 2px 5px;
    display: inline-block;
    margin-top: 3px;
  }

  .mcc-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
  }

  .mobile-chart-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .mobile-chart-badge {
    background: var(--text-primary);
    color: white;
    font-size: 12px;
    padding: 7px 14px;
    border-radius: 3px;
    line-height: 1.4;
    text-align: center;
  }

  .mobile-meta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    flex-wrap: wrap;
  }

  .mobile-meta-row span:nth-child(even) {
    opacity: 0.3;
    font-size: 10px;
  }

  .mobile-chart-note {
    font-size: 11px;
    color: var(--text-secondary);
  }
  .divider {
    height: 1px;
    background: var(--border);
    max-width: 1200px;
    margin: 0 auto;
  }

  /* Parent matching section */
  .parent-match {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: clamp(32px, 4vw, 60px) clamp(20px, 5vw, 60px);
  }

  .parent-match-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }

  .parent-match-label {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .parent-match-label::before, .parent-match-label::after {
    content: '✦';
    font-size: 10px;
    color: var(--accent);
  }

  .parent-match-items {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    font-size: clamp(14px, 1.5vw, 16px);
    font-family: var(--serif);
    font-weight: 600;
    flex-wrap: wrap;
  }

  .parent-match-items span {
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.2s;
  }

  .parent-match-items span:hover { color: var(--accent); }