/* =====================================================
   Mishejia - 谧舍装饰室内设计
   Combined CSS Stylesheet
   ===================================================== */

/* =====================================================
   CSS Variables - Premium Palette
   ===================================================== */
:root {
  /* Colors */
  --color-bg: #f9f9f9;
  --color-text-main: #1a1a1a;
  --color-text-muted: #666666;
  --color-accent: #d4af37; /* Gold-ish */
  --color-accent-hover: #b5952f;
  --color-surface: #ffffff;
  --color-border: #e0e0e0;

  /* Typography */
  --font-main: "PingFang SC", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Playfair Display", serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #121212;
    --color-text-main: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-surface: #1e1e1e;
    --color-border: #333333;
  }
}

/* =====================================================
   Base Styles
   ===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* =====================================================
   Layout Utilities
   ===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.logo-cn {
  font-size: 1rem;
  font-weight: 400;
  margin-left: 0.5rem;
  color: var(--color-text-muted);
}

.logo img {
  height: 120px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: var(--spacing-md);
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  transition: color var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-accent);
}

/* =====================================================
   Hero Section
   ===================================================== */
/* =====================================================
   Hero Section
   ===================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #f0f0f0;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  transition: transform 10s ease; /* Subtle zoom effect */
}

.hero-section:hover .hero-background {
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px; /* Slightly wider */
  padding: 0 var(--spacing-sm);
  animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-title {
  font-size: 4.5rem; /* Larger */
  margin-bottom: var(--spacing-md);
  color: var(--color-text-main);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: normal; /* Remove italic, use serif */
  font-family: var(--font-serif);
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background-color: rgba(212, 175, 55, 0.2); /* Highlight effect */
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   Gallery Section
   ===================================================== */
.gallery-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
}

.section-header p {
  color: var(--color-text-muted);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--color-text-main);
  color: var(--color-bg);
  border-color: var(--color-text-main);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  padding: var(--spacing-sm);
}

.gallery-placeholder {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--color-text-muted);
}

.gallery-more {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.footer-logo {
  height: 120px;
  width: auto;
  margin-bottom: var(--spacing-xs);
}

.footer-brand p {
  color: var(--color-text-muted);
  max-width: 300px;
}

.footer-contact h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact p {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* =====================================================
   Components - Buttons
   ===================================================== */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all var(--transition-fast);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--color-text-main);
  color: var(--color-bg);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1px solid var(--color-text-main);
  color: var(--color-text-main);
}

.btn-outline:hover {
  background-color: var(--color-text-main);
  color: var(--color-bg);
}

/* =====================================================
   Components - Gallery Card
   ===================================================== */
/* =====================================================
   Components - Gallery Card (Overlay Style)
   ===================================================== */
.gallery-card {
  position: relative;
  background-color: var(--color-surface);
  border-radius: 0; /* Sharp edges for premium feel */
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
  height: 320px; /* Fixed height */
  display: block;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-smooth);
  z-index: 10;
}

.gallery-card:hover .card-content {
  transform: translateY(0);
  opacity: 1;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: white; /* Always white on overlay */
}

.card-category {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .card-content {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* =====================================================
   Detail Page Styles
   ===================================================== */
/* =====================================================
   Detail Page Styles
   ===================================================== */
.detail-page {
  padding-top: 120px; /* More space from header */
  min-height: 80vh;
  background-color: var(--color-bg);
}

.detail-error {
  text-align: center;
  padding: var(--spacing-xl) 0;
  color: var(--color-text-muted);
}

/* Detail Hero */
.detail-hero {
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.detail-title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.detail-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
}

.detail-subtitle::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 1rem auto 0;
}

.detail-image-wrapper {
  width: 100%;
  height: 70vh; /* Taller hero image */
  min-height: 500px;
  overflow: hidden;
  position: relative;
  margin-top: var(--spacing-lg);
}

.detail-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Detail Info Grid */
.detail-info {
  padding-bottom: var(--spacing-xl);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 350px; /* Precise width for sidebar */
  gap: var(--spacing-xl);
  align-items: start;
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .detail-title {
    font-size: 2.5rem;
  }
}

.info-main h3 {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  border-left: 3px solid var(--color-accent);
  padding-left: var(--spacing-sm);
  line-height: 1;
}

.info-main p {
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
}

.info-sidebar {
  background-color: var(--color-surface);
  padding: var(--spacing-lg); /* More padding */
  box-shadow: var(--shadow-sm); /* Subtle shadow instead of border */
  border: none;
  border-radius: 0;
  position: sticky;
  top: 100px; /* Sticky sidebar */
}

.meta-item {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-md) 0; /* More spacing */
  border-bottom: 1px solid var(--color-border);
}

