/* ============================================================
   淑女都市 - Elegant Lady Urban Theme
   Sophisticated mauves + metropolitan silver + pearl background
   High-rise skyline motifs, refined urban femininity
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  --mauve:          #9b6b9e;
  --mauve-dark:     #7a5180;
  --mauve-light:    #c4a0c8;
  --mauve-pale:     #e8d5ea;
  --silver:         #b8b8c8;
  --silver-dark:    #8a8a9a;
  --silver-light:   #d8d8e4;
  --rose-gold:      #c4a0ab;
  --rose-gold-dark: #a07885;
  --plum:           #3d2c3a;
  --plum-light:     #5a4558;
  --pearl:          #faf7f9;
  --pearl-dark:     #f0ebf2;
  --white:          #ffffff;
  --text:           #3a2e38;
  --text-light:     #6e5f6c;
  --text-lighter:   #9a8b98;
  --shadow:         rgba(61, 44, 58, 0.08);
  --shadow-md:      rgba(61, 44, 58, 0.15);
  --shadow-lg:      rgba(61, 44, 58, 0.22);

  --font-heading: 'Georgia', 'Noto Serif SC', 'STSong', 'Songti SC', 'SimSun', serif;
  --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --header-h: 68px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--pearl);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

/* Pearl shimmer overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(155,107,158,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(196,160,171,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(184,184,200,0.04) 0%, transparent 60%);
}

/* ── Typography ── */
h1 { font-family: var(--font-heading); font-size: 2.4rem; color: var(--plum); letter-spacing: 0.02em; }
h2 { font-family: var(--font-heading); font-size: 1.8rem; color: var(--plum); margin-bottom: 1rem; }
h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--plum-light); margin-bottom: 0.75rem; }
a { color: var(--mauve); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--mauve-dark); }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--plum);
  border-bottom: 3px solid var(--mauve);
  box-shadow: 0 2px 16px var(--shadow-md);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 1.4rem; color: var(--pearl);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.logo:hover { color: var(--mauve-light); }
.logo-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mauve-light), var(--rose-gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--white); flex-shrink: 0;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.3rem; }
.main-nav a {
  color: var(--silver-light); padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 500;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Nav CTA button */
.nav-cta {
  background: linear-gradient(135deg, var(--mauve), var(--rose-gold)) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 24px !important;
  box-shadow: 0 2px 8px rgba(155,107,158,0.3);
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(155,107,158,0.4) !important;
  background: linear-gradient(135deg, var(--mauve-dark), var(--rose-gold-dark)) !important;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: var(--silver-light); border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--plum) 0%, var(--plum-light) 40%, var(--mauve-dark) 100%);
  color: var(--white); text-align: center;
  padding: 5rem 1.5rem 4rem;
}
/* High-rise skyline silhouette */
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background:
    /* Towers */
    linear-gradient(0deg, var(--pearl) 0%, var(--pearl) 4px, transparent 4px),
    linear-gradient(0deg, var(--pearl) 0%, var(--pearl) 4px, transparent 4px),
    linear-gradient(0deg, var(--pearl) 0%, var(--pearl) 4px, transparent 4px),
    transparent;
  background-size: 30px 60px, 22px 45px, 26px 52px;
  background-position: 5% 100%, 18% 100%, 30% 100%;
  background-repeat: no-repeat;
  opacity: 0.3;
}
/* Light glow accents */
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(196,160,171,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 40%, rgba(184,184,200,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white); font-size: 2.8rem; margin-bottom: 0.8rem;
  background: linear-gradient(135deg, var(--white), var(--mauve-pale), var(--silver-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--silver-light); margin-bottom: 1.5rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 2rem; }
.hero-tags span {
  background: rgba(255,255,255,0.12); color: var(--silver-light);
  padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.15);
}
.hero-visual {
  width: 100%; max-width: 500px; height: 260px;
  margin: 1.5rem auto 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--mauve-light) 0%, var(--rose-gold) 40%, var(--silver) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; opacity: 0.7;
  box-shadow: 0 8px 32px rgba(61,44,58,0.2);
}

