/* 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, 
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;
}
html {
  scroll-behavior: smooth;
  background: #14192b;
}
body {
  line-height: 1.5;
  font-size: 16px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #14192b;
  color: #fff;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
audible {
   display: none;
}
a {
  color: #F2C744;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #ffffff;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* BRAND COLORS */
:root {
  --color-primary: #192841;
  --color-secondary: #F2C744;
  --color-accent: #FFFFFF;
  --color-bg: #14192b;
  --color-bg-alt: #202a44;
  --color-card: #202a44;
  --color-shadow: rgba(24,45,82,0.10);
  --color-error: #e53935;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1,h2,h3,h4,h5,h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  line-height: 1.15;
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; margin-bottom: 8px; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}
p, ul li, ol li, blockquote, span, a, label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
strong { 
  font-weight: bold;
  color: var(--color-secondary); 
}
blockquote {
  background: #1d2337;
  border-left: 4px solid var(--color-secondary);
  padding: 20px 16px;
  font-style: italic;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* SECTION & LAYOUTS */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section {  /* Explicit for requirement */
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  max-width: 700px;
  margin: 0 auto 20px auto;
  text-align: center;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  padding: 28px 22px;
  background: var(--color-card);
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 var(--color-shadow);
  position: relative;
  transition: box-shadow .2s, border .2s;
}
.card:hover {
  box-shadow: 0 0 30px 0 #F2C74433, 0 2px 18px 0 #14192b1a;
  border: 1px solid var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.gadget-list, .guide-card-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}
.ranking-category-filters, .gadget-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: #202a44;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  color: #fff;
}

/* HERO SECTIONS - subtle background accent */
main > section:first-of-type {
  background: linear-gradient(88deg, #192841 60%, #243069 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 32px 0 #19284122;
  margin-bottom: 50px;
}

/* BUTTONS */
.button-primary, .button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 14px 40px;
  border-radius: 34px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  background: var(--color-secondary);
  color: var(--color-bg);
  border: none;
  box-shadow: 0 2px 8px 0 #F2C74433;
  transition: all .17s cubic-bezier(.53,.21,.29,.98);
  margin: 12px 0;
}
.button-primary:hover, .button-primary:focus {
  background: #FFD335;
  box-shadow: 0 4px 16px 0 #F2C74455, 0 1px 3px #19284122;
  color: #1b2333;
}
.button-secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--color-secondary);
  color: #192841;
}
.button-primary:active, .button-secondary:active {
  transform: scale(.98);
}

/* HEADER STYLES */
header {
  width: 100%;
  background: linear-gradient(90deg, #14192b 0%, #192841 100%);
  position: relative;
  z-index: 30;
  box-shadow: 0 2px 12px #14192b22;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img[alt="Gadzetowa Przewaga"] {
  height: 40px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 0 20px;
}
.main-nav a {
  color: #F2C744;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 17px;
  letter-spacing: 0.5px;
  position: relative;
  transition: color .2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #F2C744;
  transition: width .21s;
  margin-top: 3px;
  border-radius: 1px;
}
.main-nav a:hover:after {
  width: 100%;
}
.main-nav a.active, .main-nav a:focus {
  color: #fff;
}

/* MOBILE MENU - BURGER */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.2rem;
  color: #F2C744;
  border: none;
  padding: 8px 14px;
  z-index: 51;
  transition: color 0.18s;
  margin-left: auto;
}
.mobile-menu-toggle:focus{
  outline: 2px solid #fff;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #181e32cc;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.61,-0.08,.55,1.15);
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #F2C744;
  font-size: 2.2rem;
  border: none;
  margin: 26px 26px 8px 0;
  padding: 0 8px;
  transition: color 0.18s;
  z-index: 1001;
}
.mobile-menu-close:focus {
  outline: 2px solid #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  padding: 14px 0;
  width: 100%;
  border-radius: 8px;
  text-align: center;
  margin: 0;
  transition: background .17s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2C744;
  color: #192841;
}

