:root {
  /* Aliyun-Style Color Palette */
  --n-0: #ffffff;
  --n-50: #f7f9fa; /* Aliyun Section Tint */
  --n-100: #f0f2f5;
  --n-200: #e5e5e5;
  --n-300: #d9d9d9;
  --n-400: #bfbfbf;
  --n-500: #8c8c8c;
  --n-600: #595959; /* WCAG AA Body Text */
  --n-700: #434343;
  --n-800: #262626;
  --n-900: #1f1f1f; /* Heading color */

  /* Primary Gradient & Brand Blue */
  --p-600: #1890ff;
  --brand-gradient: linear-gradient(135deg, #4A5DFE 0%, #1E6FFF 100%);
  --brand-gradient-hover: linear-gradient(135deg, #5C6DFF 0%, #2F7CFF 100%);

  /* Semantic Aliases */
  --bg: var(--n-0);
  --bg-subtle: var(--n-50);
  --text: var(--n-800);
  --text-muted: var(--n-600);
  --primary: var(--p-600);
  --success: #52c41a;
  --line: rgba(31, 31, 31, 0.06);
  --panel: rgba(255, 255, 255, 0.9);

  /* Spacing Grid (4px base) */
  --unit: 4px;
  --space-xs: calc(var(--unit) * 1);  /* 4px */
  --space-sm: calc(var(--unit) * 2);  /* 8px */
  --space-md: calc(var(--unit) * 3);  /* 12px */
  --space-lg: calc(var(--unit) * 4);  /* 16px */
  --space-xl: calc(var(--unit) * 6);  /* 24px */
  --space-2xl: calc(var(--unit) * 8); /* 32px */
  --space-3xl: calc(var(--unit) * 12); /* 48px */
  --space-4xl: calc(var(--unit) * 20); /* 80px */
  --section-pad: clamp(var(--space-4xl), 10vh, 120px);

  /* Aliyun-Style Elevation & Shape */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 32px -8px rgba(0, 0, 0, 0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px; /* Standard Card */
  --radius-xl: 16px; /* Featured Sections */
  --radius-full: 9999px;

  /* Layout */
  --container: min(1200px, calc(100% - var(--space-xl)));
  --header-h: 72px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

/* Disable scroll-snap on sub-pages to prevent content hiding */
body.sub-page,
body.sub-page html {
  scroll-snap-type: none !important;
}

body.sub-page section,
body.sub-page footer {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
  min-height: auto !important;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.5715;
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

section {
  padding: var(--section-pad) 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Remove the dotted grid pattern for a cleaner Aliyun look, 
   or keep it very subtle if requested. I'll mute it further. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(var(--line) 0.5px, transparent 0.5px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.05));
  opacity: 0.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed; /* Always floating */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(30, 111, 255, 0.25);
}

.brand-mark::before {
  content: "";
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 3px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.brand-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.012em;
  white-space: nowrap;
}

.brand-copy span {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all 250ms ease;
}

.nav a:hover {
  color: var(--primary);
  background: var(--bg-subtle);
}

/* Language Slider Toggle */
.lang-slider {
  display: flex;
  align-items: center;
  background: var(--n-100);
  border-radius: 20px;
  padding: 3px;
  margin-left: 12px;
  cursor: pointer;
  position: relative;
  height: 30px;
  width: 88px;
  border: 1px solid var(--n-200);
  transition: border-color 200ms ease;
}

.lang-slider:hover {
  border-color: var(--primary);
}

.lang-slider-label {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--n-400);
  z-index: 1;
  transition: color 200ms ease;
  user-select: none;
  line-height: 24px;
}

.lang-slider-label.active {
  color: white;
}

.lang-slider-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: var(--primary);
  border-radius: 16px;
  transition: left 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(74, 93, 254, 0.3);
}

.lang-slider.en .lang-slider-knob {
  left: calc(50%);
}

/* Hero Section with Background Slider */
.hero {
  position: relative;
  padding: 120px 0 var(--space-4xl);
  overflow: hidden;
  background: var(--bg-main);
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  /* Mask to fade edges and blend with light background */
  mask-image: radial-gradient(circle at 65% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 65% 50%, black 20%, transparent 75%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: auto 90%;
  background-repeat: no-repeat;
  background-position: right 10% center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-slide.active {
  opacity: 0.6;
  transform: scale(1);
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4xl);
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--n-200);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.hero-copy h1 {
  margin: 0 0 var(--space-lg);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-heading);
}

.hero-copy .marker {
  background: var(--brand-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy .subhead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  font-weight: 400;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.button {
  height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.button.primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(30, 111, 255, 0.2);
}

.button.primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 111, 255, 0.3);
}

.button.secondary {
  background: white;
  border-color: var(--n-300);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-subtle);
}

.hero-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.tag {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--n-200);
  font-size: 12px;
  color: var(--text-muted);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.proof-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--n-0);
  border: 1px solid var(--n-100);
  transition: all 300ms ease;
  box-shadow: var(--shadow-sm);
}

