/*
 * Skill page ("/skill/"). Ported from skill.astro plus the Tailwind
 * utility classes and single scoped <style> block of SkillsContent.astro.
 *
 * Convention: the component has a `data-component="skill-content"` root
 * (matching shared.css); every selector below is rooted under it. Unlike
 * Features/How-It-Works, SkillsContent.astro was always one big `<section>`
 * with many `<h2>` sub-blocks rather than several separate components, so
 * this file mirrors that with one wrapper class per sub-block instead of a
 * `data-component` per sub-block.
 *
 * `.fade-in-on-scroll`/`@keyframes fade-in-up` moved to shared.css (Phase 3)
 * -- see features.css's comment. This page kept its own longer 0.8s/2rem
 * variant (matching the Astro source's SkillsContent.astro exactly, which
 * differed from ComparisonTable/FeatureGrid's 0.6s/1rem), so it overrides
 * shared.css's defaults below, rooted under this page's own component.
 *
 * The Astro source's `gradient-text` class on the hero `<h1>` is dropped
 * here, same precedent as FeatureGrid/FAQ/ComparisonTable/HowItWorks's
 * ported headings: only `hero.gradient-text` (home.css) carries the actual
 * gradient-clip effect.
 *
 * `skill-code-pill` mirrors shared.css's `:where(p, li, td, dd, figcaption)
 * > code` GFM pill exactly, but is applied as an explicit class rather than
 * relied upon implicitly: `skill-code-accent` (the two Git-ignore `<code>`
 * chips nested inside a `<span>` inside a bullet `<li>`, not a direct
 * child) intentionally does NOT get the pill treatment, matching
 * production -- the equivalent global rule in Layout.astro's source is
 * also a direct-child selector, so those two chips render as plain
 * accent-colored text with no pill in production too.
 */

[data-component="skill-content"] .fade-in-on-scroll {
  transform: translateY(2rem);
}

[data-component="skill-content"] .fade-in-on-scroll.is-visible {
  animation-duration: 0.8s;
}

@media (prefers-reduced-motion: reduce) {
  /* Both overrides above are more specific than shared.css's reduced-motion
     rule (an attribute selector beats a bare class), so this page needs its
     own copy to actually win under that media query. */
  [data-component="skill-content"] .fade-in-on-scroll {
    transform: none;
  }
}

/* ---------------------------------------------------------------------- */
/* Section shell                                                         */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] {
  position: relative;
  padding: 6rem 1rem;
  background: linear-gradient(to bottom, var(--color-background), rgba(23, 23, 23, 0.05), var(--color-background));
}

@media (min-width: 640px) {
  [data-component="skill-content"] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  [data-component="skill-content"] {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

[data-component="skill-content"] .skill-inner {
  max-width: 72rem;
  margin: 0 auto;
}

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

[data-component="skill-content"] .skill-hero {
  text-align: center;
  margin-bottom: 5rem;
}

[data-component="skill-content"] .skill-hero-title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  [data-component="skill-content"] .skill-hero-title {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1024px) {
  [data-component="skill-content"] .skill-hero-title {
    font-size: 3.75rem;
    line-height: 1;
  }
}

[data-component="skill-content"] .skill-hero-lede {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--color-muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* ---------------------------------------------------------------------- */
/* Install command + mini feature cards                                  */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-install {
  margin-bottom: 6rem;
}

[data-component="skill-content"] .skill-install-card {
  max-width: 36rem;
  margin: 0 auto;
  background: rgba(23, 23, 23, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 1rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  overflow: hidden;
}

[data-component="skill-content"] .skill-install-header {
  background: rgba(23, 23, 23, 0.5);
  border-bottom: 1px solid rgba(38, 38, 38, 0.5);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-component="skill-content"] .skill-install-header-label {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.7);
}

[data-component="skill-content"] .skill-link {
  color: var(--color-accent);
  text-decoration: none;
}

[data-component="skill-content"] .skill-link:hover {
  text-decoration: underline;
}

[data-component="skill-content"] .skill-install-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
}

[data-component="skill-content"] .skill-install-cmd {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-foreground);
  overflow-x: auto;
  white-space: nowrap;
}

[data-component="skill-content"] .skill-copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(124, 58, 237, 0.2);
  color: var(--color-accent);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid rgba(124, 58, 237, 0.2);
  cursor: pointer;
}

[data-component="skill-content"] .skill-copy-btn:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: rgba(124, 58, 237, 0.4);
}

[data-component="skill-content"] .skill-copy-btn .icon {
  width: 1rem;
  height: 1rem;
}

