/* =============================================
   爪记 PawLog — Main Stylesheet
   ============================================= */
[x-cloak] { display: none !important; }

@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --primary:        #D4917A;
  --primary-light:  #E8C3A5;
  --primary-dark:   #B8705A;
  --bg:             #FFF8F0;
  --bg-section:     #FDF2E9;
  --dark:           #5C3A2E;
  --text:           #3D2B1F;
  --text-light:     #8B6355;
  --accent:         #F2D4C2;
  --white:          #FFFFFF;
  --border:         #E8D5C4;
  --success:        #7BAF8E;
  --error:          #C0504D;
  --font-display:  'Ma Shan Zheng', serif;
  --font-heading:  'Noto Serif SC', serif;
  --font-body:     'Noto Sans SC', sans-serif;
  --font-english:  'Cormorant Garamond', serif;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --shadow-sm: 0 2px 8px rgba(92,58,46,0.08);
  --shadow-md: 0 4px 20px rgba(92,58,46,0.12);
  --shadow-lg: 0 8px 40px rgba(92,58,46,0.16);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.8; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark); line-height: 1.4; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section); }
.section-heading { text-align: center; margin-bottom: 56px; }
.section-heading h2 { font-size: clamp(26px, 4vw, 38px); color: var(--dark); margin-bottom: 12px; }
.section-heading p { font-size: 17px; color: var(--text-light); max-width: 560px; margin: 0 auto; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 100px; font-size: 16px; font-weight: 500; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; font-family: var(--font-body); white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-ghost { background: transparent; color: var(--dark); border-color: transparent; }
.btn-ghost:hover { color: var(--primary); }
.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--accent); }
.btn-lg { padding: 18px 36px; font-size: 18px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---- Navbar ---- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: all var(--transition); }
.navbar.scrolled { background: rgba(255,248,240,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); padding: 12px 0; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.navbar-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.navbar-logo img { height: 40px; width: auto; }
.navbar-logo .logo-text-cn { font-family: var(--font-display); font-size: 22px; color: var(--dark); }
.navbar-logo .logo-text-en { font-family: var(--font-english); font-size: 15px; color: var(--text-light); font-style: italic; }
.navbar-nav { display: flex; align-items: center; gap: 4px; }
.navbar-nav a { padding: 8px 16px; border-radius: 100px; font-size: 15px; color: var(--text); transition: all var(--transition); white-space: nowrap; }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--primary); background: var(--accent); }
.navbar-right { display: flex; align-items: center; gap: 16px; }
.navbar-wechat { font-size: 13px; color: var(--text-light); white-space: nowrap; }
.navbar-wechat strong { color: var(--primary-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }

/* Mobile menu */
.mobile-menu { position: fixed; top: 64px; left: 0; right: 0; z-index: 99; background: var(--bg-section); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-md); }
.mobile-menu a { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 16px; color: var(--dark); display: block; transition: all var(--transition); }
.mobile-menu a:hover { background: var(--accent); color: var(--primary-dark); }
.mobile-menu-wechat { margin-top: 12px; padding: 12px 16px; background: var(--accent); border-radius: var(--radius-sm); font-size: 13px; color: var(--primary-dark); text-align: center; }

/* ---- Cards ---- */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; transition: all var(--transition); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--dark); margin-bottom: 8px; }
.form-label .req { color: var(--error); margin-left: 2px; }
.form-input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; color: var(--text); background: var(--white); transition: border-color var(--transition); outline: none; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(212,145,122,0.15); }
.form-input::placeholder { color: var(--text-light); opacity: 0.7; }
.form-input.is-error { border-color: var(--error); }
.form-hint { font-size: 13px; color: var(--text-light); margin-top: 6px; }
.form-error-msg { font-size: 13px; color: var(--error); margin-top: 6px; }
.phone-row { display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.phone-prefix { display: flex; align-items: center; justify-content: center; background: var(--bg-section); border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-light); }
.pill-option { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1.5px solid var(--border); border-radius: 100px; cursor: pointer; font-size: 14px; transition: all var(--transition); user-select: none; color: var(--text); background: var(--white); }
.pill-option:hover { border-color: var(--primary); background: var(--accent); }
.pill-option.selected { border-color: var(--primary); background: var(--primary); color: var(--white); }

/* ---- Progress ---- */
.progress-bar { background: var(--border); height: 4px; border-radius: 4px; overflow: hidden; margin-bottom: 32px; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.4s ease; }

