:root {
  --black: #0a0a0a;
  --white: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-400: #a1a1aa;
  --gray-600: #52525b;
  --dark: #050508;
  --dark-card: #0c0c10;
  --dark-border: #1a1a22;

  /* kolory TYLKO ze światła / animacji */
  --neon-teal: #0d9488;
  --neon-cyan: #06b6d4;
  --neon-violet: #a855f7;
  --neon-pink: #ec4899;

  --text: var(--black);
  --text-muted: var(--gray-600);
  --text-light: var(--gray-400);
  --bg: var(--white);
  --bg-subtle: var(--gray-100);
  --border: var(--gray-200);
  --radius: 12px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════
   FX LAYER — cyberpunk ambient
   ═══════════════════════════════════════ */
.fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

.fx-scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.3s; }

.hero__content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero__content .reveal:nth-child(2) { transition-delay: 0.25s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.4s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.55s; }
.hero__content .reveal:nth-child(5) { transition-delay: 0.7s; }

.hero__content.is-visible .reveal,
.hero__content .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 120%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

.btn--dark:hover {
  box-shadow:
    0 0 20px rgba(6, 182, 212, 0.25),
    0 0 40px rgba(168, 85, 247, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn--glow {
  animation: btn-pulse 4s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 rgba(6, 182, 212, 0); }
  50% { box-shadow: 0 0 24px rgba(6, 182, 212, 0.15), 0 0 48px rgba(168, 85, 247, 0.08); }
}

.btn--teal {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--teal:hover {
  box-shadow:
    0 0 20px rgba(13, 148, 136, 0.4),
    0 0 40px rgba(6, 182, 212, 0.15);
  border-color: rgba(13, 148, 136, 0.5);
}

.btn--full {
  width: 100%;
  padding: 14px 24px;
}

.btn--small {
  padding: 10px 16px;
  font-size: 0.85rem;
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  background: var(--gray-100);
  box-shadow: none;
}

/* ═══════════════════════════════════════
   LABELS
   ═══════════════════════════════════════ */
.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.label--neon {
  animation: label-flicker 6s ease-in-out infinite;
}

.label--light {
  color: var(--gray-400);
}

@keyframes label-flicker {
  0%, 100% {
    text-shadow: none;
    color: var(--gray-600);
  }
  50% {
    color: var(--black);
    text-shadow:
      0 0 8px rgba(6, 182, 212, 0.5),
      0 0 16px rgba(13, 148, 136, 0.2);
  }
}

.contact .label--neon {
  animation: label-flicker-dark 6s ease-in-out infinite;
}

@keyframes label-flicker-dark {
  0%, 100% {
    text-shadow: none;
    color: var(--gray-400);
  }
  50% {
    color: var(--white);
    text-shadow:
      0 0 10px rgba(6, 182, 212, 0.6),
      0 0 20px rgba(168, 85, 247, 0.25);
  }
}

/* ═══════════════════════════════════════
   BADGE
   ═══════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  margin-bottom: 32px;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
}

@keyframes dot-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
    background: var(--black);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(6, 182, 212, 0);
    background: var(--neon-cyan);
  }
}

.badge__text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 24px 120px;
  overflow: hidden;
  background: var(--bg);
}

.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__orb {
  display: none;
}

.hero__beam,
.hero__scan,
.contact__scan {
  display: none;
}

.hero__grid {
  animation: none;
}

.contact__aurora {
  animation: none;
  opacity: 0.5;
}

.reviews__glow {
  display: none;
}

.card__border::before {
  animation: none;
}

.wholesale-card--glow::before {
  animation: none;
}

.btn--glow {
  animation: none;
}

.label--neon {
  animation: none;
}

.contact .label--neon {
  animation: none;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  top: -10%;
  left: 20%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%);
  animation-delay: 0s;
  opacity: 0.6;
}

.hero__orb--2 {
  width: 350px;
  height: 350px;
  top: 30%;
  right: 10%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
  animation-delay: -4s;
  opacity: 0.5;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  bottom: 0;
  left: 40%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08), transparent 70%);
  animation-delay: -8s;
  opacity: 0.4;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 40px 40px; }
}

.hero__beam {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(6, 182, 212, 0.03) 45%,
    rgba(168, 85, 247, 0.05) 50%,
    rgba(236, 72, 153, 0.03) 55%,
    transparent 60%
  );
  animation: beam-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes beam-sweep {
  0% { left: -60%; opacity: 0; }
  10% { opacity: 1; }
  50% { left: 100%; opacity: 1; }
  60% { opacity: 0; }
  100% { left: 100%; opacity: 0; }
}

.hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.4),
    rgba(168, 85, 247, 0.3),
    transparent
  );
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  animation: scan-line 6s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes scan-line {
  0% { top: 0; opacity: 0; }
  5% { opacity: 0.6; }
  95% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.hero__logo {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
}

.hero__logo-domain {
  color: var(--black);
  background: linear-gradient(
    90deg,
    var(--black) 0%,
    var(--black) 40%,
    var(--neon-cyan) 50%,
    var(--neon-violet) 55%,
    var(--black) 65%,
    var(--black) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: text-shimmer 6s ease-in-out infinite;
}

@keyframes text-shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

.hero__logo.glitch-active .hero__logo-domain {
  animation: glitch 0.4s steps(2) 1;
}

@keyframes glitch {
  0% { transform: translate(0); text-shadow: 2px 0 rgba(6, 182, 212, 0.8), -2px 0 rgba(236, 72, 153, 0.8); }
  25% { transform: translate(-3px, 1px); }
  50% { transform: translate(3px, -1px); text-shadow: -2px 0 rgba(168, 85, 247, 0.8), 2px 0 rgba(6, 182, 212, 0.8); }
  75% { transform: translate(-1px, 2px); }
  100% { transform: translate(0); text-shadow: none; }
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   TRUST / USP
   ═══════════════════════════════════════ */
.trust {
  padding: 64px 0 72px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.trust__title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.trust__intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  padding: 24px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.trust-card:hover {
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.06);
}

.trust-card__num {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.trust-card__title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.trust-card__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════ */
.products {
  position: relative;
  padding: 100px 0;
}

.products__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}

.products__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.products__subtitle {
  max-width: 280px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.6;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ═══════════════════════════════════════
   PRODUCT CARD — cyber
   ═══════════════════════════════════════ */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.card__border {
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  overflow: hidden;
  opacity: 0.4;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.card__border::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    var(--gray-200),
    var(--gray-200) 30%,
    rgba(6, 182, 212, 0.7) 45%,
    rgba(168, 85, 247, 0.5) 55%,
    rgba(236, 72, 153, 0.3) 65%,
    var(--gray-200) 75%,
    var(--gray-200)
  );
  animation: border-rotate 4s linear infinite;
}

.card__border::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.card:hover .card__border {
  opacity: 1;
}

@keyframes border-rotate {
  to { transform: rotate(360deg); }
}

.card__glow {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  background: radial-gradient(
    400px circle at var(--spot-x) var(--spot-y),
    rgba(6, 182, 212, 0.08),
    rgba(168, 85, 247, 0.04) 30%,
    transparent 60%
  );
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.card:hover .card__glow {
  opacity: 1;
}

.card:hover {
  box-shadow:
    0 0 30px rgba(6, 182, 212, 0.08),
    0 0 60px rgba(168, 85, 247, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.08);
}

.card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-subtle);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: 2;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__image-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.card:hover .card__image-shine {
  transform: translateX(100%);
}

.card__body {
  position: relative;
  z-index: 2;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--bg);
}

.card__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.card__desc {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.products--inquiry {
  padding-top: 0;
  background: var(--bg-subtle);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.card__tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.card:hover .card__tag {
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.06);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.card__price {
  font-size: 1.25rem;
  font-weight: 800;
  white-space: nowrap;
}

.card__btn {
  flex-shrink: 0;
}

.card__btn svg {
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════ */
.reviews {
  position: relative;
  padding: 100px 0;
  background: var(--bg-subtle);
  overflow: hidden;
}

.reviews__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.06), transparent 70%);
  filter: blur(60px);
  animation: reviews-glow 8s ease-in-out infinite;
}

@keyframes reviews-glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.reviews__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 48px;
}

