/* === Sekcja porównania === */
.section--compare {
  padding: clamp(60px, 8vw, 120px) var(--pad-x);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.55)),
    radial-gradient(1200px 600px at 70% 30%, rgba(255,140,0,.25), transparent 60%),
    url("../Images/QubitBG.png") no-repeat center center / cover;
  color: #f5f5f5;
background-attachment: fixed;
}

.compare {
  max-width: 1200px;
  margin: 0 auto;
}

.compare-title {
  font-size: clamp(32px, 6vw, 48px);
  margin-bottom: 12px;
  background: linear-gradient(270deg, #b35400, #ff8800, #ffcc33, #b35400);
  background-size: 300% 300%;

  background-clip: text;           /* standard */
  -webkit-background-clip: text;   /* prefiks dla Chrome/Safari */
  color: transparent;              /* fallback */
  -webkit-text-fill-color: transparent;

  animation: gradientMove 6s ease-in-out infinite;
}


.compare-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #e8e8e8;
  opacity: .9;
  margin-bottom: 40px;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 980px) {
  .compare-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (min-width: 1000px){
background-attachment: fixed;
}

.compare-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.compare-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1);
}

/* === Nagłówki kart z ikonkami obok === */
.compare-card h3 {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 12px;
  display: flex;
  justify-content: center; /* wyśrodkowanie całości */
  align-items: center;
  gap: 10px; /* odstęp między ikoną a tekstem */
  text-align: center;
}

.compare-card h3::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
  background: linear-gradient(90deg, #ff8800, #ffcc33);
  background-clip: text;            /* standard */
  -webkit-background-clip: text;    /* prefiks dla Chrome/Safari */
  -webkit-text-fill-color: transparent;
  color: transparent;               /* fallback */
  animation: odraIconShine 4s linear infinite;
  display: inline-block;
}


.compare-card.classical h3::before {
  content: "\f2db";
}

.compare-card.quantum h3::before {
  content: "\f5d2";
}

@keyframes odraIconShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* === Opis kart === */
.compare-card p {
  font-size: 15px;
  margin-bottom: 16px;
  color: #ddd;
}

/* === Bity === */
.bits {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.bit {
  width: 42px;
  height: 42px;
  border: 2px solid #666;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  border-radius: 8px;
  background: #222;
  transition: background 0.3s, transform 0.3s;
}

.active {
  background:#ff8800;
  transform: scale(1.2);
}
.quantum .bit.active {
  background: #ff8800;
}

/* === Wideo === */
.compare-video-wrapper {
  margin-top: 60px;
}
.video-title {
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 20px;
}
.compare-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.compare-video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

/* === Notatka === */
.compare-note {
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
  font-style: italic;
}
