/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i,
center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, main, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.4;
  background: #171325;
  color: #F3ECEA;
  -webkit-font-smoothing: antialiased;
  font-family: 'Rubik', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #B693FE;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
}
ul, ol {
  padding-left: 1.4em;
  margin: 8px 0 16px 0;
}

/* BRAND VARIABLES (custom properties) */
:root {
  --primary: #272144;
  --secondary: #B693FE;
  --accent: #F3ECEA;
  --primary-dark: #171325;
  --neon-cyan: #38fff0;
  --neon-pink: #ff8df9;
  --body-font: 'Rubik', Arial, sans-serif;
  --display-font: 'Montserrat', 'Rubik', Arial, sans-serif;
  --radius: 18px;
  --shadow: 0 6px 32px 0 rgba(39,33,68,0.16), 0 1.5px 4px 0 rgba(182,147,254, 0.13);
  --transition: 0.2s cubic-bezier(.68,-0.55,.27,1.55);
}

/* GENERAL CONTAINER AND LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  color: #B693FE;
  text-shadow: 0 0 12px rgba(54,255,240,0.14);
}
h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 8px;
}
h3 {
  font-size: 1.22rem;
  color: var(--secondary);
}
p, li, span, strong {
  font-family: var(--body-font);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
p {
  margin: 8px 0 14px 0;
}
.subheadline {
  font-size: 1.22rem;
  color: var(--accent);
  margin-bottom: 16px;
}

strong { font-weight: 700; color: #fff; }

/* BUTTONS & CTA */
.cta-primary, button, .category-filters button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #B693FE, #38fff0 99%);
  color: var(--primary);
  border: none;
  border-radius: var(--radius);
  font-family: var(--display-font);
  letter-spacing: .04em;
  font-weight: 600;
  font-size: 1.09rem;
  padding: 13px 32px;
  margin: 14px 0 0 0;
  box-shadow: 0 2px 12px 0 rgba(54,255,240,0.11);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.1s;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, button:hover, .category-filters button:hover, .cta-primary:focus, button:focus {
  background: linear-gradient(90deg, #38fff0, #ff8df9 99%);
  color: var(--primary-dark);
  box-shadow: 0 2px 24px 0 var(--secondary);
  transform: translateY(-1px) scale(1.025);
}
.cta-primary:active, button:active {
  background: #B693FE;
  color: var(--primary);
  transform: translateY(0) scale(.98);
}
button:disabled {
  opacity: 0.6;
  filter: grayscale(1);
  cursor: not-allowed;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px 0;
}
.category-filters strong {
  color: var(--secondary);
  font-size: 1.1em;
  align-self: center;
}
.category-filters button {
  font-size: 1.01rem;
  padding: 8px 24px;
  border-radius: 24px;
  background: var(--primary-dark);
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
  margin-left: 0;
  box-shadow: none;
  transition: background 0.22s, color 0.12s;
}
.category-filters button:hover,
.category-filters button:focus {
  background: var(--secondary);
  color: var(--primary-dark);
}

/* HEADER, NAVIGATION, MOBILE MENU */
header {
  background: var(--primary);
  box-shadow: 0 1px 20px rgba(39,33,68,0.19);
  padding: 0;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 20px 16px 12px 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: none;
}
header nav a {
  color: var(--accent);
  font-weight: 500;
  font-size: 1.02rem;
  padding: 2px 8px;
  border-radius: 7px;
  transition: color 0.16s, background 0.15s;
}
header nav a.cta-primary {
  background: linear-gradient(90deg, #B693FE, #38fff0 99%);
  color: var(--primary);
  font-weight: 800;
  margin-left: 18px;
  padding: 8px 28px;
  border-radius: 18px;
  font-size: 1.05rem;
  box-shadow: 0 2px 12px 0 rgba(54,255,240,0.13);
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Hamburger */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--secondary);
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  padding: 6px 6px;
  margin-left: 16px;
  border-radius: 50%;
  box-shadow: none;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(182,147,254,0.1);
  color: var(--neon-cyan);
}
/* Hide by default on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,19,37,0.98);
  box-shadow: -4px 0 48px rgba(182,147,254,0.13);
  z-index: 1009;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 0 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: none;
  border: none;
  color: var(--neon-cyan);
  padding: 14px 22px 8px 0;
  margin: 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1011;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--neon-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 32px;
  width: 80vw;
  max-width: 390px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.3rem;
  font-family: var(--display-font);
  padding: 10px 0;
  border-radius: 10px;
  font-weight: 700;
  transition: color 0.16s, background 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--neon-cyan);
  background: rgba(54,255,240,0.05);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(95deg, var(--primary-dark) 34%, #2e234b 80%);
  padding: 48px 0 42px 0;
  width: 100%;
}
.hero .container {
  align-items: stretch;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 0;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--secondary);
  margin-bottom: 10px;
  text-shadow: 0 0 12px #38fff048;
}
.hero .subheadline {
  color: var(--accent);
}
.hero .cta-primary {
  margin-top: 18px;
  font-size: 1.09rem;
}

/* FEATURE GRID (Usługi, Cechy) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin: 24px 0 8px 0;
}
.feature {
  flex: 1 1 240px;
  background: rgba(34,28,64,0.87);
  border-radius: var(--radius);
  padding: 32px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.5px solid #34285b;
  transition: box-shadow 0.16s, border 0.16s;
  min-width: 210px;
  z-index: 1;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px #38fff0b8);
}
.feature:hover,
.feature:focus-within {
  box-shadow: 0 2px 36px #38fff033, 0 1.5px 8px #B693FE33;
  border: 1.5px solid var(--neon-cyan);
}

/* TESTIMONIALS SECTION */
.testimonials {
  background: #F3ECEA;
  padding: 56px 0 40px 0;
  margin-bottom: 60px;
  color: #1E1A35;
}
.testimonials h2 {
  color: var(--primary);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--secondary);
  min-width: 220px;
  max-width: 480px;
  width: 100%;
  transition: box-shadow .17s, border .16s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 4px 32px #B693FE44, 0 2px 12px #38fff026;
  border-left: 3px solid var(--neon-cyan);
}
.testimonial-card > div:first-child span {
  font-size: 1.5rem;
  color: var(--secondary);
  filter: drop-shadow(0 0 3px #38fff0a6);
}
.testimonial-card p {
  color: #272144;
  font-family: var(--body-font);
  font-size: 1.06rem;
  text-align: center;
  letter-spacing: 0.015em;
}
.testimonial-meta span {
  font-size: 0.98rem;
  color: var(--primary-dark);
  font-weight: 700;
  opacity: 0.75;
}

/* SERVICES/TEAM LISTS */
.service-list, .service-categories, .team-member-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list li, .service-categories li, .team-member-list li {
  flex: 1 1 260px;
  background: #241d40;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px #B693FE14;
  border: 1.5px solid #322777;
  min-width: 180px;
  transition: border .19s, box-shadow .18s;
}
.service-list li:hover, .service-categories li:hover, .team-member-list li:hover {
  border: 1.5px solid var(--neon-cyan);
  box-shadow: 0 4px 24px #38fff031;
}
.service-list h3, .service-categories h3, .team-member-list h3 {
  color: var(--secondary);
  margin-bottom: 4px;
}
.service-list p, .service-categories p {
  color: #ccc;
}

.team-member-list span {
  display: inline-block;
  color: #B693FE;
  font-size: 1.02em;
  margin-bottom: 8px;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 18px 0 22px 0;
  background: #251c3f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 18px #B693FE15;
}
.pricing-table thead tr {
  background: #311e65;
}
.pricing-table th, .pricing-table td {
  font-size: 1.07rem;
  text-align: left;
  padding: 14px 16px;
}
.pricing-table th {
  color: #B693FE;
  font-weight: 700;
}
.pricing-table td {
  color: #F3ECEA;
}
.pricing-table tr:nth-child(even) td {
  background: rgba(182,147,254,0.06);
}
.pricing-table tr:nth-child(odd) td {
  background: transparent;
}
.price-notes {
  color: #FAC7F3;
  background: #1f1731;
  border-radius: 8px;
  padding: 9px 15px;
  margin-top: 16px;
  font-size: .96em;
  font-style: italic;
}

.secondary-info, .secondary-information {
  color: #B693FE;
  font-size: 1.05rem;
  margin-top: 12px;
}

/* CONTACT DETAILS */
.contact-details {
  list-style: none;
  margin-top: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #B693FE;
  font-size: 1.05em;
}
.contact-details img {
  width: 24px;
}
.map-embed {
  background: #241d40;
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 12px;
  box-shadow: 0 1.5px 6px #B693FE16;
}
.map-embed strong {
  color: #38fff0;
}

/* FOOTER */
footer {
  background: #211B37;
  padding: 34px 0 24px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-logo {
  margin-bottom: 18px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links nav a {
  color: #B693FE;
  font-size: 0.98rem;
  transition: color 0.16s;
  margin-bottom: 2px;
}
.footer-links nav a:hover {
  color: #38fff0;
}
.footer-contact {
  color: #F3ECEA;
  font-size: 0.98rem;
}
.footer-contact a {
  color: #38fff0;
  font-size: 1.01em;
}
.footer-contact a:hover {
  color: #ff8df9;
}

/* ---- COMPONENTS: MANDATORY LAYOUTS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #251d44;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  transition: box-shadow 0.16s, border 0.15s;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* TEXT SECTIONS (common) */
.text-section {
  background: rgba(34,28,64,0.65);
  border-radius: 15px;
  padding: 28px 20px;
  box-shadow: 0 1.5px 10px #38fff029;
  margin-bottom: 20px;
}

/* MODALS & OVERLAYS (COOKIE CONSENT) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  background: linear-gradient(95deg, #272144 74%, #B693FE 100%);
  color: var(--accent);
  box-shadow: 0 -2px 40px rgba(54,255,240,0.15);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px;
  font-size: 1.09rem;
  transition: transform .23s;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__info {
  flex: 2 1 320px;
  padding-right: 20px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-size: 1.06rem;
  padding: 9px 22px;
  margin: 0;
  border-radius: 13px;
}
.cookie-banner button.accept {
  background: linear-gradient(90deg, #38fff0, #B693FE 90%);
  color: #272144;
  font-weight: 700;
}
.cookie-banner button.reject {
  background: #1a1636;
  color: #ff8df9;
  border: 1.5px solid #ff8df9;
}
.cookie-banner button.settings {
  background: none;
  color: #38fff0;
  border: 1.5px solid #38fff0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,19,37,0.94);
  z-index: 10110;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal__content {
  background: #2a2050;
  border-radius: 22px;
  padding: 44px 32px 28px 32px;
  color: var(--accent);
  box-shadow: 0 2px 40px #38fff034;
  min-width: 280px;
  max-width: 94vw;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInUp .37s;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  color: #38fff0;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #ff8df9;
}
.cookie-modal__prefs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal__prefs .prefs-group {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #241d40;
  border-radius: 12px;
  padding: 14px 18px;
}
.cookie-modal__prefs label {
  color: #B693FE;
  font-weight: 500;
}
.cookie-modal__prefs input[type="checkbox"] {
  accent-color: #38fff0;
  width: 22px;
  height: 22px;
}
.prefs-essential {
  opacity: 0.68;
}
.prefs-essential input {
  pointer-events: none;
}
/* Modal animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- RESPONSIVE LAYOUT --- */
@media (max-width: 1024px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .service-list, .service-categories, .team-member-list,
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .service-list li, .service-categories li, .team-member-list li,
  .feature {
    min-width: unset;
    width: 100%;
  }
}
@media (max-width: 768px) {
  html { font-size: 98%; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.31rem; }
  .hero {
    padding: 28px 0 24px 0;
  }
  .section {
    padding: 26px 7px;
    margin-bottom: 36px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 12px 7px;
  }
  .feature, .card, .testimonial-card {
    padding: 18px 10px;
    min-width: unset;
  }
  .mobile-menu-toggle { display: inline-flex; }
  header nav { display: none; }
}
/* Mobile menu on mobile full screen overlay */
@media (max-width: 768px) {
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
    min-width: none;
    box-shadow: -2px 0 24px #B693FE11;
  }
}
@media (max-width: 500px) {
  .container { padding: 0 3vw; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 10px;
    gap: 10px;
  }
  .cookie-banner__actions { gap: 8px; }
  .cookie-banner__info { padding-right: 0; font-size: 1rem; }
  .cookie-modal__content { padding: 18vw 4vw 7vw 5vw; min-width: unset; }
}
@media (max-width: 420px) {
  .testimonial-card, .feature, .card {
    padding: 10px 4px;
    min-width: 1px;
  }
  h1, h2 { font-size: 1.11rem; }
}
@media (max-width: 360px) {
  html { font-size: 87%; }
}
/*----- Micro-interactions / subtle animations for attention ----*/
.cta-primary, button, .category-filters button, .testimonial-card, .feature, .card {
  transition: box-shadow .16s, border .17s, background 0.16s, color 0.17s, transform .16s;
}
.cta-primary:active, button:active, .category-filters button:active {
  transform: scale(.98);
}

/* ========== VISUAL EFFECTS (Borders & NEON) ========== */
.neon-border {
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan),0 0 24px #ff8df933;
}

/* Misc fixes */
::-webkit-scrollbar { width: 8px; background: #1c1630; }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 9px; }

::selection { background: #B693FE; color: #272144; }

/* Hide visually but keep for screen readers */
.sr-only { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