[data-component="skill-content"] .skill-mini-grid {
  max-width: 48rem;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  [data-component="skill-content"] .skill-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

[data-component="skill-content"] .skill-mini-card {
  background: rgba(23, 23, 23, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 1rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  padding: 1.25rem;
}

[data-component="skill-content"] .skill-mini-card-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

[data-component="skill-content"] .skill-mini-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-component="skill-content"] .skill-mini-icon .icon {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
}

[data-component="skill-content"] .skill-mini-card-title {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin: 0 0 0.25rem;
}

[data-component="skill-content"] .skill-mini-card-desc {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-muted-foreground);
  margin: 0;
}

/* ---------------------------------------------------------------------- */
/* Shared section title/lede (Routing Matrix, Flow Cheat Sheet, What It   */
/* Is, When To Use, Workflow Patterns, Safety Defaults, Quick Start)      */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-section-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin: 0 0 1rem;
}

@media (min-width: 640px) {
  [data-component="skill-content"] .skill-section-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

[data-component="skill-content"] .skill-section-lede {
  color: var(--color-muted-foreground);
  max-width: 42rem;
  margin: 0 0 2rem;
}

[data-component="skill-content"] .skill-routing,
[data-component="skill-content"] .skill-cheatsheet,
[data-component="skill-content"] .skill-playbook,
[data-component="skill-content"] .skill-what-it-is,
[data-component="skill-content"] .skill-git-sync,
[data-component="skill-content"] .skill-when-to-use,
[data-component="skill-content"] .skill-workflows,
[data-component="skill-content"] .skill-safety {
  margin-bottom: 6rem;
}

/* ---------------------------------------------------------------------- */
/* Routing Matrix                                                         */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-routing-card {
  background: rgba(23, 23, 23, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 1rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

[data-component="skill-content"] .skill-routing-scroll {
  overflow-x: auto;
}

[data-component="skill-content"] .skill-routing-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}

[data-component="skill-content"] .skill-routing-head-row {
  border-bottom: 1px solid rgba(38, 38, 38, 0.5);
  background: rgba(23, 23, 23, 0.5);
}

[data-component="skill-content"] .skill-routing-head-cell {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--color-foreground);
}

[data-component="skill-content"] .skill-routing-head-cell--center {
  text-align: center;
}

[data-component="skill-content"] .skill-routing-head-cell--notes {
  display: none;
}

@media (min-width: 640px) {
  [data-component="skill-content"] .skill-routing-head-cell--notes {
    display: table-cell;
  }
}

[data-component="skill-content"] .skill-routing-row {
  border-bottom: 1px solid rgba(38, 38, 38, 0.3);
}

[data-component="skill-content"] .skill-routing-row:nth-child(odd) {
  background: rgba(23, 23, 23, 0.1);
}

[data-component="skill-content"] .skill-routing-cell {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-foreground);
}

[data-component="skill-content"] .skill-routing-cell--operation {
  font-weight: 500;
}

[data-component="skill-content"] .skill-routing-cell--center {
  text-align: center;
}

[data-component="skill-content"] .skill-routing-cell--notes {
  color: var(--color-muted-foreground);
  display: none;
}

@media (min-width: 640px) {
  [data-component="skill-content"] .skill-routing-cell--notes {
    display: table-cell;
  }
}

[data-component="skill-content"] .skill-routing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(124, 58, 237, 0.2);
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
}

[data-component="skill-content"] .skill-routing-dash {
  color: rgba(163, 163, 163, 0.4);
}

/* ---------------------------------------------------------------------- */
/* Flow Cheat Sheet                                                       */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-cheatsheet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  [data-component="skill-content"] .skill-cheatsheet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

[data-component="skill-content"] .skill-numbered-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

[data-component="skill-content"] .skill-numbered-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

[data-component="skill-content"] .skill-numbered-index {
  color: rgba(124, 58, 237, 0.7);
  margin-top: 0.125rem;
}

[data-component="skill-content"] .skill-numbered-text {
  color: var(--color-muted-foreground);
}

[data-component="skill-content"] .skill-strong {
  color: var(--color-foreground);
}

/* ---------------------------------------------------------------------- */
/* Cards (Flow Cheat Sheet, What It Is, Workflow Patterns, Safety         */
/* Defaults)                                                              */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-card {
  background: rgba(23, 23, 23, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 1rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  padding: 2rem;
}

[data-component="skill-content"] .skill-card--compact {
  padding: 1.5rem;
}

[data-component="skill-content"] .skill-card-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin: 0 0 1rem;
}

