/* ============================================
   Prosocial Design — Style System
   Bright, optimistic. 60s/70s rainbow motif.
   ============================================ */

:root {
  --bg: #faf8f5;
  --bg-raised: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --accent: #9b59b6;
  --accent-hover: #8344a0;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --max-width: 960px;

  /* arc colors — site key colors */
  --arc-1: #9b59b6;
  --arc-2: #e84393;
  --arc-3: #2ecc71;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* ---- Retro groovy rainbow arcs ---- */

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at -10% 50%,
      transparent 500px,
      var(--arc-3) 500px, var(--arc-3) 560px,
      transparent 560px,
      transparent 590px,
      var(--arc-2) 590px, var(--arc-2) 650px,
      transparent 650px,
      transparent 680px,
      var(--arc-1) 680px, var(--arc-1) 740px,
      transparent 740px
    ),
    radial-gradient(circle at 110% 85%,
      transparent 400px,
      var(--arc-1) 400px, var(--arc-1) 460px,
      transparent 460px,
      transparent 490px,
      var(--arc-2) 490px, var(--arc-2) 550px,
      transparent 550px,
      transparent 580px,
      var(--arc-3) 580px, var(--arc-3) 640px,
      transparent 640px
    );
  opacity: 0.18;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ---- Navigation ---- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-wordmark {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  opacity: 1;
}

/* ---- Sections ---- */

section {
  padding: 8rem 2rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--text);
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--arc-1), var(--arc-2), var(--arc-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.9rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}

.hero-cta:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}

/* ---- Divider — rainbow stripe ---- */

.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--arc-1), var(--arc-2), var(--arc-3));
  border: none;
  margin: 0;
}

/* ---- Mission ---- */

.mission {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.mission h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 3rem;
}

.mission-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 680px;
}

.mission-text p:last-child {
  margin-bottom: 0;
}

.mission-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ---- Product (VanChat) ---- */

.product {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.product-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

.product-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.principle {
  background: var(--bg-raised);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.principle h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.principle p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.product-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.25s;
}

.product-cta:hover {
  background: var(--accent-hover);
  opacity: 1;
}

/* ---- Founders ---- */

.team {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.team h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 3rem;
}

.team-member {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--arc-3), var(--arc-2), var(--arc-1));
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.team-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-info .role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.team-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 0.75rem;
}

.team-info a {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---- Footer ---- */

footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  section {
    padding: 5rem 1.5rem;
  }

  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .team-member {
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  section {
    padding: 4rem 1.25rem;
  }
}
