/* ========================================
   MarkMind - Light Theme Styles
   ======================================== */

/* CSS Variables - Light Theme */
:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #7c3aed;
  --accent-light: #8b5cf6;
  --cyan: #0891b2;
  --cyan-light: #06b6d4;
  --bg-deep: #f8fafc;
  --bg-dark: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(241, 245, 249, 0.7);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: rgba(148, 163, 184, 0.25);
  --border-glow: rgba(37, 99, 235, 0.25);
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-cyan: linear-gradient(135deg, #0891b2 0%, #2563eb 100%);
  --gradient-warm: linear-gradient(135deg, #2563eb 0%, #0891b2 50%, #7c3aed 100%);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Selection */
::selection {
  background: rgba(37, 99, 235, 0.15);
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  color: var(--text-secondary);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--cyan-light);
}

/* ========================================
   Layout Utilities
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ========================================
   Components
   ======================================== */

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.glass-card:hover {
  
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Feature Card */
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 60px rgba(37, 99, 235, 0.06);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

/* Product Visual - replaces feature-icon in product cards */
.product-visual {
  width: 100%;
  height: 140px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-visual svg {
  width: 100%;
  height: 100%;
  padding: 16px;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary-light);
}

.btn-cyan {
  background: var(--gradient-cyan);
  color: white;
  box-shadow: 0 4px 20px rgba(8, 145, 178, 0.25);
}

.btn-cyan:hover {
  
  box-shadow: 0 8px 30px rgba(8, 145, 178, 0.35);
  color: white;
}

/* Stat Number */
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Tag / Badge */
.tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary-light);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3px solid var(--primary);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--gradient-primary);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Background Effects
   ======================================== */

/* Particle Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Grid Background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

/* Glow Orb */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  opacity: 0.3;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  top: -200px;
  right: -200px;
}

.glow-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 70%);
  bottom: -150px;
  left: -150px;
}

.glow-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.navbar .logo {
  position: absolute;
  left: 24px;
}

.navbar .nav-cta {
  position: absolute;
  right: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.logo span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  
}

.hero-title {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-title .title-line {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-title .title-line.highlight {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 64px;
  justify-content: center;
}

.hero-buttons .btn {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-buttons .btn-primary {
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.hero-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.hero-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-primary);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 72px;
  justify-content: center;
  margin: 0 auto;
  padding: 24px 48px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 700px;
  z-index: 1;
  opacity: 0.9;
}

/* ========================================
   News Cards
   ======================================== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }

/* Products Grid - 8 products responsive layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
}
.news-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.news-card:hover { border-color: rgba(59,130,246,0.3); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.news-card-img { height: 180px; background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.08)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; position: relative; overflow: hidden; }
.news-card-img::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(59,130,246,0.06), transparent 60%); }
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card-tag { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; background: rgba(59,130,246,0.12); color: var(--primary-light); width: fit-content; }
.news-card-date { font-size: 0.8rem; color: var(--text-muted); }
.news-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.news-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.news-card-footer { padding: 0 24px 24px; }
.news-card-footer a { font-size: 0.9rem; font-weight: 600; color: var(--primary-light); text-decoration: none; }
.news-card-footer a:hover { text-decoration: underline; }

/* ========================================
   Footer
   ======================================== */
.footer {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-left {
  flex: 1;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
}

.footer-contact {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-contact-item {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-contact-item span {
  color: var(--text-muted);
  margin-right: 8px;
}

.footer-links-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links-row a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-row a:hover {
  color: var(--primary-light);
}

.footer-right {
  display: flex;
  gap: 32px;
}

.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  margin-bottom: 8px;
}

.footer-qr p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom .icp-link {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom .icp-link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-contact {
    justify-content: center;
  }
  
  .footer-links-row {
    justify-content: center;
  }
}



/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline { padding-left: 28px; }
}

/* ========================================
   Page-specific helpers
   ======================================== */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Case / Product detail cards */
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.detail-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.detail-card-header {
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
}

.detail-card-body {
  padding: 32px 40px;
}

.detail-card-body ul {
  list-style: none;
  padding: 0;
}

.detail-card-body li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.detail-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

/* Value proposition cards */
.value-card {
  text-align: center;
  padding: 32px;
}

.value-card .value-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.value-card .value-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-light);
}

.value-card .value-label {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Solution cards */
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.solution-card:hover {
  
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.solution-card-header {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.04));
  border-bottom: 1px solid var(--border);
}

.solution-card-header h3 {
  font-size: 1.2rem;
}

.solution-card-header .tag {
  margin-top: 8px;
}

.solution-card-body {
  padding: 28px 32px;
  flex: 1;
}

.solution-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.solution-card-body ul {
  list-style: none;
}

.solution-card-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.solution-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.solution-card-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  background: rgba(37, 99, 235, 0.02);
}

/* Case study highlight */
.case-highlight {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.case-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.case-highlight blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  border-left: none;
  padding: 0;
  margin: 24px 0;
}

