/* ==========================================================================
   ChromaSpace - Apple Design System & Mac Aesthetics
   ========================================================================== */

:root {
  /* Color Palette - Apple Dark & Studio Aesthetic */
  --bg-black: #000000;
  --bg-surface: #0a0a0c;
  --bg-card: rgba(18, 18, 22, 0.72);
  --bg-card-hover: rgba(26, 26, 32, 0.82);
  --bg-glass-nav: rgba(14, 14, 18, 0.7);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(140, 95, 255, 0.35);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-tertiary: #6e6e73;
  --text-accent: #64d2ff;

  /* Accents */
  --accent-purple: #bf5af2;
  --accent-blue: #0a84ff;
  --accent-cyan: #64d2ff;
  --accent-green: #30d158;

  --grad-hero: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
  --grad-vibrant: linear-gradient(135deg, #af52de 0%, #0a84ff 50%, #64d2ff 100%);
  --grad-ambient: radial-gradient(circle at 50% 30%, rgba(94, 92, 230, 0.12) 0%, rgba(0, 0, 0, 0) 70%);

  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", Menlo, monospace;

  /* Elevations */
  --shadow-window: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-family: var(--font-system);
  background-color: var(--bg-black);
  color: var(--text-primary);
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Backlight */
.ambient-lighting {
  position: fixed;
  inset: 0;
  background: var(--grad-ambient);
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.ambient-orb-top {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(120, 80, 240, 0.16) 0%, rgba(10, 132, 255, 0.08) 50%, transparent 70%);
}

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

/* Typography Classes */
.hero-title-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vibrant-text {
  background: var(--grad-vibrant);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-align: center;
  margin-bottom: 12px;
}

.section-heading {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-description {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 54px auto;
  line-height: 1.55;
  font-weight: 400;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

/* Official Mac App Store Button (Hero & CTA) */
.btn-appstore {
  background: #ffffff;
  color: #000000;
  padding: 11px 24px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.btn-appstore:hover {
  background: #f5f5f7;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

section {
  padding: 90px 0;
  position: relative;
}