.meta-item:first-child {
  padding-top: 0;
}

.meta-item:last-of-type {
  border-bottom: none;
  margin-bottom: var(--spacing-lg);
}

.meta-item .label {
  font-weight: 500;
  color: var(--color-text-main);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.meta-item .value {
  color: var(--color-text-muted);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

/* Detail Gallery */
.detail-gallery {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.gallery-title {
  font-size: 2rem;
  margin-bottom: var(--spacing-xl);
  text-align: center;
  color: var(--color-text-main);
}

.detail-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

/* Reusing gallery-item but adjusting for detail page specific needs */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 250px; /* Taller images */
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.6s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: var(--spacing-sm);
  background: var(--color-bg);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Fancybox Override */
.fancybox-slide--image .fancybox-content {
    background: transparent;
}

@media (max-width: 768px) {
  .detail-gallery .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: var(--spacing-sm);
  }
  
  .gallery-item img {
    height: 150px;
  }
}

/* === BEGIN MIAOMIAOWU APP HOME === */
/* 妙妙屋 App 官网首页 */
.mmw-site {
  --mmw-bg: #f5f5f7;
  --mmw-surface: #ffffff;
  --mmw-text: #1d1d1f;
  --mmw-muted: #6e6e73;
  --mmw-border: #d2d2d7;
  --mmw-orange: #ff982f;
  --mmw-orange-strong: #ff8524;
  --mmw-link: #ff8524;
  --mmw-blue: #ff982f;
  --mmw-green: #35c96c;
  --mmw-purple: #bf35e0;
  --mmw-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
  --mmw-soft-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  background: var(--mmw-bg);
  color: var(--mmw-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.mmw-site h1,
.mmw-site h2,
.mmw-site h3,
.mmw-site h4 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

.mmw-site .container {
  max-width: 1120px;
  padding-left: 24px;
  padding-right: 24px;
}

.mmw-site .app-site-header {
  height: 54px;
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mmw-site .app-header-inner {
  gap: 28px;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  box-shadow: none;
  flex: 0 0 auto;
}

.app-brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.app-brand-copy strong {
  font-size: 0.96rem;
  line-height: 1.2;
  color: var(--mmw-text);
  font-weight: 700;
}

.app-brand-copy small {
  font-size: 0.68rem;
  line-height: 1.2;
  color: var(--mmw-muted);
}

.mmw-site .app-main-nav ul {
  gap: 8px;
  align-items: center;
}

.mmw-site .app-main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #424245;
  font-size: 0.82rem;
  font-weight: 500;
}

.mmw-site .app-main-nav a:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.04);
}

.app-home {
  overflow: hidden;
}

.app-hero {
  padding: 106px 0 72px;
  background:
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
}

.app-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: 56px;
}

.app-hero-copy {
  max-width: 620px;
}

.app-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #515154;
  font-size: 0.84rem;
  font-weight: 600;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mmw-green);
}

.app-hero h1 {
  margin: 22px 0 20px;
  color: var(--mmw-text);
  font-size: 5.35rem;
  font-weight: 800;
  line-height: 1.04;
}

.app-hero h1 span {
  display: block;
}

.app-hero-lead {
  margin: 0;
  max-width: 620px;
  color: var(--mmw-muted);
  font-size: 1.34rem;
  line-height: 1.58;
  font-weight: 500;
}

.app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.app-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 19px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.app-button:hover {
  transform: translateY(-1px);
}

.app-button-primary {
  background: var(--mmw-link);
  color: #fff;
  box-shadow: none;
}

.app-button-secondary {
  background: transparent;
  color: var(--mmw-link);
  border: 0;
  padding-left: 2px;
  padding-right: 2px;
}

.app-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.app-hero-meta span {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #6e6e73;
  font-size: 0.82rem;
  font-weight: 500;
}

.app-showcase {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-showcase-image {
  display: block;
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 30px 54px rgba(0, 0, 0, 0.16));
}

