/* ============================================================
   MODERN DARK THEME - 微开科技
   Dark gradient + glassmorphism + neon accents
   ============================================================ */

/* CSS Variables */
:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.3);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: rgba(30, 41, 59, 0.6);
  --bg-card-solid: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.1);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base overrides */
body.landing-page {
  color: var(--text-secondary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.landing-page .navbar-default {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.landing-page .navbar-default.navbar-scroll {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.landing-page .navbar-default .navbar-brand {
  background: transparent;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-page .navbar-default .navbar-brand:hover,
.landing-page .navbar-default .navbar-brand:focus {
  background: transparent;
  color: var(--primary-light);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

.landing-page .navbar-default .nav li a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: none;
  padding: 20px 16px;
  transition: var(--transition);
  position: relative;
}

.landing-page .navbar-default .nav li a::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transition: var(--transition);
}

.landing-page .navbar-default .nav li a:hover::after,
.landing-page .navbar-default .nav li a:focus::after {
  transform: scaleX(1);
}

.landing-page .navbar-default .nav li a:hover,
.landing-page .navbar-default .nav li a:focus {
  color: var(--text-primary);
  background: transparent;
}

.landing-page .navbar-default .navbar-nav > .active > a,
.landing-page .navbar-default .navbar-nav > .active > a:hover {
  background: transparent;
  color: var(--primary-light);
  border-top: none;
}

.landing-page .navbar-default .navbar-nav > .active > a::after {
  transform: scaleX(1);
}

.landing-page .navbar-scroll.navbar-default .nav li a {
  color: var(--text-secondary);
}

.landing-page .navbar-scroll.navbar-default .nav li a:hover {
  color: var(--text-primary);
}

/* Mobile navbar */
@media (max-width: 768px) {
  .landing-page .navbar-default {
    background: rgba(15, 23, 42, 0.98);
    padding: 8px 0;
  }
  .landing-page .navbar-default .nav li a {
    color: var(--text-secondary);
    padding: 12px 16px;
  }
  .landing-page .navbar-default .nav li a::after {
    display: none;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-darker);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6, 182, 212, 0.08), transparent),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(99, 102, 241, 0.08), transparent);
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 24px auto 0;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
  color: #fff;
  text-decoration: none;
}

.btn-hero-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-primary);
  text-decoration: none;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.wheel {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 24px; }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-stats {
    gap: 30px;
  }
  .stat-number {
    font-size: 32px;
  }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  margin-bottom: 30px;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
  color: #fff;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.feature-icon.icon-green {
  background: linear-gradient(135deg, var(--success), #059669);
}

.feature-card:hover .feature-icon.icon-green {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.feature-icon.icon-blue {
  background: linear-gradient(135deg, var(--accent), #0891b2);
}

.feature-card:hover .feature-icon.icon-blue {
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

.feature-icon.icon-purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-card:hover .feature-icon.icon-purple {
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-link {
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.feature-link:hover {
  color: var(--primary);
  gap: 10px;
  text-decoration: none;
}

/* ============================================================
   SHOWCASE SECTION
   ============================================================ */
.showcase-section {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
}

.showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.showcase-row {
  display: flex;
  align-items: center;
}

.showcase-text .section-tag {
  margin-bottom: 16px;
}

.showcase-text .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.showcase-text .section-desc {
  text-align: left;
  margin: 0 0 24px;
  max-width: none;
}

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.showcase-list li i {
  color: var(--success);
  font-size: 20px;
}

.showcase-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  z-index: 1;
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  display: block;
}

@media (max-width: 992px) {
  .showcase-row {
    flex-direction: column-reverse;
  }
  .showcase-text {
    margin-top: 40px;
    text-align: center;
  }
  .showcase-text .section-title,
  .showcase-text .section-desc {
    text-align: center;
  }
  .showcase-list {
    display: inline-block;
    text-align: left;
  }
}

/* ============================================================
   ADS SECTION
   ============================================================ */
.ads-section {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
}

.ads-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.ads-grid {
  display: flex;
  flex-wrap: wrap;
}

.ads-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  margin-bottom: 30px;
}

.ads-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.1);
}

.ads-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent), #0891b2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 24px;
  color: #fff;
  transition: var(--transition);
}

.ads-card:hover .ads-icon {
  transform: scale(1.1) rotate(5deg);
}

.ads-icon.icon-peak {
  background: linear-gradient(135deg, var(--warning), #d97706);
}

.ads-card:hover .ads-icon.icon-peak {
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.ads-icon.icon-quality {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.ads-card:hover .ads-icon.icon-quality {
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.ads-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.ads-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.ads-gallery {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}

.gallery-item {
  flex: 1;
  max-width: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  display: block;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-darker);
  position: relative;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--success), #059669);
  color: #fff;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.pricing-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.pricing-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: left;
  margin-bottom: 32px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-secondary);
}

.pf-item i {
  color: var(--success);
}

.pricing-cta .btn-lg {
  padding: 16px 40px;
  font-size: 18px;
}

@media (max-width: 768px) {
  .pricing-features {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 32px 24px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
  background: var(--bg-darker);
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo i {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

.footer-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 360px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.fc-item i {
  color: var(--primary-light);
  width: 20px;
}

.fc-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.fc-item a:hover {
  color: var(--primary-light);
}

.footer-nav h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 12px;
}

.footer-nav ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .footer-nav {
    margin-top: 40px;
  }
  .footer-bottom .text-right {
    text-align: left;
    margin-top: 8px;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll offset for fixed navbar */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 80px;
}
