/* ============================================================
   BoobsOS — Landing page stylesheet
   Dark-first, system-font fallback, brand gradient
   ============================================================ */

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

:root {
  /* Brand colours */
  --blue:    #2563EB;
  --cyan:    #2090C0;
  --violet:  #402090;
  --hex-mid: #314B98;

  /* Brand gradient */
  --gradient: linear-gradient(135deg, #2090C0 0%, #2563EB 45%, #402090 100%);

  /* Dark theme surfaces */
  --bg:          hsl(222 84% 4.9%);      /* #09090F */
  --bg-alt:      hsl(222 50% 8%);
  --surface:     hsl(217 33% 13%);
  --surface-2:   hsl(217 33% 17%);
  --border:      hsl(217 33% 20%);
  --text:        hsl(210 40% 98%);
  --text-muted:  hsl(215 20% 65%);
  --text-faint:  hsl(215 15% 45%);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Fira Code', 'Cascadia Code', monospace;

  /* Spacing / sizing */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --container:  1100px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--surface-2);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: hsl(197 71% 70%);
}

a {
  color: hsl(217 91% 70%);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--text); }

ul { list-style: none; }

img { display: block; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsl(222 84% 4.9% / 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.navbar-brand:hover { color: var(--text); }

.navbar-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.navbar-name {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.navbar-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.navbar-links a:hover {
  color: var(--text);
  background: var(--surface);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px hsl(221 83% 53% / 0.35);
}
.btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 6px 28px hsl(221 83% 53% / 0.5);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--text);
  background: hsl(221 83% 53% / 0.08);
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
}
.btn-sm:hover { opacity: 0.88; color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
}

/* Radial gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 10%, hsl(221 83% 53% / 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 45% at 80% 80%, hsl(258 64% 34% / 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 70%, hsl(197 71% 44% / 0.10) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle hex grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(217 33% 17% / 0.25) 1px, transparent 1px),
    linear-gradient(90deg, hsl(217 33% 17% / 0.25) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  background: hsl(197 71% 44% / 0.15);
  color: hsl(197 71% 70%);
  border: 1px solid hsl(197 71% 44% / 0.4);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 32px hsl(221 83% 53% / 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.hero-title {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.05;
}

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.hero-sub strong { color: var(--text); }

.hero-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.35;
}
.hero-scroll span {
  display: block;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text), transparent);
  margin: auto;
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding: 5rem 0;
}
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(197 71% 60%);
  margin-bottom: 0.625rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================================
   CARDS — Why BoobsOS
   ============================================================ */
.cards-grid {
  display: grid;
  gap: 1.25rem;
}
.cards-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.cards-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
  border-color: hsl(221 83% 53% / 0.5);
  transform: translateY(-2px);
}
.card--glow:hover {
  box-shadow: 0 4px 32px hsl(221 83% 53% / 0.12);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: hsl(221 83% 53% / 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: hsl(217 91% 70%);
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   TOOLBOX — What's included
   ============================================================ */
.toolbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.tool-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.375rem;
  transition: border-color 0.2s;
}
.tool-category:hover {
  border-color: hsl(197 71% 44% / 0.5);
}

.tool-category-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}
.tool-category-header svg {
  width: 18px;
  height: 18px;
  color: hsl(197 71% 60%);
  flex-shrink: 0;
}
.tool-category-header h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.tool-category ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.tool-category li {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding: 0.1rem 0;
  border-bottom: 1px solid hsl(217 33% 20% / 0.5);
}
.tool-category li:last-child { border-bottom: none; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.flow-step:hover { background: var(--surface-2); }

.flow-step--highlight {
  background: hsl(221 83% 53% / 0.12);
  border: 1px solid hsl(221 83% 53% / 0.3);
}

.flow-step-icon {
  width: 42px;
  height: 42px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(197 71% 60%);
}
.flow-step--highlight .flow-step-icon {
  background: hsl(221 83% 53% / 0.2);
  color: hsl(217 91% 75%);
}
.flow-step-icon svg { width: 18px; height: 18px; }

.flow-step-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.flow-step-text strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
}
.flow-step-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.flow-arrow {
  color: var(--text-faint);
  font-size: 1.25rem;
  font-weight: 300;
  padding: 0 0.25rem;
}

.how-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}

.how-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: hsl(217 91% 72%);
}
.how-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   INSTALL
   ============================================================ */
.install-paths {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.install-path {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
}

.install-path-header {
  display: flex;
  align-items: flex-start;
  gap: 1.125rem;
  margin-bottom: 1.25rem;
}

.install-path-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  flex-shrink: 0;
}