[data-component="skill-content"] .skill-card-title--sm {
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin: 0 0 0.5rem;
}

[data-component="skill-content"] .skill-card-body {
  color: var(--color-muted-foreground);
  margin: 0 0 1rem;
}

[data-component="skill-content"] .skill-card-body--sm {
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0;
}

[data-component="skill-content"] .skill-triple-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  [data-component="skill-content"] .skill-triple-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

[data-component="skill-content"] .skill-double-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  [data-component="skill-content"] .skill-double-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Safety Defaults uses a tighter gap than the other double-column grids. */
[data-component="skill-content"] .skill-safety .skill-double-grid {
  gap: 1.5rem;
}

/* ---------------------------------------------------------------------- */
/* Collapsible details (Expanded Flow Playbook, Git-Based Vault Sync)    */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-collapsible {
  background: rgba(23, 23, 23, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 1rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  overflow: hidden;
}

[data-component="skill-content"] .skill-collapsible-summary {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: background-color 0.2s ease;
}

[data-component="skill-content"] .skill-collapsible-summary::-webkit-details-marker {
  display: none;
}

[data-component="skill-content"] .skill-collapsible-summary::marker {
  content: "";
}

[data-component="skill-content"] .skill-collapsible-summary:hover {
  background: rgba(23, 23, 23, 0.4);
}

[data-component="skill-content"] .skill-collapsible-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin: 0;
}

[data-component="skill-content"] .skill-collapsible-subtitle {
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0.25rem 0 0;
}

[data-component="skill-content"] .skill-collapsible-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-muted-foreground);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

[data-component="skill-content"] .skill-collapsible[open] .skill-collapsible-chevron {
  transform: rotate(180deg);
}

[data-component="skill-content"] .skill-collapsible-body {
  padding: 0 2rem 2rem;
  border-top: 1px solid rgba(38, 38, 38, 0.3);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

[data-component="skill-content"] .skill-playbook-heading {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin: 0 0 0.75rem;
}

[data-component="skill-content"] .skill-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-muted-foreground);
  list-style: none;
  margin: 0;
  padding: 0;
}

[data-component="skill-content"] .skill-bullet-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

[data-component="skill-content"] .skill-bullet-mark {
  color: rgba(124, 58, 237, 0.6);
  margin-top: 0.125rem;
}

[data-component="skill-content"] .skill-decimal-list {
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--color-muted-foreground);
  padding-left: 1.25rem;
  margin: 0;
}

[data-component="skill-content"] .skill-decimal-list li + li {
  margin-top: 0.5rem;
}

[data-component="skill-content"] .skill-playbook-note {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-muted-foreground);
  margin: 0.75rem 0 0;
}

[data-component="skill-content"] .skill-code-panel {
  background: rgba(23, 23, 23, 0.5);
  border-radius: 0.5rem;
  border: 1px solid rgba(38, 38, 38, 0.3);
  padding: 1rem;
}

[data-component="skill-content"] .skill-code-panel--mb {
  margin-bottom: 1rem;
}

[data-component="skill-content"] .skill-code-panel--mt {
  margin-top: 1rem;
  background: rgba(23, 23, 23, 0.3);
  border-color: rgba(38, 38, 38, 0.5);
}

[data-component="skill-content"] .skill-code-panel-label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-muted-foreground);
  margin: 0 0 0.5rem;
  font-weight: 500;
}

[data-component="skill-content"] .skill-pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-foreground);
  white-space: pre;
  overflow-x: auto;
  scrollbar-width: none;
}

[data-component="skill-content"] .skill-pre:hover {
  scrollbar-width: thin;
}

[data-component="skill-content"] .skill-pre::-webkit-scrollbar {
  height: 8px;
  display: none;
}

[data-component="skill-content"] .skill-pre:hover::-webkit-scrollbar {
  display: block;
}

[data-component="skill-content"] .skill-pre::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

[data-component="skill-content"] .skill-pre::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(255, 255, 255, 0.1));
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  [data-component="skill-content"] .skill-pre {
    font-size: 0.75rem;
  }
}

