/* ============================================================
   Design System — Alibaba Cloud AI Solutions
   Light theme: white + warm gray + Alibaba orange accent
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Brand Colors */
  --color-orange:       #FF6A00;
  --color-orange-dark:  #E05A00;
  --color-orange-light: #FF8C38;
  --color-orange-pale:  #FFF3EB;
  --color-orange-glow:  rgba(255, 106, 0, 0.15);

  /* Neutrals */
  --color-bg:           #FFFFFF;
  --color-bg-alt:       #F8F9FB;
  --color-bg-card:      #FFFFFF;
  --color-border:       #E8ECF0;
  --color-border-light: #F0F3F7;

  /* Text */
  --color-text-primary:   #0D1117;
  --color-text-secondary: #4A5568;
  --color-text-muted:     #8896A8;
  --color-text-inverse:   #FFFFFF;

  /* Accents */
  --color-blue:         #0066FF;
  --color-blue-light:   #E8F0FE;
  --color-green:        #00B96B;
  --color-green-light:  #E6F9F1;
  --color-purple:       #7C3AED;
  --color-purple-light: #F3EEFF;
  --color-red:          #E53E3E;

  /* Gradients */
  --gradient-hero:    linear-gradient(135deg, #fff7f2 0%, #ffffff 50%, #f0f4ff 100%);
  --gradient-orange:  linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
  --gradient-card:    linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
  --gradient-section: linear-gradient(180deg, #F8F9FB 0%, #FFFFFF 100%);

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-orange: 0 4px 20px rgba(255,106,0,0.25);
  --shadow-card-hover: 0 8px 32px rgba(255,106,0,0.12), 0 4px 12px rgba(0,0,0,0.06);

  /* Spacing Scale */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Border Radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-cn:   'Noto Sans SC', 'Inter', sans-serif;

  /* Transitions */
  --transition-fast:   all 0.15s ease;
  --transition-base:   all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1200px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.nav-logo-img {
  height: 26px;
  width: auto;
  display: block;
}

/* Show EN logo by default (en lang) */
.nav-logo-img--cn { display: none; }
html[lang="zh-CN"] .nav-logo-img--en { display: none; }
html[lang="zh-CN"] .nav-logo-img--cn { display: block; }

.nav-logo-suffix {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-orange);
  padding-left: 6px;
  border-left: 1px solid rgba(0,0,0,0.12);
  line-height: 1;
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-links a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-orange);
  background: var(--color-orange-pale);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition-fast);
  letter-spacing: 0.3px;
}

.lang-btn.active {
  background: var(--color-orange);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-orange);
}

.btn-nav {
  padding: var(--space-2) var(--space-4);
  background: var(--gradient-orange);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-orange);
  transition: var(--transition-base);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,106,0,0.35);
}

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition-base);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-20);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,106,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-orange-pale);
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-orange);
  margin-bottom: var(--space-5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-orange);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.hero-title .highlight {
  color: var(--color-orange);
  position: relative;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

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

.hero-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: -0.5px;
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px var(--space-6);
  background: var(--gradient-orange);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-orange);
  transition: var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,106,0,0.40);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px var(--space-6);
  background: var(--color-bg);
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-base);
}

.btn-secondary:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: var(--color-orange-pale);
  transform: translateY(-2px);
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  display: flex;
  gap: var(--space-3);
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-primary);
  box-shadow: var(--shadow-md);
}

.hero-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-green);
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header.centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-orange-pale);
  border: 1px solid rgba(255,106,0,0.15);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(255,106,0,0.25);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: var(--space-4);
  background: var(--color-orange-pale);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  letter-spacing: -0.2px;
}

.card-desc {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Card accent stripe */
.card-accent-orange { border-top: 3px solid var(--color-orange); }
.card-accent-blue   { border-top: 3px solid var(--color-blue); }
.card-accent-green  { border-top: 3px solid var(--color-green); }
.card-accent-purple { border-top: 3px solid var(--color-purple); }

/* ============================================================
   Grid Layouts
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-5); }

/* ============================================================
   Section 1 — Foundation Models
   ============================================================ */
.model-group {
  margin-bottom: var(--space-10);
}

.model-group-label {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.model-group-label h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.model-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.model-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-xs);
}

