/* Project 1: Shanghai Aesthetic - Japanese Luxury Clinical Aesthetic Style (muuuuu.org inspired) */
:root {
  --bg-porcelain: #FAF9F6;
  --surface-card: rgba(255, 255, 255, 0.92);
  --surface-card-solid: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --accent-rose: #E11D48;
  --accent-gold: #D97706;
  --accent-soft: #FFF1F2;
  --border-subtle: rgba(229, 231, 235, 0.8);
  --border-card: #F3F4F6;
  --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 35px -10px rgba(225, 29, 72, 0.08);
  --radius-card: 16px;
  --radius-btn: 9999px;
  --font-serif: "Noto Serif TC", "Shippori Mincho", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang SC", "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-porcelain);
  color: var(--text-main);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.p1-header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  padding: 14px 28px;
}
.p1-header-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.p1-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}
.p1-brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #FFE4E6, #FECDD3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-rose);
  font-weight: 800;
  font-size: 1.1rem;
}
.p1-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-family: var(--font-serif);
}
.p1-brand-tag {
  font-size: 0.72rem;
  color: var(--accent-rose);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}
.p1-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
}
.p1-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.p1-nav a:hover { color: var(--accent-rose); }
.p1-btn-primary {
  background: var(--accent-rose);
  color: white !important;
  padding: 8px 22px;
  border-radius: var(--radius-btn);
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
  transition: all 0.2s;
}
.p1-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}

/* Hero Section */
.p1-hero {
  max-width: 1280px;
  margin: 40px auto 60px;
  padding: 0 24px;
  text-align: center;
}
.p1-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-rose);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
}
.p1-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 20px;
}
.p1-hero p.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.9;
}

/* 3 Pillars Cards (muuuuu style) */
.p1-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.p1-pillar-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.p1-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #FECDD3;
}
.p1-pillar-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  color: #FCE7F3;
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}
.p1-pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  color: var(--accent-rose);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.p1-pillar-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}
.p1-pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.p1-pillar-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  background: #F3F4F6;
  color: #4B5563;
  padding: 3px 10px;
  border-radius: 6px;
}

/* Interactive Pillow Face Self-Checker Widget */
.p1-diagnostic-box {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F6 100%);
  border: 1px solid #FFE4E6;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 15px 40px -10px rgba(225, 29, 72, 0.07);
  margin: 50px auto 80px;
  max-width: 860px;
  text-align: left;
}
.p1-diag-header {
  text-align: center;
  margin-bottom: 32px;
}
.p1-diag-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}
.p1-diag-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.p1-diag-step {
  margin-bottom: 24px;
  background: white;
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  padding: 20px 24px;
}
.p1-diag-question {
  font-weight: 800;
  font-size: 0.98rem;
  color: #1F2937;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.p1-diag-question span.q-badge {
  background: var(--accent-rose);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.p1-diag-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.p1-diag-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #374151;
  transition: all 0.2s;
}
.p1-diag-opt:hover {
  border-color: var(--accent-rose);
  background: #FFF1F2;
}
.p1-diag-opt input[type="radio"] {
  accent-color: var(--accent-rose);
}
.p1-diag-result {
  display: none;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  animation: fadeIn 0.3s ease;
}
.p1-diag-result-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: #92400E;
  margin-bottom: 8px;
}
.p1-diag-result-body {
  font-size: 0.9rem;
  color: #78350F;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* Mobile Sticky Bar */
.p1-sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
.p1-sticky-mobile-inner {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.p1-sticky-btn-line {
  flex: 2;
  background: #06C755;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 0;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}
.p1-sticky-btn-diag {
  flex: 1;
  background: #1F2937;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 0;
  border-radius: var(--radius-btn);
}

@media (max-width: 768px) {
  .p1-nav { display: none; }
  .p1-sticky-mobile { display: block; }
  body { padding-bottom: 80px; }
  .p1-pillars { grid-template-columns: 1fr; }
}

/* ========================================================================= */
/* Universal Comprehensive Global Multi-Channel Footer Styles (Embedded)     */
/* ========================================================================= */
.tw-global-footer {
  background: #0B132B !important;
  color: #E2E8F0 !important;
  padding: 60px 20px 30px !important;
  border-top: 2px solid #1E293B !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Noto Sans TC", sans-serif !important;
  margin-top: 60px !important;
  text-align: left !important;
}
.tw-gf-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
  gap: 32px;
}
@media (max-width: 980px) {
  .tw-gf-container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .tw-gf-container {
    grid-template-columns: 1fr;
  }
}
.tw-gf-brand {
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tw-gf-logo-dot {
  width: 10px;
  height: 10px;
  background: #0F766E;
  border-radius: 50%;
  display: inline-block;
}
.tw-gf-desc {
  font-size: 0.85rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 16px;
}
.tw-gf-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tw-gf-tag {
  background: #1E293B;
  color: #CBD5E1;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid #334155;
}
.tw-gf-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #1E293B;
  padding-bottom: 8px;
}
.tw-gf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tw-gf-link-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
  line-height: 1.5;
}
.tw-gf-link-btn:hover {
  color: #38BDF8;
}
.tw-gf-link-btn code {
  background: #1E293B;
  padding: 2px 6px;
  border-radius: 4px;
  color: #FBBF24;
  font-family: monospace;
}
.tw-gf-link {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.6;
  transition: color 0.15s;
}
.tw-gf-link:hover {
  color: #38BDF8;
}
.tw-gf-office {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 12px;
}
.tw-gf-office strong {
  color: #E2E8F0;
}
.tw-gf-bottom {
  max-width: 1140px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #1E293B;
}
.tw-gf-disclaimer {
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.7;
  margin-bottom: 14px;
}
.tw-gf-copyright {
  font-size: 0.8rem;
  color: #94A3B8;
  text-align: center;
}