.phone-shell {
  position: relative;
  width: min(350px, 76vw);
  aspect-ratio: 390 / 760;
  border-radius: 54px;
  background: #15161b;
  padding: 12px;
  box-shadow: var(--mmw-shadow);
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 104px;
  height: 30px;
  border-radius: 999px;
  background: #070708;
  transform: translateX(-50%);
  z-index: 4;
}

.phone-screen {
  position: relative;
  height: 100%;
  padding: 48px 20px 22px;
  border-radius: 43px;
  background: #f5f5f9;
  overflow: hidden;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 20px;
  color: #16171c;
  font-size: 0.78rem;
  font-weight: 900;
}

.phone-dynamic {
  width: 52px;
  height: 13px;
  border-radius: 999px;
  background: #050506;
}

.phone-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 38px;
}

.phone-title-row h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
}

.refresh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--mmw-orange);
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(31, 35, 43, 0.08);
}

.toolbox-panel,
.quick-card,
.phone-project-card,
.project-preview,
.data-panel,
.ai-panel,
.feature-card {
  background: #fff;
  box-shadow: none;
}

.toolbox-panel {
  margin-top: 28px;
  padding: 22px 18px;
  border-radius: 26px;
}

.toolbox-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toolbox-icon,
.quick-icon,
.project-home-icon,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 900;
}

.toolbox-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f8a23a;
  font-size: 1.1rem;
}

.toolbox-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.toolbox-head p {
  margin: 4px 0 0;
  color: var(--mmw-muted);
  font-weight: 700;
}

.toolbox-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 22px;
  text-align: center;
}

.toolbox-stats div {
  border-right: 1px solid #e4e4ea;
}

.toolbox-stats div:last-child {
  border-right: 0;
}

.toolbox-stats strong {
  display: block;
  color: #15161b;
  font-size: 1.28rem;
  line-height: 1.2;
}

.toolbox-stats span {
  color: #9698a1;
  font-size: 0.72rem;
  font-weight: 800;
}

.quick-title {
  margin: 24px 0 12px;
  color: #14151a;
  font-size: 1.06rem;
  font-weight: 900;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 14px 16px;
  border-radius: 22px;
}

.quick-card-main .quick-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--mmw-orange);
  font-size: 1.02rem;
}

.quick-card strong,
.phone-project-card strong {
  display: block;
  color: #14151a;
  font-size: 1.08rem;
  line-height: 1.25;
}

.quick-card small,
.phone-project-card small {
  display: block;
  margin-top: 4px;
  color: #8f919a;
  font-size: 0.76rem;
  font-weight: 700;
}

.phone-project-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 22px;
}

.project-home-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #fff0e5;
  color: var(--mmw-orange-strong);
}

.project-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(500px, 100%);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
}

.project-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.project-preview-head > div {
  min-width: 0;
}

.project-preview strong {
  display: block;
  color: #17181d;
  font-size: 1.02rem;
}

.project-preview small {
  display: block;
  margin-top: 4px;
  color: #858792;
  font-size: 0.78rem;
  font-weight: 700;
}

.project-preview-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  margin-top: 0;
}

.project-preview-actions span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f4f8;
  color: #3f414a;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.app-section {
  padding: 108px 0;
  background: #fff;
}

.app-feature-section {
  background: #fff;
}

.app-section-header {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.app-section-header.align-left {
  margin-left: 0;
  text-align: left;
}

.app-section-header span,
.ai-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: #86868b;
  font-size: 0.86rem;
  font-weight: 600;
}

.app-section-header h2,
.ai-panel h2 {
  margin: 12px 0 14px;
  color: var(--mmw-text);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.08;
}

.app-section-header p,
.ai-panel p {
  margin: 0;
  color: var(--mmw-muted);
  font-size: 1.22rem;
  line-height: 1.58;
  font-weight: 500;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #f5f5f7;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.feature-orange {
  background: var(--mmw-orange);
}

.feature-blue {
  background: var(--mmw-blue);
}

.feature-green {
  background: var(--mmw-green);
}

.feature-purple {
  background: var(--mmw-purple);
}

.feature-card h3 {
  margin: 0 0 12px;
  color: var(--mmw-text);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--mmw-muted);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
}

.workflow-section {
  background: #f5f5f7;
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

.workflow-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.workflow-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
}

.workflow-item > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1d1d1f;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.workflow-item h3 {
  margin: 0 0 7px;
  color: var(--mmw-text);
  font-size: 1.2rem;
  font-weight: 800;
}

