:root {
  --bg-dark: #0a0a1a;
  --bg-sidebar: rgba(15, 15, 35, 0.85);
  --purple-primary: #8b5cf6;
  --purple-accent: #a855f7;
  --purple-glow: rgba(139, 92, 246, 0.4);
  --purple-gradient: linear-gradient(135deg, #7c3aed, #a855f7);
  --card-bg: rgba(20, 20, 50, 0.6);
  --card-border: rgba(139, 92, 246, 0.2);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
}

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

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

.page-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
}

.main-content {
  margin-left: 260px;
  padding-top: 80px;
}

/* ===== Background Effects ===== */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-effects::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 120%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 400px at 70% 30%, rgba(139, 92, 246, 0.15), transparent),
    radial-gradient(ellipse 400px 300px at 80% 50%, rgba(99, 102, 241, 0.1), transparent);
  animation: bgPulse 8s ease-in-out infinite;
}

.light-streak {
  position: absolute;
  top: 10%;
  right: 0;
  width: 80%;
  height: 60%;
  background:
    radial-gradient(ellipse 800px 200px at 60% 40%, rgba(139, 92, 246, 0.2), transparent),
    radial-gradient(ellipse 600px 150px at 50% 50%, rgba(59, 130, 246, 0.12), transparent),
    radial-gradient(ellipse 400px 100px at 70% 35%, rgba(168, 85, 247, 0.15), transparent);
  filter: blur(40px);
  transform: rotate(-15deg);
  animation: streakFloat 12s ease-in-out infinite;
}

.light-streak::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 90%;
  height: 60%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.2), transparent);
  filter: blur(20px);
  transform: skewX(-20deg);
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(139, 92, 246, 0.6);
  border-radius: 50%;
  animation: particleFloat 6s linear infinite;
}

.particle:nth-child(1) { left: 60%; top: 20%; animation-delay: 0s; animation-duration: 8s; }
.particle:nth-child(2) { left: 70%; top: 35%; animation-delay: 1s; animation-duration: 7s; }
.particle:nth-child(3) { left: 80%; top: 25%; animation-delay: 2s; animation-duration: 9s; }
.particle:nth-child(4) { left: 75%; top: 45%; animation-delay: 0.5s; animation-duration: 6s; }
.particle:nth-child(5) { left: 65%; top: 55%; animation-delay: 1.5s; animation-duration: 8s; }
.particle:nth-child(6) { left: 85%; top: 30%; animation-delay: 3s; animation-duration: 7s; }
.particle:nth-child(7) { left: 55%; top: 40%; animation-delay: 2.5s; animation-duration: 9s; }
.particle:nth-child(8) { left: 90%; top: 50%; animation-delay: 0.8s; animation-duration: 6s; }

@keyframes bgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes streakFloat {
  0%, 100% { transform: rotate(-15deg) translateX(0); }
  50% { transform: rotate(-15deg) translateX(20px); }
}

@keyframes particleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* ===== Sidebar ===== */
.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--bg-sidebar);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(139, 92, 246, 0.1);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
  overflow-y: auto;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  padding: 0 8px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.logo-text {
  display: none;
}

.close-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.nav-menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-footer {
  padding: 16px 8px 0;
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  margin-top: 16px;
}

.sidebar-footer p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: center;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
}

.nav-item:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.15);
}

.nav-item.active {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
}

.nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--purple-primary);
  fill: none;
  stroke-width: 1.5;
}

.nav-content {
  flex: 1;
  min-width: 0;
}

.nav-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.nav-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-arrow {
  color: var(--text-muted);
  font-size: 12px;
  flex-shrink: 0;
}

.nav-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

/* Sidebar CTA */
.sidebar-cta {
  margin-top: auto;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.25);
  position: relative;
  overflow: hidden;
}

.sidebar-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 60%);
  animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.cta-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  position: relative;
}

.cta-icon svg {
  width: 100%;
  height: 100%;
}

.sidebar-cta h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}