.model-card:hover {
  border-color: rgba(255,106,0,0.3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.model-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.model-info { flex: 1; min-width: 0; }

.model-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 3px;
}

.model-highlight {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.model-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  flex-shrink: 0;
  align-self: center;
}

.badge-qwen    { background: var(--color-orange-pale);  color: var(--color-orange);  }
.badge-video   { background: #fff0f6;                   color: #d6336c;              }
.badge-image   { background: #f0f4ff;                   color: var(--color-blue);    }
.badge-third   { background: #f3f0ff;                   color: var(--color-purple);  }

/* Resource orchestration cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.resource-card {
  background: linear-gradient(145deg, var(--color-orange-pale), #fff9f5);
  border: 1px solid rgba(255,106,0,0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: var(--transition-base);
}

.resource-card:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.resource-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-orange-dark);
  margin-bottom: var(--space-2);
}

.resource-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   Section 2 — AI Agent Dev Platform
   ============================================================ */
.platform-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.platform-card:hover {
  border-color: rgba(255,106,0,0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.platform-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--color-orange-pale);
}

.platform-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.3px;
}

.platform-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  background: var(--color-orange-pale);
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: var(--space-2);
}

.platform-tag.marketplace {
  background: var(--color-blue-light);
  color: var(--color-blue);
}

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

/* ============================================================
   Section 3 — Agentic AI Solutions
   ============================================================ */
.solution-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-orange);
  opacity: 0;
  transition: var(--transition-base);
}

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

.solution-card:hover {
  border-color: rgba(255,106,0,0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.solution-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.solution-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.2px;
}

.solution-desc {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* Partner badge */
.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.partner-tag.alibaba { background: var(--color-orange-pale); color: var(--color-orange); }
.partner-tag.partner { background: var(--color-blue-light);  color: var(--color-blue);   }

/* ============================================================
   Section 4 — AI Applications
   ============================================================ */
.app-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-smooth);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}

.app-card:hover {
  border-color: rgba(255,106,0,0.25);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.app-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.app-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.app-desc {
  font-size: 13.5px;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============================================================
   Section 5 — AI for Cloud
   ============================================================ */
.cloud-card {
  background: linear-gradient(145deg, #f0f8ff, #ffffff);
  border: 1px solid #d8e8f5;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-smooth);
}

.cloud-card:hover {
  border-color: rgba(0,102,255,0.3);
  box-shadow: 0 8px 32px rgba(0,102,255,0.10), 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-3px);
}

/* ============================================================
   Section 6 — AI Security
   ============================================================ */
.security-wrapper {
  background: linear-gradient(145deg, #fff8f0, #fff3eb);
  border: 1px solid rgba(255,106,0,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.security-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: var(--transition-base);
}

.security-card:hover {
  border-color: rgba(255,106,0,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.security-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: var(--color-orange-pale);
}

.security-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.security-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================
   Section 7 — Infrastructure
   ============================================================ */
.infra-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
}

.infra-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255,106,0,0.4);
  transform: translateX(3px);
}

.infra-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.infra-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* ============================================================
   Section 8 — Industry Solutions (Coming Soon)
   ============================================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.industry-card {
  background: var(--color-bg-card);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  opacity: 0.75;
  transition: var(--transition-base);
  position: relative;
}

.industry-card:hover { opacity: 1; }

.industry-icon {
  font-size: 32px;
  margin-bottom: var(--space-3);
}

.industry-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}

.coming-soon-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   Section 9 — Get Started
   ============================================================ */
.get-started {
  background: linear-gradient(135deg, #0D1117 0%, #1a2130 100%);
  color: var(--color-text-inverse);
}

.get-started .section-tag {
  background: rgba(255,106,0,0.2);
  border-color: rgba(255,106,0,0.3);
  color: var(--color-orange-light);
}

.get-started .section-title {
  color: var(--color-text-inverse);
}

.get-started .section-subtitle {
  color: rgba(255,255,255,0.65);
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.cta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: var(--transition-base);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.cta-card:hover {
  background: rgba(255,106,0,0.12);
  border-color: rgba(255,106,0,0.3);
  transform: translateY(-3px);
}

.cta-card-icon {
  font-size: 28px;
}

.cta-card-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.cta-card-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.cta-main-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 16px var(--space-8);
  background: var(--gradient-orange);
  color: var(--color-text-inverse);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  box-shadow: var(--shadow-orange);
  transition: var(--transition-base);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,106,0,0.45);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 16px var(--space-8);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition-base);
}

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

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #0D1117;
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.footer-logo-img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo-img--cn { display: none; }
html[lang="zh-CN"] .footer-logo-img--en { display: none; }
html[lang="zh-CN"] .footer-logo-img--cn { display: block; }