/* Hide on desktop */
@media (min-width:1021px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* MAIN CARDS, CTA, FEATURES */
.service-icons, .workflow-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin: 22px 0 0 0;
}
.service-icons img, .workflow-icons img {
  width: 54px;
  height: 54px;
  background: #23326C;
  border-radius: 12px;
  box-shadow: 0 1px 4px #1a294e29;
  padding: 9px;
  transition: box-shadow .18s;
}
.service-icons img:hover, .workflow-icons img:hover {
  box-shadow: 0 0 16px #F2C74480, 0 1px 6px #24306922;
}

/* TESTIMONIAL CARD */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #192841;
  border-radius: 14px;
  box-shadow: 0 3px 14px #14192b22;
  margin-bottom: 22px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1b2333;
  margin-bottom: 0;
}
.testimonial-card div {
  font-size: 0.98rem;
  font-weight: 500;
}
.testimonial-card span {
  color: #F2C744;
  font-size: 1.1em;
  letter-spacing: 1.5px;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: #202a44;
  border-left: 3px solid #F2C744;
  border-radius: 9px;
  padding: 20px 22px;
  box-shadow: 0 1px 8px #19284122;
  color: #fff;
  margin-bottom: 12px;
}
.faq-item strong {
  display: block;
  color: #F2C744;
  font-size: 1.07rem;
  margin-bottom: 7px;
}
.faq-item p {
  margin: 0;
}

/* NEWSLETTER SIGNUP */
.newsletter-signup {
  background: #192841;
  border-radius: 14px;
  color: #F2C744;
  padding: 20px 22px;
  font-size: 1.08rem;
  text-align: center;
  margin: 23px 0 0 0;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}

/* LISTS & OLs */
ul, ol {
  margin-bottom: 16px;
  margin-left: 0;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 30px;
  position: relative;
  font-size: 1.06rem;
  line-height: 1.65;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 11px; height: 11px;
  background: #F2C744;
  border-radius: 50%;
  margin-right: 12px;
  position: absolute;
  left: 0; top: 8px;
}
ol li:before {
  display:none;
}
ol {
  counter-reset: ol;
}
ol li {
  counter-increment: ol;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
ol li::marker, ol li:before {
  content:counter(ol) ". ";
  color: #F2C744;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  margin-right: 8px;
}

/* FOOTER */
footer {
  background: #202a44;
  color: #fff;
  padding: 40px 0 24px 0;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -4px 14px #14192b22;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-nav a {
  color: #F2C744;
  transition: color 0.18s;
  font-size: 1.1rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}
.footer-nav a:hover { color: #fff; }
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  color: #fff;
  font-size: 0.96rem;
  margin-bottom: 18px;
}
.footer-brand {
  display: flex;
  justify-content: center;
  margin-top: 13px;
}
.footer-brand img {
  height: 38px;
  opacity: 0.8;
  /* futuristic glow */
  filter: drop-shadow(0 0 18px #F2C74480) drop-shadow(0 0 8px #19284166);
}

@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
  .main-nav, .footer-nav {
    gap: 20px;
  }
}

/* MISC MODERN NEON & FUTURISTIC EFFECTS */
h1, h2, h3 {
  text-shadow: 0 1px 2px #19284190, 0 0 18px #F2C74417;
}
.button-primary, .button-secondary, .card, .faq-item, .testimonial-card {
  box-shadow: 0 2px 8px #1d233736, 0 1.5px 8px #F2C7440F;
}

/* CARD CONTAINERS - spacing per requirements */
.card-container,
.content-grid {
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  border: 1px solid transparent;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #192841;
  color: #fff;
  padding: 24px 20px;
  box-shadow: 0 -2px 18px #F2C74422, 0 -1px 8px #14192b22;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  z-index: 1150;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .22s, transform .22s;
}
.cookie-consent-banner.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(150%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  margin-top: 7px;
}
.cookie-btn {
  padding: 10px 26px;
  background: #F2C744;
  color: #192841;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 28px;
  border: none;
  margin-right: 2px;
  margin-bottom: 6px;
  transition: background .16s, color .14s, box-shadow .19s;
  box-shadow: 0 0.5px 4px #F2C7441a;
  font-size: 15px;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFD335;
  color: #111b2d;
}
.cookie-btn.settings {
  background: transparent;
  border: 2px solid #F2C744;
  color: #F2C744;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F2C744;
  color: #192841;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  min-width: 320px;
  max-width: 98vw;
  width: 390px;
  background: #202a44;
  color: #fff;
  z-index: 1300;
  border-radius: 18px;
  box-shadow: 0 10px 48px #14192be7;
  padding: 34px 26px 20px 26px;
  animation: modalIn .28s cubic-bezier(.61,-0.08,.55,1.09) 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 1;
  transition: opacity .15s, transform .18s;
}
@keyframes modalIn {
  from { transform: translate(-50%,-40%) scale(0.97); opacity:0; }
  to { transform: translate(-50%,-50%) scale(1); opacity:1; }
}
.cookie-modal.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%) scale(.97);
}
.cookie-modal h2 {
  color: #fff;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  margin-bottom: 10px;
  font-size: 1.3rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #1d2337;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px 2px #19284120;
  transition: background .17s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .19s, background .22s;
}
.cookie-toggle input:checked + span {
  left: 21px;
  background: #F2C744;
}
.cookie-modal .cookie-desc {
  font-size: 0.97rem;
  color: #F2C744;
  margin-top: 0;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
  font-size: 1rem;
}

