/* RESET & BASE STYLES */
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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #23283a;
  color: #fff;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #F4A261;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #ffe4b8;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
}
strong, b {
  font-weight: 700;
}

/* VARIABLES (limited usage for compatibility) */
:root {
  --color-primary: #264653;
  --color-secondary: #F4A261;
  --color-accent: #FFFFFF;
  --color-bg: #23283a;
  --color-bg-light: #2d3245;
  --color-brand-shadow: rgba(44, 62, 80, 0.18);
  --neon-main: #F4A261;
  --neon-blue: #52B6F7;
  --neon-green: #29C7AC;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #eef3f7;
}
.text-section h3, .text-section h2 {
  color: var(--neon-main);
}
.legal-text h2, .legal-text h3 {
  color: var(--neon-blue);
}

/* LAYOUT CONTAINERS */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Section styles & spacing  */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(120deg, var(--color-bg-light) 75%, #243040 100%);
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 var(--color-brand-shadow);
}

/* Cards & Flexbox Patterns */
.card-container, .content-grid, .feature-grid, .testimonial-slider, .testimonial-list, .product-categories-grid, .topic-grid, .footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .category-item, .topic-item {
  margin-bottom: 20px;
  background-color: var(--color-bg-light);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 var(--color-brand-shadow);
  transition: box-shadow .18s, transform .18s;
}
.card:hover, .category-item:hover, .topic-item:hover {
  box-shadow: 0 6px 32px 0 var(--color-brand-shadow), 0 0 8px 0 var(--neon-main);
  transform: translateY(-2px) scale(1.02);
}

/* Feature Items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 22px 20px;
  min-width: 210px;
  flex: 1 1 220px;
  box-shadow: 0 3px 12px 0 var(--color-brand-shadow);
  transition: box-shadow .18s, border .15s;
  border: 1.5px solid rgba(244, 162, 97, 0.06);
}
.feature-item img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 8px var(--neon-main));
}
.feature-item:hover {
  border-color: var(--neon-main);
  box-shadow: 0 6px 32px 0 var(--color-brand-shadow),0 0 8px 0 var(--neon-main);
}

/* HERO STYLES */
header {
  width: 100%;
  background: #1f2433;
  box-shadow: 0 2px 16px 0 var(--color-brand-shadow);
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 14px;
}
.logo img {
  height: 50px;
  filter: drop-shadow(0 2px 8px var(--neon-blue));
  transition: filter .2s;
}
.logo:focus-visible img,
.logo:hover img {
  filter: drop-shadow(0 0 16px var(--neon-main));
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: #c7e3fb;
  font-weight: 600;
  font-size: 1rem;
  transition: color .18s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  letter-spacing: 0.01em;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--neon-main);
  border-bottom: 2px solid var(--neon-main);
}

.cta-btn {
  background: var(--neon-main);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 32px;
  border: none;
  border-radius: 32px;
  letter-spacing: 0.05em;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px 0 var(--neon-main);
  cursor: pointer;
  margin-left: 10px;
  transition: background .15s, color .15s, box-shadow .18s, transform .13s;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--neon-blue);
  color: #fff;
  box-shadow: 0 0 24px 0 var(--neon-blue), 0 2px 8px 0 var(--neon-blue);
  transform: translateY(-2px) scale(1.04);
}

/* MOBILE MENU BURGER */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--neon-main);
  cursor: pointer;
  z-index: 101;
  margin-left: 8px;
}
@media (max-width: 1020px) {
  .main-nav {
    gap: 10px;
  }
  header .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .logo img { height: 46px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 7px; }
  .cta-btn { padding: 11px 20px; font-size: 1rem; }
}
@media (max-width: 820px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE SLIDE MENU (overlay) */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(28,30,45, 0.98);
  z-index: 101;
  transform: translateX(100vw);
  transition: transform .32s cubic-bezier(.73,.13,.29,1.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 0 0 0 transparent;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--neon-main);
  font-size: 2.5rem;
  padding: 17px 22px 10px 22px;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 18px;
  gap: 8px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #f6deb6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 16px 0 10px 0;
  margin: 0;
  border-bottom: 2px solid transparent;
  width: fit-content;
  transition: color .18s, border .17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--neon-main);
  border-bottom: 2px solid var(--neon-main);
}

