/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #8B5E5E;
  --primary-light: #b89090;
  --primary-dark: #6b4444;
  --accent: #c9a87c;
  --bg: #faf8f5;
  --bg-white: #ffffff;
  --cream: #f5f0eb;
  --text: #3d2b2b;
  --text-light: #7a6565;
  --text-muted: #b8a5a5;
  --border: #e8ddd3;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(139, 94, 94, 0.08);
  --shadow-lg: 0 12px 48px rgba(139, 94, 94, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; border: 2px solid transparent;
  transition: all var(--transition); cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 16px rgba(139, 94, 94, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 24px rgba(139, 94, 94, 0.4);
}

.btn-outline {
  border-color: var(--text-muted); color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }

.btn-outline-dark {
  border-color: #ddd; color: var(--text); background: transparent;
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 700; color: var(--primary);
}
.nav-logo-img { width: 32px; height: 32px; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 0.95rem; color: var(--text-light); transition: color var(--transition); }
.nav-link:hover { color: var(--primary); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: all var(--transition);
}

.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.3);
}
.nav-overlay.active { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 120px 0 80px;
  overflow: hidden; min-height: 100vh;
  display: flex; align-items: center;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 2;
}

.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(139, 94, 94, 0.1); color: var(--primary);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.5rem; font-weight: 800; line-height: 1.15;
  margin-bottom: 20px; letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.2rem; color: var(--text-light);
  margin-bottom: 32px; line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

.hero-stats {
  display: flex; align-items: center; gap: 24px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.5rem; color: var(--primary); }
