/* ===================================================================
   Fusionic Force Wnętrza — style.css
   Tech-futuristic aesthetic with brand personality
   - Mobile-first
   - Flexbox only (no CSS Grid or Columns)
   - Solid-color core with subtle gradient accents (fallbacks provided)
   - Strong contrast for testimonials
   =================================================================== */

/* -----------------------------
   RESET & BASE NORMALIZATION
   ----------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body { font-family: Verdana, Geneva, Tahoma, sans-serif; line-height: 1.6; background-color: #121111; color: #ECE9E6; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding-left: 1.1rem; }
:focus-visible { outline: 2px solid #5CFFD5; outline-offset: 2px; }

/* -----------------------------
   THEME TOKENS
   ----------------------------- */
:root {
  --ff-display: Georgia, 'Times New Roman', serif;
  --ff-body: Verdana, Geneva, Tahoma, sans-serif;

  --clr-primary: #2F2A28; /* brand primary */
  --clr-secondary: #4F6D5A; /* brand secondary */
  --clr-accent: #F8F5F0; /* brand accent (light) */

  --clr-bg: #121111;      /* dark background */
  --clr-surface: #1B1918; /* elevated panels */
  --clr-muted: #CFC9C1;   /* muted text */
  --clr-line: #3A362F;    /* subtle border */

  --clr-neon: #5CFFD5;    /* neon accent for tech vibe */
  --clr-neon-blue: #7FCBFF; /* secondary neon for hover glow */

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --shadow-soft: 0 4px 16px rgba(0,0,0,.25);
  --shadow-glow: 0 0 0 2px rgba(92,255,213,.15), 0 0 24px rgba(92,255,213,.15);

  --container-max: 1200px;
}

/* -----------------------------
   TYPOGRAPHY
   ----------------------------- */
h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.2; margin: 0 0 10px 0; color: #FFFFFF; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
p { margin: 0 0 14px 0; }
small { color: var(--clr-muted); }
.subheadline { color: #DED9D2; max-width: 70ch; }

/* Responsive type scale */
@media (min-width: 768px) { h1 { font-size: 56px; } h2 { font-size: 36px; } h3 { font-size: 24px; } p { font-size: 18px; } }

/* -----------------------------
   GLOBAL LAYOUT
   ----------------------------- */
section { margin-bottom: 60px; padding: 40px 20px; }
.container { width: 100%; display: flex; justify-content: center; padding: 0 16px; }
.content-wrapper { width: 100%; max-width: var(--container-max); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* Mandatory spacing and alignment patterns */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-soft); }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: var(--radius-md); border: 1px solid #D9D3CA; background: var(--clr-accent); color: var(--clr-primary); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* -----------------------------
   HEADER & NAVIGATION
   ----------------------------- */
header { position: sticky; top: 0; z-index: 1000; background-color: rgba(18,17,17,.8); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--clr-line); }
header .content-wrapper { flex-direction: column; align-items: stretch; padding: 14px 0; }
.brand img { height: 36px; }