@media (max-width: 500px) {
  .mobile-menu-close { font-size: 2rem; padding: 12px 15px 5px 15px; }
  .mobile-nav {
    padding-left: 12px;
  }
  .mobile-nav a { font-size: 1.01rem; padding: 13px 0 6px 0; }
}

/* Testimonials */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 20px 24px;
  background: #f7f7fa;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(67, 207, 255, 0.09);
  min-width: 265px;
  max-width: 360px;
  flex: 1 1 255px;
  border-left: 5px solid var(--neon-blue);
  color: #2d3245;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  position: relative;
  overflow: hidden;
  transition: box-shadow .15s, border .15s;
}
.testimonial-card p {
  color: #23283a;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--color-primary);
  font-size: 1.05rem;
}
.testimonial-card:hover {
  box-shadow: 0 10px 34px 0 rgba(80, 235, 255, 0.16), 0 0 0 4px var(--neon-blue);
}

/* CARDS & CATEGORY */
.category-item, .topic-item {
  flex: 1 1 210px;
  background: var(--color-bg-light);
  color: #fff;
  border-radius: 16px;
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 var(--color-brand-shadow);
  border: 1.5px solid rgba(82, 182, 247, 0.07);
  transition: border .16s, box-shadow .15s, background .16s;
}
.category-item img, .topic-item img {
  width: 42px; height: 42px;
  filter: drop-shadow(0 0 9px var(--neon-blue));
}
.category-item:hover, .topic-item:hover {
  background: #2a4472;
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px 2px var(--neon-blue);
}

/* LISTS */
.benefits-list, .service-list, .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefits-list li, .service-list li {
  padding: 14px 0 0 0;
  color: #eef3f7;
  font-size: 1rem;
  border-left: 3px solid var(--neon-main);
  padding-left: 19px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #abd0ea;
  font-size: 0.98rem;
  padding-top: 5px;
  margin-bottom: 7px;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 6px var(--neon-blue));
}

