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

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #06b6d4;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #334155;
  --accent: #7dd3fc;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(14, 165, 233, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 50%
    );
  animation: bgPulse 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes bgPulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.container {
  display: flex;
  position: relative;
  z-index: 1;
}

.sidebar {
  width: min(25vw, 250px);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 2rem 0;
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.logo {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.logo h1 {
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.logo p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-section {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.nav-section h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.nav-link {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.nav-link:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: translateX(4px);
}

.nav-link:hover::before {
  transform: scaleY(1);
}

.nav-link.active {
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary);
  font-weight: 500;
}

.nav-link.active::before {
  transform: scaleY(1);
}

.main-content {
  margin-left: min(25vw, 250px);
  padding: 3rem;
  max-width: 85vw;
  width: 100%;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.content-section {
  display: none;
  animation: contentSlideIn 0.5s ease-out;
}

.content-section.active {
  display: block;
}

@keyframes contentSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  padding: 3rem 0;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  animation: fadeInUp 1.2s ease-out;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
  border: 2px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
  color: var(--text);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
}

code {
  background: var(--bg-card);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  color: var(--accent);
}

pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  position: relative;
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

pre code {
  background: none;
  padding: 0;
  color: var(--text);
  display: block;
  line-height: 1.6;
}

.note {
  background: rgba(125, 211, 252, 0.1);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

.note strong {
  color: var(--accent);
}

ul,
ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  position: relative;
}

ul li::marker {
  color: var(--primary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

.content-img {
  width: 100%;
  height: auto;
}

.content-img2 {
  width: 46%;
  height: auto;
  margin: 0 1.5%;
}

#how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text);
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
}

#how-it-works h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.section-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header .tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.philosophy-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 3rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
}

.philosophy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.philosophy-content {
  display: grid;
  gap: 2rem;
}

.insight-block {
  background: rgba(14, 165, 233, 0.05);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.insight-block:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: translateX(8px);
}

.insight-block h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.insight-block p {
  color: var(--text-muted);
  line-height: 1.8;
}

.diagram-section {
  margin: 4rem 0;
}

.workflow-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 3rem;
  position: relative;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.workflow-step {
  background: var(--bg-dark);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  animation: slideInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.workflow-step:nth-child(1) {
  animation-delay: 0.1s;
}

.workflow-step:nth-child(2) {
  animation-delay: 0.3s;
}

.workflow-step:nth-child(3) {
  animation-delay: 0.5s;
}

.workflow-step:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.workflow-step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

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

.workflow-step .tech-label {
  display: inline-block;
  background: rgba(14, 165, 233, 0.2);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  margin-top: 1rem;
  font-weight: 600;
}

.arrow-connector {
  position: absolute;
  top: 50%;
  right: -1.9rem;
  transform: translateY(-50%);
  font-size: 2rem;
  color: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.workflow-step:last-child .arrow-connector {
  display: none;
}

.architecture-section {
  margin: 4rem 0;
}

.architecture-diagram {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.arch-diagram-img {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 0.5rem;
  border: 2px solid var(--border);
}

.diagram-caption {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.lifecycle-explanation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 3rem;
  margin-bottom: 2rem;
}

.lifecycle-explanation h3 {
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.intro-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.lifecycle-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.lifecycle-step {
  background: rgba(14, 165, 233, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.lifecycle-step:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: translateX(8px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.step-num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.lifecycle-step h4 {
  font-size: 1.25rem;
  color: var(--text);
  margin: 0;
}

.lifecycle-step p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

.additional-hooks {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.additional-hooks h4 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hook-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.hook-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.hook-card strong {
  display: block;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.hook-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.key-insight {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.1),
    rgba(6, 182, 212, 0.1)
  );
  border: 2px solid var(--primary);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
}

.key-insight h4 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.key-insight p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.arch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.arch-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.arch-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
  transform: translateY(-4px);
}

.arch-card:hover::before {
  transform: scaleX(1);
}

.arch-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

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

.highlight-box {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.1),
    rgba(6, 182, 212, 0.1)
  );
  border: 2px solid var(--primary);
  border-radius: 1rem;
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.highlight-box h3 {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.highlight-box p {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .arrow-connector {
    display: none;
  }

  .hooks-grid {
    grid-template-columns: 1fr;
  }

  .lifecycle-explanation {
    padding: 2rem 1.5rem;
  }

  .section-header h1 {
    font-size: 2rem;
  }

  .architecture-section h2 {
    font-size: 1.75rem;
  }

  .architecture-grid {
    grid-template-columns: 1fr;
  }
}

.collapsible-section {
  margin: 1.5rem 0;
  border: 1px solid var(--border-color, #333);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg, #1a1a1a);
}

.collapsible-summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.2s ease;
  font-size: 1rem;
  color: var(--text-color, #e0e0e0);
}

.collapsible-summary:hover {
  background: var(--card-hover-bg, #252525);
}

.collapsible-summary::-webkit-details-marker {
  display: none;
}

.collapsible-summary::before {
  content: "▶";
  display: inline-block;
  margin-right: 0.75rem;
  transition: transform 0.3s ease;
  color: var(--accent-color, #4caf50);
  font-size: 0.875rem;
}

details[open] .collapsible-summary::before {
  transform: rotate(90deg);
}

.collapsible-content {
  border-top: 1px solid var(--border-color, #333);
}

.collapsible-content pre {
  margin: 0;
  border-radius: 0;
  border: none;
}

@media (prefers-color-scheme: dark) {
  .collapsible-section {
    background: #1a1a1a;
  }

  .collapsible-summary:hover {
    background: #252525;
  }
}
.wip-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  min-height: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.wip-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: wip-pulse 2s ease-in-out infinite;
}

.wip-container h2 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 2.5rem;
}

.wip-container h2::after {
  display: none;
}

.wip-message {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
}

@keyframes wip-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.example-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.example-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.example-category:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.example-category:hover::before {
  transform: scaleX(1);
}

.example-category h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1.5rem;
}

.category-description {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.example-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.example-list li {
  margin-bottom: 0.75rem;
}

.example-list li:last-child {
  margin-bottom: 0;
}

.example-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--bg-dark);
  border-left: 3px solid var(--primary);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.example-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transition: width 0.3s ease;
}

.example-link:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--secondary);
  transform: translateX(4px);
}

.example-link:hover::before {
  width: 100%;
  opacity: 0.1;
}

.example-name {
  color: var(--accent);
  font-weight: 600;
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
}

.example-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.examples-footer {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.examples-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.examples-footer p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .examples-grid {
    grid-template-columns: 1fr;
  }

  .example-category {
    padding: 1.5rem;
  }

  .examples-footer {
    padding: 2rem 1.5rem;
  }
}

.contributing-intro {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contributing-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contributing-intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.8;
}

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.setup-step {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.setup-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.setup-step:hover {
  border-color: var(--primary);
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.setup-step:hover::before {
  transform: scaleY(1);
}

.setup-step .step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.step-content {
  flex: 1;
}

.step-content h4 {
  color: var(--text);
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
}

.step-content pre {
  margin: 0.75rem 0;
}

.note-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0 0;
  font-style: italic;
}

.style-guidelines ul {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  margin: 1rem 0;
}

.style-guidelines li {
  color: var(--text-muted);
  line-height: 2;
}

.style-guidelines strong {
  color: var(--accent);
}

.commit-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.commit-type-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.commit-type-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.type-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  font-family: "Courier New", monospace;
}

.commit-type-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.pr-steps {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.pr-step {
  background: var(--bg-card);
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.pr-step:hover {
  background: rgba(14, 165, 233, 0.05);
  transform: translateX(8px);
}

.pr-step h4 {
  color: var(--text);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.pr-step p {
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.pr-step ul {
  margin: 0.75rem 0 0 0;
  padding-left: 1.5rem;
}

.pr-step li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pr-step pre {
  margin: 1rem 0 0 0;
}

.pr-checklist {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.1),
    rgba(6, 182, 212, 0.1)
  );
  border: 2px solid var(--primary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.pr-checklist h4 {
  color: var(--accent);
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
}

.pr-checklist ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.pr-checklist li {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.contribution-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.contribution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contribution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.contribution-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
}

.contribution-card:hover::before {
  transform: scaleY(1);
}

.contribution-card h4 {
  color: var(--text);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.contribution-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.doc-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.doc-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.doc-card span {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.doc-card h4 {
  color: var(--text);
  margin: 0;
  font-size: 1rem;
}

.community-guidelines {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 2rem 0;
}

.community-guidelines ul {
  margin: 0;
  padding-left: 1.5rem;
}

.community-guidelines li {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 2;
}

.contributing-footer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contributing-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contributing-footer p {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .setup-step {
    flex-direction: column;
    gap: 1rem;
  }

  .setup-step .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .commit-types {
    grid-template-columns: 1fr;
  }

  .contribution-types {
    grid-template-columns: 1fr;
  }

  .doc-areas {
    grid-template-columns: repeat(2, 1fr);
  }
}