.install-path-header h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.install-path-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Terminal block */
.terminal {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  background: hsl(217 33% 10%);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.terminal-dot--red    { background: #FF5F57; }
.terminal-dot--yellow { background: #FEBC2E; }
.terminal-dot--green  { background: #28C840; }

.terminal-title {
  font-size: 0.75rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  margin-left: auto;
}

.terminal-body {
  background: hsl(222 50% 6%);
  padding: 1.25rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.terminal-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.terminal-line code {
  background: none;
  padding: 0;
  color: hsl(210 40% 92%);
  font-size: 0.9rem;
  word-break: break-all;
}
.terminal-prompt {
  color: hsl(142 71% 55%);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  user-select: none;
  flex-shrink: 0;
}
.terminal-comment {
  color: var(--text-faint);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1rem;
}

.install-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: hsl(258 64% 34% / 0.25);
  border: 1px solid hsl(258 64% 34% / 0.5);
  color: hsl(258 64% 80%);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.install-note {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  background: hsl(197 71% 44% / 0.08);
  border: 1px solid hsl(197 71% 44% / 0.25);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.install-note svg { color: hsl(197 71% 60%); flex-shrink: 0; }
.install-note code { background: hsl(197 71% 44% / 0.15); color: hsl(197 71% 70%); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: hsl(221 83% 53% / 0.4); }
.faq-item[open] { border-color: hsl(221 83% 53% / 0.5); }

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-chevron {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s;
}
details[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.375rem 1.25rem;
  border-top: 1px solid var(--border);
}
.faq-answer p, .faq-answer ul {
  padding-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer ul {
  list-style: disc;
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.faq-answer li strong { color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: hsl(222 60% 4%);
  border-top: 1px solid var(--border);
  padding: 3rem 0 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-sub {
  font-size: 0.875rem;
  color: var(--text-faint);
}
.footer-sub a { color: var(--text-muted); }
.footer-sub a:hover { color: var(--text); }

.footer-links {
  display: flex;
  gap: 0.5rem;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color 0.15s, border-color 0.15s;
}
.footer-links a:hover {
  color: var(--text);
  border-color: hsl(221 83% 53% / 0.5);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .navbar-links {
    gap: 0;
  }
  .navbar-links li:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 80vh;
    padding: 5rem 1.25rem 4rem;
  }

  .hero-logo {
    width: 88px;
    height: 88px;
  }

  .flow-diagram {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
    font-size: 1rem;
  }

  .install-path-header {
    flex-direction: column;
  }
  .install-badge {
    position: static;
    align-self: flex-start;
    margin-top: 0.75rem;
  }

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

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn { width: 100%; justify-content: center; }
  .btn-sm { width: auto; }

  .terminal-body {
    padding: 1rem;
  }
  .terminal-line code {
    font-size: 0.8rem;
  }
}

/* ============================================================
   EDITIONS — karty edycji z akcentami koloru
   ============================================================ */

/* Karta edycji Game — czerwony akcent */
.card--edition-game {
  border-color: hsl(0 72% 51% / 0.35);
}
.card--edition-game:hover {
  border-color: hsl(0 72% 51% / 0.7);
  box-shadow: 0 4px 32px hsl(0 72% 51% / 0.15);
}
.card--edition-game .card-icon {
  background: hsl(0 72% 51% / 0.12);
  color: hsl(0 72% 65%);
}

/* Karta edycji DevOps — niebieski akcent (lekko wzmocniony) */
.card--edition-dev {
  border-color: hsl(221 83% 53% / 0.35);
}
.card--edition-dev:hover {
  border-color: hsl(221 83% 53% / 0.7);
  box-shadow: 0 4px 32px hsl(221 83% 53% / 0.15);
}
.card--edition-dev .card-icon {
  background: hsl(221 83% 53% / 0.12);
  color: hsl(217 91% 70%);
}

/* Karta edycji Office — fioletowy akcent */
.card--edition-office {
  border-color: hsl(262 83% 58% / 0.35);
}
.card--edition-office:hover {
  border-color: hsl(262 83% 58% / 0.7);
  box-shadow: 0 4px 32px hsl(262 83% 58% / 0.15);
}
.card--edition-office .card-icon {
  background: hsl(262 83% 58% / 0.12);
  color: hsl(262 83% 72%);
}

/* Karta edycji Server — cyjanowy akcent */
.card--edition-server {
  border-color: hsl(197 71% 44% / 0.35);
}
.card--edition-server:hover {
  border-color: hsl(197 71% 44% / 0.7);
  box-shadow: 0 4px 32px hsl(197 71% 44% / 0.15);
}
.card--edition-server .card-icon {
  background: hsl(197 71% 44% / 0.12);
  color: hsl(197 71% 65%);
}

/* Badże edycji */
.edition-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15em 0.55em;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 0.3em;
}
.edition-badge--blue {
  background: hsl(221 83% 53% / 0.18);
  color: hsl(217 91% 70%);
  border: 1px solid hsl(221 83% 53% / 0.4);
}
.edition-badge--red {
  background: hsl(0 72% 51% / 0.18);
  color: hsl(0 72% 70%);
  border: 1px solid hsl(0 72% 51% / 0.4);
}
.edition-badge--purple {
  background: hsl(262 83% 58% / 0.18);
  color: hsl(262 83% 78%);
  border: 1px solid hsl(262 83% 58% / 0.4);
}
.edition-badge--cyan {
  background: hsl(197 71% 44% / 0.18);
  color: hsl(197 71% 70%);
  border: 1px solid hsl(197 71% 44% / 0.4);
}

/* Notka o przełączaniu edycji pod kartami */
.editions-switch-note {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.editions-switch-note svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: hsl(197 71% 60%);
}

/* ============================================================
   OFFICE — sekcja opisowa edycji Office
   ============================================================ */
.office-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.office-intro p + p {
  margin-top: 1rem;
}
.office-cards .how-card h3 {
  color: hsl(262 83% 72%);
}

/* ============================================================
   SERVER — sekcja opisowa edycji Server
   ============================================================ */
.server-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.server-intro p + p {
  margin-top: 1rem;
}
.server-cards .how-card h3 {
  color: hsl(197 71% 65%);
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid hsl(217 91% 65%);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
  .hero-scroll span { animation: none; }
  html { scroll-behavior: auto; }
}
