/* ===================================================
   zhaogonghao.com — Dark Red Racing Theme (preserved)
   Original structure, style, colors unchanged
   =================================================== */

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; }
body { background-color: #0a0e17; color: #e0e0e0; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
header {
  background-color: #111827; padding: 20px 0;
  position: fixed; width: 100%; top: 0; z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: bold; color: #e63946; text-decoration: none; display: flex; align-items: center; }
.logo-icon { margin-right: 10px; font-size: 2rem; }
nav ul { display: flex; }
nav li { margin-left: 30px; }
nav a { color: #e0e0e0; text-decoration: none; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: #e63946; }
.mobile-menu-btn { display: none; font-size: 1.5rem; background: none; border: none; color: #e0e0e0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 80px; background: linear-gradient(135deg, #0a0e17 0%, #1a1f3a 100%); overflow: hidden; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 3.2rem; margin-bottom: 20px; color: #ffffff; line-height: 1.2; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: #b0b0b0; }
.hero-buttons { display: flex; gap: 20px; }
.btn { padding: 14px 30px; border-radius: 30px; font-weight: bold; text-decoration: none; display: inline-block; transition: all 0.3s; border: 2px solid transparent; }
.btn-primary { background-color: #e63946; color: white; }
.btn-primary:hover { background-color: #d62839; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3); }
.btn-secondary { border-color: #e63946; color: #e63946; background-color: transparent; }
.btn-secondary:hover { background-color: rgba(230, 57, 70, 0.1); transform: translateY(-3px); }
.hero-image { position: relative; text-align: center; }
.hero-image img { max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }

/* ---------- Content Section ---------- */
.content-section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: #ffffff; margin-bottom: 15px; }
.section-title p { color: #b0b0b0; max-width: 600px; margin: 0 auto; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.content-card { background-color: #1a1f3a; border-radius: 10px; padding: 30px; transition: transform 0.3s, box-shadow 0.3s; }
.content-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); }
.card-icon { font-size: 2.5rem; color: #e63946; margin-bottom: 20px; }
.content-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #ffffff; }

/* ---------- Services ---------- */
.services { background-color: #111827; padding: 80px 0; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { background-color: #0a0e17; border-radius: 10px; padding: 30px; text-align: center; border: 1px solid #2a2f4a; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: #ffffff; }
.service-card p { color: #b0b0b0; }

/* ---------- App Guide ---------- */
.app-guide { padding: 80px 0; }
.guide-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.guide-steps { display: flex; flex-direction: column; gap: 30px; }
.step { display: flex; align-items: flex-start; gap: 20px; }
.step-number { background-color: #e63946; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.step-content h4 { font-size: 1.3rem; margin-bottom: 10px; color: #ffffff; }
.app-preview { text-align: center; }
.app-preview img { max-width: 100%; border-radius: 20px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5); }

/* ---------- FAQ ---------- */
.faq-section { padding: 80px 0; background-color: #111827; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 20px; border: 1px solid #2a2f4a; border-radius: 10px; overflow: hidden; }
.faq-question { padding: 20px; background-color: #1a1f3a; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question h4 { font-size: 1.2rem; color: #ffffff; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.faq-answer.active { padding: 20px; max-height: 500px; }

/* ---------- Contact ---------- */
.contact-section { padding: 80px 0; background-color: #0a0e17; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.contact-item { background-color: #1a1f3a; border-radius: 10px; padding: 30px; text-align: center; border: 1px solid #2a2f4a; transition: transform 0.3s, box-shadow 0.3s; }
.contact-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); }
.contact-icon { font-size: 2.5rem; color: #e63946; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; background-color: rgba(230, 57, 70, 0.1); border-radius: 50%; margin: 0 auto 20px; }
.contact-item h3 { font-size: 1.5rem; margin-bottom: 15px; color: #ffffff; }
.contact-item p { color: #b0b0b0; margin-bottom: 5px; }

/* ---------- Footer ---------- */
footer { background-color: #0a0e17; padding: 60px 0 30px; border-top: 1px solid #2a2f4a; }
.footer-content { text-align: center; }
.footer-logo { font-size: 2rem; color: #e63946; margin-bottom: 20px; font-weight: bold; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.footer-links a { color: #b0b0b0; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #e63946; }
.copyright { color: #6b7280; font-size: 0.9rem; padding-top: 30px; border-top: 1px solid #2a2f4a; }

/* ---------- Utils ---------- */
.keyword { color: #e63946; font-weight: bold; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.8s ease-out; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-container, .guide-container { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 120px 0 60px; }
  .hero-content h1 { font-size: 2.5rem; }
}
@media (max-width: 768px) {
  nav ul { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #111827; flex-direction: column; padding: 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); }
  nav ul.active { display: flex; }
  nav li { margin: 10px 0; }
  .mobile-menu-btn { display: block; }
  .hero-content h1 { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .btn { text-align: center; }
  .section-title h2 { font-size: 2rem; }
  .footer-links { flex-direction: column; gap: 15px; }
}