.workflow-item p {
  margin: 0;
  color: var(--mmw-muted);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
}

.data-panel {
  position: sticky;
  top: 82px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 8px;
  background: transparent;
}

.data-panel h3 {
  margin: 0 0 22px;
  color: var(--mmw-text);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.25;
}

.data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.data-row span {
  color: var(--mmw-muted);
  font-weight: 500;
}

.data-row strong {
  color: var(--mmw-text);
  font-weight: 700;
}

.ai-section {
  background: #fff;
}

.ai-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 52px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 8px;
  box-shadow: none;
}

.ai-panel > div {
  max-width: 720px;
}

.mmw-site .app-footer {
  background: #15161b;
  color: #fff;
  padding: 48px 0 28px;
}

.mmw-site .app-footer-content {
  align-items: flex-start;
}

.mmw-site .app-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mmw-site .app-footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.mmw-site .app-footer h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}

.mmw-site .app-footer p,
.mmw-site .app-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.mmw-site .app-footer a:hover {
  color: #fff;
}

.mmw-site .footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1040px) {
  .app-hero-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .app-hero-copy {
    max-width: 760px;
  }

  .app-hero h1 {
    font-size: 4.35rem;
  }

  .app-section-header h2,
  .ai-panel h2 {
    font-size: 3.25rem;
  }

  .app-showcase {
    min-height: auto;
  }

  .app-showcase-image {
    width: min(390px, 86vw);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .mmw-site .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mmw-site .app-site-header {
    height: 56px;
    padding: 0;
  }

  .mmw-site .app-header-inner {
    align-items: center;
    flex-direction: row;
    gap: 14px;
  }

  .app-brand {
    flex: 0 0 auto;
    gap: 8px;
  }

  .app-brand-logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
  }

  .app-brand-copy strong {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .app-brand-copy small {
    display: none;
  }

  .mmw-site .app-main-nav {
    flex: 1 1 auto;
    width: auto;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .mmw-site .app-main-nav ul {
    width: max-content;
  }

  .app-hero {
    padding: 92px 0 58px;
  }

  .app-hero h1 {
    font-size: 3.1rem;
  }

  .app-hero-lead {
    font-size: 1.08rem;
    line-height: 1.62;
  }

  .app-button {
    width: auto;
  }

  .app-button-primary {
    width: 100%;
  }

  .app-showcase {
    min-height: auto;
  }

  .app-showcase-image {
    width: min(360px, 92vw);
  }

  .phone-shell {
    width: min(340px, 88vw);
  }

  .phone-screen {
    padding-left: 18px;
    padding-right: 18px;
  }

  .phone-title-row {
    margin-top: 34px;
  }

  .phone-title-row h2 {
    font-size: 1.75rem;
  }

  .toolbox-panel {
    margin-top: 24px;
    padding: 20px 16px;
  }

  .toolbox-icon {
    width: 58px;
    height: 58px;
  }

  .toolbox-head h3 {
    font-size: 1.22rem;
  }

  .project-preview {
    width: min(340px, 88vw);
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
  }

  .project-preview-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 2px;
  }

  .project-preview-actions span {
    min-width: 0;
    padding: 0 8px;
  }

  .app-section {
    padding: 76px 0;
  }

  .app-section-header h2,
  .ai-panel h2 {
    font-size: 2.32rem;
  }

  .app-section-header p,
  .ai-panel p {
    font-size: 1.04rem;
    line-height: 1.62;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .workflow-item {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 16px;
  }

  .workflow-item > strong {
    width: 38px;
    height: 38px;
  }

  .ai-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .mmw-site .app-footer-content,
  .mmw-site .app-footer-brand {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .app-hero h1 {
    font-size: 2.55rem;
  }

  .app-section-header h2,
  .ai-panel h2 {
    font-size: 2.05rem;
  }

  .quick-card strong {
    font-size: 1.02rem;
  }

  .quick-card small {
    font-size: 0.72rem;
  }

  .toolbox-stats strong {
    font-size: 1.12rem;
  }

  .toolbox-stats span,
  .phone-project-card small {
    font-size: 0.72rem;
  }
}
.mmw-site .app-brand-logo,
.mmw-site .app-footer-logo {
  display: block;
  background-image: url("/logo/logo_128.png?v=20260431");
  background-size: cover;
  background-position: center;
}
/* === END MIAOMIAOWU APP HOME === */
