/* 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:inherit;vertical-align:baseline;box-sizing:border-box;
}
html { box-sizing: border-box; }
*,*:before,*:after { box-sizing:border-box; }
body{line-height:1;background:#F2F6FC;color:#174582;}
img{max-width:100%;height:auto;display:block;border:none;}
a{text-decoration:none;color:inherit;transition:color 0.2s;}
button, input, select, textarea {font-family:inherit;font-size:inherit;}
ul, ol {list-style: none;margin: 0;padding: 0;}

/* FONT IMPORTS: Use web fonts if available, default to system */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  background: #F2F6FC;
  color: #174582;
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #174582;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 14px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.18rem; }

p, li, span, table, td, th {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #174582;
  font-size: 1rem;
  line-height: 1.65;
}

strong {font-weight: 700;}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

/* == HEADER & NAVIGATION == */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(23,69,130,0.10);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 101;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.logo img {
  height: 44px;
  width: auto;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #174582;
  padding: 10px 7px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: #27B07A;
  color: #fff;
}
.cta-primary {
  background: #27B07A;
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  padding: 12px 26px;
  border-radius: 30px;
  box-shadow: 0 3px 24px 0 rgba(39,176,122,0.09);
  border: none;
  display: inline-block;
  transition: background 0.19s, transform 0.17s;
  cursor: pointer;
  margin-left: 14px;
  letter-spacing: 0.03em;
}
.cta-primary:hover, .cta-primary:focus {
  background: #174582;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* == MOBILE NAV == */
.mobile-menu-toggle {
  display: none;
  background: #27B07A;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 7px 14px;
  margin-left: 14px;
  cursor: pointer;
  z-index: 201;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #174582;
  box-shadow: 0 2px 16px rgba(39,176,122,0.07);
}

/* Overlay mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23, 69, 130, 0.95);
  color: #fff;
  z-index: 4000;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding-top: 20px;
  transition: transform 0.32s cubic-bezier(0.67,0,0.33,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  margin: 10px 28px 16px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  padding: 14px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.38rem;
  font-weight: 700;
  padding: 13px 3px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #27B07A;
  color: #fff;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 920px) {
  .main-nav {
    gap: 7px;
  }
}

@media (max-width: 820px) {
  header .container {
    gap: 4px;
    padding: 0 9px;
  }
}

@media (max-width: 768px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: relative;
    z-index: 210;
  }
  header .container {
    min-height: 62px;
  }
  .logo img { height: 36px; }
}

/* == HERO & GENERAL SPACING == */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-start;
  align-items: flex-start;
}
.hero, .hero-company {
  background: #174582;
  background-image: none;
  color: #fff;
  padding: 66px 0 52px 0;
  margin-bottom: 0;
}
.hero .container, .hero-company .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hero h1, .hero-company h1 {
  color: #fff;
  font-size: 2.7rem;
  margin-bottom: 14px;
  line-height: 118%;
}
.hero .subheadline, .hero-company .subheadline {
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.96;
  margin-bottom: 20px;
}
.hero .cta-primary, .hero-company .cta-primary { margin-top: 20px; }

@media (max-width:600px) {
  .hero, .hero-company { padding: 34px 0 24px 0; }
  .hero h1, .hero-company h1 { font-size: 2rem; }
}

/* == FLEXBOX PATTERNS & SECTIONS == */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 38px 0 rgba(23, 69, 130, .09);
  margin-bottom: 20px;
  padding: 28px 28px 22px 28px;
  position: relative;
  min-width: 260px;
  transition: box-shadow 0.19s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: 0 8px 42px 0 rgba(39,176,122,0.12); transform: translateY(-4px) scale(1.015); }

.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: flex-start;
  gap: 20px;
  background: #fff;
  color: #174582;
  border-radius: 18px;
  padding: 20px 26px;
  box-shadow: 0 4px 30px 0 rgba(23, 69, 130, 0.13);
  margin-bottom: 20px;
  min-width: 280px;
  max-width: 600px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #174582;
}
.testimonial-card span {
  font-size: 1rem;
  color: #27B07A;
  font-weight: bold;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(39,176,122,0.13);
  transform: translateY(-2px) scale(1.01);
}

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

