/*
Theme Name: FitByNika
Theme URI: https://fitbynika.pl
Author: FitByNika
Author URI: https://fitbynika.pl
Description: Premium motyw WordPress dla marki fitness FitByNika — indywidualne plany treningowe dla kobiet. Elegancki, mocny, minimalistyczny. Bez Elementora — czysty HTML/CSS/JS/PHP.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fitbynika
Tags: custom-header, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #000000;
  --navy:        #060b18;
  --navy2:       #0a1128;
  --blue:        #0866FF;
  --blue-soft:   #7ab3ff;
  --white:       #ffffff;
  --gray:        #8a9ab5;
  --gray2:       #1a2240;
  --radius:      14px;
  --radius-lg:   22px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --font:        'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; overflow-y: scroll; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[id] { scroll-margin-top: 84px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: block;
  text-align: center;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); text-transform: uppercase; line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.1rem; }

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #a8c4ff 60%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 100px;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
  box-shadow: 0 4px 16px rgba(8,102,255,0.25);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #1a77ff;
  box-shadow: 0 4px 22px rgba(8,102,255,0.35);
  transform: translateY(-2px);
}
.btn-primary svg { flex-shrink: 0; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   NAVBAR
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6,11,24,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(8,102,255,0.16);
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(6,11,24,0.96);
  border-bottom: 1px solid rgba(8,102,255,0.24);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  justify-self: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
}
.nav-btn {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 100px;
  background: var(--blue);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
  box-shadow: 0 4px 16px rgba(8,102,255,0.25);
  white-space: nowrap;
}
.nav-btn:hover {
  background: #1a77ff;
  box-shadow: 0 4px 22px rgba(8,102,255,0.35);
  transform: translateY(-2px);
  color: #fff;
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo span { color: var(--blue); }
.logo-text { color: var(--white) !important; white-space: nowrap; font-size: inherit; font-weight: inherit; }
.logo-blue { color: var(--blue) !important; }
.logo-text { white-space: nowrap; font-size: inherit; font-weight: inherit; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px; font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { font-size: 12px !important; padding: 10px 22px !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a.mobile-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}
.mobile-menu.open a.mobile-link { opacity: 1; transform: none; }
.mobile-menu.open a.mobile-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open a.mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open a.mobile-link:nth-child(3) { transition-delay: 0.22s; }
.mobile-menu.open a.mobile-link:nth-child(4) { transition-delay: 0.29s; }
.mobile-menu a.mobile-link:hover { color: var(--blue); }
.mobile-menu .menu-cta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease) 0.36s, transform 0.5s var(--ease) 0.36s;
}
.mobile-menu.open .menu-cta { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, #04080f 100%);
}
.hero-orb {
  position: absolute;
  top: 12%;
  right: -8%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,102,255,0.18) 0%, rgba(8,102,255,0.05) 45%, transparent 70%);
  filter: blur(60px);
  animation: orbDrift 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.7; }
  50% { transform: translate(-50px,40px) scale(1.12); opacity: 1; }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8,102,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,102,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8,102,255,0.1);
  border: 1px solid rgba(8,102,255,0.25);
  border-radius: 100px;
  padding: 6px 16px 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-soft);
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 8px var(--blue); }
  50% { box-shadow: 0 0 16px var(--blue), 0 0 26px rgba(8,102,255,0.45); }
}

/* word-by-word headline reveal */
.reveal-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%) rotate(1.5deg);
  transform-origin: left bottom;
  animation: wordUp 1s var(--ease) forwards;
}
@keyframes wordUp {
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.hero h1 { margin-bottom: 26px; }
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { letter-spacing: -0.02em; }

/* ============================================================
   FOR YOU
   ============================================================ */
.for-you { background: var(--navy2); }
.for-you-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.for-you-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.4s var(--ease);
}
.for-you-card:hover {
  border-color: rgba(8,102,255,0.28);
  background: rgba(8,102,255,0.05);
  transform: translateY(-4px);
}
.icon-box {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(8,102,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { color: var(--blue-soft); }
.for-you-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.for-you-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ============================================================
   PRODUCT
   ============================================================ */
.product { background: var(--navy); }
.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.mockup-card {
  background: linear-gradient(145deg, var(--gray2), rgba(8,102,255,0.08));
  border: 1px solid rgba(8,102,255,0.2);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: floatY 7s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.mockup-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.mockup-icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: rgba(8,102,255,0.12);
  border: 1px solid rgba(8,102,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-soft);
}
.mockup-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.mockup-sub { font-size: 12px; color: var(--gray); margin-bottom: 24px; }
.mockup-chips { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.mockup-chip {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mockup-chip::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.mockup-glow {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(8,102,255,0.2), transparent 70%);
  pointer-events: none;
}

.product-content .label { text-align: left; }
.product-price-block { display: inline-flex; align-items: baseline; gap: 4px; margin: 24px 0 4px; }
.product-price { font-size: 56px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.product-currency { font-size: 22px; font-weight: 700; color: var(--gray); }
.product-price-note { font-size: 13px; color: var(--gray); margin-bottom: 28px; }

.benefit-list { margin-bottom: 36px; }
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.benefit-item:last-child { border-bottom: none; }
.benefit-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(8,102,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-soft);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--navy2); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.step-card {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.step-card:hover {
  border-color: rgba(8,102,255,0.3);
  transform: translateY(-4px);
}
.step-num {
  position: absolute;
  top: 8px; right: 20px;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  color: rgba(8,102,255,0.85);
  text-shadow: 0 0 34px rgba(8,102,255,0.35);
  user-select: none;
}
.step-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #0a4bbf);
  box-shadow: 0 8px 24px rgba(8,102,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 13px; color: var(--gray); line-height: 1.7; max-width: 300px; }

.included-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  text-align: center;
  margin-bottom: 28px;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.included-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  transition: all 0.4s var(--ease);
}
.included-card:hover {
  border-color: rgba(8,102,255,0.3);
  transform: translateY(-3px);
}
.included-card .icon-box { margin: 0 auto 14px; width: 42px; height: 42px; border-radius: 12px; }
.included-card h3 { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.included-card p { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--navy); }
.reviews-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
}
.review-card:hover {
  border-color: rgba(8,102,255,0.22);
  transform: translateY(-4px);
}
.review-stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--blue); }
.review-text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
  font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(8,102,255,0.15);
  border: 1px solid rgba(8,102,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-soft);
  flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 700; }