.main-nav { display: none; align-items: center; gap: 16px; flex-wrap: wrap; }
.main-nav a { padding: 10px 12px; border-radius: 10px; color: #EDEAE6; transition: color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.main-nav a:hover { color: #101010; background: #E3DED7; box-shadow: var(--shadow-glow); }

.header-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Desktop header layout */
@media (min-width: 992px) {
  header .content-wrapper { flex-direction: row; align-items: center; justify-content: space-between; }
  .main-nav { display: flex; }
}

/* -----------------------------
   MOBILE MENU (Burger)
   ----------------------------- */
.mobile-menu-toggle { position: fixed; top: 14px; right: 14px; z-index: 1100; width: 44px; height: 44px; border-radius: 10px; background: #1E1C1B; color: #FFFFFF; display: flex; align-items: center; justify-content: center; border: 1px solid var(--clr-line); box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .25s ease; }
.mobile-menu-toggle:hover { box-shadow: var(--shadow-glow); transform: translateY(-1px); }
@media (min-width: 992px) { .mobile-menu-toggle { display: none; } }

.mobile-menu { position: fixed; inset: 0; display: flex; flex-direction: column; background: rgba(18,17,17,.7); backdrop-filter: blur(6px); z-index: 1200; transform: translateX(100%); transition: transform .35s ease; }
.mobile-menu > .mobile-nav { margin-top: auto; margin-bottom: auto; display: flex; flex-direction: column; gap: 8px; background: #141312; border-left: 1px solid var(--clr-line); padding: 24px; width: 84%; max-width: 360px; margin-left: auto; box-shadow: -10px 0 30px rgba(0,0,0,.35); }
.mobile-menu-close { align-self: flex-end; margin: 14px; width: 44px; height: 44px; border-radius: 10px; background: #1E1C1B; color: #FFFFFF; border: 1px solid var(--clr-line); }
.mobile-nav a { display: flex; align-items: center; padding: 14px 12px; border-radius: 10px; color: #F5F2EE; background: #1A1817; border: 1px solid var(--clr-line); transition: background-color .25s ease, box-shadow .25s ease; }
.mobile-nav a:hover { background: #22201E; box-shadow: var(--shadow-glow); }

/* Open state controlled by a body class via JS */
body.menu-open .mobile-menu { transform: translateX(0); }

/* -----------------------------
   HERO
   ----------------------------- */
.hero { background-color: var(--clr-primary); /* fallback solid */
        background-image: linear-gradient(135deg, rgba(47,42,40,.88) 0%, rgba(20,19,18,.88) 60%);
        color: #F3F1EE; border-bottom: 1px solid var(--clr-line); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto auto 0 0; height: 2px; width: 100%; background: linear-gradient(90deg, rgba(92,255,213,.0) 0%, rgba(92,255,213,.7) 40%, rgba(127,203,255,.7) 60%, rgba(92,255,213,.0) 100%); box-shadow: 0 0 24px rgba(92,255,213,.5); }
.hero .cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .trust-badges, .trust-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badge { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--clr-line); background: rgba(27,25,24,.7); border-radius: var(--radius-sm); }
.badge span { color: #E7E3DE; font-size: 14px; }

/* -----------------------------
   BUTTONS
   ----------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--clr-line); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .15s ease; position: relative; overflow: hidden; gap: 8px; }
.btn.primary { background: var(--clr-secondary); color: #0E0E0E; border-color: #6E8E7C; box-shadow: var(--shadow-soft); }
.btn.primary:hover { background: #6B8B78; box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: #ECE9E6; border-color: #7F7A73; }
.btn.secondary:hover { background: #201F1E; color: #FFFFFF; box-shadow: var(--shadow-glow); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* -----------------------------
   LISTS & UTILITY CONTENT
   ----------------------------- */
.usp-bullets, .benefit-list, .add-ons, .value-props { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.usp-bullets li, .benefit-list li, .add-ons li, .value-props li { display: flex; align-items: center; gap: 10px; padding-left: 10px; position: relative; color: #EAE6E1; }
.usp-bullets li::before, .benefit-list li::before, .add-ons li::before, .value-props li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clr-neon); box-shadow: 0 0 10px rgba(92,255,213,.7); }

.stats { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.stats p { background: #1A1817; border: 1px solid var(--clr-line); padding: 12px 14px; border-radius: 10px; }
.stats strong { color: var(--clr-neon); text-shadow: 0 0 12px rgba(92,255,213,.35); }

/* -----------------------------
   FEATURES & SERVICES (CARDS)
   ----------------------------- */
.feature-grid, .service-cards { display: flex; flex-wrap: wrap; gap: 20px; }
.feature, .service-card { flex: 1 1 100%; background: var(--clr-surface); border: 1px solid var(--clr-line); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-soft); position: relative; }
.feature h3, .service-card h3 { color: #FFFFFF; }
.feature:hover, .service-card:hover { box-shadow: var(--shadow-glow); }

@media (min-width: 640px) {
  .feature, .service-card { flex: 1 1 calc(50% - 10px); }
}
@media (min-width: 1024px) {
  .feature, .service-card { flex: 1 1 calc(33.333% - 14px); }
}

/* -----------------------------
   TEXT SECTIONS
   ----------------------------- */
.text-section { display: flex; flex-direction: column; gap: 14px; background: #171514; border: 1px solid var(--clr-line); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-soft); }
.text-image-section { background: #171514; border: 1px solid var(--clr-line); border-radius: var(--radius-md); padding: 20px; }

/* -----------------------------
   TESTIMONIALS (light background, high contrast)
   ----------------------------- */
.testimonial-card .rating { color: #E0B300; font-weight: bold; letter-spacing: 2px; }
.testimonial-card p { color: var(--clr-primary); }
.testimonial-card strong { color: #1E1C1B; }

/* -----------------------------
   MISC SECTIONS & BADGES
   ----------------------------- */
.awards { color: #C0B8AD; display: flex; flex-wrap: wrap; gap: 6px; }
.social p { color: #D9D4CD; }

/* -----------------------------
   FOOTER
   ----------------------------- */
footer { background: #0F0E0E; border-top: 1px solid var(--clr-line); color: #EAE6E1; }
footer .content-wrapper { flex-direction: column; gap: 24px; padding: 24px 0; }
footer nav { display: flex; flex-direction: column; gap: 8px; }
footer a { color: #EDEAE6; opacity: .9; }
footer a:hover { opacity: 1; color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 992px) {
  footer .content-wrapper { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
}

/* -----------------------------
   LINKS
   ----------------------------- */
a:hover { color: var(--clr-neon); }

/* -----------------------------
   RESPONSIVE ALIGNMENT RULES
   ----------------------------- */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; }
}

/* -----------------------------
   COOKIE CONSENT BANNER & MODAL
   ----------------------------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1300; background: #171614; color: #EEE9E4; border-top: 1px solid var(--clr-line); box-shadow: 0 -8px 30px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 16px; padding: 16px; transform: translateY(110%); transition: transform .35s ease; }
.cookie-banner .cookie-content { display: flex; flex-direction: column; gap: 10px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--clr-line); }
.cookie-accept { background: var(--clr-secondary); color: #0E0E0E; border-color: #6E8E7C; }
.cookie-reject { background: #1C1A19; color: #FFFFFF; }
.cookie-settings { background: transparent; color: #FFFFFF; }

/* Show banner via body class */
body.show-cookie-banner .cookie-banner { transform: translateY(0); }

/* Cookie modal */
.cookie-modal { position: fixed; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.5); z-index: 1400; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.cookie-modal .cookie-modal-content { width: 100%; max-width: 560px; background: #141312; border: 1px solid var(--clr-line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; transform: translateY(30px); transition: transform .3s ease; }
.cookie-modal .cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #191715; border: 1px solid var(--clr-line); border-radius: 12px; padding: 12px; }
.cookie-toggle { width: 44px; height: 26px; border-radius: 20px; background: #2A2725; border: 1px solid #3A352F; position: relative; display: flex; align-items: center; padding: 2px; }
.cookie-toggle::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #BDB7AE; transition: transform .25s ease, background-color .25s ease; }
.cookie-toggle.active { background: #2D5446; border-color: #3E6D5B; box-shadow: 0 0 0 2px rgba(92,255,213,.2) inset; }
.cookie-toggle.active::after { transform: translateX(18px); background: var(--clr-neon); box-shadow: 0 0 10px rgba(92,255,213,.6); }

/* Show modal via body class */
body.show-cookie-modal .cookie-modal { opacity: 1; pointer-events: auto; }
body.show-cookie-modal .cookie-modal-content { transform: translateY(0); }

/* -----------------------------
   TABLES (generic legal pages)
   ----------------------------- */
.table { width: 100%; border: 1px solid var(--clr-line); border-radius: var(--radius-md); overflow: hidden; }
.table-row { display: flex; border-bottom: 1px solid var(--clr-line); }
.table-row:last-child { border-bottom: 0; }
.table-cell { flex: 1 1 0; padding: 12px; }

/* -----------------------------
   ACCESSIBILITY & MICRO INTERACTIONS
   ----------------------------- */
::selection { background: rgba(92,255,213,.35); color: #0E0E0E; }

/* -----------------------------
   PAGE-SPECIFIC ADAPTATIONS
   ----------------------------- */
/* Sklep—trust badges simple inline for this page */
.trust-badges span { background: #171514; border: 1px solid var(--clr-line); padding: 6px 8px; border-radius: 8px; }

/* Hero CTA on thank-you */
.hero .cta-group .btn.secondary { border-color: #BEB8AF; color: #F4F1ED; }

/* -----------------------------
   FLEX-ONLY VERIFICATION UTILITIES
   (No grid or columns used. All layout containers use flex.)
   ----------------------------- */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/* -----------------------------
   DESKTOP ENHANCEMENTS
   ----------------------------- */
@media (min-width: 1024px) {
  .hero { border-radius: 0 0 18px 18px; }
  .hero .content-wrapper { padding: 20px 0; }
}

/* -----------------------------
   LINKS IN CONTENT (legals)
   ----------------------------- */
main a { color: #DDE8E2; text-decoration: underline; text-underline-offset: 3px; }
main a:hover { color: var(--clr-neon); }

/* -----------------------------
   RATING STARS
   ----------------------------- */
.rating { font-family: var(--ff-display); font-size: 18px; }

/* -----------------------------
   CARDS SAFE AREA & NO OVERLAP
   ----------------------------- */
.service-card + .service-card,
.feature + .feature,
.testimonial-card + .testimonial-card { margin-top: 20px; }

/* -----------------------------
   HEADER CTA WRAP ON MOBILE
   ----------------------------- */
@media (max-width: 991px) {
  header .content-wrapper { gap: 12px; }
  .header-ctas { order: 2; }
}

/* -----------------------------
   PRINT FRIENDLY BASICS
   ----------------------------- */
@media print {
  .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  header, footer { position: static; }
}
