/* ============================================
   SET 0053 - HHpoker下载 Zinc Dark Theme
   Design: Modern Dashboard Dark Layout
   ============================================ */

/* --- Base & Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #18181b;
  color: #e4e4e7;
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- znFloat: Floating Card Animation --- */
.znFloat {
  animation: znFloatAnim 3s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.znFloat:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
@keyframes znFloatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- card-zn: Zinc Themed Card --- */
.card-zn {
  background: linear-gradient(145deg, #27272a, #18181b);
  border: 1px solid #3f3f46;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.card-zn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #a1a1aa, #52525b, #a1a1aa);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card-zn:hover::before { opacity: 1; }
.card-zn:hover {
  border-color: #71717a;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

/* --- znSlide: Slide-in Animation --- */
.znSlide {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.znSlide.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- znPulse: Pulse Effect --- */
.znPulse {
  animation: znPulseAnim 2s ease-in-out infinite;
}
@keyframes znPulseAnim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(161,161,170,0.4); }
  50% { box-shadow: 0 0 0 15px rgba(161,161,170,0); }
}

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(24,24,27,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #27272a;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar .logo {
  font-size: 1.6rem; font-weight: 800;
  color: #fafafa;
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.navbar .logo i { color: #a1a1aa; font-size: 1.8rem; }
.nav-links { display: flex; list-style: none; gap: 2.2rem; }
.nav-links a {
  color: #a1a1aa; text-decoration: none;
  font-size: 0.95rem; font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: #d4d4d8;
  transition: width 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: #fafafa; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
  padding: 4px; z-index: 1001;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: #d4d4d8; border-radius: 2px;
  transition: all 0.3s ease;
}
.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 {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: #18181b;
}
.hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: linear-gradient(225deg, #27272a 0%, #18181b 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-content h1 {
  font-size: 3.5rem; font-weight: 900;
  line-height: 1.15; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fafafa, #a1a1aa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.2rem; color: #a1a1aa;
  margin-bottom: 2rem; max-width: 500px;
}
.hero-image {
  position: absolute; right: 4rem; top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 500px; height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  border: 1px solid #3f3f46;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: #52525b;
  color: #fafafa;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #71717a;
}
.btn-primary:hover { background: #71717a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(82,82,91,0.4); }
.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: #d4d4d8;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #3f3f46;
  transition: all 0.3s ease;
  margin-left: 1rem;
}
.btn-outline:hover { border-color: #71717a; color: #fafafa; }

/* --- Sections --- */
.section { padding: 6rem 2rem; }
.section-dark { background: #09090b; }
.section-header {
  text-align: center; margin-bottom: 4rem;
}
.section-header h2 {
  font-size: 2.5rem; font-weight: 800;
  color: #fafafa; margin-bottom: 0.8rem;
}
.section-header p { color: #71717a; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; }

/* --- Features Grid (6 items) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: #27272a;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: #a1a1aa;
  transition: all 0.3s ease;
}
.card-zn:hover .feature-icon { background: #3f3f46; color: #fafafa; }
.feature-title { font-size: 1.2rem; font-weight: 700; color: #fafafa; margin-bottom: 0.6rem; }
.feature-desc { color: #71717a; font-size: 0.95rem; }

/* --- Stats (4 items) --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 3rem; font-weight: 900;
  color: #fafafa;
  line-height: 1;
}
.stat-label { color: #71717a; margin-top: 0.5rem; font-size: 0.95rem; }
.stat-item { padding: 2rem; }

/* --- Testimonials (3 items) --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: #52525b; }
.testimonial-card .quote {
  font-size: 0.95rem; color: #d4d4d8;
  margin-bottom: 1.5rem; font-style: italic;
  line-height: 1.7;
}
.testimonial-card .quote i {
  color: #52525b; font-size: 1.4rem;
  margin-right: 0.4rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.8rem;
}
.testimonial-author img {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid #3f3f46;
}
.testimonial-author .name { font-weight: 700; color: #fafafa; font-size: 0.95rem; }
.testimonial-author .role { color: #71717a; font-size: 0.8rem; }

/* --- FAQ (Accordion) --- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item:hover { border-color: #52525b; }
.faq-question {
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; color: #fafafa;
  user-select: none;
}
.faq-question i { transition: transform 0.3s ease; color: #71717a; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: #a1a1aa; font-size: 0.95rem;
  padding: 0 1.5rem;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.3rem;
}

/* --- CTA --- */
.cta-section {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
  border-top: 1px solid #3f3f46;
  border-bottom: 1px solid #3f3f46;
}
.cta-section h2 { font-size: 2.5rem; font-weight: 900; color: #fafafa; margin-bottom: 1rem; }
.cta-section p { color: #a1a1aa; margin-bottom: 2rem; font-size: 1.1rem; }

/* --- Footer --- */
.footer {
  background: #09090b;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid #1c1c1f;
  text-align: center;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
  text-align: left;
}
.footer-brand h3 { color: #fafafa; font-size: 1.4rem; margin-bottom: 0.8rem; }
.footer-brand p { color: #71717a; font-size: 0.9rem; }
.footer-links h4 { color: #fafafa; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-links ul { list-style: none; }
.footer-links a { color: #71717a; text-decoration: none; font-size: 0.9rem; line-height: 2; transition: color 0.2s; }
.footer-links a:hover { color: #fafafa; }
.footer-bottom {
  border-top: 1px solid #1c1c1f;
  padding-top: 1.5rem;
  color: #52525b;
  font-size: 0.85rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Page Hero (Subpages) --- */
.page-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, #18181b, #09090b);
  border-bottom: 1px solid #27272a;
}
.page-hero h1 { font-size: 3rem; font-weight: 900; color: #fafafa; margin-bottom: 0.8rem; }
.page-hero p { color: #71717a; }

/* --- About Page --- */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h3 { font-size: 1.5rem; color: #fafafa; margin-bottom: 1rem; }
.about-text p { color: #a1a1aa; margin-bottom: 1rem; line-height: 1.8; }
.about-image img {
  width: 100%; border-radius: 20px;
  border: 1px solid #3f3f46;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.contact-info h3 { color: #fafafa; font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info p { color: #a1a1aa; margin-bottom: 1.5rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1rem; color: #d4d4d8;
}
.contact-detail i { color: #71717a; width: 20px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 0.9rem 1.2rem;
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  color: #fafafa;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: #71717a; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  padding: 0.9rem 2.5rem;
  background: #52525b;
  color: #fafafa;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.contact-form button:hover { background: #71717a; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .hero-image { width: 350px; height: 280px; right: 1rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(24,24,27,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
  .hero-image { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 400px; height: 250px; margin-top: 2rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { max-width: 100%; }
  .hero::after { display: none; }
  .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .btn-outline { margin-left: 0; margin-top: 1rem; }
  .section-header h2 { font-size: 2rem; }
}