/* ── Page Hero (sub-pages) ── */
.page-hero {
  background: linear-gradient(170deg, var(--plum) 0%, var(--plum-light) 60%, var(--mauve) 100%);
  color: var(--white); text-align: center;
  padding: 3rem 1.5rem 2.5rem; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 40% 60%, rgba(196,160,171,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 70% 30%, rgba(184,184,200,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--white); font-size: 2.2rem;
  background: linear-gradient(135deg, var(--white), var(--mauve-pale));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p { color: var(--silver-light); max-width: 600px; margin: 0.5rem auto 0; }

/* ── Breadcrumbs ── */
.breadcrumbs { padding: 1rem 0; font-size: 0.85rem; color: var(--text-lighter); }
.breadcrumbs a { color: var(--mauve); }
.breadcrumbs a:hover { color: var(--mauve-dark); }

/* ── Sections ── */
section { padding: 3.5rem 0; }
.section-title {
  text-align: center; margin-bottom: 2.5rem; position: relative;
}
.section-title::after {
  content: '';
  display: block; width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--mauve), var(--rose-gold));
  margin: 0.75rem auto 0; border-radius: 2px;
}

/* ── Info Grid ── */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem; margin: 2rem 0;
}
.info-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 3px solid var(--mauve-light);
  transition: all var(--transition);
}
.info-card:hover {
  border-left-color: var(--mauve);
  box-shadow: 0 4px 18px var(--shadow-md);
  transform: translateY(-2px);
}
.info-card .info-label {
  font-size: 0.8rem; text-transform: uppercase;
  color: var(--text-lighter); letter-spacing: 0.06em; margin-bottom: 0.3rem;
}
.info-card .info-value {
  font-size: 1.05rem; color: var(--text); font-weight: 600;
}

/* ── Feature Cards ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin: 2rem 0;
}
.feature-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: 0 2px 12px var(--shadow);
  border-left: 4px solid var(--mauve);
  transition: all var(--transition);
}
.feature-card:hover {
  border-left-color: var(--rose-gold);
  box-shadow: 0 6px 20px var(--shadow-md);
  transform: translateY(-3px);
}
.feature-card .feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mauve-pale), var(--silver-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}
.feature-card h3 { margin-bottom: 0.5rem; }

/* ── Character Cards ── */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem; margin: 2rem 0;
}
.char-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 2px 12px var(--shadow);
  transition: all var(--transition);
}
.char-card:hover {
  box-shadow: 0 8px 24px var(--shadow-lg);
  transform: translateY(-4px);
}
.char-card-header {
  background: linear-gradient(135deg, var(--plum), var(--plum-light));
  padding: 1.5rem; text-align: center;
}
.char-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, var(--mauve-light), var(--rose-gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; border: 3px solid var(--silver-light);
}
.char-card-header h3 { color: var(--white); margin-bottom: 0.2rem; }
.char-role { color: var(--silver-light); font-size: 0.85rem; }
.char-card-body { padding: 1.5rem; }
.char-traits { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.char-traits span {
  background: var(--mauve-pale); color: var(--mauve-dark);
  padding: 0.25rem 0.7rem; border-radius: 14px;
  font-size: 0.8rem;
}

/* ── Story Blocks ── */
.story-block {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 4px solid var(--mauve);
}
.story-block .story-chapter {
  display: inline-block; font-size: 0.8rem; color: var(--mauve);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.story-block h2 { margin-bottom: 0.5rem; }

/* ── Guide Steps ── */
.guide-steps { margin: 2rem 0; }
.guide-step {
  display: flex; gap: 1.25rem; margin-bottom: 1.5rem;
  align-items: flex-start;
}
.guide-step-num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mauve), var(--rose-gold));
  color: var(--white); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(155,107,158,0.3);
}
.guide-step-content {
  background: var(--white); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; flex: 1;
  box-shadow: 0 1px 8px var(--shadow);
  border-left: 3px solid var(--mauve-light);
}
.guide-step-content h3 { margin-bottom: 0.3rem; }

/* ── FAQ Accordion ── */
.faq-list { max-width: 800px; margin: 2rem auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  margin-bottom: 0.75rem; box-shadow: 0 1px 8px var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem; border: none; background: none;
  cursor: pointer; font-size: 1rem; font-weight: 600;
  color: var(--text); text-align: left; font-family: var(--font-body);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--pearl-dark); }