.reviews__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.reviews__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.reviews__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.reviews__fade--left {
  left: 0;
  background: linear-gradient(to right, var(--bg-subtle), transparent);
}

.reviews__fade--right {
  right: 0;
  background: linear-gradient(to left, var(--bg-subtle), transparent);
}

.reviews__track {
  display: flex;
  width: max-content;
  animation: marquee-right 40s linear infinite;
}

.reviews__track:hover {
  animation-play-state: paused;
}

.reviews__group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.review-card {
  flex-shrink: 0;
  width: 340px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.review-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow:
    0 0 24px rgba(6, 182, 212, 0.1),
    0 0 48px rgba(168, 85, 247, 0.05);
  transform: translateY(-4px);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.review-card__star {
  display: flex;
  width: 18px;
  height: 18px;
  color: var(--black);
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.6));
  animation: star-glow 3s ease-in-out infinite;
}

.review-card__star:nth-child(2) { animation-delay: 0.2s; }
.review-card__star:nth-child(3) { animation-delay: 0.4s; }
.review-card__star:nth-child(4) { animation-delay: 0.6s; }
.review-card__star:nth-child(5) { animation-delay: 0.8s; }

@keyframes star-glow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.3)); }
  50% { filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.8)); color: #f59e0b; }
}

.review-card__star svg {
  width: 100%;
  height: 100%;
}