.footer-logo-suffix {
  color: var(--color-orange);
  font-weight: 700;
  padding-left: 6px;
  border-left: 1px solid rgba(255,255,255,0.18);
  line-height: 1;
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
}

.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  line-height: 1.6;
  max-width: 720px;
  margin: 10px auto 0;
  text-align: center;
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   Divider
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: 0 var(--space-6);
}

/* Misc */
.text-orange { color: var(--color-orange); }
.text-muted  { color: var(--color-text-muted); }
.fw-700 { font-weight: 700; }

/* bg color helpers */
.bg-orange-pale   { background: var(--color-orange-pale);  }
.bg-blue-light    { background: var(--color-blue-light);   }
.bg-green-light   { background: var(--color-green-light);  }
.bg-purple-light  { background: var(--color-purple-light); }


/* ============================================================
   Unified Architecture Diagram
   One cohesive visual showing complete Alibaba Cloud AI stack
   ============================================================ */

.arch-section {
  padding: var(--space-20) 0 var(--space-24);
  background: var(--color-bg);
}

.arch-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--space-12);
}

.arch-intro-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.arch-intro-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Outer container — wider than normal */
.arch-outer {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Main diagram frame */
.arch-frame {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-bg);
}

/* Model Studio CTA at diagram bottom */
.arch-modelstudio {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 20px;
  border-top: 1px solid rgba(255, 106, 0, 0.12);
  background: linear-gradient(90deg, transparent 40%, rgba(255, 106, 0, 0.04));
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-orange);
  text-decoration: none;
  transition: background 0.2s;
}

.arch-modelstudio:hover {
  background: linear-gradient(90deg, transparent 20%, rgba(255, 106, 0, 0.08));
}

.arch-ms-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

/* Window-style title bar */
.arch-titlebar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: #f8f9fb;
  border-bottom: 1px solid var(--color-border);
}

.arch-dots {
  display: flex;
  gap: 6px;
}

.arch-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.arch-dots span:nth-child(1) { background: #ff5f57; }
.arch-dots span:nth-child(2) { background: #febc2e; }
.arch-dots span:nth-child(3) { background: #28c840; }

.arch-titlebar-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-primary);
  flex: 1;
  letter-spacing: -0.1px;
}

.arch-titlebar-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--color-orange-pale);
  color: var(--color-orange);
  letter-spacing: 0.3px;
}

/* Body grid: layers (left) + security sidebar (right) */
.arch-body {
  display: grid;
  grid-template-columns: 1fr 180px;
}

/* Stacked layers column */
.arch-layers {
  display: flex;
  flex-direction: column;
}

/* Individual layer */
.arch-layer {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
}

.arch-layers > .arch-layer:last-child {
  border-bottom: none;
}

/* Layer header */
.arch-lh {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

/* Layer label */
.arch-ll {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-muted);
}