.proof-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.proof-card .index {
  color: var(--soft);
  font-family: "JetBrains Mono";
  font-size: 12px;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.proof-card h3 {
  font-size: 18px;
  margin: 0 0 var(--space-sm);
  font-family: "DM Sans", "Noto Sans SC";
}

.proof-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Visual Panel */
.hero-visual {
  background: var(--n-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
}

.visual-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.visual-title strong {
  font-family: "DM Sans";
  font-size: 16px;
  display: block;
}

.visual-title small {
  font-family: "JetBrains Mono";
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.system-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.flow-node {
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--n-200);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.hero.is-visible .flow-node {
  opacity: 1;
  transform: translateX(0);
}

.hero.is-visible .flow-node:nth-child(1) {
  transition-delay: 0.1s;
}

.hero.is-visible .flow-node:nth-child(2) {
  transition-delay: 0.2s;
}

.hero.is-visible .flow-node:nth-child(3) {
  transition-delay: 0.3s;
}

.hero.is-visible .flow-node:nth-child(4) {
  transition-delay: 0.4s;
}

.hero.is-visible .flow-node:nth-child(5) {
  transition-delay: 0.5s;
}

.flow-node .label {
  flex-shrink: 0;
  width: 80px;
  font-family: "JetBrains Mono";
  font-size: 11px;
  color: var(--soft);
  text-transform: uppercase;
}

.flow-node strong {
  font-size: 15px;
  font-weight: 700;
  width: 140px;
}

.flow-node p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.flow-node.accent {
  background: var(--n-0);
  border-color: var(--primary);
  box-shadow: 0 10px 30px -10px rgba(67, 97, 238, 0.15);
}

.flow-node.accent .label {
  color: var(--primary);
}

/* Meter Group */
.visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: 16px;
  flex-grow: 1;
}

.glass-card {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.glass-card h4 {
  margin: 0 0 var(--space-md);
  font-size: 14px;
  font-family: "DM Sans";
}

.meter-row {
  margin-bottom: 8px;
  font-size: 12px;
}

.meter-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
  color: var(--muted);
}

.meter-bar {
  height: 6px;
  background: var(--line-strong);
  border-radius: 99px;
  overflow: hidden;
}

.meter-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s;
}

.hero:not(.is-visible) .meter-bar span {
  width: 0 !important;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: flex-start;
  margin-top: 24px;
}

.chip-cloud span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--n-200);
  border-radius: 100px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--n-700);
  transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chip-cloud span:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.15);
}

section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-subtle);
}

.section-head {
  margin-bottom: var(--space-3xl);
  max-width: 800px;
}

.section-overline {
  display: block;
  font-family: inherit;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text-heading);
}

.section-head p {
  font-size: 17px;
  max-width: 600px;
  color: var(--text-dim);
}

/* Advantages */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
}

.adv-card {
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  background: var(--n-0);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.adv-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.adv-card .pill {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-2xl);
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
  font-family: "JetBrains Mono";
  margin-bottom: var(--space-xl);
}

.adv-card h3 {
  font-size: 24px;
  margin: 0 0 var(--space-lg);
  font-family: "DM Sans", "Noto Sans SC";
}

.adv-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mini-list li {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  position: relative;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--primary);
}

.span-7 {
  grid-column: span 7;
}

.span-5 {
  grid-column: span 5;
}

.tradeoff-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.tradeoff-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}

.tradeoff-card strong {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: 16px;
  font-family: "DM Sans";
}

