/* === 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,
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%; vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }
body { line-height: 1; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* === BRAND VARIABLES === */
:root {
  --primary: #1D3557;
  --secondary: #F2A900;
  --accent: #E7ECEF;
  --white: #fff;
  --black: #181B24;
  --grey: #F7F8FA;
  --creative-pink: #E65F97;
  --creative-blue: #4ECDC4;
  --creative-purple: #7066CF;
  --creative-lime: #E4F94B;
  --box-shadow: 0 2px 12px 0 rgba(29,53,87,0.13);
}

/* === CREATIVE ARTISTIC FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--accent);
  color: var(--primary);
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Impact, 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--primary);
}
h1 { font-size: 2.6rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
h4, h5 { font-size: 1.1rem; }

strong { font-weight: 700; color: var(--creative-pink); }
p, li, ul, ol, blockquote {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--white);
  box-shadow: 0 8px 32px rgba(29,53,87,0.06);
  position: relative;
  z-index: 30;
  border-bottom: 4px solid var(--secondary);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px 18px;
  gap: 28px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 18px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--creative-blue);
  color: var(--white);
}

.cta-button {
  background: linear-gradient(90deg, var(--secondary), var(--creative-pink), var(--creative-blue));
  color: var(--primary);
  padding: 12px 34px;
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 2px 16px 0 rgba(242,169,0,0.11);
  transition: background 0.22s cubic-bezier(.79,-0.12,.39,1.24), color 0.19s;
  position: relative;
  cursor: pointer;
  outline: none;
}
.cta-button:hover, .cta-button:active, .cta-button:focus {
  background: linear-gradient(90deg, var(--creative-blue), var(--secondary), var(--creative-pink));
  color: var(--white);
  box-shadow: 0 6px 32px 0 rgba(230,95,151,0.16);
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(90deg, var(--accent) 80%, var(--creative-lime) 100%);
  min-height: 310px;
  display: flex;
  align-items: center;
  margin-bottom: 60px; padding: 40px 20px;
  box-shadow: 0 6px 40px -10px var(--creative-blue);
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.hero h1 {
  color: var(--creative-pink);
  font-size: 2.9rem;
  text-shadow: 2px 6px 0px rgba(255,215,68,0.12), 4px 4px 0px var(--creative-blue, #4ECDC4);
}
.hero p {
  color: var(--primary);
  font-size: 1.25rem;
}

/* === SECTION & CONTENT WRAPPER === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 44px 4px 44px 4px;
  box-shadow: 0 2px 12px 0 rgba(29,53,87,0.10);
  transition: box-shadow 0.22s;
  position: relative;
}
section:hover {
  box-shadow: 0 8px 56px -10px var(--creative-purple, #7066CF);
}
section .container {
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0 auto;
}

/* === SPACING 20PX & FLEX GAPS MANDATORY PATERNS === */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  margin-bottom: 20px; position: relative; box-shadow: var(--box-shadow);
}
.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: var(--accent);
  border-radius: 24px 8px 24px 8px;
  box-shadow: 0 3px 24px 0 rgba(29,53,87,0.08);
  margin-bottom: 20px !important;
  transition: box-shadow 0.2s, background 0.18s;
}
.testimonial-card:hover {
  background: var(--white);
  box-shadow: 0 4px 38px 0 rgba(230,95,151,0.18);
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* === FEATURE GRID (for BENEFITS, TECHNOLOGIES, etc.) === */
.feature-grid {
  display: flex; flex-wrap: wrap; gap: 32px;
  justify-content: space-between; align-items: stretch;
}
.feature-grid > div {
  background: var(--creative-blue);
  color: var(--white);
  flex: 1 1 210px; min-width: 220px; max-width: 340px;
  padding: 26px 20px 30px 20px;
  border-radius: 20px 8px 26px 8px;
  box-shadow: 0 1px 12px 0 rgba(78,205,196,0.12);
  display: flex; flex-direction: column; align-items: flex-start; gap: 13px;
  position: relative;
  transition: background 0.16s, box-shadow 0.18s;
}
.feature-grid > div:hover {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 12px 42px -6px var(--creative-pink);
}
.feature-grid img {
  width: 38px; height: 38px;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 8px var(--creative-lime));
}
.feature-grid h3 {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.feature-grid > div:hover h3 {
  color: var(--primary);
}
.feature-grid p {
  font-size: 1rem;
  color: var(--white);
}
.feature-grid > div:hover p {
  color: var(--primary);
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--white);
  box-shadow: 0 2px 24px 0 rgba(29,53,87,0.13);
  color: var(--primary);
  border-left: 7px solid var(--creative-pink);
  border-radius: 20px 6px 20px 6px;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: var(--creative-blue);
}
.testimonial-card img[alt='Ocena'] {
  width: 26px; height: 26px; margin-right: 1px;
  vertical-align: middle;
}

