* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; color: #1a1a2e; line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06); }
.nav-content { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 20px; }
.logo-icon { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: #555; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #6c5ce7; }
.btn-nav { background: linear-gradient(135deg, #6c5ce7, #a855f7); color: #fff !important; padding: 8px 20px; border-radius: 24px; font-weight: 600; }

/* Hero */
.hero { position: relative; padding: 140px 0 100px; background: linear-gradient(160deg, #fdf2f8, #ede9fe, #e0f2fe); overflow: hidden; }
.hero-content { display: flex; align-items: center; gap: 60px; position: relative; z-index: 2; }
.hero-text { flex: 1; }
.badge { display: inline-block; background: rgba(108,92,231,0.1); color: #6c5ce7; padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
h1 { font-size: 52px; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.highlight { background: linear-gradient(135deg, #6c5ce7, #e91e8c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-text p { font-size: 18px; color: #555; margin-bottom: 32px; max-width: 460px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 28px; font-size: 16px; font-weight: 700; text-decoration: none; transition: all 0.3s; }
.btn-primary { background: linear-gradient(135deg, #6c5ce7, #a855f7); color: #fff; box-shadow: 0 8px 30px rgba(108,92,231,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(108,92,231,0.45); }
.btn-secondary { background: rgba(255,255,255,0.7); color: #6c5ce7; border: 2px solid rgba(108,92,231,0.2); }
.btn-secondary:hover { background: #fff; border-color: #6c5ce7; }

/* Hero Visual */
.hero-visual { flex: 1; display: flex; justify-content: center; }
.pet-showcase { position: relative; width: 320px; height: 360px; }
.pet-card { position: absolute; width: 180px; background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); overflow: hidden; transition: transform 0.4s; }
.pet-card:hover { transform: scale(1.05) rotate(0deg) !important; }
.card-1 { top: 0; left: 0; transform: rotate(-6deg); z-index: 3; }
.card-2 { top: 30px; left: 120px; transform: rotate(4deg); z-index: 2; }
.card-3 { top: 160px; left: 40px; transform: rotate(-3deg); z-index: 1; }
.pet-img-placeholder { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 64px; background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.style-tag { display: block; text-align: center; padding: 10px; font-size: 14px; font-weight: 700; color: #6c5ce7; }

/* BG Shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.3; }
.shape-1 { width: 300px; height: 300px; background: #c4b5fd; top: -80px; right: -60px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; background: #f9a8d4; bottom: -40px; left: -40px; animation: float 6s ease-in-out infinite reverse; }
.shape-3 { width: 150px; height: 150px; background: #93c5fd; top: 50%; left: 60%; animation: float 10s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Section Header */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; font-weight: 900; margin-bottom: 12px; }
.section-header p { color: #888; font-size: 16px; }

/* Features */
.features { padding: 100px 0; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: linear-gradient(135deg, #faf5ff, #f0f9ff); border: 1px solid rgba(108,92,231,0.08); border-radius: 20px; padding: 36px 28px; text-align: center; transition: all 0.3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(108,92,231,0.12); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: #666; font-size: 14px; }

/* Styles */
.styles { padding: 100px 0; background: linear-gradient(160deg, #faf5ff, #fff); }
.styles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.style-item { text-align: center; transition: transform 0.3s; cursor: pointer; }
.style-item:hover { transform: scale(1.08); }
.style-preview { width: 100%; aspect-ratio: 1; border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.style-emoji { font-size: 48px; }
.style-name { display: block; margin-top: 12px; font-weight: 700; font-size: 15px; color: #444; }

/* How It Works */
.how-it-works { padding: 100px 0; background: #fff; }
.steps { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.step { background: linear-gradient(135deg, #fdf2f8, #ede9fe); border-radius: 24px; padding: 40px 32px; text-align: center; flex: 1; min-width: 220px; max-width: 280px; position: relative; }
.step-number { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; background: linear-gradient(135deg, #6c5ce7, #a855f7); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; }
.step-icon { font-size: 48px; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: #666; font-size: 14px; }
.step-arrow { font-size: 28px; color: #c4b5fd; font-weight: 900; }

/* Download */
.download { padding: 100px 0; background: linear-gradient(135deg, #6c5ce7, #a855f7, #ec4899); text-align: center; color: #fff; }
.download h2 { font-size: 32px; font-weight: 900; margin-bottom: 12px; }
.download p { opacity: 0.9; margin-bottom: 32px; }
.qr-placeholder { display: flex; justify-content: center; margin-bottom: 20px; }
.qr-box { width: 200px; height: 200px; background: #fff; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.qr-icon { font-size: 48px; }
.qr-text { color: #999; font-size: 14px; }
.download-note { opacity: 0.8; font-size: 14px; }

/* Footer */
.footer { padding: 60px 0 40px; background: #1a1a2e; color: #fff; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.footer-desc { color: #aaa; margin-bottom: 20px; font-size: 14px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 30px; }
.footer-links a { color: #c4b5fd; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.copyright { color: #666; font-size: 13px; }

/* Responsive */
@media (max-width: 768px) {
  .hero-content { flex-direction: column; text-align: center; gap: 40px; }
  h1 { font-size: 36px; }
  .hero-text p { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .pet-showcase { width: 260px; height: 300px; }
  .pet-card { width: 150px; }
  .card-2 { left: 90px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .styles-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .nav-links a:not(.btn-nav) { display: none; }
  .section-header h2 { font-size: 28px; }
}
