/* ═══════════════════════════════════════
   Project 0021 — HHPOKER Sporty Blue
   Blue #2563eb + Orange accent
   ═══════════════════════════════════════ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-light: #fb923c;
  --dark: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --radius-xl: 1.25rem;
  --radius-lg: 1rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.06);
  --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  height: 72px;
}
.navbar.scrolled { box-shadow: var(--shadow-lg); }
.navbar .container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-size: 1.4rem; font-weight: 800; color: var(--primary);
  text-decoration: none; letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-logo i { font-size: 1.6rem; color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--gray-700); font-weight: 500;
  font-size: 0.925rem; transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 2px; background: var(--primary); transition: width 0.3s; border-radius: 2px;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent); color: white !important; padding: 0.55rem 1.5rem;
  border-radius: 9999px; font-weight: 600 !important; font-size: 0.875rem;
  transition: all 0.3s; box-shadow: 0 2px 8px rgba(249,115,22,0.3);
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(249,115,22,0.4); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--gray-800); border-radius: 3px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ═══════════════ HERO ═══════════════ */
.hero {
  padding: 8rem 1.5rem 5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,0.08), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -150px; left: -100px;
  width: 400px; height: 400px; background: radial-gradient(circle, rgba(249,115,22,0.07), transparent 70%);
  border-radius: 50%;
}
.hero .container {
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.hero-text h1 {
  font-size: 3rem; font-weight: 900; line-height: 1.15; color: var(--gray-900);
  margin-bottom: 1.25rem; letter-spacing: -1px;
}
.hero-text h1 .highlight { color: var(--accent); }
.hero-text p {
  font-size: 1.125rem; color: var(--gray-600); margin-bottom: 2rem;
  line-height: 1.7; max-width: 520px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 2rem;
  border-radius: 9999px; font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--primary); color: white;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,99,235,0.4); }
.btn-outline {
  background: transparent; color: var(--gray-800);
  border: 2px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.hero-image img {
  width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl);
  transform: rotate(-1deg); object-fit: cover;
}

/* ═══════════════ SECTION ═══════════════ */
.section { padding: 5rem 1.5rem; }
.section .container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  display: inline-block; background: rgba(37,99,235,0.1); color: var(--primary);
  padding: 0.35rem 1rem; border-radius: 9999px; font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem;
}
.section-title { font-size: 2.25rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.75rem; letter-spacing: -0.5px; }
.section-subtitle { font-size: 1.05rem; color: var(--gray-500); max-width: 580px; margin: 0 auto; }

/* ═══════════════ FEATURES ═══════════════ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 2.5rem 2rem; text-align: center;
  transition: all 0.35s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px; background: var(--primary); border-radius: 0 0 4px 4px;
  transition: width 0.35s;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.feature-card:hover::before { width: 120px; }
.feature-icon {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(37,99,235,0.08);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem;
  font-size: 1.75rem; color: var(--primary); transition: all 0.3s;
}
.feature-card:hover .feature-icon { background: var(--primary); color: white; transform: scale(1.1); }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.925rem; color: var(--gray-500); line-height: 1.65; }

/* ═══════════════ STATS ═══════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  padding: 4rem 1.5rem; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 30 L30 55 L5 30Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number { font-size: 3rem; font-weight: 900; color: white; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { color: rgba(255,255,255,0.75); font-size: 0.95rem; font-weight: 500; }
.stat-divider { width: 40px; height: 3px; background: var(--accent); margin: 0.75rem auto; border-radius: 3px; }

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 2rem; position: relative;
  transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.testimonial-card .quote-icon {
  font-size: 2.5rem; color: var(--primary); opacity: 0.15; position: absolute; top: 1rem; right: 1.5rem;
}
.testimonial-card p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; padding-top: 1.25rem; border-top: 1px solid var(--gray-200); }
.testimonial-author .avatar {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 1.1rem; color: white;
  flex-shrink: 0;
}
.testimonial-author .info strong { display: block; color: var(--gray-900); font-size: 0.95rem; }
.testimonial-author .info span { color: var(--gray-500); font-size: 0.8rem; }
.testimonial-stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 0.25rem; }

/* ═══════════════ FAQ ACCORDION ═══════════════ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.85rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s;
}
.faq-item:hover { border-color: var(--primary); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--gray-900); text-align: left;
  font-family: var(--font-sans);
}
.faq-question i { transition: transform 0.35s; color: var(--primary); font-size: 0.9rem; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--gray-600); font-size: 0.925rem; line-height: 1.7; }

/* ═══════════════ CTA BANNER ═══════════════ */
.cta-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; width: 300px; height: 300px;
  background: rgba(249,115,22,0.1); border-radius: 50%;
  top: -100px; right: -50px;
}
.cta-content {
  text-align: center; position: relative; z-index: 1; max-width: 650px; margin: 0 auto;
}
.cta-content h2 { font-size: 2.5rem; font-weight: 900; color: white; margin-bottom: 1rem; letter-spacing: -0.5px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-content .btn { background: var(--accent); color: white; font-size: 1.1rem; padding: 0.9rem 2.5rem; box-shadow: 0 4px 20px rgba(249,115,22,0.4); }
.cta-content .btn:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--gray-900); color: var(--gray-400); padding: 4rem 1.5rem 2rem;
}
.footer .container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-col h4 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.75; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a { color: var(--gray-400); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--gray-400);
  transition: all 0.3s; font-size: 0.9rem;
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem;
  text-align: center; font-size: 0.825rem; color: var(--gray-500);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-text h1 { font-size: 2.25rem; }
  .hero-text p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-image img { max-width: 400px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 1.5rem; gap: 1rem; box-shadow: var(--shadow-lg); }
  .nav-links.active { display: flex; }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.65rem; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.5rem; }
}