/* FOOTER */
footer {
  background: #192030;
  color: #fff;
  width: 100%;
  padding: 38px 0 32px 0;
  margin-top: 52px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-row > div {
  min-width: 210px;
  flex: 1 1 235px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-menu a {
  color: var(--neon-main);
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .14s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--neon-blue);
}
footer img {
  filter: drop-shadow(0 2px 8px var(--neon-main));
  margin-bottom: 12px;
  width: 48px;
}
footer p {
  color: #6cdcff;
  font-size: 0.98rem;
}

/* SUPPORTING SECTION STYLES */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #eef3f7;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Article & Legal pages */
.legal-text {
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 24px 20px;
  color: #ecf7fc;
  margin-top: 10px;
  box-shadow: 0 2px 16px 0 var(--color-brand-shadow);
  border-left: 4px solid var(--neon-blue);
}
.legal-text h2,
.legal-text h3 {
  margin-bottom: 16px;
}
.legal-text ul {
  margin-bottom: 16px;
  padding-left: 28px;
}
.legal-text li {
  color: #d2e6f9;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #182038;
  color: #fff;
  padding: 24px 20px 16px 20px;
  box-shadow: 0 -6px 22px 0 rgba(36,91,155,0.21);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  z-index: 200;
  font-size: 1.12rem;
  animation: cookie-slideup .6s cubic-bezier(.72,.13,.49,1.14);
  border-radius: 24px 24px 0 0;
}
@keyframes cookie-slideup {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  flex: 1 1 390px;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex: 0 0 auto;
}
.cookie-btn,
.cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 30px;
  padding: 10px 26px;
  margin: 0;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .17s, color .13s, box-shadow .18s;
  box-shadow: 0 2px 8px 0 rgba(67, 207, 255, 0.09);
}
.cookie-btn.accept {
  background: var(--neon-main);
  color: var(--color-primary);
}
.cookie-btn.accept:hover,.cookie-btn.accept:focus {
  background: var(--neon-blue); color: #fff;
}
.cookie-btn.reject {
  background: #ea5b5b; color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #b72c2c;
}
.cookie-settings-btn {
  background: #2d3245;
  color: #d2e6f9;
  border: 1.5px solid var(--neon-main);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--neon-main); color: #23283a;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
  position: fixed;
  z-index: 201;
  left: 0; top: 0;
  right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,36,45,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity .22s;
}
.cookie-modal {
  background: #20326c;
  border-radius: 20px;
  box-shadow: 0 8px 40px 0 rgba(67, 207, 255, 0.15);
  max-width: 380px;
  width: 95vw;
  padding: 30px 24px 22px 24px;
  color: #fff;
  animation: modal-pop .27s cubic-bezier(.56,.42,.27,1.24);
  position: relative;
  z-index: 202;
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-size: 1.05rem;
}
@keyframes modal-pop {
  from { transform: translateY(28px) scale(.85); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--neon-main);
  font-size: 1.23rem;
  margin-bottom: 17px;
}
.cookie-category {
  margin-bottom: 9px;
}
.cookie-category label {
  color: #f6deb6;
  font-size: 1rem;
  margin-left: 8px;
  cursor: pointer;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: var(--neon-main);
  width: 18px; height: 18px;
  vertical-align: middle;
  cursor: pointer;
}
.cookie-essential {
  color: #79ffd8;
  font-weight: 700;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 13px;
  top: 13px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* RESPONSIVE PATTERNS */
@media (max-width: 900px) {
  .footer-row, .content-grid, .card-container, .feature-grid, .testimonial-slider, .testimonial-list, .product-categories-grid, .topic-grid {
    flex-direction: column;
    gap: 24px;
  }
  section { padding: 30px 8px; }
  .footer-row > div { min-width: 0; }
  .feature-item,
  .category-item,
  .topic-item,
  .testimonial-card { max-width: unset; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.08rem; }
  .footer-row > div { min-width: unset; }
  .section { margin-bottom: 44px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 20px; }
  section { padding: 22px 3px; margin-bottom: 38px; border-radius: 14px; }
  .testimonial-card, .feature-item, .category-item, .topic-item { min-width: 180px; }
  .cookie-banner { flex-direction: column; gap: 16px; padding: 20px 7px 13px 7px; }
  .cookie-banner-content { font-size: 0.97rem; }
}
@media (max-width: 540px) {
  body { font-size: 15px; }
  h1 { font-size: 1.29rem; }
  h2 { font-size: 1.07rem; }
  .footer-row { gap: 16px; }
  .footer-contact { font-size: 0.92rem; }
  .footer-menu a { font-size: 1rem; }
}

/* UTILS */
.gap-20 { gap: 20px !important; }
.mt-20 { margin-top: 20px !important; }

/* FOCUSES */
:focus-visible {
  outline: 2.5px solid var(--neon-blue);
  outline-offset: 2px;
  z-index: 201;
}

/* Miscellaneous */
::-webkit-scrollbar { width: 12px; background: #23283a; }
::-webkit-scrollbar-thumb { background: var(--neon-main); border-radius: 6px; }

/* Animations for micro-interactions */
.card, .feature-item, .testimonial-card, .cta-btn,
.category-item, .topic-item {
  transition: box-shadow .17s, transform .13s, background .2s, border .13s;
}

/* Hide cookie modal/overlay initially (add .open class via JS) */
.cookie-modal-overlay {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Specific padding for .section, enforced by system requirements */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  background: #f7f7fa;
  color: #2d3245;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Accessibility: improved color contrast for testimonials & reviews */
.testimonial-card p,
.testimonial-card span,
.testimonial-card strong {
  color: #222737;
}

/* Ensure no overlapping and proper whitespace */
.card, .feature-item, .testimonial-card, .category-item, .topic-item {
  margin-bottom: 20px;
}

.section > .container > .content-wrapper > * + * {
  margin-top: 16px;
}

/* Ensure main content spacing */
main {
  margin-bottom: 40px;
}


/* END Futrzany Zakątek tech_futuristic CSS */