/* ---- Upload ---- */
.upload-area { border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 40px; text-align: center; cursor: pointer; transition: all var(--transition); background: var(--bg-section); }
.upload-area:hover { border-color: var(--primary); background: var(--accent); }
.upload-icon { font-size: 36px; margin-bottom: 12px; }
.upload-text { font-size: 15px; color: var(--text-light); }
.upload-text strong { color: var(--primary); }
.upload-preview { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.upload-thumb-wrapper { position: relative; width: 80px; height: 80px; }
.upload-thumb { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; }
.upload-thumb-remove { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--error); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; cursor: pointer; border: none; line-height: 1; }

/* ---- Toast ---- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--dark); color: var(--white); padding: 14px 24px; border-radius: 100px; font-size: 14px; z-index: 999; transition: transform 0.3s ease; white-space: nowrap; }
.toast.visible { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--error); }

/* ---- Accordion ---- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 16px; font-weight: 500; color: var(--dark); cursor: pointer; background: none; border: none; text-align: left; font-family: var(--font-body); transition: color var(--transition); }
.accordion-trigger:hover { color: var(--primary); }
.accordion-icon { font-size: 20px; color: var(--primary); flex-shrink: 0; transition: transform 0.3s; }
.accordion-body { overflow: hidden; }
.accordion-body-inner { padding: 0 0 20px; color: var(--text-light); font-size: 15px; line-height: 1.8; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: var(--accent); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; margin-bottom: 40px; }
.footer-logo .logo-text-cn { font-family: var(--font-display); font-size: 24px; color: var(--white); }
.footer-logo .logo-text-en { font-family: var(--font-english); font-size: 14px; color: var(--accent); font-style: italic; }
.footer-tagline { font-size: 14px; color: var(--accent); margin-top: 8px; opacity: 0.8; }
.footer-right { display: flex; flex-direction: column; gap: 20px; align-items: flex-end; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer-nav a { color: var(--accent); font-size: 14px; opacity: 0.8; transition: opacity var(--transition); }
.footer-nav a:hover { opacity: 1; }
.footer-wechat { font-size: 14px; color: var(--accent); opacity: 0.85; }
.footer-bottom { border-top: 1px solid rgba(242,212,194,0.2); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 13px; color: var(--accent); opacity: 0.6; }
.footer-icp a { color: var(--accent); opacity: 0.7; font-size: 13px; text-decoration: underline; }

/* =============================================
   HERO
   ============================================= */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 100px 0 60px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(232,195,165,0.25) 0%, transparent 70%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--primary-dark); font-size: 13px; font-weight: 500; padding: 6px 16px; border-radius: 100px; margin-bottom: 24px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 64px); color: var(--dark); line-height: 1.3; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: var(--text-light); line-height: 1.8; margin-bottom: 36px; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hero-wechat-btn { font-size: 15px; color: var(--text-light); cursor: pointer; background: none; border: none; font-family: var(--font-body); transition: color var(--transition); display: flex; align-items: center; gap: 6px; }
.hero-wechat-btn:hover { color: var(--primary); }
.hero-trust { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.hero-img { width: 100%; object-fit: contain; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* =============================================
   BELIEF BAR
   ============================================= */
.belief-bar { background: var(--dark); padding: 64px 0; text-align: center; }
.belief-text { font-family: var(--font-display); font-size: clamp(22px, 4vw, 38px); color: var(--white); line-height: 1.6; letter-spacing: 2px; }

/* =============================================
   ABOUT
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-text p { color: var(--text-light); line-height: 1.9; margin-bottom: 20px; font-size: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-img { width: 100%; aspect-ratio: 7/8; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }

/* =============================================
   CONTENT CARDS
   ============================================= */
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.content-card { text-align: center; }
.content-card-img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.content-card-placeholder { aspect-ratio: 5/4; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; }
.content-card-body { padding: 20px 16px; }
.content-icon { font-size: 28px; margin-bottom: 10px; }
.content-card h3 { font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.content-card p { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* =============================================
   BOX COMPARISON
   ============================================= */
.box-section-sub { text-align: center; color: var(--text-light); font-size: 15px; margin-top: -36px; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }
.box-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.box-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-xl); padding: 40px; position: relative; transition: all var(--transition); }
.box-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.box-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 18px; border-radius: 100px; white-space: nowrap; }
.box-card-tag { display: inline-block; background: var(--accent); color: var(--primary-dark); border-radius: 100px; font-size: 12px; padding: 3px 14px; margin-bottom: 16px; }
.box-card-name { font-family: var(--font-heading); font-size: 24px; color: var(--dark); margin-bottom: 8px; }
.box-card-desc { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.box-feature-list { margin-bottom: 28px; }
.box-feature-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.box-feature-list li:last-child { border-bottom: none; }
.box-feature-list li::before { content: '✓'; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* =============================================
   MATCHING LOGIC
   ============================================= */
.matching-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.matching-rules { display: flex; flex-direction: column; gap: 16px; }
.matching-rules.centered { max-width: 600px; margin: 0 auto; }
.matching-rule { background: var(--white); border-radius: var(--radius-md); padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.rule-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.rule-trigger { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.rule-result { font-size: 15px; color: var(--dark); font-weight: 500; }
.matching-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-xl); }

/* =============================================
   GALLERY PREVIEW
   ============================================= */
.gallery-preview-wrap { max-width: 760px; margin: 0 auto; }
.gallery-single-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.gallery-single-img img { width: 100%; display: block; }
.gallery-swiper { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.gallery-slide { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--accent); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-slide-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(92,58,46,0.8)); color: var(--white); padding: 24px 20px 16px; font-size: 15px; font-family: var(--font-heading); }
.gallery-slide-month { font-size: 12px; color: rgba(242,212,194,0.8); font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; }
.gallery-preview-cta { text-align: center; margin-top: 32px; }

/* =============================================
   SHARE CARDS
   ============================================= */
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.share-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.share-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.share-text { font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 16px; font-style: italic; }
.sharer { font-size: 13px; color: var(--text-light); }

/* =============================================
   BOTTOM CTA
   ============================================= */
.bottom-cta-section { background: var(--bg-section); padding: 100px 0; text-align: center; }
.bottom-cta-section h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px); color: var(--dark); margin-bottom: 12px; }
.bottom-cta-section p { font-size: 16px; color: var(--text-light); }
.bottom-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* =============================================
   STICKY BAR
   ============================================= */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--dark); padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; transform: translateY(100%); transition: transform 0.35s ease; }
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-wechat { color: var(--accent); font-size: 14px; opacity: 0.85; }

