/* Neon Tokyo Theme - iyiyunti.xyz */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --bg-dark: #050510;
  --bg-card: rgba(12, 12, 29, 0.75);
  --bg-card-border: rgba(45, 226, 230, 0.3);
  --neon-pink: #ff2d78;
  --neon-pink-glow: rgba(255, 45, 120, 0.6);
  --electric-blue: #2de2e6;
  --electric-blue-glow: rgba(45, 226, 230, 0.6);
  --neon-purple: #9d4edd;
  --neon-yellow: #f72585;
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --font-display: 'Orbitron', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Serif SC', 'Kaiti SC', 'STKaiti', serif; /* 正楷体 / serif */
  --font-sans: 'Noto Sans SC', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Cyber Grid & Rain Animation Canvas */
#rain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(45, 226, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 226, 230, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* HUD Navigation Bar */
.hud-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 226, 230, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--electric-blue);
}

.logo span {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.4rem 0.8rem;
}

.nav-links a:hover {
  color: var(--electric-blue);
  text-shadow: 0 0 8px var(--electric-blue-glow);
}

.btn-register-nav {
  background: linear-gradient(135deg, var(--neon-pink), #b0003a);
  color: #fff !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 4px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 15px var(--neon-pink-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-register-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--neon-pink-glow) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 10;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.glitch-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px var(--electric-blue);
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-title::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-pink);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-title::after {
  left: -2px;
  text-shadow: -2px 0 var(--electric-blue);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(10px, 9999px, 30px, 0); }
  20% { clip: rect(60px, 9999px, 80px, 0); }
  40% { clip: rect(20px, 9999px, 50px, 0); }
  60% { clip: rect(70px, 9999px, 90px, 0); }
  80% { clip: rect(30px, 9999px, 40px, 0); }
  100% { clip: rect(80px, 9999px, 100px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(80px, 9999px, 100px, 0); }
  20% { clip: rect(10px, 9999px, 40px, 0); }
  40% { clip: rect(50px, 9999px, 70px, 0); }
  60% { clip: rect(30px, 9999px, 60px, 0); }
  80% { clip: rect(90px, 9999px, 100px, 0); }
  100% { clip: rect(40px, 9999px, 80px, 0); }
}

.neon-subtitle {
  font-size: 1.35rem;
  color: var(--electric-blue);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 0 10px var(--electric-blue-glow);
  font-family: var(--font-body);
}

.cta-hero-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-glowing {
  background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 1rem 2.8rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  box-shadow: 0 0 30px var(--neon-pink-glow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-cta-glowing:hover {
  transform: scale(1.05);
  box-shadow: 0 0 45px var(--electric-blue-glow);
}

.btn-secondary-hud {
  background: rgba(45, 226, 230, 0.1);
  color: var(--electric-blue);
  border: 1px solid var(--electric-blue);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2.2rem;
  text-decoration: none;
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  transition: all 0.3s ease;
}

.btn-secondary-hud:hover {
  background: rgba(45, 226, 230, 0.25);
  box-shadow: 0 0 20px var(--electric-blue-glow);
}

/* HUD Card Styles with Clip-path */
.hud-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 2rem;
  position: relative;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hud-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--neon-pink);
  border-left: 2px solid var(--neon-pink);
}

.hud-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--electric-blue);
  border-right: 2px solid var(--electric-blue);
}

.hud-card:hover {
  border-color: var(--electric-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(45, 226, 230, 0.15);
}

/* Section Common */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
  z-index: 10;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  font-family: var(--font-display);
  color: var(--neon-pink);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Countdown Timer */
.countdown-container {
  background: rgba(12, 12, 29, 0.9);
  border: 1px solid var(--neon-pink);
  padding: 2rem;
  margin: 3rem auto;
  max-width: 750px;
  text-align: center;
  clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px);
  box-shadow: 0 0 25px rgba(255, 45, 120, 0.2);
}

.countdown-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--electric-blue);
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.countdown-digits {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--neon-pink);
  text-shadow: 0 0 15px var(--neon-pink);
  background: rgba(5, 5, 16, 0.8);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 45, 120, 0.4);
  min-width: 85px;
}

.timer-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--electric-blue);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--electric-blue);
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing Grid (Image 1 Style) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2rem;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  border-color: var(--electric-blue);
  box-shadow: 0 0 30px rgba(45, 226, 230, 0.25);
}

.badge-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--electric-blue);
  color: #050510;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-family: var(--font-sans);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-main);
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--electric-blue);
  font-weight: bold;
  text-shadow: 0 0 5px var(--electric-blue);
}

.btn-select-plan {
  display: block;
  text-align: center;
  padding: 0.9rem 1.5rem;
  background: transparent;
  border: 1px solid var(--electric-blue);
  color: var(--electric-blue);
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all 0.3s ease;
}

.pricing-card.featured .btn-select-plan {
  background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue));
  color: #fff;
  border: none;
  box-shadow: 0 0 15px var(--neon-pink-glow);
}

.btn-select-plan:hover {
  background: var(--electric-blue);
  color: #050510;
  box-shadow: 0 0 20px var(--electric-blue-glow);
}

/* Articles Section Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--electric-blue);
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
}

.article-card-title {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  color: #fff;
}

.article-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-card-title a:hover {
  color: var(--neon-pink);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.article-link {
  color: var(--electric-blue);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-link:hover {
  text-decoration: underline;
}

/* FAQ Accordion */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  padding: 1.5rem 2rem;
  clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--electric-blue);
}

.faq-item.active .faq-question::after {
  content: '-';
  color: var(--neon-pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  margin-top: 1rem;
}

/* Article Page Layout */
.article-header {
  padding: 9rem 2rem 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.article-post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.article-stats-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--electric-blue);
  background: rgba(12, 12, 29, 0.8);
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(45, 226, 230, 0.2);
  margin-bottom: 2rem;
  font-family: var(--font-sans);
}

.article-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #e2e8f0;
}

.article-body h2 {
  font-size: 1.8rem;
  color: var(--electric-blue);
  margin: 2.5rem 0 1.2rem;
  border-left: 4px solid var(--neon-pink);
  padding-left: 1rem;
}

.article-body h3 {
  font-size: 1.4rem;
  color: #fff;
  margin: 2rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 2rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-cta-box {
  background: rgba(255, 45, 120, 0.08);
  border: 1px solid var(--neon-pink);
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.article-cta-box h3 {
  color: #fff;
  margin-bottom: 1rem;
}

/* Footer */
.cyber-footer {
  background: #020207;
  border-top: 1px solid rgba(45, 226, 230, 0.2);
  padding: 4rem 2rem 2rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--electric-blue);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-sans);
}

/* Responsive */
@media (max-width: 768px) {
  .glitch-title { font-size: 2.5rem; }
  .nav-links { display: none; }
  .countdown-digits { gap: 0.8rem; }
  .timer-num { font-size: 2rem; min-width: 60px; }
  .article-post-title { font-size: 1.8rem; }
}
