/* ----- CSS RESET & BASE ----- */
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, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background-color: #0A2334;
  color: #F5F7FA;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(160deg,#0A2334 0%, #164A68 60%, #164A68 100%);
}

img, video {
  max-width: 100%;
  display: block;
}
a {
  color: #6FE3FF;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #BFD9EC;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #BFD9EC;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p, ul, ol {
  margin-bottom: 16px;
}

strong {
  color: #CFF4FC;
}
em { color: #BFD9EC; font-style: italic; }

/* Lists reset and spacing */
ul, ol {
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 8px;
}

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

.section,
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section,
  main section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 10px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  margin-bottom: 20px;
  padding: 0 0 12px 0;
}

/* ----- HEADER & NAVIGATION ----- */
header {
  background: rgba(10,35,52,0.96);
  border-bottom: 1px solid #164A68;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 16px 0 rgba(22,74,104,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #BFD9EC;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
  font-weight: 500;
  padding: 6px 8px;
}
header nav a:hover,
header nav a:focus {
  color: #6FE3FF;
}
header img {
  height: 40px;
  width: auto;
}
.btn-primary {
  background: linear-gradient(90deg, #164A68 25%, #6FE3FF 100%);
  border: none;
  color: #0A2334;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 12px 28px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(111,227,255,0.13);
  transition: background 0.25s, color 0.2s, box-shadow 0.23s;
  position: relative;
  z-index: 2;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #0A2334 10%, #41e4fd 90%);
  color: #BFD9EC;
  box-shadow: 0 0 18px 3px #00fff7cc, 0 2px 16px 0 #164A6870;
}

/* Hamburger Button - show only on mobile */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 1300;
  background: none;
  border: none;
  font-size: 2rem;
  color: #6FE3FF;
  cursor: pointer;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 2px 12px 0 rgba(111,227,255,0.23);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #164A68;
  color: #BFD9EC;
}