/* =============================================
   WECHAT MODAL
   ============================================= */
.wechat-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 200; }
.wechat-modal-card { background: var(--white); border-radius: var(--radius-xl); padding: 40px; text-align: center; max-width: 440px; width: 90%; position: relative; }
.wechat-modal-close { position: absolute; top: 16px; right: 20px; font-size: 24px; line-height: 1; color: var(--text-light); background: none; border: none; cursor: pointer; }
.wechat-modal-close:hover { color: var(--dark); }
.wechat-qr-box { width: 280px; height: 280px; background: var(--bg-section); border: 2px dashed var(--border); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; margin: 0 auto 20px; font-size: 13px; color: var(--text-light); }
.wechat-number { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 8px; font-family: var(--font-heading); }
.wechat-hint { font-size: 13px; color: var(--text-light); }

/* =============================================
   GALLERY PAGE
   ============================================= */
.page-header { padding: 120px 0 60px; text-align: center; }
.page-header h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); color: var(--dark); margin-bottom: 12px; }
.page-header p { font-size: 17px; color: var(--text-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery-card { border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 4/3; background: var(--accent); }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(92,58,46,0.75)); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.gallery-card-month { font-size: 11px; color: rgba(242,212,194,0.8); font-weight: 700; letter-spacing: 1px; margin-bottom: 4px; }
.gallery-card-theme { font-size: 16px; color: var(--white); font-family: var(--font-heading); }
.gallery-card-style { font-size: 12px; color: rgba(242,212,194,0.7); margin-top: 2px; }

/* Gallery simplified sample layout */
.gallery-samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.gallery-sample-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--accent); box-shadow: var(--shadow-md); }
.gallery-sample-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-sample-card:hover img { transform: scale(1.03); }
.gallery-sample-label { padding: 12px 16px; font-size: 14px; font-family: var(--font-heading); color: var(--dark); text-align: center; background: var(--white); }
.gallery-theme-intro { font-size: 15px; color: var(--text-light); margin-bottom: 16px; text-align: center; }
.gallery-theme-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gallery-theme-pills span { background: var(--bg-section); border: 1px solid var(--border); border-radius: 100px; padding: 6px 14px; font-size: 13px; color: var(--text); }
@media (max-width: 640px) { .gallery-samples { grid-template-columns: 1fr; } }
.theme-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.theme-table th { background: var(--bg-section); padding: 14px 20px; font-size: 13px; color: var(--text-light); text-align: left; font-weight: 500; }
.theme-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.theme-table tr:last-child td { border-bottom: none; }
.theme-table tr:hover td { background: var(--bg-section); }

/* =============================================
   ARCHIVE PAGE
   ============================================= */
