/* CloudArc — Design System v2 */

:root {
  --color-white: #ffffff;
  --color-bg: #fafafa;
  --color-bg-elevated: #f5f5f7;
  --color-surface: rgba(255, 255, 255, 0.65);
  --color-surface-solid: #ffffff;
  --color-border: rgba(0, 0, 0, 0.05);
  --color-border-light: rgba(0, 0, 0, 0.03);
  --color-border-strong: rgba(0, 0, 0, 0.08);
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-text-tertiary: #86868b;
  --color-accent: #0071e3;
  --color-accent-hover: #0077ed;
  --color-accent-soft: rgba(0, 113, 227, 0.06);
  --color-accent-mist: rgba(0, 113, 227, 0.04);
  --color-accent-glow: rgba(0, 113, 227, 0.18);
  --color-success: #34c759;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 40px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.06);
  --shadow-float: 0 24px 64px rgba(0, 113, 227, 0.08);
  --blur-glass: 24px;
  --blur-nav: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.4s var(--ease-out);
  --transition-fast: 0.2s var(--ease-out);
  --nav-height: 56px;
  --section-padding: clamp(5rem, 12vw, 9rem);
  --content-max: 1200px;
  --content-wide: 1280px;
  --text-hero: clamp(3rem, 6.5vw, 4.75rem);
  --text-display: clamp(2rem, 4vw, 3rem);
  --text-body: 17px;
  --text-small: 15px;
  --text-caption: 13px;
  --letter-tight: -0.03em;
  --letter-display: -0.02em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.47059;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

::selection {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.container-wide {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: var(--text-display);
  font-weight: 600;
  letter-spacing: var(--letter-display);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--color-text);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

[x-cloak] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