/* Contact form */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Contact info cards */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.contact-info-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========================================
   Dropdown Navigation (Mega Menu)
   ======================================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links > li {
  position: relative;
  padding-bottom: 24px;
  margin-bottom: -24px;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links > li > a::after {
  display: none;
}

.nav-links > li:hover > a {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-links > li > a .arrow {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.nav-links > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* Dropdown Panel */
/* Mega Menu - Full Width Dropdown */
.dropdown-panel {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  z-index: 1001;
  pointer-events: auto;
}

.nav-links > li:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
}

.dropdown-panel::before {
  display: none;
}

.dropdown-panel .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dropdown-column-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--border);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-radius: 0;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  background: transparent;
}

.dropdown-item:hover {
  background: transparent;
  padding-left: 8px;
}

.dropdown-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.2s ease;
}

.dropdown-item:hover h4 {
  color: var(--primary-light);
}

.dropdown-item .product-name {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.dropdown-item:hover .product-name {
  color: var(--primary-light);
}

.dropdown-item p {
  display: none;
}

/* Remove icon from dropdown items */
.dropdown-item .icon,
.dropdown-item .arrow-right {
  display: none;
}

/* Single column dropdown (for About Us) */
.dropdown-panel.single-col .dropdown-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 600px;
  margin: 0 auto;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.dropdown-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
}

.dropdown-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.dropdown-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dropdown-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.dropdown-item .arrow-right {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dropdown-item:hover .arrow-right {
  opacity: 1;
}

/* Single column dropdown (smaller) */
.dropdown-panel.single-col {
  min-width: 240px;
  padding: 16px;
}

.dropdown-panel.single-col .dropdown-grid {
  grid-template-columns: 1fr;
}

.dropdown-panel.single-col .dropdown-item {
  padding: 10px 12px;
}

.dropdown-panel.single-col .dropdown-item .icon {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

/* ========================================
   Mobile Navigation
   ======================================== */

/* Mobile menu overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile nav links container */
.nav-links.mobile-active {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex !important;
  flex-direction: column;
  padding: 16px 24px;
  gap: 0;
  overflow-y: auto;
  z-index: 1000;
  transform: translateX(0);
  border-top: 1px solid var(--border);
}

.nav-links.mobile-active > li {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
}

.nav-links.mobile-active > li:last-child {
  border-bottom: none;
}

.nav-links.mobile-active > li > a {
  padding: 16px 0;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

.nav-links.mobile-active > li > a:hover {
  background: transparent;
  color: var(--primary);
}

/* About Us Dropdown - Simple Layout */
.dropdown-panel.about-dropdown {
  min-width: 160px;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.dropdown-panel.about-dropdown .container {
  padding: 0;
}

.about-menu-row {
  display: flex;
  flex-direction: column;
}

.about-menu-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.about-menu-item:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
}

/* Mobile dropdown in nav - hide dropdown panels */
.nav-links.mobile-active .dropdown-panel {
  display: none !important;
}

/* Mobile menu button animation */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Body scroll lock when menu open */
body.menu-open {
  overflow: hidden;
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
  .dropdown-panel {
    display: none !important;
  }
  
  /* Larger touch targets */
  .btn, 
  .nav-links a,
  .dropdown-item,
  .footer-links a,
  .mobile-menu-btn {
    min-height: 44px;
  }
  
  /* Adjust card padding */
  .glass-card,
  .feature-card {
    padding: 24px;
  }
  
  /* Adjust section spacing */
  .section {
    padding: 64px 0;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  /* Smaller container padding */
  .container {
    padding: 0 16px;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 48px 0 24px;
  }
  
  .footer-grid {
    gap: 24px;
  }
  
  /* Hero adjustments */
  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 64px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  /* Detail card adjustments */
  .detail-card-header,
  .detail-card-body {
    padding: 24px;
  }
  
  /* Solution card adjustments */
  .solution-card-header,
  .solution-card-body,
  .solution-card-footer {
    padding: 20px 24px;
  }
  
  /* Case highlight adjustments */
  .case-highlight {
    padding: 32px 24px;
  }
  
  /* Form adjustments */
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 16px;
  }
  
  /* Contact info card */
  .contact-info-card {
    padding: 20px;
  }
  
  /* Navbar scrolled state for mobile */
  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
  }
}

/* ========================================
   Dropdown Navigation - Light Theme Overrides
   ======================================== */
.nav-links > li:hover > a {
  background: rgba(37, 99, 235, 0.06);
}

.dropdown-panel {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.dropdown-panel::before {
  background: rgba(255, 255, 255, 0.95);
}

.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.04);
  border-color: rgba(37, 99, 235, 0.1);
}

/* ========================================
   News Detail Page Styles
   ======================================== */

.news-detail-main {
  padding: 100px 0 80px;
  background: var(--bg-deep);
  min-height: calc(100vh - 300px);
}

.news-article {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 48px;
}

.article-category {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.article-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.article-meta .category-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent);
  font-size: 0.8rem;
  border-radius: 20px;
}

.article-meta .article-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-back-link {
  margin-bottom: 40px;
}

.article-back-link a {
  color: var(--primary-light);
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-back-link a:hover {
  color: var(--primary);
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

.article-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.article-footer {
  margin-top: 60px;
  text-align: center;
}

.article-footer .btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.article-footer .btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}