.archive-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.archive-wrap { max-width: 600px; margin: 0 auto; padding: 48px 24px 100px; }
.progress-steps { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; position: relative; }
.progress-steps::before { content: ''; position: absolute; top: 20px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 0; }
.step-item { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 1; flex: 1; }
.step-circle { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--text-light); transition: all 0.3s; }
.step-circle.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.step-circle.done { background: var(--primary-light); border-color: var(--primary-light); color: var(--primary-dark); }
.step-label-text { font-size: 12px; color: var(--text-light); text-align: center; white-space: nowrap; }
.step-title { font-family: var(--font-heading); font-size: 22px; color: var(--dark); margin-bottom: 6px; }
.step-sub { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.thank-you { text-align: center; padding: 40px 0; }
.thank-you-icon { font-size: 64px; margin-bottom: 20px; }
.thank-you h2 { font-family: var(--font-display); font-size: 28px; color: var(--dark); margin-bottom: 12px; }
.thank-you p { color: var(--text-light); font-size: 15px; line-height: 1.8; margin-bottom: 8px; }
.thank-you-qr { width: 160px; height: 160px; background: var(--bg-section); border: 2px dashed var(--border); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; margin: 24px auto; font-size: 13px; color: var(--text-light); }
.thank-you-number { font-size: 26px; font-weight: 700; color: var(--dark); font-family: var(--font-heading); margin-bottom: 6px; }

/* =============================================
   DASHBOARD
   ============================================= */
.dash-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.dash-body { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; padding-top: 64px; }
.dash-sidebar { border-right: 1px solid var(--border); padding: 24px 0; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-size: 15px; color: var(--text); cursor: pointer; transition: all var(--transition); }
.sidebar-link:hover, .sidebar-link.active { background: var(--accent); color: var(--primary-dark); }
.sidebar-link .icon { font-size: 18px; flex-shrink: 0; }
.dash-main { padding: 32px; }
.dash-section { display: none; }
.dash-section.active { display: block; }
.dash-section-title { font-size: 20px; color: var(--dark); margin-bottom: 24px; font-family: var(--font-heading); }
.pet-profile-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.pet-profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.pet-avatar-lg { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; }
.pet-info-name { font-family: var(--font-heading); font-size: 22px; color: var(--dark); }
.pet-info-sub { font-size: 14px; color: var(--text-light); margin-top: 4px; }
.tag-pill { display: inline-block; background: var(--accent); color: var(--primary-dark); border-radius: 100px; font-size: 13px; padding: 4px 14px; margin: 4px 4px 4px 0; }
.wechat-contact-card { background: linear-gradient(135deg, var(--primary-light), var(--accent)); border-radius: var(--radius-lg); padding: 32px; text-align: center; margin-bottom: 20px; }
.wechat-contact-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.wechat-contact-card p { font-size: 14px; color: var(--primary-dark); margin-bottom: 20px; }
.wechat-contact-qr { width: 120px; height: 120px; background: var(--white); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 12px; color: var(--text-light); text-align: center; padding: 12px; border: 2px dashed var(--border); }
.wechat-contact-num { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 8px; font-family: var(--font-heading); }
.profile-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.profile-section h3 { font-size: 16px; color: var(--dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.postcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.postcard-item { aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; position: relative; }
.postcard-item:hover .postcard-overlay { opacity: 1; }
.postcard-overlay { position: absolute; inset: 0; background: rgba(92,58,46,0.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); color: var(--white); font-size: 13px; }

/* =============================================
   LOGIN / 404
   ============================================= */
.login-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; background: var(--bg-section); }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-card { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 48px; width: 100%; max-width: 420px; }
.login-heading { font-size: 22px; color: var(--dark); margin-bottom: 8px; text-align: center; }
.login-sub { font-size: 14px; color: var(--text-light); text-align: center; margin-bottom: 32px; }
.login-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-light); }
.login-footer a { color: var(--primary); }
.not-found { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.not-found-icon { font-size: 80px; margin-bottom: 24px; }
.not-found h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 48px); color: var(--dark); margin-bottom: 12px; }
.not-found p { font-size: 16px; color: var(--text-light); margin-bottom: 36px; }
.not-found-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .navbar-nav { display: none; }
  .navbar-wechat { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { align-items: stretch; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img { aspect-ratio: 4/3; }
  .box-compare-grid { grid-template-columns: 1fr; }
  .matching-grid { grid-template-columns: 1fr; }
  .matching-visual { display: none; }
  .share-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-right { align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; overflow-x: auto; }
  .dash-main { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .sticky-bar { padding: 10px 16px; }
  .sticky-bar-wechat { display: none; }
}
@media (max-width: 480px) {
  .content-grid { grid-template-columns: 1fr; }
  .bottom-cta-actions { flex-direction: column; align-items: center; }
  .hero h1 { font-size: 36px; }
  .login-card { padding: 32px 20px; }
}
