/* SpeedSync Shop – strona główna (styl inspirowany Nitro Concepts, ale w palecie SpeedSync) */

:root {
  --bg: #0a0a0a;
  --panel: rgba(255, 255, 255, 0.045);
  --panel2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.58);
  --text: rgba(255, 255, 255, 0.92);
  --a1: var(--ss-accent-1, #667eea);
  --a2: var(--ss-accent-2, #764ba2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: #fff;
  overflow-x: hidden;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 50%, rgba(118, 75, 162, 0.15) 0%, transparent 52%),
    radial-gradient(circle at 70% 15%, rgba(102, 126, 234, 0.10), transparent 45%);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  padding: 1.25rem 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo a { text-decoration: none; }

.logo h1 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.4px;
  background: linear-gradient(135deg, var(--a1) 0%, var(--a2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.shop-badge {
  background: linear-gradient(135deg, var(--a1) 0%, var(--a2) 100%);
  color: white;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.2px;
}

nav {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 650;
  transition: all 0.2s ease;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
}

nav a:hover { color: #fff; background: rgba(102, 126, 234, 0.18); }

nav a.is-active { color: #fff; background: rgba(102, 126, 234, 0.18); }

nav a.nav-cta {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

nav a.nav-cta:hover {
  background: rgba(102, 126, 234, 0.20);
  border-color: rgba(102, 126, 234, 0.35);
}

/* language switch (index navbar only) */
.lang-switch{
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.lang-btn{
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.75);
  font-weight: 800;
  letter-spacing: .5px;
  padding: 0.35rem 0.55rem;
  border-radius: 9px;
  cursor: pointer;
}
.lang-btn:hover{ color:#fff; background: rgba(102, 126, 234, 0.18); }
.lang-btn.is-active{ color:#fff; background: rgba(102, 126, 234, 0.30); }

main { padding-top: 110px; }

.section {
  padding: 4rem 0;
}

.section-head {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.section-head h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.25px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

/* alternative section header used in EN pages */
.section-title {
  margin-bottom: 1.75rem;
}

.section-title h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.25px;
}

.section-title p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

/* HERO */
.hero {
  padding: 3.75rem 0 2.75rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0.95rem 0 0.75rem;
  font-size: clamp(2rem, 3.2vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: -0.8px;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.hero-micro {
  display: inline-flex;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 3px;
}

.hero-micro:hover {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
}

.hero-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.badge {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.visual-card {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.10) 0%, rgba(118, 75, 162, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1.05rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.visual-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.visual-glow {
  position: absolute;
  inset: -25% -20% -25% -20%;
  background:
    radial-gradient(circle at 40% 35%, rgba(102, 126, 234, 0.40), transparent 45%),
    radial-gradient(circle at 65% 60%, rgba(118, 75, 162, 0.40), transparent 48%);
  filter: blur(26px);
  z-index: -1;
  opacity: 0.75;
}

/* TRUST BAR (used in EN home) */
.trust-bar {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
}

.trust-item {
  padding: 0.8rem 0.85rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.trust-title {
  font-weight: 900;
  letter-spacing: -0.25px;
  margin-bottom: 0.25rem;
}

.trust-desc {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* PRODUCT SPOTLIGHT */
.product-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  padding: 1.35rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.032) 60%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.75rem;
}

.spotlight-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.25);
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.3rem 0.2rem;
}

.product-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(102, 126, 234, 0.14);
  border: 1px solid rgba(102, 126, 234, 0.26);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
}

.spotlight-copy h4 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.45px;
}

.spotlight-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-list {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.84);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.feature-list li::before {
  content: '✓';
  color: var(--a1);
  font-weight: 900;
  margin-top: 1px;
}

.spotlight-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.product-card {
  display: grid;
  grid-template-rows: 190px auto;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 126, 234, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.card-visual {
  position: relative;
  overflow: hidden;
}

.card-body {
  padding: 1.05rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.card-body h5 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.25px;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.card-link {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.placeholder {
  background:
    radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.55), transparent 50%),
    radial-gradient(circle at 70% 65%, rgba(118, 75, 162, 0.50), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.2) 75%);
}

.placeholder.p2 {
  background:
    radial-gradient(circle at 30% 30%, rgba(118, 75, 162, 0.55), transparent 55%),
    radial-gradient(circle at 72% 60%, rgba(102, 126, 234, 0.55), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.2) 75%);
}

.ph-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.0) 0,
      rgba(255, 255, 255, 0.0) 12px,
      rgba(255, 255, 255, 0.06) 12px,
      rgba(255, 255, 255, 0.06) 13px);
  opacity: 0.55;
}

.ph-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 1.1px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.mini-list {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mini-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.mini-list a:hover {
  color: #fff;
  border-color: rgba(102, 126, 234, 0.35);
  background: rgba(102, 126, 234, 0.10);
}

/* HOW IT WORKS (EN home) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.step-num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 950;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.75), rgba(118, 75, 162, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 0.85rem;
}

.step h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.25px;
}

.step p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

/* USE CASES (EN home) */
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.use-card {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.use-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
  font-size: 0.82rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.use-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.25px;
}

.use-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.use-cta {
  margin-top: 1.15rem;
  display: flex;
  justify-content: flex-start;
}

/* REVIEWS (EN home) */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.test-card {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.test-quote {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  font-weight: 650;
}

.test-meta {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 650;
}

/* FAQ (EN home) */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.05rem;
  font-weight: 900;
  letter-spacing: -0.25px;
  color: rgba(255, 255, 255, 0.92);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  float: right;
  opacity: 0.65;
  font-weight: 900;
}

.faq-item[open] summary::after { content: '−'; }

.faq-a {
  padding: 0 1.05rem 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

/* COMPAT */
.compat {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.35rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.compat-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.compat-item {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  font-weight: 850;
}

.compat-item--result {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.16) 0%, rgba(118, 75, 162, 0.15) 100%);
  border-color: rgba(102, 126, 234, 0.32);
}

.compat-op {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
}

.compat-note {
  margin-top: 0.4rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(102, 126, 234, 0.10);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 0.8rem 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  font-size: 0.95rem;
}

.gallery-placeholder {
  height: 220px;
}

.gallery-placeholder.gp1 {
  background:
    radial-gradient(circle at 35% 30%, rgba(102, 126, 234, 0.55), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(118, 75, 162, 0.50), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.22) 75%);
}

.gallery-placeholder.gp2 {
  background:
    radial-gradient(circle at 30% 70%, rgba(118, 75, 162, 0.55), transparent 58%),
    radial-gradient(circle at 70% 30%, rgba(102, 126, 234, 0.55), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.22) 75%);
}

/* FOOTER */
.site-footer {
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-weight: 950;
  letter-spacing: -0.25px;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.footer-muted {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

.footer-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-links {
  margin-top: 1.1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-spotlight { grid-template-columns: 1fr; }
  .spotlight-media img { min-height: 240px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  header { padding: 1rem 0; }
  main { padding-top: 100px; }
  .section { padding: 3.25rem 0; }
  .trust-bar { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .compat-row { grid-template-columns: 1fr auto 1fr; grid-auto-rows: auto; }
  .compat-row .compat-op:nth-child(4),
  .compat-row .compat-item--result { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
}