.stat span { font-size: 0.85rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* Phone Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-mockup { position: relative; z-index: 2; }

.phone-frame {
  width: 280px; height: 580px;
  background: #1a1a2e; border-radius: 40px;
  padding: 12px; box-shadow: var(--shadow-lg), 0 0 0 2px #333;
  position: relative;
}
.phone-notch {
  width: 120px; height: 28px; background: #1a1a2e;
  border-radius: 0 0 16px 16px; margin: 0 auto;
  position: relative; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%; background: #fff;
  border-radius: 30px; overflow: hidden;
}
.screen-content { padding: 40px 16px 16px; }
.screen-header {
  font-size: 0.85rem; font-weight: 700; color: var(--text);
  margin-bottom: 16px;
}
.look-card {
  background: #f8f9fa; border-radius: 16px; overflow: hidden;
  margin-bottom: 12px;
}
.look-card:not(.mini) { padding: 0; }
.look-image {
  width: 100%; height: 160px;
}
.look-card:not(.mini) .look-image { border-radius: 0; }
.look-card.mini .look-image { height: 100px; border-radius: 16px 16px 0 0; }
.look-items {
  display: flex; gap: 6px; padding: 10px 12px; flex-wrap: wrap;
}
.look-tag {
  font-size: 0.7rem; padding: 3px 10px; border-radius: 50px;
  background: #fff; color: var(--text-light); border: 1px solid var(--border);
}
.look-actions {
  display: flex; gap: 12px; padding: 0 12px 10px;
}
.heart-btn, .calendar-btn {
  font-size: 0.8rem; padding: 4px 12px; border-radius: 50px;
  cursor: pointer;
}
.heart-btn { background: #ffeef1; color: #e74c3c; }
.calendar-btn { background: #eef0ff; color: var(--primary); }

.floating-badge {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 50px;
  background: var(--bg-white); box-shadow: var(--shadow);
  font-size: 0.85rem; font-weight: 600; z-index: 3;
  animation: float 3s ease-in-out infinite;
}
.badge-icon { font-size: 1.1rem; }
.badge-1 { top: 60px; right: -20px; animation-delay: 0s; }
.badge-2 { bottom: 140px; left: -30px; animation-delay: 1s; }
.badge-3 { bottom: 40px; right: -10px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero BG Shapes */
.hero-bg-shapes { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.shape {
  position: absolute; border-radius: 50%; opacity: 0.06;
}
.shape-1 {
  width: 600px; height: 600px; background: var(--primary);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px; background: var(--accent);
  bottom: -100px; left: -100px;
}
.shape-3 {
  width: 250px; height: 250px; background: var(--primary-light);
  top: 40%; left: 45%;
}

/* ===== SECTION COMMON ===== */
.section-header {
  text-align: center; margin-bottom: 60px;
}
.section-header h2 {
  font-size: 2.25rem; font-weight: 800; margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.section-header p {
  font-size: 1.1rem; color: var(--text-light);
}

/* ===== FEATURES ===== */
.features { padding: 100px 0; background: var(--bg-white); }

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

.feature-card {
  padding: 32px 24px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.92rem; color: var(--text-light); line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 100px 0; }

.steps {
  display: flex; gap: 0; align-items: flex-start;
  justify-content: center; max-width: 900px; margin: 0 auto;
}

.step {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; text-align: center;
}
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; margin-bottom: 20px;
  flex-shrink: 0;
}
.step-content { padding: 0 12px; }
.step-content h3 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 8px;
}
.step-content p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }

.step-connector {
  width: 60px; height: 2px; background: var(--border);
  margin-top: 48px; flex-shrink: 0;
}

/* ===== VALUE PROP ===== */
.value-prop { padding: 100px 0; background: var(--bg-white); }

.value-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.value-content h2 {
  font-size: 2.25rem; font-weight: 800; margin-bottom: 40px;
}

.value-item {
  display: flex; gap: 16px; margin-bottom: 28px;
}
.value-check {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(139, 94, 94, 0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.value-item strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.value-item p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }

/* Chat bubbles */
.value-visual { position: relative; height: 400px; }

.chat-bubble {
  max-width: 280px; padding: 16px 20px; border-radius: 20px;
  font-size: 0.92rem; line-height: 1.6; position: absolute;
  box-shadow: var(--shadow);
}
.bubble-1 {
  background: #f0f0f0; border-bottom-left-radius: 4px;
  top: 20px; left: 0;
}
.bubble-1 p { color: var(--text); }
.bubble-time { font-size: 0.7rem; color: var(--text-muted); margin-top: 4px; display: block; }

.bubble-2 {
  background: var(--primary); color: #fff;
  bottom: 160px; right: 0; border-bottom-right-radius: 4px;
}
.chat-recommendation {
  margin-top: 10px; padding: 10px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.15);
}
.chat-recommendation div { font-size: 0.82rem; padding: 2px 0; }

.bubble-3 {
  background: #f0f0f0; border-bottom-left-radius: 4px;
  bottom: 20px; left: 30px;
}
.bubble-3 p { color: var(--text); }

/* ===== CTA ===== */
.cta-section { padding: 100px 0; }

.cta-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  border-radius: 32px; padding: 80px 40px; text-align: center;
  color: #fff; position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1), transparent 60%);
}

.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
  font-size: 2.5rem; font-weight: 800; margin-bottom: 16px;
}
.cta-content > p {
  font-size: 1.15rem; opacity: 0.9; margin-bottom: 40px;
}

.cta-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer { padding: 60px 0 30px; background: #1a1a2e; color: rgba(255,255,255,0.7); }

.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}

.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.footer-tagline { font-size: 0.85rem; opacity: 0.6; }

.footer-links-group h4 {
  color: #fff; font-size: 0.9rem; margin-bottom: 16px;
  font-weight: 600;
}
.footer-links-group a {
  display: block; font-size: 0.88rem; padding: 4px 0;
  opacity: 0.6; transition: opacity var(--transition);
}
.footer-links-group a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; text-align: center;
  font-size: 0.82rem; opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.75rem; }
  .value-inner { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg-white); padding: 32px 24px;
    gap: 24px; z-index: 1001;
  }
  .nav-links.mobile-open .nav-link { font-size: 1.2rem; }
  .nav-links.mobile-open .btn { width: 100%; justify-content: center; }

  .hero-inner {
    grid-template-columns: 1fr; text-align: center;
    gap: 40px;
  }
  .hero h1 { font-size: 2.25rem; }
  .hero-desc { font-size: 1.05rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .phone-frame { width: 240px; height: 500px; }
  .floating-badge { display: none; }

  .feature-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .steps { flex-direction: column; align-items: center; }
  .step-connector {
    width: 2px; height: 40px; margin: 0;
    background: var(--border);
  }

  .value-inner { grid-template-columns: 1fr; }
  .value-visual { height: 300px; }
  .chat-bubble { max-width: 220px; font-size: 0.85rem; }
  .bubble-1 { top: 0; left: 0; }
  .bubble-2 { bottom: 120px; right: 0; }
  .bubble-3 { bottom: 0; left: 20px; }

  .cta-inner { padding: 60px 24px; }
  .cta-content h2 { font-size: 1.75rem; }
  .cta-buttons { flex-direction: column; align-items: center; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .section-header h2 { font-size: 1.75rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
