/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: #0a0a0f; color: #e4e4e8; line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: #60a5fa; text-decoration: none; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo { font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #a1a1aa; font-size: 0.9rem; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.lang-switch { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #a1a1aa; border-radius: 8px; padding: 4px 10px; font-size: 0.8rem; cursor: pointer; font-weight: 600; transition: all 0.2s; }
.lang-switch:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1025 40%, #1a1525 100%);
  min-height: 90vh; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
}
.hero-content { padding: 120px 0 80px; max-width: 680px; position: relative; z-index: 1; }
.hero-content h1 { font-size: 3.4rem; font-weight: 800; line-height: 1.15; color: #fff; letter-spacing: -1px; margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; color: #a1a1aa; line-height: 1.7; margin-bottom: 36px; max-width: 540px; }
.btn-primary {
  display: inline-block; background: #7c3aed; color: #fff; padding: 14px 32px;
  border-radius: 10px; font-size: 1rem; font-weight: 600; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #6d28d9; transform: translateY(-1px); }

/* Sections */
.section { padding: 80px 0; }
.section h2 { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 40px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { background: #16161e; border-radius: 16px; padding: 32px 24px; border: 1px solid #27272a; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; background: #7c3aed20;
  color: #a78bfa; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.step p { color: #a1a1aa; font-size: 0.9rem; }

/* Generator */
.generator-section { background: #0f0f16; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full-width { grid-column: span 2; }
.form-group label { font-size: 0.85rem; color: #a1a1aa; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group select, .form-group input {
  background: #16161e; border: 1px solid #27272a; border-radius: 10px;
  padding: 12px 16px; color: #e4e4e8; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
}
.form-group select:focus, .form-group input:focus { border-color: #7c3aed; }

/* Results */
#results-content { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.result-header {
  background-size: cover; background-position: center; position: relative;
  border-radius: 16px; padding: 40px 28px; margin-bottom: 28px; overflow: hidden;
  min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
}
.result-header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.4) 100%);
  z-index: 1;
}
.result-header > * { position: relative; z-index: 2; }
.result-header .title { font-size: 1.8rem; font-weight: 700; color: #fff; }
.result-header .meta { display: flex; gap: 24px; margin-top: 12px; color: #e2e8f0; font-size: 0.9rem; }
.result-header .meta span { background: rgba(22,22,30,0.7); padding: 4px 12px; border-radius: 6px; backdrop-filter: blur(8px); }

.hotel-card {
  background: #16161e; border: 1px solid #27272a; border-radius: 14px;
  padding: 0; margin-bottom: 28px; display: flex; overflow: hidden;
}
.hotel-card .hotel-img {
  width: 200px; min-height: 130px; flex-shrink: 0;
  background-size: cover; background-position: center;
}
.hotel-card .hotel-body { padding: 20px 24px; flex: 1; }
.hotel-card .hotel-icon { font-size: 1.8rem; }
.hotel-card .hotel-name { font-size: 1.1rem; font-weight: 600; color: #fff; }
.hotel-card .hotel-meta { color: #a1a1aa; font-size: 0.85rem; margin-top: 4px; }

.day-card {
  background: #16161e; border: 1px solid #27272a; border-radius: 14px;
  margin-bottom: 16px; overflow: hidden;
}
.day-header {
  background: #7c3aed15; padding: 14px 24px; font-size: 1.05rem; font-weight: 600;
  color: #c4b5fd; border-bottom: 1px solid #27272a;
}
.stop-list { padding: 8px 0; }
.stop-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 16px 24px;
  border-bottom: 1px solid #1f1f29;
}
.stop-item:last-child { border-bottom: none; }
.stop-thumb {
  width: 100px; height: 75px; border-radius: 10px; flex-shrink: 0;
  background-size: cover; background-position: center;
  border: 1px solid #27272a;
}
.stop-icon {
  width: 36px; height: 36px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.stop-icon.attraction { background: #f59e0b20; color: #f59e0b; }
.stop-icon.food { background: #ef444420; color: #ef4444; }
.stop-icon.activity { background: #3b82f620; color: #3b82f6; }
.stop-icon.neighborhood { background: #8b5cf620; color: #8b5cf6; }
.stop-icon.shopping { background: #ec489920; color: #ec4899; }
.stop-icon.nightlife { background: #06b6d420; color: #06b6d4; }
.stop-icon.daytrip { background: #10b98120; color: #10b981; }
.stop-icon.transport { background: #6366f120; color: #6366f1; }

.stop-info { flex: 1; }
.stop-name { font-weight: 600; color: #fff; font-size: 0.95rem; margin-bottom: 2px; }
.stop-name-cn { font-size: 0.8rem; color: #71717a; margin-left: 6px; }
.stop-meta { display: flex; gap: 12px; margin-top: 4px; }
.stop-meta span { font-size: 0.8rem; color: #71717a; }
.stop-tip { font-size: 0.85rem; color: #a1a1aa; margin-top: 6px; line-height: 1.5; }
.stop-slot-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px; color: #52525b;
  padding: 2px 8px; background: #1f1f29; border-radius: 4px; display: inline-block; margin-bottom: 6px;
}

/* Cities */
.city-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.city-card {
  background-size: cover; background-position: center; position: relative;
  border-radius: 16px; height: 260px; cursor: pointer; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.city-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.city-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(124,58,237,0.2); }
.city-card .card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; z-index: 2; }
.city-card h3 { font-size: 1.5rem; color: #fff; margin-bottom: 2px; }
.city-card .city-name-cn { font-size: 0.95rem; color: #cbd5e1; margin-bottom: 8px; }
.city-card .city-highlights { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.city-card .city-highlights span {
  background: rgba(124,58,237,0.4); color: #e9d5ff; padding: 3px 8px; border-radius: 5px; font-size: 0.72rem;
  backdrop-filter: blur(4px);
}
.city-card .city-season { color: #94a3b8; font-size: 0.8rem; }

/* Loading */
.loading-overlay {
  position: fixed; inset: 0; background: rgba(10,10,15,0.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 1000; gap: 20px;
}
.spinner {
  width: 40px; height: 40px; border: 3px solid #27272a;
  border-top: 3px solid #7c3aed; border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay p { color: #a1a1aa; font-size: 1rem; }

/* Pricing */
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.pricing-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 36px 28px; text-align: center; position: relative; transition: transform 0.2s, border-color 0.2s; }
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.pricing-card.featured { border-color: #7c3aed; background: rgba(124,58,237,0.08); transform: scale(1.04); }
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.plan-badge { font-size: 0.78rem; color: #7c3aed; font-weight: 600; margin-bottom: 8px; height: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.pricing-card h3 { font-size: 1.4rem; color: #f0f0f0; margin-bottom: 12px; }
.price { font-size: 2.8rem; font-weight: 800; color: #fff; margin-bottom: 24px; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 32px 0; text-align: left; }
.pricing-card li { color: #a0a0a0; padding: 6px 0 6px 24px; font-size: 0.92rem; position: relative; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: #22c55e; font-weight: 700; }
.btn-pricing { width: 100%; padding: 14px 0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; color: #fff; font-size: 1rem; cursor: pointer; transition: all 0.2s; }
.btn-pricing:hover { background: rgba(255,255,255,0.14); }
.btn-pricing.btn-featured { background: linear-gradient(135deg, #6366f1, #8b5cf6); border-color: transparent; }
.btn-pricing.btn-featured:hover { box-shadow: 0 4px 20px rgba(99,102,241,0.3); }

/* Footer */
footer { padding: 40px 0; text-align: center; color: #52525b; font-size: 0.85rem; border-top: 1px solid #1f1f29; }

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.2rem; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .result-header .meta { flex-wrap: wrap; }
  .city-cards { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}