.faq-toggle {
  flex-shrink: 0; width: 24px; height: 24px;
  border-radius: 50%; background: linear-gradient(135deg, var(--mauve), var(--rose-gold));
  color: var(--white); font-size: 1rem; line-height: 24px;
  text-align: center; transition: transform var(--transition);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p { color: var(--text-light); }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem; margin: 2rem 0;
}
.gallery-grid a {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}
.gallery-grid a:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px var(--shadow-md);
}
.gallery-placeholder {
  aspect-ratio: 16/9; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--mauve-pale) 0%, var(--silver-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--mauve); opacity: 0.5;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--plum), var(--plum-light));
  color: var(--white); text-align: center;
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  margin: 2rem 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(196,160,171,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(184,184,200,0.1) 0%, transparent 60%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--silver-light); margin-bottom: 1.5rem; }

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--mauve), var(--rose-gold));
  color: var(--white); font-weight: 700;
  padding: 0.8rem 2.5rem; border-radius: 28px;
  font-size: 1rem; transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(155,107,158,0.35);
  text-decoration: none; border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155,107,158,0.45);
  color: var(--white);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--mauve); font-weight: 600;
  padding: 0.8rem 2rem; border-radius: 28px;
  font-size: 1rem; border: 2px solid var(--mauve-light);
  transition: all var(--transition); text-decoration: none;
}
.btn-secondary:hover {
  background: var(--mauve-pale); color: var(--mauve-dark);
}

/* ── Tags ── */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.tag { padding: 0.3rem 0.85rem; border-radius: 16px; font-size: 0.82rem; font-weight: 500; }
.tag-mauve { background: var(--mauve-pale); color: var(--mauve-dark); }
.tag-silver { background: var(--silver-light); color: var(--silver-dark); }
.tag-rose { background: #f0e0e4; color: var(--rose-gold-dark); }
.tag-plum { background: #e0d4e2; color: var(--plum); }

/* ── Skyline Divider ── */
.skyline-divider {
  height: 4px; margin: 1.5rem 0;
  background: linear-gradient(90deg,
    transparent 0%, var(--silver-light) 10%, var(--mauve-light) 30%,
    var(--rose-gold) 50%, var(--mauve-light) 70%, var(--silver-light) 90%,
    transparent 100%);
  border-radius: 2px;
}

/* ── Tip Box ── */
.tip-box {
  background: var(--pearl-dark); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0;
  border-left: 4px solid var(--mauve);
}
.tip-box strong { color: var(--mauve-dark); }

/* ── Stats Row ── */
.stats-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 2.5rem; margin: 2rem 0; text-align: center;
}
.stat-item .stat-value {
  font-size: 2rem; font-weight: 700;
  background: linear-gradient(135deg, var(--mauve), var(--rose-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .stat-label {
  font-size: 0.85rem; color: var(--text-lighter);
}

/* ── Review Cards ── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; margin: 2rem 0;
}
.review-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: 0 2px 10px var(--shadow);
  border-top: 3px solid var(--rose-gold);
}
.review-card .review-stars { color: var(--rose-gold); font-size: 1.1rem; margin-bottom: 0.5rem; }
.review-card .review-text { color: var(--text-light); font-style: italic; }
.review-card .review-author { font-size: 0.85rem; color: var(--text-lighter); margin-top: 0.75rem; font-weight: 600; }

/* ── Table ── */
.info-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.info-table th {
  background: var(--plum); color: var(--white); padding: 0.75rem 1rem;
  text-align: left; font-weight: 600; font-size: 0.9rem;
}
.info-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--pearl-dark);
  font-size: 0.95rem; color: var(--text-light);
}
.info-table tr:nth-child(even) td { background: var(--pearl); }
.info-table tr:hover td { background: var(--mauve-pale); }

/* ── Footer ── */
.site-footer {
  background: var(--plum); color: var(--silver-light);
  text-align: center; padding: 2rem 1.5rem; font-size: 0.85rem;
  border-top: 3px solid var(--mauve);
}

/* ── Lightbox ── */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(61,44,58,0.92); align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }

/* ── Blockquote ── */
blockquote {
  border-left: 4px solid var(--mauve); padding: 1rem 1.5rem;
  background: var(--pearl-dark); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0; color: var(--text-light); font-style: italic;
}

/* ── Utility ── */
.text-center { text-align: center; }
.text-light { color: var(--text-light); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-700 { max-width: 700px; margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none; position: absolute; top: var(--header-h);
    left: 0; right: 0; background: var(--plum);
    flex-direction: column; padding: 0.5rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; text-align: center; padding: 0.7rem; }
  .hero h1 { font-size: 2rem; }
  .hero-visual { height: 180px; }
  .page-hero h1 { font-size: 1.6rem; }
  .guide-step { flex-direction: column; gap: 0.75rem; }
  .stats-row { gap: 1.5rem; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.95rem; }
  section { padding: 2rem 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .char-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
