/* ========== Project 0010 - HHPOKER Alliance ========== */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #eef2ff;
  --accent: #10b981;
  --accent-light: #d1fae5;
  --dark: #1e1b4b;
  --text: #374151;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-gray: #f9fafb;
  --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.03);
}

* { 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(12px); border-bottom: 1px solid rgba(229,231,235,0.4); }
.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 { color: var(--accent); 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: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff !important; padding: 0.5rem 1.25rem; border-radius: 2rem; }
.nav-cta:hover { opacity: 0.92; color: #fff !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; }
}

/* Hero */
.hero { padding: 140px 0 80px; background: linear-gradient(160deg, #eef2ff 0%, #f0fdf4 35%, #ecfdf5 65%, #faf5ff 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 { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.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: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; box-shadow: 0 4px 14px rgba(79,70,229,0.3); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(79,70,229,0.45); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(16,185,129,0.3); }
.btn-accent:hover { background: #059669; transform: translateY(-2px); }
.hero-img { position: relative; }
.hero-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; top: -15px; left: -15px; background: #fff; padding: 0.75rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.hero-badge i { color: var(--accent); font-size: 1.25rem; }
@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(--accent-light); color: #059669; 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 #f3f4f6; }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: #c7d2fe; }
.feature-icon { width: 64px; height: 64px; background: linear-gradient(135deg, #eef2ff, #d1fae5); 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, #312e81, #4f46e5, #059669); 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); position: relative; }
.testimonial-card::before { content: '\201C'; position: absolute; top: 10px; left: 20px; font-size: 4rem; color: #eef2ff; line-height: 1; font-family: serif; }
.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; position: relative; }
.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 #e5e7eb; border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: #a7f3d0; }
.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(--accent); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active { border-color: var(--accent); background: #f0fdf4; }
.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, #312e81, #4f46e5, #059669); 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); font-size: 1.1rem; padding: 1rem 2.5rem; }
.cta-banner .btn:hover { background: #f0fdf4; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }

/* Footer */
.footer { background: #0f0d2e; color: #a5b4fc; 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: #a5b4fc; 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, #eef2ff 0%, #d1fae5 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(--accent); 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(--accent); 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 #e5e7eb; 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(--accent); box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.contact-form textarea { resize: vertical; min-height: 140px; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
