/* Global Styles */
:root {
  --primary-color: #a28fef;
  --primary-dim: rgba(104, 67, 255, 0.15);
  --text-color: #e4e4e4;
  --text-light: #999;
  --text-accent: #fff;
  --background: #111;
  --background-alt: #1a1a1a;
  --border-color: #333;
  --spacing: 2rem;
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background);
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-accent);
}

h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.75rem;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}

h4 {
  font-size: 1.55rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

p.lead {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.highlight {
  color: var(--primary-color);
  font-weight: 500;
}

.bold {
  font-weight: 500;
  color: var(--text-accent);
}

/* Layout */
header {
  padding: 4rem 0 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

main {
  padding-bottom: 4rem;
}

section {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
  border-bottom: none;
}

.hero {
  margin-bottom: 4rem;
  text-align: center;
}

/* App List */
.app-list {
  margin-top: 2rem;
}

.app-item {
  margin-bottom: 3rem;
}

.app-item h4 {
  position: relative;
  padding-bottom: 0.5rem;
}

.app-item h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 2px;
  background-color: var(--primary-color);
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 400;
}

a:hover {
  opacity: 0.8;
  color: #8d73ff;
}

.cta-link {
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-top: 1rem;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 0.25rem;
}

.cta-link:hover {
  opacity: 0.7;
  border-bottom-color: transparent;
}

.join-us {
  text-align: center;
  margin-top: 5rem;
  padding: 2rem;
  background-color: var(--primary-dim);
  border-radius: 4px;
}

footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 300;
}

ul {
  margin-left: 20px;
  font-size: 1.5rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 600px) {
  :root {
    --spacing: 1.25rem;
  }

  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.1rem;
  }

  p.lead {
    font-size: 1.2rem;
  }
}