.sidebar-cta p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--purple-gradient);
  border: none;
  border-radius: 24px;
  color: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.cta-button svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

/* ===== Main Content ===== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  padding: 24px 48px;
  position: fixed;
  top: 0;
  right: 0;
  left: 260px;
  z-index: 20;
  pointer-events: none;
}

.contact-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  border: none;
  border-radius: 28px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.contact-btn svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

/* ===== Hero Section ===== */
.hero-section {
  padding: 0 48px 60px;
  max-width: 800px;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #a855f7, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 500;
  margin-top: 24px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
}

/* ===== Section Title ===== */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-primary);
}

/* ===== Services Grid (Index) ===== */
.services-section {
  padding: 0 48px 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

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

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.service-card:hover .card-arrow {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.card-description {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.card-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 140px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.05);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 26, 0.6) 100%);
}

/* ===== Stats Section ===== */
.stats-section {
  padding: 0 48px 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

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

.stat-number {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* ===== About Intro ===== */
.about-section {
  padding: 0 48px 60px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-intro {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.about-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
}

.about-intro h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.about-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

/* ===== Culture Section ===== */
.culture-section {
  padding: 0 48px 60px;
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.culture-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.culture-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

.culture-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.culture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.culture-card:hover .culture-image img {
  transform: scale(1.05);
}

.culture-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 26, 0.8) 100%);
}

.culture-content {
  padding: 24px;
}

.culture-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.culture-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Timeline Section ===== */
.timeline-section {
  padding: 0 48px 60px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-primary), rgba(139, 92, 246, 0.2));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateX(8px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 32px;
  width: 12px;
  height: 12px;
  background: var(--purple-primary);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-accent);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 0 48px 80px;
}

.cta-container {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 60%);
  animation: ctaGlow 4s ease-in-out infinite;
}

.cta-container h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-container p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  position: relative;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--purple-gradient);
  border: none;
  border-radius: 28px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-secondary svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

/* ===== Services Detail Page ===== */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-detail-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.service-detail-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

.service-detail-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-detail-card:hover .service-detail-image img {
  transform: scale(1.05);
}

.service-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 26, 0.8) 100%);
}

.service-detail-content {
  padding: 28px;
}

.service-detail-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-detail-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  font-size: 12px;
  color: var(--purple-accent);
}

/* ===== Cases Page ===== */
.cases-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 24px;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--purple-gradient);
  border-color: transparent;
  color: white;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

.case-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 26, 0.8) 100%);
}

.case-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.8);
  border-radius: 20px;
  font-size: 12px;
  color: white;
  z-index: 1;
}

.case-content {
  padding: 24px;
}

.case-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.case-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== News Page ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 26, 0.8) 100%);
}

.news-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-date {
  font-size: 12px;
  color: var(--purple-accent);
  margin-bottom: 8px;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.4;
}

.news-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.news-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  font-size: 11px;
  color: var(--purple-accent);
  margin-top: 16px;
  align-self: flex-start;
}

/* ===== Community Page ===== */
.community-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 10px 24px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 24px;
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--purple-gradient);
  border-color: transparent;
  color: white;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.community-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.community-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(139, 92, 246, 0.1);
}

.community-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.community-card:hover .community-image img {
  transform: scale(1.05);
}

.community-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 26, 0.8) 100%);
}

.community-content {
  padding: 20px;
}

.community-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.community-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.community-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.community-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: white;
  font-weight: 600;
}

.community-stats {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.community-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 1400px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  .main-content {
    margin-left: 0;
  }
  .top-bar {
    left: 0;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .culture-grid {
    grid-template-columns: 1fr;
  }
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-section, .about-section, .stats-section, .culture-section,
  .timeline-section, .cta-section, .services-detail-section,
  .cases-section, .news-section, .community-section, .top-bar {
    padding-left: 20px;
    padding-right: 20px;
  }
  .about-intro {
    padding: 24px;
  }
  .cta-container {
    padding: 40px 24px;
  }
}