.features ul, .services ul, .business-features ul, .plan-benefits ul, .technology ul,
.secure-level ul, .security-services ul, .about ul, .why-trust ul, .contact-section ul,
.privacy-policy ul, .gdpr-policy ul, .cookies-policy ul, .terms-of-service ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-left: 0;
}
.features li, .services li, .business-features li, .plan-benefits li, .technology li,
.secure-level li, .security-services li, .about li, .why-trust li, .contact-section li,
.privacy-policy li, .gdpr-policy li, .cookies-policy li, .terms-of-service li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  line-height: 1.7;
  background: none;
}
.features li img, .business-features li img, .secure-level li img, .contact-section .company-contact-details img {
  width: 28px;
  height: 28px;
  margin-right: 7px;
}

/* == Table Style (Cennik) == */
table {
  border-collapse: collapse;
  margin: 22px 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(27,76,144,0.07);
  border-radius: 12px;
  overflow: hidden;
}
th, td {
  padding: 16px 13px;
  text-align: center;
  font-size: 1rem;
  border-bottom: 1px solid #F2F6FC;
}
th {
  background: #27B07A;
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.04rem;
}
tr:last-child td { border-bottom: 0; }
td {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #174582;
}
td:first-child, th:first-child {
  text-align: left;
}

/* == Buttons & Links == */
button, .cta-primary, .cookie-banner-btn, .cookie-settings-btn {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 800;
  cursor: pointer;
  border: none;
  border-radius: 30px;
  outline: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
/* Cookie Consent Banner Buttons */
.cookie-banner-btn {
  background: #27B07A;
  color: #fff;
  padding: 11px 24px;
  margin: 10px 10px 0 0;
  font-size: 1rem;
  border-radius: 25px;
  box-shadow: 0 2px 7px rgba(27,76,144,0.09);
}
.cookie-banner-btn.deny {
  background: #E94F37;
}
.cookie-banner-btn.settings {
  background: #174582;
}
.cookie-banner-btn:hover, .cookie-banner-btn:focus {
  background: #174582;
  color: #fff;
}
.cookie-banner-btn.settings:hover, .cookie-banner-btn.settings:focus {
  background: #27B07A;
}

/* == Cookie Banner & Modal == */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #174582;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 24px 0 rgba(23,69,130,0.10);
  padding: 23px 8vw 18px 8vw;
  z-index: 5000;
  gap: 17px;
  transform: translateY(120%);
  transition: transform 0.41s cubic-bezier(0.67,0,0.33,1);
}
#cookie-banner.visible {
  transform: translateY(0);
}
#cookie-banner p {
  font-size: 1.08rem;
  text-align: center;
  margin-bottom: 0;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

/* Cookie Modal Overlay */
#cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,69,130,0.70);
  z-index: 5200;
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn 320ms;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#cookie-modal {
  background: #fff;
  color: #174582;
  border-radius: 19px;
  box-shadow: 0 4px 38px rgba(23,69,130,0.13);
  padding: 34px 29px 20px 29px;
  min-width: 320px;
  max-width: 96vw;
  width: 380px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: zoomIn 340ms;
}
@keyframes zoomIn {
  from { transform: scale(0.91); opacity: 0.25;} 
  to { transform: scale(1); opacity: 1; }
}
#cookie-modal h3 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: #174582;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
#cookie-modal .cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#cookie-modal .cookie-category label {
  font-size: 1.05rem;
  color: #174582;
  font-weight: 700;
}
#cookie-modal .cookie-info {
  margin: 10px 0 24px 0;
  font-size: 0.97rem;
}
#cookie-modal .cookie-switch {
  margin-left: auto;
}
#cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #27B07A;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 17px;
  margin-top: 12px;
}

#cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 19px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #174582;
  cursor: pointer;
}
#cookie-modal .close-modal:hover, #cookie-modal .close-modal:focus {
  color: #27B07A;
}