[data-component="skill-content"] .skill-conversation {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[data-component="skill-content"] .skill-conversation-turn {
  background: rgba(23, 23, 23, 0.4);
  border-radius: 0.75rem;
  border: 1px solid rgba(38, 38, 38, 0.3);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

[data-component="skill-content"] .skill-conversation-role {
  color: var(--color-accent);
  font-weight: 500;
}

[data-component="skill-content"] .skill-conversation-text {
  color: var(--color-muted-foreground);
  margin-left: 0.5rem;
}

/* ---------------------------------------------------------------------- */
/* Code chips (git init / .gitignore / move_note / obsidian move)        */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-code-pill {
  padding: 0.14em 0.42em;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.45rem;
  background: rgba(148, 163, 184, 0.1);
  color: rgba(226, 232, 240, 0.96);
  font-family: var(--font-mono);
  font-size: 0.88em;
}

[data-component="skill-content"] .skill-code-pill--accent {
  color: var(--color-accent);
}

[data-component="skill-content"] .skill-code-accent {
  color: var(--color-accent);
  font-family: var(--font-mono);
}

/* ---------------------------------------------------------------------- */
/* Git-Based Vault Sync grid                                              */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-git-sync-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  [data-component="skill-content"] .skill-git-sync-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

[data-component="skill-content"] .skill-git-sync-text {
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0 0 1rem;
}

/* ---------------------------------------------------------------------- */
/* When To Use                                                            */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-subheading {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin: 0 0 1rem;
}

[data-component="skill-content"] .skill-trigger-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

[data-component="skill-content"] .skill-trigger-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(23, 23, 23, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 0.75rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  padding: 0.75rem 1rem;
}

[data-component="skill-content"] .skill-trigger-prompt {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.5rem;
}

[data-component="skill-content"] .skill-trigger-prompt--muted {
  color: rgba(163, 163, 163, 0.6);
}

[data-component="skill-content"] .skill-trigger-phrase {
  color: var(--color-foreground);
  font-size: 1rem;
  line-height: 1.5rem;
}

[data-component="skill-content"] .skill-trigger-phrase--muted {
  color: var(--color-muted-foreground);
}

[data-component="skill-content"] .skill-trigger-badge {
  margin-left: auto;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  color: var(--color-muted-foreground);
}

/* ---------------------------------------------------------------------- */
/* Workflow Patterns                                                      */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-workflow-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

[data-component="skill-content"] .skill-workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

[data-component="skill-content"] .skill-workflow-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

[data-component="skill-content"] .skill-workflow-step-index {
  color: rgba(124, 58, 237, 0.6);
  font-family: var(--font-mono);
}

[data-component="skill-content"] .skill-workflow-step-text {
  color: var(--color-muted-foreground);
  font-family: var(--font-mono);
}

/* ---------------------------------------------------------------------- */
/* Quick Start                                                            */
/* ---------------------------------------------------------------------- */

[data-component="skill-content"] .skill-code-card {
  background: rgba(23, 23, 23, 0.3);
  backdrop-filter: blur(24px);
  border-radius: 1rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  overflow: hidden;
}

[data-component="skill-content"] .skill-code-card-header {
  background: rgba(23, 23, 23, 0.5);
  border-bottom: 1px solid rgba(38, 38, 38, 0.5);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
}

[data-component="skill-content"] .skill-code-card-body {
  padding: 1.5rem;
}

[data-component="skill-content"] .skill-cta {
  text-align: center;
  margin-top: 4rem;
}

[data-component="skill-content"] .skill-cta-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: linear-gradient(to right, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.1), rgba(34, 197, 94, 0.1));
  border-radius: 1.5rem;
  border: 1px solid rgba(38, 38, 38, 0.5);
  backdrop-filter: blur(24px);
  text-align: left;
}

@media (max-width: 640px) {
  [data-component="skill-content"] .skill-cta-card {
    flex-direction: column;
    text-align: center;
  }
}

[data-component="skill-content"] .skill-cta-text {
  text-align: left;
}

[data-component="skill-content"] .skill-cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-foreground);
  margin: 0 0 0.5rem;
}

[data-component="skill-content"] .skill-cta-description {
  color: var(--color-muted-foreground);
  margin: 0 0 1rem;
}

[data-component="skill-content"] .skill-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

[data-component="skill-content"] .skill-cta-link:hover {
  background: rgba(124, 58, 237, 0.9);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
  transform: translateY(-0.25rem) scale(1.05);
}

[data-component="skill-content"] .skill-cta-link .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #ffffff;
}

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

@media (max-width: 640px) {
  [data-component="skill-content"] .skill-cta-title {
    font-size: 1.5rem;
  }

  [data-component="skill-content"] .skill-install-header {
    padding: 0.5rem 0.75rem;
  }

  [data-component="skill-content"] .skill-install-row {
    padding: 0.75rem 1rem;
  }
}