/* Coming soon badge */
.arch-cs {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Layer items (flex row) */
.arch-li {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Product link card */
.arch-p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 5px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.arch-p:hover {
  border-color: var(--color-orange);
  box-shadow: 0 2px 8px rgba(255,106,0,0.12);
  color: var(--color-orange);
  transform: translateY(-1px);
}

/* Product icon (letter mark) */
.arch-ic {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
  overflow: hidden;
}

.arch-ic--img {
  background: #fff !important;
  padding: 2px;
  border: 1px solid rgba(0,0,0,0.06);
}

.arch-ic--img img,
.arch-ic-sm--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

/* Small icon for sidebar */
.arch-ic-sm {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
  overflow: hidden;
}

/* Product tag badges (Text, Image, Video) */
.arch-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: var(--color-orange-pale);
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tag-img {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag-vid {
  background: #fce7f3;
  color: #be185d;
}

/* Muted pill (industry Coming Soon items) */
.arch-pill-m {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Layer color variants — subtle tinted backgrounds + left accent */
.al-industry {
  background: #f8f9fb;
  border-left: 4px solid #94a3b8;
}

.al-apps {
  background: #faf5ff;
  border-left: 4px solid #8b5cf6;
}

.al-agentic {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
}

.al-dev {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
}

.al-cloud {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
}

.al-models {
  background: #fff7ed;
  border-left: 4px solid #f97316;
}

.al-infra {
  background: #f1f5f9;
  border-left: 4px solid #64748b;
}

/* Split row: Dev Platform + AI for Cloud side by side */
.arch-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--color-border-light);
}

.arch-split > .arch-layer {
  border-bottom: none;
}

.arch-split > .arch-layer:first-child {
  border-right: 1px solid var(--color-border-light);
}

/* Foundation Models multi-row layout */
.arch-layer-multi {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.arch-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.arch-rl {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 65px;
  flex-shrink: 0;
}

.arch-ri {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Security sidebar — vertical orange band */
.arch-sidebar {
  background: linear-gradient(180deg, #fff7ed, #fff3eb);
  border-left: 2px solid rgba(255, 106, 0, 0.2);
  display: flex;
  flex-direction: column;
  padding: var(--space-4) var(--space-3);
}

/* Sidebar column wrapper — stacks LingYang on top of AI Security */
.arch-sidebar-col {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(255, 106, 0, 0.15);
}

.arch-sidebar-col .arch-sidebar {
  border-left: none;
}

.arch-sidebar-col .arch-sidebar + .arch-sidebar {
  border-top: 1px solid rgba(255, 106, 0, 0.18);
}

/* LingYang sidebar — teal theme */
.arch-sidebar--data {
  background: linear-gradient(180deg, #f0fdfa, #ccfbf1);
}

.arch-sidebar-label--data {
  color: #0f766e !important;
  border-bottom: 1px solid rgba(20, 184, 166, 0.18) !important;
}

.arch-sb-item--data {
  border: 1px solid rgba(20, 184, 166, 0.15) !important;
}

.arch-sb-item--data:hover {
  border-color: #14b8a6 !important;
  color: #0f766e !important;
  box-shadow: 0 2px 8px rgba(20, 184, 166, 0.15) !important;
}

/* Trust & Compliance sidebar — blue theme */
.arch-sidebar--trust {
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
}

.arch-sidebar-label--trust {
  color: #1d4ed8 !important;
  border-bottom: 1px solid rgba(29, 78, 216, 0.18) !important;
}

.arch-sb-item--trust {
  border: 1px solid rgba(29, 78, 216, 0.15) !important;
}

.arch-sb-item--trust:hover {
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15) !important;
}

.arch-sidebar-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-orange);
  margin-bottom: var(--space-4);
  text-align: center;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 106, 0, 0.15);
}

.arch-sidebar-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
  justify-content: center;
}

.arch-sb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-2) var(--space-2);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 106, 0, 0.1);
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.arch-sb-item:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  box-shadow: 0 2px 8px rgba(255,106,0,0.12);
  transform: translateX(-2px);
}

/* ============================================================
   Architecture Layer Header Icons
   ============================================================ */
.arch-lh-icon {
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
}

