/* ========== Project 0009 - hhpoker Download ========== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #f59e0b;
  --dark: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-gray: #f8fafc;
  --radius: 1rem;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.07), 0 8px 10px -6px rgba(0,0,0,0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text); line-height: 1.7; background: var(--bg); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(226,232,240,0.5); transition: all 0.3s; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.navbar .logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.navbar .logo i { font-size: 1.75rem; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }
.nav-cta { background: var(--primary); color: #fff !important; padding: 0.5rem 1.25rem !important; border-radius: 2rem; border-bottom: none !important; }
.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; border-bottom: none !important; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1.5rem; gap: 1rem; box-shadow: var(--shadow-lg); }
  .nav-links.active { display: flex; }
  .hamburger { display: block; }
  .nav-links a { border-bottom: none !important; }
}

/* Hero */
.hero { padding: 140px 0 80px; background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 40%, #fefce8 80%, #fffbeb 100%); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-content h1 { font-size: 3rem; font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 1.25rem; }
.hero-content h1 span { color: var(--primary); position: relative; }
.hero-content h1 span::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 6px; background: rgba(37,99,235,0.15); border-radius: 3px; z-index: -1; }
.hero-content p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: 3rem; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,0.4); }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.hero-img { position: relative; }
.hero-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); background: #fff; padding: 0.65rem 1.25rem; border-radius: 2rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.hero-badge i { color: #10b981; }
@media (max-width: 768px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-img { order: -1; max-width: 320px; margin: 0 auto; }
}

/* Section */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.25rem; font-weight: 800; color: var(--dark); margin-bottom: 0.75rem; }
.section-header p { font-size: 1.1rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 0.35rem 1rem; border-radius: 2rem; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.75rem; }

/* Features */
.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: #fff; padding: 2.5rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; transition: all 0.3s; border: 1px solid #f1f5f9; position: relative; }
.feature-card::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 3px; background: linear-gradient(90deg, var(--primary), #60a5fa); border-radius: 0 0 var(--radius) var(--radius); transform: scaleX(0); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { width: 64px; height: 64px; background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.5rem; color: var(--primary); }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* Stats */
.stats { background: linear-gradient(135deg, #1e40af, #2563eb); padding: 60px 0; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item h3 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.stat-item p { font-size: 0.95rem; opacity: 0.85; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Testimonials */
.testimonials { background: var(--bg-gray); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--primary); }
.testimonial-card .stars { color: var(--accent); margin-bottom: 0.75rem; }
.testimonial-card .text { font-size: 0.95rem; color: var(--text); margin-bottom: 1.25rem; line-height: 1.6; }
.testimonial-card .author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card .author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card .author strong { display: block; color: var(--dark); font-size: 0.95rem; }
.testimonial-card .author span { font-size: 0.8rem; color: var(--text-light); }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #e2e8f0; border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question { width: 100%; background: none; border: none; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; font-weight: 600; color: var(--dark); cursor: pointer; text-align: left; }
.faq-question i { transition: transform 0.3s; color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active { border-color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* CTA */
.cta-banner { background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6); padding: 80px 0; text-align: center; color: #fff; }
.cta-banner h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { background: #fff; color: var(--primary); }
.cta-banner .btn:hover { background: #f1f5f9; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.25rem; }
.footer a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; display: block; margin-bottom: 0.5rem; }
.footer a:hover { color: #fff; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; margin-top: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Page header */
.page-header { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); padding: 120px 0 60px; text-align: center; }
.page-header h1 { font-size: 2.5rem; font-weight: 800; color: var(--dark); }
.page-header p { color: var(--text-light); margin-top: 0.5rem; }

/* Download */
.download-section { padding: 60px 0 80px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.download-card { background: #fff; padding: 2.5rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; border: 2px solid transparent; transition: all 0.3s; }
.download-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.download-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.download-card h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 0.5rem; }
.download-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.25rem; }
.download-card .btn { width: 100%; justify-content: center; }
@media (max-width: 768px) { .download-grid { grid-template-columns: 1fr; } }

/* About */
.about-section { padding: 60px 0 80px; }
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h3 { color: var(--dark); font-size: 1.5rem; margin: 2rem 0 1rem; }
.about-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }

/* Contact */
.contact-section { padding: 60px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { color: var(--dark); font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-light); margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.contact-item i { color: var(--primary); font-size: 1.25rem; width: 24px; }
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label { display: block; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid #e2e8f0; border-radius: 0.75rem; font-size: 1rem; font-family: inherit; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.contact-form textarea { resize: vertical; min-height: 140px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