.tradeoff-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Solutions */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.sol-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.sol-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.sol-icon {
  width: 48px;
  height: 48px;
  background: var(--n-50);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sol-icon::after {
  content: '';
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.8;
}

.icon-content::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234361EE'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 4v16M17 4v16M3 8h4m10 0h4M3 12h18M3 16h4m10 0h4M4 20h16a1 1 0 001-1V5a1 1 0 00-1-1H4a1 1 0 00-1 1v14a1 1 0 001 1z'/%3E%3C/svg%3E"); }
.icon-vision::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234361EE'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3E%3C/svg%3E"); }
.icon-platform::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234361EE'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10'/%3E%3C/svg%3E"); }
.icon-custom::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234361EE'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4'/%3E%3C/svg%3E"); }

.sol-card h3 {
  font-size: 18px;
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.sol-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.solution-card {
  display: none; /* Hide old cards */
}

.stack-block {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}

.stack-block strong {
  display: block;
  font-family: "JetBrains Mono";
  font-size: 10px;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: var(--space-sm);
}

.stack-block span {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.solution-tags span {
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid var(--n-200);
  font-size: 11px;
  color: var(--text-muted);
}

.card-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: all 200ms ease;
}

.link-btn:hover {
  gap: 12px;
  opacity: 0.8;
}

.link-btn svg {
  transition: transform 200ms ease;
}

/* Case Study */
.case-shell {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--n-100);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.case-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: "JetBrains Mono";
  font-size: 11px;
  text-transform: uppercase;
  color: var(--primary);
}

.case-copy h3 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-family: "DM Sans", "Noto Sans SC";
}

.case-copy p {
  font-size: 16px;
  color: var(--text-muted);
}

.case-actions {
  margin-top: 32px;
}

.case-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-xl);
}

.case-points li {
  position: relative;
  padding-left: var(--space-xl);
}

.case-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--secondary);
}

.case-points strong {
  display: block;
  font-size: 15px;
  margin-bottom: var(--space-xs);
  font-family: "DM Sans";
}

.case-points span {
  font-size: 14px;
  color: var(--muted);
}

/* Mockup Console */
.mockup {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--n-200);
  padding: 32px;
  position: relative;
}

.mockup-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.mockup-head strong {
  font-family: "DM Sans";
  font-size: 14px;
}

.mockup-head small {
  font-family: "JetBrains Mono";
  font-size: 10px;
  color: var(--soft);
  text-transform: uppercase;
}

.mockup-pill-group {
  display: flex;
  gap: var(--space-sm);
}

.mockup-tech-stack {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  justify-content: center;
}

.mockup-tech-stack span {
  font-size: 10px;
  font-family: "JetBrains Mono", monospace;
  background: var(--n-100);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--n-200);
  color: var(--n-600);
  opacity: 0.8;
}

.mockup-tech-stack span:hover {
  opacity: 1;
  border-color: var(--primary);
  color: var(--primary);
  background: var(--n-0);
}

.mockup-pill {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--n-0);
  border: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
}

.video-window {
  background: #000;
  border-radius: var(--radius-lg);
  height: 240px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.mockup-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.play-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 6px var(--space-md);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
}

.task-row {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.task-card {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--n-200);
  transition: all 250ms ease;
}

.task-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.task-card strong {
  font-size: 12px;
  display: block;
  margin-bottom: 4px;
}

.task-card span {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

.side-stage {
  display: grid;
  gap: var(--space-md);
}

.metric-box {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--n-0);
  border: 1px solid var(--line);
}

.metric-box strong {
  font-size: 12px;
  display: block;
  margin-bottom: var(--space-md);
}

.metric-box .row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.small-meter {
  height: 4px;
  background: var(--bg);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.small-meter span {
  display: block;
  height: 100%;
  background: var(--primary);
}

.asset-item {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.asset-item span {
  font-size: 11px;
}

.asset-item .state {
  font-family: "JetBrains Mono";
  font-size: 9px;
  color: var(--secondary);
  text-transform: uppercase;
}

/* Delivery Path */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}

.step-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--n-0);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  position: relative;
}

.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.step-number {
  font-family: "JetBrains Mono";
  font-size: 14px;
  color: var(--soft);
  display: block;
  margin-bottom: var(--space-xl);
}

.step-card h3 {
  font-size: 20px;
  margin: 0 0 var(--space-md);
  font-family: "DM Sans", "Noto Sans SC";
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* CTA Area */
.cta-shell {
  padding: var(--space-4xl);
  border-radius: var(--radius-xl);
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: center;
}

.cta-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xl);
  font-family: "DM Sans", "Noto Sans SC";
}

.cta-copy p {
  font-size: 18px;
  color: var(--n-400);
  margin-bottom: var(--space-3xl);
}

