/* 
  PACE PACK - CSS Design System
  Color Palette, Typography, and Core Layout
*/

:root {
  /* Colors */
  --color-deep-space: #0E1117;
  --color-forest-flow: #0FAF9A;
  --color-ocean-cyan: #00C2FF;
  --color-cosmic-violet: #7A6BFF;
  --color-energy-rose: #FF2E7A;
  --color-warm-sunrise: #FF9A5C;
  
  --color-text-primary: #F5F7FB;
  --color-text-secondary: #C7CED9;
  --color-border: rgba(255, 255, 255, 0.10);
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --font-accent: 'Sora', sans-serif;
  --font-quote: 'Playfair Display', serif; /* Falling back to expressive serif */
  
  /* Spacing */
  --section-padding: 120px 20px;
  --container-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-deep-space);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(122, 107, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Typography Scale */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 2rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }

p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 42em;
  margin-bottom: 1.5rem;
}

/* Layout Components */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-family: var(--font-accent);
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.btn-primary {
  background-color: var(--color-warm-sunrise);
  color: var(--color-deep-space);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 154, 92, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Quote Blocks Base */
.quote-block {
  text-align: center;
  padding: 160px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quote-text {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 900px;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.quote-line {
  font-family: var(--font-quote);
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-deep-space);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 10px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
}

.reveal.active {
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
