/* ===== Ventra Charge Tech Futuristic CSS (Flexbox only, mobile-first) ===== */

/* === 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,
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;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  background: #1d2636;
  color: #EFEFEF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #1d2636;
  position: relative;
  z-index: 0;
}
*, *:before, *:after { box-sizing: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; color: #EFEFEF; }
a { color: #F7B32B; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #fff960; text-decoration: underline; }
ul, ol { margin-left: 24px; margin-bottom: 16px;}
li { margin-bottom: 8px; }
img { max-width: 100%; display: block; border-radius: 8px; }

/* === Brand Color Variables (with fallbacks) === */
:root {
  --color-primary: #234168;
  --color-secondary: #EFEFEF;
  --color-accent: #F7B32B;
  --color-bg-dark: #181e28;
  --color-bg-card: #232b3e;
  --color-bg-section: #202a3c;
  --color-border: #2a3952;
  --color-text: #EFEFEF;
  --color-text-dark: #1d2636;
  --color-error: #E63946;
}

/* === Typography === */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-text, #EFEFEF);
}
h1 { font-family: 'Montserrat', Arial, Helvetica, sans-serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; letter-spacing: -.5px; line-height: 1.15; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 18px; letter-spacing: -.3px; line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -.2px; line-height: 1.3; }
h4, h5, h6 { font-weight: 500; }
p, li, table, th, td { font-size: 1rem; line-height: 1.6; color: var(--color-text, #EFEFEF); }
strong { color: var(--color-accent); font-weight: bold; }

/* Typography Scale (used from h1-h3 and buttons/lead) */
@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.35rem; }
  p, li, table, th, td { font-size: 1.1rem; }
}
@media (min-width: 992px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

/* === Utility Classes & Layout Patterns === */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 24px;
  box-shadow: 0 6px 32px rgba(35,65,104,0.08), 0 1.5px 12px rgba(35,65,104,0.08);
}
@media (min-width: 768px) {
  .section { padding: 54px 32px; }
  .content-wrapper { gap: 40px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  background: var(--color-bg-card);
  box-shadow: 0 4px 24px rgba(35,65,104,0.08), 0 1px 6px rgba(41,93,166,0.2);
  padding: 32px;
  transition: box-shadow 0.3s, border 0.2s;
  border: 1.5px solid var(--color-border);
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 44px rgba(247,179,43,0.25), 0 2px 12px rgba(35,65,104,0.12);
  border-color: var(--color-accent);
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  color: var(--color-text-dark);
  box-shadow: 0 2px 12px rgba(55,110,204,0.11);
  margin-bottom: 20px;
  min-width: 0;
}
.testimonial-card p {
  color: #222;
  font-style: italic;
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: #234168;
}
@media (min-width: 600px) {
  .testimonial-card { flex-direction: row; justify-content: flex-start; align-items: flex-start; }
  .testimonial-card p { font-size: 1.13rem; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Spacing between various content cards */
.features-list, .service-list, .faq-list, .benefit-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  margin-left: 0;
  margin-bottom: 20px;
}
.features-list li, .service-list li, .faq-list li, .benefit-list li {
  position: relative;
  border-radius: 16px;
  background: var(--color-bg-card);
  padding: 26px 22px 18px 22px;
  box-shadow: 0 2.5px 18px rgba(35,65,104,0.10);
  transition: box-shadow 0.28s, border 0.2s;
  border: 1px solid var(--color-border);
}
.features-list img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 6px #F7B32B99);
}
.features-list li:hover, .service-list li:hover {
  box-shadow: 0 9px 40px rgba(247,179,43,0.15), 0 2px 6px rgba(35,65,104,0.10);
  border-color: var(--color-accent);
}
@media (min-width: 800px) {
  .features-list, .service-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
  }
  .features-list li, .service-list li {
    flex: 1 1 calc(50% - 20px);
    min-width: 280px;
    max-width: 48%;
  }
}
@media (min-width: 1100px) {
  .features-list li, .service-list li {
    flex: 1 1 23%;
    max-width: 23%;
  }
}