.cta-features {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-features span {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #fff;
}

.contact-card {
  background: var(--n-0);
  color: var(--text);
  padding: var(--space-3xl);
  border-radius: var(--radius-2xl);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.contact-card strong {
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
  font-family: "DM Sans";
}

.field label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  background: var(--bg);
  border: 1px solid var(--line);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.step-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.08), rgba(67, 97, 238, 0));
  pointer-events: none;
}

.cta-shell {
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl);
  border-radius: var(--radius-2xl);
  background: radial-gradient(circle at 8% 20%, rgba(63, 124, 255, 0.12), transparent 26%), radial-gradient(circle at 88% 24%, rgba(21, 183, 158, 0.10), transparent 26%), linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 247, 252, 0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-large);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: var(--space-xl);
  align-items: stretch;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-lg);
  min-width: 0;
}

.cta-copy h2 {
  margin: 0 0 var(--space-md);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.cta-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 640px;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (max-width: 480px) {
  .cta-features {
    grid-template-columns: 1fr;
  }
}

.cta-feature-card {
  background: var(--n-0);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.cta-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(67, 97, 238, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-feature-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* -------------------------------- */
/* Trust Wall Ticker Animation      */
/* -------------------------------- */

.trust-logos-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 40px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.trust-logos {
  display: flex;
  gap: 80px;
  width: fit-content;
  animation: scroll-ticker 30s linear infinite;
}

.trust-logos:hover {
  animation-play-state: paused;
}

@keyframes scroll-ticker {
  0% { transform: translateX(0); }
  /* Shift by exactly half of the duplicated content */
  100% { transform: translateX(calc(-50% - 40px)); } 
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--soft);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  opacity: 0.6;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.trust-logo-item:hover {
  opacity: 1;
}

.trust-logo-item svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-card {
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 28px rgba(99, 112, 130, 0.08);
  display: grid;
  gap: var(--space-lg);
}

.contact-card .title {
  margin-bottom: 2px;
}

.contact-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: var(--space-xs);
}

.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.field {
  display: grid;
  gap: var(--space-sm);
}

.field label {
  font-size: 13px;
  color: var(--soft);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg);
  background: rgba(247, 249, 252, 0.90);
  color: var(--text);
  font: inherit;
  resize: vertical;
  min-height: 52px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  min-height: 124px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(63, 124, 255, 0.32);
  box-shadow: 0 0 0 4px rgba(63, 124, 255, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
}

.hint {
  color: var(--muted);
  font-size: 12px;
}

/* Old footer-inner styles removed - using new enhanced footer-grid layout */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1140px) {

  .hero-grid,
  .case-shell,
  .cta-shell {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-copy h1,
  .section-head h2,
  .cta-copy h2 {
    max-width: none;
  }

  .advantage-grid,
  .solutions-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .span-7,
  .span-5 {
    grid-column: span 12;
  }

  .cta-features {
    justify-content: center;
  }

  .case-points {
    text-align: left;
  }

  .contact-card {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {

  .advantage-grid,
  .solutions-grid,
  .process-grid,
  .mockup-grid,
  .visual-grid,
  .tradeoff-row {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .section-head h2 {
    font-size: 2.5rem;
  }

  .case-shell,
  .cta-shell {
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
  }

  .header-inner {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
    padding: var(--space-lg);
  }

  .nav {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 2.25rem;
  }

  .section-head h2 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .case-shell,
  .cta-shell {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
  }
}

/* Interactive States & Focus Governance */
.nav a:focus-visible,
.button:focus-visible,
.lang-slider:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.button:active,
.lang-slider:active,
.nav a:active {
  transform: scale(0.98);
}

.button.primary:active {
  background: var(--n-900);
}

.nav a:hover {
  background: var(--bg-contrast);
}
/* Sub-page Layouts */
.sub-hero {
  padding: 120px 0 80px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}

.sub-hero .container {
  max-width: 900px;
}

.sub-hero-eyebrow {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 14px;
}

.sub-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 24px;
}

.sub-hero .lead {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Architecture Diagram */
.arch-diagram {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.arch-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  padding: 20px 0;
}

.arch-node {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
  min-width: 200px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}

.arch-node strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.arch-node span {
  font-size: 11px;
  color: var(--text-muted);
}

.arch-connector {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  z-index: 1;
}

.arch-node::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 2px solid var(--bg);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 60px 0;
}

.metric-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.metric-card .val {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.metric-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.metric-card p {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}
/* Enhanced Sub-page Detail Styles */
.case-detail-hero {
  padding: 160px 0 100px;
  background: var(--n-50);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.case-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(30, 111, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.arch-visual-wrapper {
  margin: 60px 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.arch-visual-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.8s ease;
}

.arch-visual-wrapper:hover img {
  transform: scale(1.02);
}

.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tech-tag {
  background: white;
  border: 1px solid var(--n-200);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--n-600);
  box-shadow: var(--shadow-sm);
}

.info-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 80px;
}

.info-item h3 {
  font-size: 24px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-item h3::before {
  content: "";
  width: 4px;
  height: 24px;
  background: var(--brand-gradient);
  border-radius: 2px;
}

.info-item p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

@media (max-width: 768px) {
  .info-matrix {
    grid-template-columns: 1fr;
  }
}

/* ===== Logo / Trust Wall ===== */
.trust-wall {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.trust-wall .section-overline {
  text-align: center;
  margin-bottom: 32px;
}


/* Trust Wall Ticker Animation */
.trust-logos-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.trust-logos {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: logo-ticker 40s linear infinite;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--n-400);
  opacity: 0.7;
  transition: opacity 200ms ease;
  white-space: nowrap;
}

.trust-logo-item:hover {
  opacity: 1;
}

.trust-logo-item svg {
  width: 24px;
  height: 24px;
  fill: var(--n-400);
}

@keyframes logo-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Enhanced Footer (always dark) ===== */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 32px;
  scroll-snap-align: start;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand strong {
  color: #f1f5f9;
  font-size: 18px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 360px;
  color: #94a3b8;
}

.footer-col h4 {
  color: #e2e8f0;
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: #94a3b8;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: #f1f5f9;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.16);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: #94a3b8;
}

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}
.footer-bottom a {
  color: #64748b;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== Page Loading Animation ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--n-200);
  border-top-color: #4A5DFE;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Dark mode removed — site always uses light theme */

/* ===== Mobile Hero Panel Fix ===== */
@media (max-width: 960px) {
  .hero-visual {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Mobile Trust Wall Fix ===== */
@media (max-width: 768px) {
  .trust-logos-wrapper {
    padding: 24px 0;
  }
  .trust-logos {
    gap: 40px;
  }
}

/* Synclip Detail Page Enhancements */
.std-section {
  padding: var(--space-2xl) 0;
  background: var(--n-0);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-3xl);
}

.std-subtitle {
  text-align: center;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: var(--space-xs);
  color: var(--primary);
}

.std-desc {
  text-align: center;
  color: var(--muted);
  margin-bottom: var(--space-2xl);
}

.std-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.std-card {
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.std-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.std-val {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.std-label {
  font-size: 12px;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.philosophy-section {
  padding: var(--space-3xl) 0;
  margin-top: var(--space-3xl);
  border-top: 1px dashed var(--line);
}

.section-divider-title {
  text-align: center;
  font-size: 20px;
  color: var(--soft);
  margin-bottom: var(--space-2xl);
}

.philo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

.philo-card {
  padding: var(--space-xl);
  border-left: 3px solid var(--line);
  background: var(--n-50);
  transition: all 0.3s ease;
}

.philo-card:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: var(--shadow-sm);
}

.philo-card h4 {
  font-size: 16px;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.philo-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== Case Showcase & Hotspots ===== */
.case-showcase-container {
  margin: var(--space-4xl) 0;
  display: flex;
  justify-content: center;
}

.case-showcase {
  position: relative;
  max-width: 1000px;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.1);
  background: #0b0f1a; /* Match screenshot background */
}

.showcase-base {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.case-showcase:hover .showcase-base {
  transform: scale(1.02);
}

.hotspot {
  position: absolute;
  z-index: 10;
  cursor: pointer;
}

.hotspot-pulse {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
}

.hotspot-pulse::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0.6;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.33); opacity: 0.8; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

.hotspot-label {
  position: absolute;
  top: 50%;
  left: 28px;
  transform: translateY(-50%);
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: white;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.hotspot:hover .hotspot-label {
  opacity: 1;
  visibility: visible;
  left: 32px;
}

@media (max-width: 768px) {
  .hotspot-label {
    display: none; /* Hide labels on mobile to prevent overflow */
  }
}