/* === BUTTONS === */
button, .cta-button, .cookie-btn {
  cursor: pointer;
  outline: none;
  border: none;
  font-family: 'Montserrat','Roboto', sans-serif;
  font-weight: 700;
  border-radius: 32px;
  transition: background 0.18s, color 0.16s, box-shadow 0.22s;
}
.cookie-btn {
  background: var(--creative-blue);
  color: var(--white);
  padding: 10px 30px;
  margin-right: 18px;
  margin-bottom: 8px;
  font-size: 1rem;
  border-radius: 20px 10px 28px 8px;
  box-shadow: 0 2px 10px 0 rgba(78,205,196,0.10);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--black);
}

/* === LISTS & TEXT === */
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
  list-style-type: circle;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--primary);
}
ul li strong {
  color: var(--creative-pink);
  font-family: 'Montserrat', Arial, sans-serif;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.text-section img {
  width: 20px; height: 20px; vertical-align: middle; margin-right: 4px;
}
.text-section a {
  color: var(--creative-blue);
  border-bottom: 1.5px solid var(--creative-blue);
  padding-bottom: 1px;
  transition: color 0.19s, border 0.14s;
}
.text-section a:hover {
  color: var(--creative-pink);
  border-bottom-color: var(--creative-pink);
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 36px 0 16px 0;
  border-radius: 50px 0 0 0;
  box-shadow: 0 -6px 32px 0 rgba(29,53,87,0.08);
}
footer .container {
  display: flex; flex-direction: row;
  justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer-navigation {
  display: flex; flex-wrap: wrap; gap: 28px;
}
.footer-navigation a {
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 1.02rem;
  transition: color 0.2s;
}
.footer-navigation a:hover {
  color: var(--creative-lime);
}
.brand-logo img {
  width: 54px; height: auto;
}
.social-links {
  display: flex; gap: 14px;
}
.social-links a {
  display: flex;
  border-radius: 50%; background: var(--white);
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  box-shadow: 0 1px 6px 0 rgba(29,53,87,0.08);
  transition: background 0.18s;
}
.social-links a:hover { background: var(--creative-lime); }
.social-links img { width: 19px; height: 19px; }

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: none; /* visible on mobile */
  position: fixed;
  right: 18px; top: 19px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 18px;
  font-size: 2rem;
  z-index: 112;
  padding: 5px 20px;
  box-shadow: 0 4px 18px 0 rgba(242,169,0,0.17);
  border: none;
  transition: background 0.19s, color 0.16s;
}
.mobile-menu-toggle:hover {
  background: var(--creative-pink);
  color: var(--white);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(120deg, var(--primary) 84%, var(--creative-blue) 100%);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,0,.22,1);
  box-shadow: -4px 0 32px 0 rgba(29,53,87,0.2);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--white);
  font-size: 2.35rem;
  margin: 26px 32px 0 0;
  border: none;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover { color: var(--secondary); }