/* SCROLLBAR FUTURISTIC */
html::-webkit-scrollbar {
  width: 12px;
}
html::-webkit-scrollbar-thumb {
  background: #162041;
  border-radius: 8px;
}
html::-webkit-scrollbar-track {
  background: #243069;
}

/* GENERAL RESPONSIVENESS */
@media (max-width:1020px){
  .main-nav{
    display:none;
  }
  header .container{
    gap:10px;
  }
}
@media (max-width:900px){
  h1{font-size:2.1rem;}
  h2{font-size:1.25rem;}
  section,
  .section{padding:28px 10px;}
  .service-icons img, .workflow-icons img{width:48px;height:48px;}
}
@media (max-width:680px){
  section, .section{padding:16px 2px;}
  h1{font-size:1.39rem;}
  h2{font-size:1.13rem;}
  .footer-nav{gap:10px;}
}

/* Z-INDEX STACKING FOR MENUS, BANNERS, COOKIES ETC */
header, .mobile-menu{z-index:1000;}
.cookie-consent-banner{z-index:1100;}
.cookie-modal{z-index:1300;}

/* Visibly Hide Elements Utility */
.is-hidden, [hidden] {
  display: none !important;
}

/* MICROINTERACTIONS */
.card, .faq-item, .testimonial-card, .button-primary, .button-secondary, .service-icons img, .workflow-icons img {
  transition: box-shadow 0.15s, border 0.15s, transform 0.14s, filter 0.16s;
}
.card:active, .faq-item:active, .testimonial-card:active {
  transform: scale(.98);
}

/* Misc */
hr {
  border: none;
  border-top: 1px solid #243069;
  margin: 24px 0;
}

/* Focus States for Accessibility */
:focus-visible {
  outline: 2px solid #F2C744;
  outline-offset: 1.5px;
}

/* Prevent Content Overlap */
.section, section, .card, .card-container, .testimonial-card, .content-wrapper,
.faq-accordion, .feature-item, .footer-nav, .footer-info, .footer-brand {
  margin-bottom: 20px;
}
.section:last-child, section:last-child, footer, .footer-brand {
  margin-bottom: 0;
}

/* Custom Key Neon Border for Futuristic Accents */
.card, .feature-item, .faq-item {
  border: 1px solid #24306988;
}
.card:hover, .faq-item:hover {
  box-shadow: 0 0 20px #F2C74433, 0 2px 10px #24306922;
  border: 1px solid #F2C744;
}

/* Newsletter signup, CTA, and .text-section in hero: subtle neon ring */
.text-section, .newsletter-signup {
  border: 1.5px solid #19284166;
  box-shadow: 0 0 14px #24306930,0 0 0 4px transparent;
  transition: box-shadow .15s, border-color .15s;
}
.text-section:focus-within, .newsletter-signup:focus-within {
  border-color: #F2C744;
  box-shadow: 0 0 20px #F2C74444;
}

/* Animate section fade-in (optional, progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  section, .section {
    animation: sectionfade 0.4s ease;
  }
  @keyframes sectionfade {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0);  }
  }
}

/* Utility classes */
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }

/* End of Styles */
