/* =======================================
   ⚡ FusionLab — Styles by ChatGPT (2025)
   ======================================= */

/* Reset i zmienne kolorów */
:root {
  --bg: #0a0a13;
  --panel: #131324;
  --text: #f5f6fa;
  --muted: #a1a1b6;
  --primary: #7c3aed;
  --accent: #22d3ee;
  --primary-dark: #5b21b6;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  --transition: 0.25s ease;
  scroll-behavior: smooth;
}

/* Reset podstawowy */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =======================================
   🌌 Layout globalny
   ======================================= */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}
h1, h2, h3 {
  color: #fff;
  margin: 0 0 10px;
  font-weight: 700;
}
h1 span.accent {
  display: block;
  font-size: 1.6rem;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =======================================
   🧭 Nawigacja
   ======================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* --- Menu główne --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__menu li {
  white-space: nowrap;
}

.btn--nav {
  background: rgba(124, 58, 237, 0.15);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: 600;
  border: 1px solid rgba(124, 58, 237, 0.3);
}
.btn--nav:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
  transform: translateY(-2px);
}

/* --- Przyciski główne --- */
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6);
}

/* --- Menu mobilne --- */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle .bar {
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

@media (max-width: 880px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    display: none;
    position: absolute;
    top: 64px;
    right: 16px;
    flex-direction: column;
    background: var(--panel);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open { display: flex; }
  .btn--nav { width: 100%; text-align: center; margin: 4px 0; }
}

/* =======================================
   ⚡ Sekcja HERO
   ======================================= */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero .bg-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 80vh;
  background: radial-gradient(circle at 50% 30%, rgba(124, 58, 237, 0.4), rgba(34, 211, 238, 0.1) 60%, transparent 80%);
  filter: blur(80px);
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; }
.lead {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* =======================================
   🔘 Przyciski globalne
   ======================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.btn--ghost {
  border: 1px solid rgba(124, 58, 237, 0.4);
  background: transparent;
  color: var(--accent);
}
.btn--ghost:hover { background: rgba(124, 58, 237, 0.1); }
.btn--lg { padding: 14px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* =======================================
   💠 Sekcje ogólne
   ======================================= */
.section { padding: 80px 0; }
.section--alt {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(34, 211, 238, 0.05));
}
.section h2 { text-align: center; font-size: 2rem; }
.section__intro {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

/* =======================================
   📦 Karty i siatki
   ======================================= */
.grid { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--panel);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.25);
}

/* =======================================
   👥 Zespół Discord
   ======================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.discord-card {
  background: linear-gradient(180deg, #131324 0%, #1e1e2e 100%);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.discord-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.35);
}
.discord-body { padding: 22px; text-align: center; }
.discord-body h3 { margin-bottom: 6px; font-size: 1.2rem; color: var(--accent); }
.discord-body .role { color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.discord-body .desc { color: var(--muted); font-size: 0.95rem; }

/* =======================================
   💰 Cennik
   ======================================= */
.price__value { font-size: 1.8rem; font-weight: 700; }
.price__value .currency { opacity: 0.8; }
.price--popular {
  border: 2px solid var(--accent);
  position: relative;
}
.price--popular .tag {
  position: absolute;
  top: -12px;
  right: 12px;
  background: var(--accent);
  color: #000;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* =======================================
   💬 Opinie
   ======================================= */
.testimonials { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonial {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(124,58,237,0.25);
  padding: 20px;
  border-radius: var(--radius);
  font-style: italic;
}
.testimonial figcaption {
  color: var(--muted);
  font-style: normal;
  margin-top: 10px;
}

/* =======================================
   ❓ FAQ
   ======================================= */
details {
  background: var(--panel);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 600; }
details[open] summary { color: var(--accent); }

/* =======================================
   ⚙️ CTA końcowe
   ======================================= */
.cta-final {
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.2), transparent 70%);
}

/* =======================================
   🦶 Stopka
   ======================================= */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(124,58,237,0.2);
  background: rgba(255,255,255,0.03);
  margin-top: 60px;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__links a { color: var(--muted); transition: color var(--transition); }
.footer__links a:hover { color: var(--accent); }
.footer__legal {
  text-align: center;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* === Portfolio: wkrótce === */
.coming-soon {
  background: linear-gradient(180deg, rgba(124,58,237,0.12), rgba(34,211,238,0.08));
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.coming-soon strong { display: block; font-size: 1.25rem; margin-bottom: 6px; }
.coming-soon p { color: var(--muted); margin: 0; }
.coming-soon .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* =======================================
   📱 Responsywność
   ======================================= */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .btn--lg { font-size: 1rem; padding: 12px 20px; }
  .section { padding: 60px 0; }
}
