/* ===================================================================
   COBO TECH (科宝科技) & MCM (盟存科技) - AI SERVER THERMAL & STORAGE
   Ultra-Premium Modern Engineering Theme (Deep Tech / Glassmorphism)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #070a12;
  --bg-secondary: #0d121f;
  --bg-card: rgba(16, 23, 38, 0.75);
  --bg-card-hover: rgba(23, 33, 56, 0.85);
  --bg-glass: rgba(13, 18, 31, 0.65);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.35);
  --border-accent: rgba(37, 99, 235, 0.4);

  --accent-cyan: #00f2fe;
  --accent-blue: #2563eb;
  --accent-blue-light: #38bdf8;
  --accent-glow: #00d2ff;
  --accent-orange: #f97316;
  --accent-emerald: #10b981;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-highlight: #38bdf8;

  --gradient-tech: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #2563eb 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.15), transparent 70%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(0, 242, 254, 0.25);
  --shadow-blue-glow: 0 0 35px rgba(37, 99, 235, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Global Background Effects */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-ambient-light {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
}

.ambient-1 {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

.ambient-2 {
  bottom: 20%;
  left: -150px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.ambient-3 {
  top: 50%;
  right: 10%;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.text-gradient {
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-highlight {
  color: var(--accent-cyan);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.section-header .section-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-tech);
  color: #070a12;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(0, 242, 254, 0.45);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  color: var(--accent-cyan);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.glass-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 242, 254, 0.15);
}

/* ===================================================================
   Header & Navigation
   =================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00f2fe, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  color: #070a12;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.brand-text-box {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-auth-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tag {
  font-size: 0.75rem;
  padding: 4px 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #60a5fa;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.auth-tag.jones {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
  color: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-item a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-item a:hover, .nav-item a.active {
  color: var(--text-primary);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-tech);
  transition: var(--transition);
}

.nav-item a:hover::after, .nav-item a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
}

.lang-btn {
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--accent-cyan);
  color: #070a12;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero {
  min-height: 100vh;
  padding-top: 150px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-agency-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.agency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.agency-badge.stock-code {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-number span {
  color: var(--accent-cyan);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 242, 254, 0.2);
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  background: rgba(13, 18, 31, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  animation: float-anim 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  bottom: -20px;
  left: -20px;
}

.floating-card-2 {
  top: 30px;
  right: -20px;
  animation-delay: -2s;
}

@keyframes float-anim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.card-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.card-info-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-info-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ===================================================================
   Entity Tri-Hub Architecture (Hong Kong, Shenzhen, Shanghai)
   =================================================================== */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

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

.entity-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.entity-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-blue-light);
}

.entity-card.hk .entity-icon {
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
}

.entity-card.sz .entity-icon {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.35);
  color: #60a5fa;
}

.entity-card.sh .entity-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.entity-name-cn {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.entity-name-en {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.entity-role-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-cyan);
  margin-top: 10px;
}

.entity-body {
  margin: 18px 0;
}

.entity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entity-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.entity-list li i {
  color: var(--accent-cyan);
  font-size: 0.9rem;
}

.entity-footer {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.entity-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Strategic Partner Callout */
.strategic-partner-strip {
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.partner-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.partner-logo-mark {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-cyan);
  padding: 10px 18px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(0, 242, 254, 0.3);
}

.partner-text h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.partner-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===================================================================
   FAE Technical Support Team (The 3 User-Specified Versions)
   =================================================================== */
.fae-section {
  position: relative;
}

.fae-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.fae-tab-btn {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.fae-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}

.fae-tab-btn.active {
  background: var(--gradient-tech);
  color: #070a12;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.fae-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin-bottom: 50px;
}

.fae-version-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.fae-version-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fae-hero-quote {
  font-size: 1.18rem;
  line-height: 1.85;
  color: var(--text-primary);
  border-left: 4px solid var(--accent-cyan);
  padding-left: 24px;
  margin-bottom: 30px;
  background: rgba(0, 242, 254, 0.03);
  padding-top: 16px;
  padding-bottom: 16px;
  border-radius: 0 12px 12px 0;
}

.fae-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fae-tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.fae-tag span {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* 4 Core Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================================================
   Jones Tech (中石科技) Primary Products Matrix
   =================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.product-image-box {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.product-badge-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.product-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-header {
  margin-bottom: 16px;
}

.product-header h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.product-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.spec-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.official-link {
  font-size: 0.85rem;
  color: var(--accent-blue-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.official-link:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* ===================================================================
   AI Server Applications Scenarios
   =================================================================== */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.scenario-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

.scenario-card:hover {
  border-color: var(--accent-blue-light);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
}

.scenario-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  margin-bottom: 16px;
  display: inline-block;
}

.scenario-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.scenario-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.scenario-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scenario-features li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.scenario-features li::before {
  content: '▸';
  color: var(--accent-cyan);
}

/* ===================================================================
   Alliance Memory Synergy Section
   =================================================================== */
.memory-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(13, 18, 31, 0.8) 0%, rgba(16, 23, 38, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.memory-image-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.memory-image-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.memory-details h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.memory-details p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.memory-chip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.memory-tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #38bdf8;
}

/* ===================================================================
   Closed-Loop Workflow (For ASRock, Huaqin, Cloudpoint, H3C)
   =================================================================== */
.workflow-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}

.workflow-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition);
}

.workflow-step:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
}

.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 12px;
}

.workflow-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.workflow-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===================================================================
   Interactive Thermal Estimator & Sample Request Modal
   =================================================================== */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 60px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.calc-result-box {
  background: rgba(0, 242, 254, 0.04);
  border: 1px dashed rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.calc-res-val {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  margin: 10px 0;
}

.calc-recommendation {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Modal Popup */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-dialog {
  background: #0d1322;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 242, 254, 0.2);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.active .modal-dialog {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-primary);
}

/* ===================================================================
   Footer & Contact Section
   =================================================================== */
.footer {
  background: #050810;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 16px 0 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-contact-item i {
  color: var(--accent-cyan);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0d1322;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===================================================================
   Responsive Design
   =================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-top: 30px;
  }
  .entity-grid, .products-grid, .memory-box, .calc-grid {
    grid-template-columns: 1fr;
  }
  .scenarios-grid, .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-auth-badges {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .scenarios-grid, .pillars-grid, .workflow-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .fae-tabs-nav {
    flex-direction: column;
  }
}