/* Hero Section (index only) */
.hero {
  padding: 54px 0 48px 0;
  background: linear-gradient(120deg, #234168 68%, #10172A 100%);
  box-shadow: 0 18px 80px #23416844;
  min-height: 320px;
  border-radius: 0 0 64px 64px;
  margin-bottom: 56px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero h1 {
  text-shadow: 0 4px 32px #19315caa;
}
.hero .btn-primary {
  margin-top: 24px;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 32px;
  border: none;
  background: var(--color-accent);
  color: #1d2636;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 2.5px 7px rgba(247, 179, 43, 0.12);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.28s, color 0.2s, transform 0.16s;
  outline: none;
  margin-right: 12px;
  margin-bottom: 8px;
  border: 2px solid var(--color-accent);
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fff960;
  color: #1d2636;
  box-shadow: 0 4px 16px #F7B32B77;
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent);
  color: #1d2636;
}

/* Table Styling (Cennik) */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  background: var(--color-bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(35,65,104,0.08);
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 18px 18px;
  border-bottom: 1px solid #35476055;
  letter-spacing: 0.2px;
}
.pricing-table th { background: #234168; color: #fff; font-size: 1.09rem; font-weight: 600; }
.pricing-table td { color: #EFEFEF; }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.service-price { color: var(--color-accent); font-weight: 700; font-size: 1.13rem; margin: 6px 0 0 0; letter-spacing: 0.4px; }

/* Footer */
footer {
  background: #1b2433;
  padding: 42px 0 16px 0;
  color: #AAB4C4;
  font-size: 0.98rem;
}
footer .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #AAB4C4;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus { background: var(--color-accent); color: #1d2636; }
.footer-contact {
  color: #AAB4C4;
}
.footer-contact a { color: #F7B32B; }
.footer-contact a:hover { color: #fff960; }
.footer-copy {
  margin-top: 6px;
  color: #79849a;
  font-size: 0.93em;
}

/* Header (sticky on top) */
header {
  width: 100%;
  background: #202a3c;
  box-shadow: 0 3px 14px rgba(35,65,104,0.12);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 200;
}
header .container {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px 8px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
}

/* Desktop Main Nav */
.main-nav {
  display: none;
  align-items: center;
  gap: 1.25em;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #EFEFEF;
  padding: 6px 14px;
  border-radius: 16px;
  transition: background 0.22s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: #1d2636;
}
.header .btn-primary { margin-left: auto; }

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .mobile-menu-toggle { display: none !important; }
}


/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: #F7B32B;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 301;
  border-radius: 8px;
  padding: 6px 10px;
  line-height: 1;
  margin-left: 4px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover {
  background: #23416822;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #202a3c;
  padding: 32px 20px 20px 24px;
  z-index: 4000;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.66,.13,.5,1.03);
  box-shadow: 0 14px 38px #23416844;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F7B32B;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
  border-radius: 6px;
  padding: 6px 12px;
  transition: background 0.16s;
}
.mobile-menu-close:hover {
  background: #23416822;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #EFEFEF;
  padding: 12px 10px;
  border-radius: 10px;
  transition: background 0.22s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #1d2636;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Hide mobile menu & show burger button on mobile */
@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* === Responsive Flex Layouts === */
.text-image-section {
  flex-direction: column;
}
@media (min-width: 768px) {
  .text-image-section { flex-direction: row; }
}

@media (max-width: 767px) {
  .section { padding: 32px 10px; }
  .features-list li, .service-list li { padding: 18px 12px 13px 12px; }
  .container { padding-left: 8px; padding-right: 8px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}

/* === Cookie Consent Banner & Modal === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232b3e;
  color: #fff;
  z-index: 6000;
  box-shadow: 0 -4px 18px #23416855;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 18px;
  transition: transform 0.33s cubic-bezier(.5,.16,.59,1.23);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 16px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 22px;
  margin-right: 6px;
  margin-bottom: 0;
  background: var(--color-accent);
  color: #1d2636;
  transition: background 0.17s, color 0.16s, box-shadow 0.21s;
  box-shadow: 0 2px 8px #F7B32B33;
}
.cookie-btn.reject {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn.reject:hover {
  background: var(--color-accent);
  color: #1d2636;
}
.cookie-btn.settings {
  background: #232b3e;
  color: #fff;
  border: 2px solid #526db7;
}
.cookie-btn.settings:hover {
  background: #234168;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 7000;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(22,30,52,0.83);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .22s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.active { opacity: 1; pointer-events: auto; }
.cookie-modal {
  background: #232b3e;
  color: #fff;
  padding: 38px 22px 28px 22px;
  min-width: 300px;
  max-width: 96vw;
  border-radius: 20px;
  box-shadow: 0 6px 30px #23416877;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  animation: cookieModalShow .32s cubic-bezier(.6,.18,.65,1) 1;
}
@keyframes cookieModalShow {
  from { transform: scale(.92) translateY(45px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 14px;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 10px;
  transition: background 0.17s;
}
.cookie-modal .cookie-modal-close:hover { background: #23416822; }
.cookie-modal h3 {
  font-size: 1.18rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid #35476077;
  margin-bottom: 2px;
}
.cookie-category strong { color: #fff; font-weight: 600; }
.cookie-category .cookie-switch {
  appearance: none;
  width: 42px;
  height: 24px;
  background: #234168;
  border-radius: 40px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
  border: 2px solid #F7B32B;
}
.cookie-switch:checked {
  background: var(--color-accent);
  border-color: #234168;
}
.cookie-switch::before {
  content: '';
  display: block;
  position: absolute;
  left: 2px;
  top: 2.1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s;
}
.cookie-switch:checked::before {
  transform: translateX(16px);
}
.cookie-category .cookie-switch:disabled {
  background: #738196;
  cursor: not-allowed;
  border: 2px solid #ccc;
}

.cookie-modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .cookie-modal { padding: 17px 7px 22px 14px; min-width: 98vw; }
}

/* === Section-specific Components === */
.text-section {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-list li {
  background: var(--color-bg-card);
  border-left: 6px solid #234168;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 8px;
  box-shadow: 0 1.5px 8px rgba(35,65,104,0.07);
}
.faq-list h3 {
  color: var(--color-accent);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.faq-list p { color: #EFEFEF; font-size: 1rem; }

.benefit-list li {
  background: transparent;
  border: none;
  padding: 0 0 6px 26px;
  border-radius: 8px;
  color: #F7B32B;
  position: relative;
  margin-bottom: 10px;
}
.benefit-list li:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 12px;
  height: 12px;
  background: linear-gradient(90deg,#F7B32B 60%,#FFE877 100%);
  border-radius: 50%;
  box-shadow: 0 0 4px #F7B32B99;
}

/* Animations & Micro-interactions */
a, .btn-primary, .btn-secondary, .cookie-btn {
  transition: color 0.17s, background 0.20s, box-shadow 0.22s, transform 0.16s;
}
.features-list li:hover, .service-list li:hover, .card:hover {
  transform: translateY(-3px) scale(1.02);
}

/* === Miscellaneous === */
::-webkit-input-placeholder { color: #9eaed4; }
:-moz-placeholder { color: #9eaed4; }
::-moz-placeholder { color: #9eaed4; }
:-ms-input-placeholder { color: #9eaed4; }
::placeholder { color: #9eaed4; }

hr {
  border: 0;
  height: 1px;
  background: #23416855;
  margin: 28px 0;
}

/* Modal overlay fallback (for mobile menus/cookies) */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(29,38,54,0.44);
  z-index: 3999;
  display: none;
}
.overlay.active { display: block; }

/* Scrollbar for webkit browsers */
::-webkit-scrollbar {
  width: 9px;
  background: #202a3c;
}
::-webkit-scrollbar-thumb {
  background: #234168;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F7B32B77;
}

/* === Ensure No Overlapping: Card/Section Spacing === */
.section + .section,
.section + section,
.card + .card,
.card-container > .card + .card {
  margin-top: 28px;
}
.features-list li + li, .service-list li + li {
  margin-top: 16px;
}

@media (min-width: 900px) {
  .section { margin-bottom: 80px; }
}

/* === Accessibility Focus Styles === */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  outline: 2.5px solid #F7B32B;
  outline-offset: 2.5px;
}

/* === Neon/Tech Micro Accents === */
.btn-primary, .btn-primary:hover, .btn-secondary:hover, .card:hover, .features-list li:hover, .service-list li:hover {
  box-shadow: 0 0 16px #F7B32B77, 0 2.5px 11px #23416833, 0 1px 8px #0003;
}
.features-list img, .service-list img {
  filter: drop-shadow(0 0 7px #F7B32B88);
}

/* ==== End of Ventra Charge "Tech Futuristic" CSS ==== */