.review-meta { font-size: 11px; color: var(--gray); margin-top: 1px; }

/* ============================================================
   FAQ — smooth animated accordion
   ============================================================ */
.faq { background: var(--navy2); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03); border-radius: 14px; margin-bottom: 8px; padding: 0 16px; border: 1px solid rgba(255,255,255,0.07); }

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.35s var(--ease);
}
.faq-question:hover { color: inherit; }
.faq-item.open .faq-question { color: var(--white); }

.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gray);
  transition: all 0.45s var(--ease-spring);
}
.faq-item.open .faq-icon {
  border-color: var(--blue);
  background: rgba(8,102,255,0.1);
  color: var(--blue);
  transform: rotate(45deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.6s var(--ease);
}
.faq-answer-inner {
  padding-right: 40px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.5s ease, transform 0.55s var(--ease);
}
.faq-item.open .faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.faq-answer-text {
  padding-bottom: 24px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}
.final-cta-orb {
  position: absolute;
  bottom: -40%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8,102,255,0.12) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.final-cta-box { max-width: 600px; margin: 0 auto; position: relative; }
.final-cta h2 { margin-bottom: 16px; }
.final-cta p { font-size: 16px; color: var(--gray); margin-bottom: 36px; line-height: 1.7; }
.final-cta .btn-primary { font-size: 15px; padding: 18px 40px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #030712 100%);
  padding: 56px 0 36px;
  border-top: 1px solid rgba(8, 102, 255, 0.15);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 24px;
}
.footer-logo { font-size: 18px; font-weight: 900; letter-spacing: -0.5px; }
.footer-logo span { color: var(--blue); }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-links a { font-size: 12px; color: var(--gray); transition: color 0.3s; }
.footer-contact { font-size: 12px; color: var(--gray); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); text-align: center; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: none; opacity: 1; transform: none; }
  .reveal-word { animation: none; opacity: 1; transform: none; }
  .hero-orb, .mockup-card, .hero-badge-dot { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-inner { display: flex; justify-content: space-between; height: 76px; }
  .nav-actions .nav-cta { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .product-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 72px 0; }
  .for-you-grid { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; } .footer-links { align-items: flex-start; }
  .product-price { font-size: 48px; }
  .hero-orb { width: 340px; height: 340px; top: 4%; right: -30%; }
  .faq-answer-inner { padding-right: 8px; }
}