/* == FOOTER == */
footer {
  background: #174582;
  color: #fff;
  padding: 44px 0 24px 0;
  box-shadow: 0 -2px 26px 0 rgba(23,69,130,0.07);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.logo-footer {
  display: flex;
  align-items: center;
}
.logo-footer img {
  height: 34px;
  width: auto;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.footer-nav a {
  color: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  opacity: 0.94;
  transition: color 0.17s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #27B07A;
  opacity: 1;
}
.footer-contact {
  color: #fff;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0.90;
}
.footer-contact a {
  color: #27B07A;
  font-weight: 700;
  word-break: break-all;
}

@media (max-width: 1100px) {
  footer .container { gap: 9px; }
  .footer-nav { gap: 12px; }
}

@media (max-width: 820px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 0 10px;
  }
  .footer-contact { font-size: 0.98rem; }
  .logo-footer img { height: 27px; }
}

/* == Responsive Adjustments == */
@media (max-width: 820px) {
  .container { padding: 0 9px; }
  .section, section { padding: 28px 7px; }
}

@media (max-width: 600px) {
  .section, section { padding: 13px 0; margin-bottom: 34px; }
}

@media (max-width: 700px) {
  .testimonial-card { padding: 12px 9px; min-width: 200px; font-size: 0.92rem; }
}

/* == TEXT-IMAGE FLEX RESPONSES == */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
}

/* == General SPACING patterns for all cards/sections == */
.section, section, .content-wrapper, .contact-section, .feature-item, .testimonial-card, .card {
  margin-bottom: 20px;
}
.card, .testimonial-card, .feature-item, section {
  margin-right: 0;
  margin-left: 0;
}
.card-container, .content-grid, .features ul, .services ul, .business-features ul {
  gap: 20px;
}

/* == FORMATTING FOR UTILITARY == */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.company-contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F2F6FC;
  border-radius: 14px;
  padding: 13px 18px;
}
.company-contact-details p {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.map-placeholder {
  margin-top: 16px;
  padding: 18px 13px;
  background: #fff;
  border-radius: 9px;
  font-size: 0.98rem;
  box-shadow: 0 1px 7px rgba(23,69,130,0.07);
}

/****** VIBRANT/ENERGETIC EXTRAS ******/
/* High-contrast vibrant greens, accents, energetic dynamic bg on some CTAs */
.cta-primary, .card, .testimonial-card, .cookie-banner-btn {
  box-shadow: 0 3px 16px 0 rgba(39,176,122,0.10);
}
.card:before {
  /* Decorative electric accent blob */
  content: '';
  display: block;
  position: absolute;
  top: -17px; right: -30px;
  width: 58px; height: 58px;
  background: #27B07A;
  opacity: 0.19;
  border-radius: 999px;
  filter: blur(2.5px);
  z-index: 0;
}
.card, .testimonial-card { position: relative; z-index: 1; }

/* Table, Section, Testimonial Accents */
section > h1:not(.thank-you-section h1),
section > h2, .plan-benefits h2, .content-wrapper > h1, .content-wrapper > h2 {
  border-left: 9px solid #27B07A;
  padding-left: 15px;
  background: none;
}
.privacy-policy h1, .gdpr-policy h1, .cookies-policy h1, .terms-of-service h1 {
  border-left: 9px solid #174582;
  padding-left: 15px;
}

/**** Thank you/Contact special sections ****/
.thank-you-section {
  min-height: 35vh;
  background: #fff;
  color: #27B07A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(23,69,130,0.10);
}
.thank-you-message {
  font-size: 1.08rem;
  color: #174582;
  margin-bottom: 12px;
}
.next-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

/* == Animations == */
.cta-primary, .cookie-banner-btn {
  transition: background 0.2s, color 0.2s, transform 0.18s, box-shadow 0.19s;
}
.cta-primary:active, .cookie-banner-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 5px rgba(27,176,122,0.09);
}

/**** SCROLLBARS ****/
::-webkit-scrollbar { width: 8px; background: #EEF2F7; }
::-webkit-scrollbar-thumb { background: #27B07A; border-radius: 3px; }

/* == ACCESSIBILITY == */
:focus {
  outline: 2px solid #27B07A;
  outline-offset: 2px;
}

/******************************************/
/* === MOBILE-RESPONSIVE ADAPTATION === */
@media (max-width: 1024px) {
  .container { max-width: 99vw; }
}
@media (max-width: 860px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.5rem; }
  .hero h1, .hero-company h1 { font-size: 1.7rem; }
}
@media (max-width: 700px){
  h1 { font-size: 1.4rem; }
}
@media (max-width:700px){
  .content-wrapper { padding: 0 2vw; }
}

/* Hide section background acc on very small screens */
@media (max-width:480px) {
  .card:before { display: none; }
}

/**************************************/

/* === END OF STYLES === */