.review-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 16px;
}

.review-card__author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact {
  position: relative;
  background: var(--dark);
  color: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

.contact__aurora {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(168, 85, 247, 0.06), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.04), transparent 50%);
  animation: aurora 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aurora {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.8; }
  33% { transform: translate(2%, -2%) rotate(1deg); opacity: 1; }
  66% { transform: translate(-1%, 1%) rotate(-1deg); opacity: 0.9; }
}

.contact__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-drift 30s linear infinite;
}

.contact__scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), rgba(168, 85, 247, 0.3), transparent);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
  animation: scan-line 10s ease-in-out infinite;
  z-index: 1;
}

.contact__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.contact__description {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 440px;
}

.contact__email-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.25s;
  max-width: 400px;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.contact__email-box:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.15), 0 0 48px rgba(168, 85, 247, 0.08);
  transform: translateX(4px);
}

.contact__email-icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  transition: box-shadow 0.35s, border-color 0.35s;
}

.contact__email-box:hover .contact__email-icon {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

.contact__email-info {
  display: flex;
  flex-direction: column;
}

.contact__email-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact__email-address {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Wholesale Card */
.wholesale-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
}

.wholesale-card--glow::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 20%,
    rgba(6, 182, 212, 0.5) 35%,
    rgba(168, 85, 247, 0.4) 50%,
    rgba(236, 72, 153, 0.3) 65%,
    transparent 80%
  );
  animation: border-rotate 4s linear infinite;
  z-index: 0;
}

.wholesale-card--glow {
  overflow: hidden;
}

.wholesale-card--glow::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background: var(--dark-card);
  z-index: 0;
}

.wholesale-card > * {
  position: relative;
  z-index: 1;
}

.wholesale-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.wholesale-card__icon {
  width: 24px;
  height: 24px;
  color: var(--white);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.5));
}

.wholesale-card__title {
  font-size: 1.1rem;
  font-weight: 700;
}

.wholesale-card__description {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════
   MODAL — formularz kontaktowy
   ═══════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal--open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-600);
}

.modal__close:hover {
  background: var(--gray-200);
}

.modal__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
  padding-right: 40px;
}

.modal__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.modal__field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
}

.modal__field input,
.modal__field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal__field input:focus,
.modal__field textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.modal__field textarea {
  resize: vertical;
  min-height: 120px;
}

.modal__success-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.modal__success-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.modal__success-email {
  font-weight: 700;
  font-family: monospace;
  margin-bottom: 12px;
}

.modal__success-body {
  background: var(--gray-100);
  padding: 12px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 16px;
  max-height: 200px;
  overflow-y: auto;
}

.modal__success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(6, 182, 212, 0.3),
    rgba(168, 85, 247, 0.2),
    transparent
  );
  animation: footer-line 6s linear infinite;
}

@keyframes footer-line {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fx-layer { display: none; }
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 70px 20px 90px;
  }

  .fx-glow {
    width: 250px;
    height: 250px;
  }

  .products__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .products__subtitle {
    text-align: left;
    max-width: none;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .trust__grid {
    grid-template-columns: 1fr;
  }

  .reviews__fade {
    width: 48px;
  }

  .review-card {
    width: 280px;
    padding: 22px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .card__btn {
    width: 100%;
  }
}
