* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: #f5f7fa; color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.navbar { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: bold; color: #2563eb; text-decoration: none; }
.logo i { font-size: 32px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: #64748b; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: #2563eb; }
.nav-links a.admin-link { color: #7c3aed; }
.btn-primary { background: #2563eb; color: white !important; padding: 10px 24px; border-radius: 8px; transition: all 0.3s; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }

.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 48px; margin-bottom: 20px; font-weight: 700; }
.subtitle { font-size: 20px; opacity: 0.9; margin-bottom: 40px; }
.search-box { max-width: 700px; margin: 0 auto 30px; }
.input-group { display: flex; background: white; border-radius: 16px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.input-group i { font-size: 24px; color: #94a3b8; margin-left: 16px; align-self: center; }
.input-group input { flex: 1; border: none; padding: 16px; font-size: 18px; outline: none; background: transparent; }
.input-group input::placeholder { color: #94a3b8; }
.btn-search { background: #2563eb; color: white; border: none; padding: 16px 32px; border-radius: 12px; font-size: 18px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 8px; }
.btn-search:hover { background: #1d4ed8; transform: scale(1.02); }

.stats-bar { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; align-items: center; }
.stat-item { background: rgba(255,255,255,0.15); padding: 12px 24px; border-radius: 30px; backdrop-filter: blur(10px); }
.stat-item strong { font-size: 24px; margin: 0 5px; }
.btn-small { background: #fbbf24; color: #78350f; padding: 8px 20px; border-radius: 20px; text-decoration: none; font-weight: 600; font-size: 14px; }
.guest-hint { background: rgba(255,255,255,0.1); padding: 12px 24px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; }

.results-section { background: #f8fafc; padding: 60px 0; min-height: 300px; }
.loading { text-align: center; padding: 60px; }
.loading i { font-size: 48px; color: #2563eb; display: block; margin-bottom: 20px; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #e2e8f0; }
.results-header h3 { font-size: 24px; color: #1e293b; }
.results-header span { color: #64748b; }

.results-list { display: grid; gap: 20px; }
.trademark-card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.trademark-card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.tm-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.tm-info h4 { font-size: 20px; color: #1e293b; margin-bottom: 6px; }
.reg-no { color: #64748b; font-size: 14px; }
.status-badge { padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.status-active { background: #dcfce7; color: #166534; }
.status-inactive { background: #fee2e2; color: #991b1b; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-unknown { background: #f1f5f9; color: #64748b; }
.tm-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.tm-row { display: flex; gap: 8px; }
.tm-row .label { color: #94a3b8; min-width: 80px; }
.tm-row .value { color: #334155; font-weight: 500; }
.tm-image { margin-top: 20px; text-align: center; }
.tm-image img { max-width: 200px; max-height: 200px; border-radius: 8px; border: 1px solid #e2e8f0; }

.error-box, .no-results { text-align: center; padding: 60px; color: #64748b; }
.error-box i, .no-results i { font-size: 64px; display: block; margin-bottom: 20px; }
.error-box { color: #dc2626; }
.no-results i { color: #94a3b8; }

.features { padding: 80px 0; background: white; }
.features h2 { text-align: center; font-size: 36px; margin-bottom: 60px; color: #1e293b; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { text-align: center; padding: 40px 30px; border-radius: 16px; background: #f8fafc; transition: all 0.3s; }
.feature-card:hover { background: #f1f5f9; transform: translateY(-5px); }
.feature-card i { font-size: 48px; color: #2563eb; margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; color: #1e293b; }
.feature-card p { color: #64748b; }

.pricing { padding: 80px 0; background: #f8fafc; }
.pricing h2 { text-align: center; font-size: 36px; margin-bottom: 60px; color: #1e293b; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 900px; margin: 0 auto; }
.pricing-card { background: white; border-radius: 20px; padding: 40px 30px; text-align: center; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); position: relative; border: 2px solid transparent; }
.pricing-card.featured { border-color: #2563eb; transform: scale(1.05); }
.pricing-card.featured::before { content: "推荐"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #2563eb; color: white; padding: 4px 20px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.pricing-card h3 { font-size: 24px; color: #1e293b; margin-bottom: 20px; }
.price { margin-bottom: 20px; }
.price .currency { font-size: 24px; color: #2563eb; vertical-align: top; }
.price .amount { font-size: 56px; font-weight: 700; color: #2563eb; line-height: 1; }
.queries { color: #64748b; margin-bottom: 30px; font-size: 16px; }
.queries i { color: #22c55e; margin-right: 5px; }
.btn-buy { display: inline-block; width: 100%; padding: 14px; background: #2563eb; color: white; text-decoration: none; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
.btn-buy:hover { background: #1d4ed8; }
.pricing-card.featured .btn-buy { background: #7c3aed; }
.pricing-card.featured .btn-buy:hover { background: #6d28d9; }

.footer { background: #1e293b; color: #94a3b8; padding: 30px 0; text-align: center; }

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .subtitle { font-size: 16px; }
    .input-group { flex-direction: column; }
    .btn-search { width: 100%; justify-content: center; }
    .nav-links a:not(.btn-primary) { display: none; }
    .stats-bar { flex-direction: column; gap: 10px; }
    .stat-item { width: 100%; }
    .tm-header { flex-direction: column; gap: 10px; }
    .pricing-card.featured { transform: none; }
}