.mobile-nav {
  display: flex; flex-direction: column; gap: 28px;
  margin: 32px 0 0 36px;
}
.mobile-nav a {
  color: var(--white);
  font-family: 'Montserrat', Impact, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: 0.06em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  border-radius: 4px;
  transition: color 0.17s, border 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--creative-lime);
  border-bottom: 2px solid var(--creative-lime);
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -4px 38px -10px var(--creative-blue);
  z-index: 1000;
  padding: 28px 22px 18px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 80px;
  transition: transform 0.33s;
}
.cookie-banner__text {
  font-size: 1.02rem;
  max-width: 460px;
  color: var(--primary);
}
.cookie-consent-actions {
  display: flex; flex-direction: row; gap: 14px; align-items: center;
}
.cookie-btn.settings {
  background: var(--creative-pink);
  color: var(--white);
}
.cookie-btn.reject {
  background: var(--creative-lime);
  color: var(--black);
}
.cookie-btn.settings:hover {
  background: var(--creative-blue);
  color: var(--white);
}
.cookie-btn.reject:hover {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(29,53,87,0.36);
  z-index: 1500;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: var(--accent);
  box-shadow: 0 2px 32px 0 rgba(29,53,87,0.23);
  border-radius: 32px 16px 32px 16px;
  padding: 38px 40px;
  width: 90vw; max-width: 420px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  position: relative;
  animation: cookieModalPop 0.43s cubic-bezier(.84,-0.08,.13,1.25);
}
@keyframes cookieModalPop {
  0% { transform: scale(0.82) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute; top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal h3 {
  font-size: 1.21rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex; align-items: center; gap: 16px; margin-bottom: 12px;
}
.cookie-category input[type=checkbox] {
  width: 22px; height: 22px; accent-color: var(--creative-blue);
}
.cookie-category label {
  font-size: 1.02rem;
  color: var(--primary);
  user-select: none;
}
.cookie-category .always {
  color: var(--creative-pink);
  font-weight: 700;
  font-size: 0.92rem;
}

/* === FORM ELEMENTS === */
input, textarea, select {
  padding: 9px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--creative-blue);
  background: var(--accent);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 12px;
  transition: border .13s, box-shadow .13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--creative-pink);
  outline: none;
  box-shadow: 0 2px 12px 0 rgba(230,95,151,0.08);
}

/* === MISC ELEMENTS === */
::-webkit-scrollbar { width: 12px; background: var(--accent); }
::-webkit-scrollbar-thumb { background: var(--creative-blue); border-radius: 12px; }

hr {
  border: 0; border-top: 2px dashed var(--creative-pink); margin: 28px 0;
}

/* === ANIMATIONS === */
.cta-button, .feature-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.20s, background 0.17s, transform 0.19s;
}
.cta-button:hover, .feature-grid > div:hover, .testimonial-card:hover, .card:hover {
  transform: translateY(-4px) scale(1.03);
}

/* === RESPONSIVE (MOBILE FIRST) === */
@media (max-width: 1023px) {
  header .container {
    flex-direction: row; flex-wrap: wrap;
    gap: 12px;
  }
  .main-nav {
    gap: 17px;
    font-size: 1em;
    flex-wrap: wrap;
  }
  .feature-grid { gap: 16px; }
}
@media (max-width: 900px) {
  .footer-navigation { gap: 14px; flex-wrap: wrap; }
  .social-links { gap: 7px; }
}
@media (max-width: 768px) {
  /* HEADER and NAV */
  header .container {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-navigation, footer .container {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .social-links, .brand-logo {
    margin-top: 8px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  section, .hero {
    padding: 20px 8px;
    border-radius: 28px 4px 28px 4px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div {
    max-width: 100%; min-width: 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .hero h1, h1 { font-size: 1.3rem !important; }
  h2 { font-size: 1.15rem; }
  .hero p, p, ul, li { font-size: 0.98rem; }
  section { padding: 8px 3vw; margin-bottom: 34px; }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 8px;
    padding: 18px 6px 14px 6px;
  }
  .cookie-banner__text {
    font-size: 0.95rem; max-width: 100%;
  }
}

/* === NO GRID OR COLUMNS USED === */
/* All layouts use display: flex only! */