/* ==========================================
   君临国际 - 设计系统 v1.0
   Awwwards 获奖风格：野兽派 + 酸性渐变 + 网格解构
   主色：深紫罗兰 (#1a0a2e) + 霓虹青 (#00f0ff) + 金属金 (#ffd700)
   字体：系统无衬线，极端字重对比
   ========================================== */

/* 基础重置与全局 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: #0d0218;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 背景纹理 — 酸性网格 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================
   Container
   ========================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
}

/* ==========================================
   Site Header — 野兽派切割感
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 2, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid #00f0ff;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  min-height: 70px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05);
}

.logo::after {
  content: '®';
  font-size: 0.6rem;
  vertical-align: super;
  color: #00f0ff;
  margin-left: 2px;
}

.main-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.main-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: #00f0ff;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover {
  color: #00f0ff;
}

.main-nav a:hover::before {
  width: 100%;
}

.nav-cta {
  background: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
  padding: 0.5rem 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.nav-cta:hover {
  background: #ffd700;
  color: #0d0218;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #00f0ff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13, 2, 24, 0.98);
    padding: 2rem;
    border-bottom: 2px solid #00f0ff;
    gap: 1.5rem;
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta { margin-top: 0.5rem; }
}

/* ==========================================
   Hero — 杂志风撕裂布局
   ========================================== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #00f0ff;
  border-left: 4px solid #ffd700;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeSlideIn 0.8s ease forwards;
}

.hero-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  animation: fadeSlideIn 1s ease forwards;
}

.hero-content h1 span {
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hero-content p {
  font-size: 1.1rem;
  color: #aaa;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeSlideIn 1.2s ease forwards;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeSlideIn 1.4s ease forwards;
}

.hero-image {
  position: absolute;
  right: -5%;
  top: 10%;
  width: 45%;
  height: 80%;
  background: linear-gradient(135deg, #1a0a2e, #2d1b4e);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  opacity: 0.6;
  z-index: 1;
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: -20px 20px 60px rgba(0, 0, 0, 0.8);
}

@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero { min-height: 60vh; padding: 3rem 0; }
  .hero-image { display: none; }
  .hero-content h1 { font-size: 2.8rem; }
}

/* ==========================================
   Buttons — 酸性霓虹
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, #00f0ff, #0088ff);
  color: #0d0218;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
  clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%);
}

.btn-primary:hover {
  transform: translateX(5px);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
  clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.btn-outline:hover {
  background: #ffd700;
  color: #0d0218;
  transform: translateX(-5px);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
}

/* ==========================================
   Section — 通用
   ========================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #00f0ff;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 1.05rem;
  color: #999;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* ==========================================
   Cards Grid — 解构网格
   ========================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card {
  background: linear-gradient(145deg, #1a0a2e, #12061f);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0, 240, 255, 0.15);
  position: relative;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 90% 100%, 0% 100%);
  cursor: pointer;
}

.category-card:hover {
  border-color: #00f0ff;
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.15);
}

.category-card::before {
  content: '01';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 240, 255, 0.06);
  line-height: 1;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #ffd700;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.category-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.category-card p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.6;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00f0ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 1.5rem;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 1rem;
  color: #ffd700;
}

/* ==========================================
   Feature Block — 左右分割野兽派
   ========================================== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-image {
  background: linear-gradient(135deg, #2d1b4e, #1a0a2e);
  min-height: 350px;
  clip-path: polygon(0% 0%, 100% 5%, 95% 100%, 0% 95%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,240,255,0.03) 20px, rgba(0,240,255,0.03) 21px);
}

.feature-text {
  padding: 1rem 0;
}

.feature-text h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: #bbb;
}

.feature-list li::before {
  content: '▶';
  color: #00f0ff;
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .feature-block { grid-template-columns: 1fr; gap: 2rem; }
  .feature-image { min-height: 250px; }
}

/* ==========================================
   Stats Bar — 数字冲击
   ========================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  border-top: 2px solid rgba(0, 240, 255, 0.2);
  border-bottom: 2px solid rgba(0, 240, 255, 0.2);
  margin: 4rem 0;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem; top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #00f0ff, transparent);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.stat-number span {
  color: #ffd700;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
}

@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-number { font-size: 2.5rem; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
}

/* ==========================================
   Content Wall — 瀑布杂志
   ========================================== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.content-wall-item {
  background: #12061f;
  padding: 2rem;
  border-left: 4px solid #00f0ff;
  transition: all 0.4s ease;
  position: relative;
}

.content-wall-item:hover {
  background: #1a0a2e;
  transform: scale(1.02);
  border-left-color: #ffd700;
}

.content-wall-item::before {
  content: '◆';
  position: absolute;
  top: 1rem; right: 1.5rem;
  color: rgba(255, 215, 0, 0.1);
  font-size: 2rem;
}

.content-wall-body h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.content-wall-body p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==========================================
   FAQ — 极简折叠
   ========================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  padding-left: 1rem;
  border-bottom-color: #00f0ff;
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item h4::after {
  content: '+';
  font-size: 1.5rem;
  color: #00f0ff;
  transition: transform 0.4s ease;
}

.faq-item.active h4::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
  color: #888;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

/* ==========================================
   CTA Banner
   ========================================== */
.cta-banner {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
  padding: 4rem 3rem;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
  clip-path: polygon(0% 0%, 100% 5%, 100% 95%, 0% 100%);
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0,240,255,0.03), transparent, rgba(255,215,0,0.03), transparent);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: #aaa;
  margin: 1.5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.cta-banner .btn {
  position: relative;
  z-index: 2;
}

/* ==========================================
   Site Footer — 深色切割
   ========================================== */
.site-footer {
  background: #080210;
  border-top: 2px solid rgba(0, 240, 255, 0.15);
  padding: 4rem 0 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand .logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: #666;
  font-size: 0.85rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00f0ff;
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: #777;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col a:hover {
  color: #ffd700;
  padding-left: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 1px;
}

.footer-bottom a {
  color: #555;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #00f0ff;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-bottom a { margin: 0 0.75rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   Utility
   ========================================== */
.text-accent {
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.text-center {
  text-align: center;
}

.seo-description {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ==========================================
   响应式微调
   ========================================== */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .section-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .cards-grid { grid-template-columns: 1fr; }
  .content-wall { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.2rem; }
  .stat-number { font-size: 2rem; }
  .cta-banner { padding: 3rem 1.5rem; }
  .btn { padding: 0.7rem 1.5rem; font-size: 0.75rem; }
}