.al-industry .arch-lh-icon { color: #b45309; }
.al-apps .arch-lh-icon { color: #0369a1; }
.al-agentic .arch-lh-icon { color: #c2410c; }
.al-dev .arch-lh-icon { color: #7c3aed; }
.al-cloud .arch-lh-icon { color: #0284c7; }
.al-models .arch-lh-icon { color: #6d28d9; }
.al-infra .arch-lh-icon { color: #374151; }

/* ============================================================
   Persona / Role Scenario Section
   ============================================================ */
.personas {
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, #ffffff 0%, #fefcfa 30%, #fff9f4 60%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.personas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 20%, rgba(255,106,0,0.03), transparent),
    radial-gradient(ellipse 500px 350px at 90% 80%, rgba(124,58,237,0.03), transparent);
  pointer-events: none;
}

.personas-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.personas-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.personas-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
  align-items: start;
}

/* --- Persona Card --- */
.persona-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px var(--space-5) var(--space-6);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-xl);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.04),
    0 1px 4px rgba(0, 0, 0, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.3s ease;
  animation: persona-float 6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  cursor: pointer;
}

.persona-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(255, 106, 0, 0.2);
}

/* Floating animation */
@keyframes persona-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(calc(var(--float-offset, 8px) * -1));
  }
}

.persona-card:hover {
  animation-play-state: paused;
}

/* Glow overlay */
.persona-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 106, 0, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.persona-card:hover .persona-glow {
  opacity: 1;
}

/* Icon wrap */
.persona-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.persona-card:hover .persona-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Icon color variants */
.persona-icon--orange {
  background: linear-gradient(135deg, #FFF3EB, #FFE4CC);
  color: #FF6A00;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.12);
}

.persona-icon--red {
  background: linear-gradient(135deg, #FEF2F2, #FECACA);
  color: #DC2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12);
}

.persona-icon--blue {
  background: linear-gradient(135deg, #EFF6FF, #BFDBFE);
  color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.persona-icon--purple {
  background: linear-gradient(135deg, #F5F3FF, #DDD6FE);
  color: #7C3AED;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}

.persona-icon--slate {
  background: linear-gradient(135deg, #F8FAFC, #E2E8F0);
  color: #475569;
  box-shadow: 0 4px 12px rgba(71, 85, 105, 0.12);
}

/* Text elements */
.persona-role {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.persona-scenario {
  font-size: 12.5px;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-4);
  flex: 1;
  position: relative;
  z-index: 1;
}

.persona-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-orange);
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 106, 0, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.persona-card:hover .persona-cta {
  background: rgba(255, 106, 0, 0.12);
  transform: translateX(2px);
}

/* ============================================================
   Custom Hover Tooltip (architecture products + sidebar items)
   ============================================================ */
.arch-tip {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(13, 17, 23, 0.96);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 260px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22), 0 4px 8px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  transform-origin: center top;
  transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.18s;
  z-index: 1000;
  white-space: normal;
  text-align: center;
  letter-spacing: 0.1px;
  backdrop-filter: blur(8px);
}

.arch-tip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Arrow */
.arch-tip::after {
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
}

.arch-tip[data-placement="top"]::after {
  bottom: -12px;
  border-top-color: rgba(13, 17, 23, 0.96);
}

.arch-tip[data-placement="bottom"]::after {
  top: -12px;
  border-bottom-color: rgba(13, 17, 23, 0.96);
}

/* ============================================================
   Yun Xiaobao mascot — playful accents
   ============================================================ */
.hero .container,
.get-started .container {
  position: relative;
}

.mascot {
  position: absolute;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 2;
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.18));
  animation: mascot-float 5.5s ease-in-out infinite;
  will-change: transform;
}

/* Hero — top-right thumbs-up mascot */
.mascot--hero {
  top: 8%;
  right: 0;
  width: 220px;
  height: auto;
  animation-duration: 6s;
}

/* Get Started — far right cheering mascot, kept clear of CTA cards */
.mascot--cta {
  top: 30px;
  right: -60px;
  width: 150px;
  height: auto;
  animation: mascot-float-cta 5s ease-in-out infinite;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-2deg); }
}

@keyframes mascot-float-cta {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}

@media (max-width: 1280px) {
  .mascot--cta { right: -40px; width: 140px; }
}

@media (max-width: 1024px) {
  .mascot--hero { width: 160px; top: 4%; right: -10px; opacity: 0.85; }
  .mascot--cta  { width: 120px; right: -30px; opacity: 0.85; top: 8%; }
}

@media (max-width: 720px) {
  .mascot--hero,
  .mascot--cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mascot { animation: none; }
}
