:root {
  --background: 0 0% 4%;
  --foreground: 210 40% 98%;
  --card: 210 40% 5%;
  --card-foreground: 210 40% 98%;
  --primary: 142 60% 30%;
  --primary-foreground: 210 40% 98%;
  --secondary: 155 25% 13%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 65%;
  --accent: 152 45% 20%;
  --accent-foreground: 210 40% 98%;
  --border: 214 32% 15%;
  --input: 214 32% 15%;
  --ring: 142 60% 30%;
  --radius: 0.375rem;

  --font-sans:
    "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Spectral", Georgia, serif;
  --font-mono: "JetBrains Mono", "Monaco", "Menlo", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  background-image:
    radial-gradient(at 27% 37%, hsla(158, 70%, 12%, 0.3) 0px, transparent 50%),
    radial-gradient(at 97% 21%, hsla(158, 70%, 12%, 0.2) 0px, transparent 50%),
    radial-gradient(at 52% 99%, hsla(158, 70%, 12%, 0.3) 0px, transparent 50%),
    radial-gradient(at 10% 29%, hsla(158, 70%, 12%, 0.2) 0px, transparent 50%),
    radial-gradient(at 97% 96%, hsla(158, 70%, 12%, 0.2) 0px, transparent 50%),
    radial-gradient(at 33% 50%, hsla(158, 70%, 12%, 0.4) 0px, transparent 50%),
    radial-gradient(at 79% 53%, hsla(158, 70%, 12%, 0.2) 0px, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-feature-settings:
    "rlig" 1,
    "calt" 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  padding: 1.25rem 0;
  transition: all 0.3s;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: hsl(var(--foreground));
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
  padding: 0.5rem;
  border-radius: 9999px;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.nav-link--github {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.nav-link--github:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  opacity: 0.9;
}

main {
  flex: 1;
  padding: 2.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  main {
    padding: 2.5rem 1.5rem;
  }
}

.hero {
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1.2;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 0.1rem;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.btn--secondary:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.section {
  padding: 4rem 0;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.section-header::before {
  content: "";
  height: 1px;
  width: 2rem;
  background: hsl(var(--primary));
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: hsl(var(--foreground));
  letter-spacing: -0.01em;
}

.section-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.warning-box {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.goals-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .goals-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.goal-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: 0.1rem;
  transition: all 0.2s;
}

.goal-item:hover {
  border-color: hsl(var(--primary));
}

.goal-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.goal-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.goal-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

.setup-box {
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: 0.1rem;
  padding: 2rem;
  margin-top: 1.5rem;
}

.setup-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.setup-text {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.setup-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.setup-list {
  list-style: none;
  padding-left: 0;
}

.setup-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: hsl(var(--muted-foreground));
}

.setup-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
  font-weight: 600;
}

.code-block {
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0;
  margin: 1rem 0;
  overflow: hidden;
  position: relative;
}

.code-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: hsl(var(--primary));
  z-index: 1;
}

.code-block pre {
  margin: 0;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
  overflow-x: auto;
  display: block;
  white-space: pre;
  tab-size: 2;
}

.code-block code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  background: transparent;
  padding: 0;
  border: none;
  display: block;
  white-space: pre;
  word-wrap: normal;
  overflow-wrap: normal;
}

code {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.2em 0.4em;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: hsl(142, 100%, 75%);
  border: 1px solid hsl(var(--border));
  font-weight: 500;
}

.contribute-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contribute-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contribute-card {
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: 0.1rem;
  padding: 1.5rem;
  transition: all 0.2s;
  overflow: hidden;
}

.contribute-card:hover {
  border-color: hsl(var(--primary));
}

.contribute-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.contribute-card-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

.link {
  color: hsl(142, 100%, 75%);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 1px dotted hsl(142, 100%, 75%);
}

.link:hover {
  color: hsl(var(--primary));
  border-bottom-color: hsl(var(--primary));
}

.footer {
  border-top: 1px solid hsl(var(--border));
  background: #000000;
  margin-top: 3rem;
  padding: 4rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.footer-text {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.footer .link {
  color: hsl(var(--primary));
  border-bottom: none;
}

.footer .link:hover {
  color: hsl(var(--primary));
  opacity: 0.8;
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .nav {
    gap: 0.5rem;
  }
}
