/* ==========================================================================
   MINDOVA.PL — Ciemny, czarno-fioletowo-neonowy styl
   ========================================================================== */

/* ---- Zmienne (design tokens) ---- */
:root {
  --radius: 0.25rem;

  /* Kolory */
  --background: #0f0f12;
  --background-rgb: 15, 15, 18;
  --foreground: #fafafa;
  --card: #18181c;
  --card-foreground: #fafafa;
  --primary: #c084fc;
  --primary-rgb: 192, 132, 252;
  --primary-foreground: #0f0f12;
  --muted: #232329;
  --muted-foreground: #a1a1aa;
  --border: #2e2e38;
  --input: #27272e;

  /* Fonty */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Gradient i neon */
  --gradient-neon: linear-gradient(135deg, #c084fc, #a855f7);
  --glow-neon: 0 0 40px rgba(192, 132, 252, 0.45),
    0 0 80px rgba(192, 132, 252, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ---- Pomocnicze ---- */
.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ---- Nawigacja ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(46, 46, 56, 0.6);
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--primary);
  text-shadow: 0 0 16px rgba(192, 132, 252, 0.6);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.nav-links a:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary:hover {
  transform: scale(1.03);
}

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(46, 46, 56, 0.5);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.hero-blur-1,
.hero-blur-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.6;
}

.hero-blur-1 {
  top: -10rem;
  right: -10rem;
  width: 600px;
  height: 600px;
  background: rgba(192, 132, 252, 0.2);
}

.hero-blur-2 {
  bottom: -10rem;
  left: -10rem;
  width: 500px;
  height: 500px;
  background: rgba(192, 132, 252, 0.1);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 24px rgba(192, 132, 252, 0.55);
}

.hero-desc {
  margin-top: 2rem;
  max-width: 48ch;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn {
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  animation: slide-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

.hero-image-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--glow-neon);
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(15, 15, 18, 0.7);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

/* ---- Kategorie ---- */
.categories {
  border-bottom: 1px solid rgba(46, 46, 56, 0.5);
  background: rgba(24, 24, 28, 0.3);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--border);
}

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

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(7, 1fr);
  }
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  padding: 1.5rem;
  background: var(--background);
  text-align: left;
  transition: background 0.2s ease;
}

.category-card:hover {
  background: var(--card);
}

.category-card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.category-card:hover .num {
  color: var(--primary);
}

.category-card .name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---- Produkty ---- */
.products {
  border-bottom: 1px solid rgba(46, 46, 56, 0.5);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.link-arrow {
  display: none;
  flex-shrink: 0;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
  transition: color 0.2s ease;
}

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

@media (min-width: 640px) {
  .link-arrow {
    display: inline-block;
  }
}

.product-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  animation: slide-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-image {
  position: relative;
  margin-bottom: 1.25rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-name {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.product-price {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.product-btn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.625rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
  transition: all 0.2s ease;
}

.product-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ---- O nas / Custom ---- */
.about {
  border-bottom: 1px solid rgba(46, 46, 56, 0.5);
  background: rgba(24, 24, 28, 0.3);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.about-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(192, 132, 252, 0.2),
    transparent,
    transparent
  );
  pointer-events: none;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-text {
  margin-top: 1.5rem;
  max-width: 48ch;
  color: var(--muted-foreground);
}

.feature-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(192, 132, 252, 0.4);
  background: rgba(192, 132, 252, 0.1);
}

.feature-icon::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.8);
}

.feature-title {
  font-weight: 500;
  color: var(--foreground);
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---- Stopka ---- */
.footer {
  background: var(--background);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 38ch;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.socials {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.social {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.social:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.footer-col-title {
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-bottom {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(46, 46, 56, 0.6);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

/* ---- Animacje ---- */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(192, 132, 252, 0.35);
  }
  50% {
    box-shadow: 0 0 60px rgba(192, 132, 252, 0.6);
  }
}

.reveal {
  animation: slide-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ---- Paginacja WordPress ---- */
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--muted-foreground);
  transition: all .2s ease;
}
.page-numbers.current,
.page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.product-image img { width:100%; height:100%; object-fit:cover; }
.about-image img   { width:100%; height:100%; object-fit:cover; }