@media (max-width: 1080px) {
  header .container {
    gap: 12px;
  }
  header nav {
    gap: 16px;
  }
  .btn-primary {
    padding: 10px 18px;
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  header .btn-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  header nav { display: none; }
  .btn-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----- MOBILE MENU OVERLAY ----- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(10,35,52,0.98);
  box-shadow: 0 4px 32px 12px #164A6866;
  z-index: 3000;
  transform: translateX(-110vw);
  transition: transform .35s cubic-bezier(.23,1,.32,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #6FE3FF;
  font-size: 2.1rem;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
  z-index: 11;
  padding: 0;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #BFD9EC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 82px;
  margin-left: 36px;
  z-index: 12;
}
.mobile-nav a {
  display: block;
  color: #BFD9EC;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 12px 0;
  border-radius: 4px;
  min-width: 200px;
  transition: background 0.22s, color 0.2s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #164A68;
  color: #6FE3FF;
}

/* ----- HERO SECTION ----- */
.hero {
  background: linear-gradient(130deg, #164A68 70%, #3990CE 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 6px 36px 4px #164A6870;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  padding-top: 42px;
  padding-bottom: 36px;
}
.hero h1 {
  color: #F5F7FA;
  font-size: 2.6rem;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px #41e4fd3a;
}
.hero p {
  max-width: 630px;
  font-size: 1.18rem;
  color: #BFD9EC;
  margin-bottom: 30px;
}
@media (max-width: 700px) {
  .hero h1 { font-size: 1.7rem; }
  .hero .container { min-height: 210px; padding-top: 20px; padding-bottom: 12px; }
}

/* ----- CARD & FLEX CONTAINERS ----- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #164A68;
  color: #F5F7FA;
  border-radius: 18px;
  box-shadow: 0 2px 17px 1px #0A233452, 0 1px 6px 0 #6FE3FF25;
  margin-bottom: 20px;
  position: relative;
  padding: 22px 28px;
  transition: box-shadow 0.18s, transform 0.13s;
  min-width: 220px;
  min-height: 98px;
  flex: 1 1 220px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 42px 6px #6FE3FF50, 0 2px 16px 0 #BFD9EC66;
  transform: translateY(-2px) scale(1.012);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

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

/* ----- TESTIMONIALS ----- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #F5F7FA;
  color: #0A2334;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 23px 0 #6FE3FF33, 0 1.5px 6px 0 #164A6815;
  border-left: 6px solid #6FE3FF;
  max-width: 520px;
  transition: box-shadow 0.22s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 6px 42px 10px #6FE3FF50, 0 2px 16px 0 #164A6840;
}
.testimonial-card strong {
  color: #164A68; /* readable attribution on light card */
}

@media (max-width: 540px) {
  .testimonial-card { max-width: 100%; font-size: 0.98rem; }
}

/* ----- TABLES (CENIK, PRICELIST) ----- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #164A68;
  color: #F5F7FA;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 14px 0 #6FE3FF22;
}
thead {
  background: #0A2334;
  color: #6FE3FF;
}
th, td {
  padding: 18px 20px;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
tr {
  border-bottom: 1px solid #BFD9EC11;
}
tbody tr:last-child {
  border-bottom: none;
}
@media (max-width: 600px) {
  th, td { padding: 9px 6px; }
}

/* ----- FOOTER ----- */
footer {
  background: #0A2334;
  border-top: 1px solid #164A68;
  box-shadow: 0 -1px 24px 0 #164A6827;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer h3 {
  font-size: 1.3rem;
  color: #6FE3FF;
  margin-bottom: 8px;
}
footer .text-section p, footer a {
  color: #BFD9EC;
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer .social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
footer .social-links a img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 7px #6FE3FF66);
  transition: filter 0.16s;
}
footer .social-links a:hover img {
  filter: drop-shadow(0 2px 12px #BFD9EC);
}

@media (max-width: 768px) {
  footer .container { padding: 18px 8px; }
}

/* ----- SPACING CONTAINERS - REQUIRED PATTERNS ----- */
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ----- BUTTONS & INTERACTIONS ----- */
button, .btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  outline: none;
  transition: box-shadow 0.22s, background 0.24s, color 0.16s, border 0.18s;
}
button:active, .btn-primary:active {
  transform: scale(0.96);
}

/* ----- FORMS (FUTURE-PROOF) ----- */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #BFD9EC;
  background: #0A2334;
  color: #BFD9EC;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border 0.2s, box-shadow 0.22s;
  resize: vertical;
}
input:focus, textarea:focus {
  border-color: #6FE3FF;
  box-shadow: 0 0 0 2px #3990CE33;
}

label {
  display: block;
  font-weight: 500;
  color: #6FE3FF;
  margin-bottom: 6px;
}


/* ----- COOKIE CONSENT BANNER ----- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #0A2334;
  color: #F5F7FA;
  box-shadow: 0 -2px 18px #164A6840;
  padding: 26px 12px 22px 12px;
  z-index: 5000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  border-top: 2px solid #6FE3FF;
  animation: cookieFadeIn .42s cubic-bezier(.23,1,.32,1);
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-consent-banner p {
  color: #BFD9EC;
  max-width: 670px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  background: linear-gradient(90deg, #164A68 50%, #6FE3FF 95%);
  color: #0A2334;
  border: none;
  border-radius: 40px;
  padding: 10px 23px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.27s, color 0.17s, box-shadow 0.19s;
  box-shadow: 0 2px 12px 0 rgba(111,227,255,0.14);
  margin-bottom: 0;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: linear-gradient(90deg, #1270a3 50%, #00e5ff 95%);
  color: #BFD9EC;
}
.cookie-btn.settings {
  background: none;
  color: #6FE3FF;
  border: 2px solid #6FE3FF;
  font-weight: 500;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #164A68;
  color: #BFD9EC;
  border-color: #6FE3FF;
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 8px 14px 8px;
  }
}

/* ----- COOKIE SETTINGS MODAL ----- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 5100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0A2334E0;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  animation: cookieModalSlide .38s cubic-bezier(.23,1,.32,1);
}
@keyframes cookieModalSlide {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #F5F7FA;
  color: #0A2334;
  border-radius: 24px;
  max-width: 430px;
  width: 94vw;
  padding: 32px 26px 18px 26px;
  box-shadow: 0 6px 33px 9px #6FE3FF29, 0 2px 12px 0 #164A6840;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalSlide .38s cubic-bezier(.23,1,.32,1);
}
.cookie-modal h3 {
  color: #164A68;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.cookie-category {
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #164A6810;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1rem;
  color: #164A68;
  margin-bottom: 0;
  font-weight: 600;
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  accent-color: #164A68;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  margin-top: 0;
}
.cookie-category .essential {
  color: #777;
  font-size: .94rem;
  margin-left: 4px;
}
.cookie-modal .cookie-btn {
  margin-top: 24px;
  width: 100%;
}
.cookie-modal .close-cookie-modal {
  background: none;
  border: none;
  color: #164A68;
  font-size: 1.6rem;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  transition: color .18s;
}
.cookie-modal .close-cookie-modal:hover,
.cookie-modal .close-cookie-modal:focus {
  color: #6FE3FF;
}

@media (max-width: 540px) {
  .cookie-modal { padding: 14px 5vw 10px 5vw; }
  .cookie-modal h3 { font-size: 1.04rem; }
}

/* ----- UTILITY CLASSES & ANIMATION ----- */
.shadow-neon {
  box-shadow: 0 0 24px 4px #6FE3FF, 0 5px 36px 4px #164A6860 !important;
}
.text-accent {
  color: #6FE3FF;
}
.text-secondary {
  color: #BFD9EC;
}
.bg-primary {
  background: #164A68;
}
.bg-accent {
  background: #6FE3FF;
  color: #0A2334 !important;
}
.bg-dark {
  background: #0A2334 !important;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle fade-up animation for key sections */
.fade-up {
  opacity: 0;
  transform: translateY(38px);
  animation: fadeUp 0.8s cubic-bezier(.23,1,.32,1) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ----- RESPONSIVE TYPOGRAPHY & COMPONENTS ----- */
@media (max-width: 480px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.08rem; }
  .btn-primary { padding: 9px 10px; font-size: .93rem; }
}

/* ------ OVERRIDES FOR BRAND PERSONALITY ------ */
::-webkit-scrollbar {
  width: 10px;
  background: #164A68;
}
::-webkit-scrollbar-thumb {
  background: #6FE3FF80;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6FE3FFFF;
}

/* Focus outlines for accessibility */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #6FE3FF;
  outline-offset: 2px;
}

/* ----- Z-INDEX LAYERS FOR MENUS & BANNERS ----- */
header { z-index: 1020; }
.mobile-menu,
.mobile-menu-toggle { z-index: 3000; }
.cookie-consent-banner { z-index: 5000; }
.cookie-modal-overlay { z-index: 5100; }

/* Prevent content overlap under banners/modals (optional utility) */
body.has-cookie-banner main,
body.has-cookie-banner footer {
  padding-bottom: 96px;
}

/* =========== END OF STYLE.CSS =========== */