/* Logo text no-gap fix */
.logo-text { white-space: nowrap; }
.logo-blue { color: var(--blue); }

/* Product section - equal height columns */
.product-image-col {
  display: flex;
  align-items: stretch;
  align-self: stretch;
}
.product-image-wrap {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px;
}
.product-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* Logo image in nav */
.nav-logo { display: flex; align-items: stretch; gap: 10px;   display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-img { width: 30px; height: 30px; object-fit: contain; border-radius: 6px; }
    /* ============================================================
   SURVEY MODAL
   ============================================================ */
.survey-req {
  color: #ff4d4f;
  margin-left: 4px;
  font-weight: 700;
}
.survey-field.has-error .survey-input {
  border-color: #ff4d4f !important;
  box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.25) !important;
}
.survey-field.has-error .survey-label {
  color: #ffb4b5;
}
.survey-error-msg {
  color: #ff5c5c;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 500;
  display: none;
}
.survey-field.has-error .survey-error-msg {
  display: block;
  animation: fadeIn 0.25s var(--ease);
}
.survey-step-error {
  color: #ff7878;
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
  display: none;
  background: rgba(255, 77, 79, 0.12);
  border: 1px solid rgba(255, 77, 79, 0.35);
  padding: 10px 16px;
  border-radius: 10px;
}
.survey-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.survey-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.survey-modal-card {
  background: #080e22;
  border: 1px solid rgba(8, 102, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 40px rgba(8,102,255,0.12);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.survey-modal-overlay.open .survey-modal-card {
  transform: translateY(0) scale(1);
}
.survey-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.survey-modal-close:hover {
  color: #fff;
  background: rgba(8,102,255,0.2);
  border-color: var(--blue);
}

.survey-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.survey-progress-wrapper {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin: 14px 0 8px;
}
.survey-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue));
  border-radius: 4px;
  transition: width 0.4s var(--ease);
}
.survey-step-count {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.survey-step {
  display: none;
}
.survey-step.active {
  display: block;
  animation: fadeIn 0.35s var(--ease);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.survey-field {
  margin-bottom: 20px;
}
.survey-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.survey-hint {
  font-weight: 400;
  font-size: 12px;
  color: var(--gray);
}
.survey-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.survey-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.survey-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8,102,255,0.2);
}
textarea.survey-input {
  resize: vertical;
}

.survey-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.survey-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.survey-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.survey-chip span {
  display: inline-block;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  transition: all 0.25s var(--ease);
}
.survey-chip:hover span {
  background: rgba(8,102,255,0.1);
  border-color: rgba(8,102,255,0.3);
  color: #fff;
}
.survey-chip input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(8,102,255,0.35);
}

.survey-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============================================================
   SUBPAGES (Regulamin, Polityka prywatności)
   ============================================================ */
.subpage-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease);
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
}
.btn-back:hover {
  color: var(--white);
  border-color: rgba(8,102,255,0.4);
  background: rgba(8,102,255,0.08);
  transform: translateX(-3px);
}
.subpage-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.subpage-card h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 8px;
  text-transform: none;
  color: var(--white);
}
.subpage-date {
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 32px;
  display: block;
}
.subpage-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
}
.subpage-content p {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.subpage-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  line-height: 1.8;
}
.subpage-content li {
  margin-bottom: 8px;
}
