/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F0F4F8;
  color: #23405C;
  line-height: 1.6;
  min-height: 100vh;
}
img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-top: 8px;
  margin-bottom: 8px;
}
li {
  margin-bottom: 6px;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: #23405C;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #348E5C;
  text-decoration: underline;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #23405C;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(80, 166, 120, 0.07);
  transition: box-shadow 0.3s;
  position: relative;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* FLEX LAYOUTS */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 260px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 18px rgba(35, 64, 92, 0.1);
  padding: 28px 22px;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 4px 40px rgba(80, 166, 120, 0.15);
  transform: translateY(-6px) scale(1.03) rotate(-1deg);
}
.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: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(35,64,92,0.07);
  margin-bottom: 20px;
  margin-top: 18px;
  min-width: 260px;
  max-width: 650px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  color: #23405C;
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial-meta {
  font-size: 0.95rem;
  color: #348E5C;
  font-weight: 700;
  margin-left: 22px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid,
.partner-logos,
.trust-badges,
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  align-items: center;
}
.partner-logos li, .trust-badges li, .client-logos li {
  list-style: none;
}

/* HERO / PLAYFUL EFFECTS */
.hero {
  background: linear-gradient(100deg, #F8FFD2 60%, #F9E7E7 100%);
  box-shadow: 0 2px 18px rgba(80, 166, 120, 0.08);
  border-radius: 28px;
}
.hero h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.3rem;
  color: #50A678;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 20px;
}

/* BUTTONS */
.btn-primary,
button.btn-primary {
  background: #348E5C;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 48px;
  padding: 14px 36px;
  cursor: pointer;
  box-shadow: 0 2px 18px rgba(52, 142, 92, 0.10);
  margin: 14px 0 0 0;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #23405C;
  color: #FFF;
  transform: translateY(-2px) scale(1.05) skew(-1deg, 0.5deg);
}
.btn-secondary {
  background: #FCE589;
  color: #23405C;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  border-radius: 48px;
  padding: 12px 30px;
  box-shadow: 0 2px 12px rgba(252,229,137,0.09);
  border: none;
  cursor: pointer;
  margin-top: 10px;
  font-size: 1rem;
  transition: background 0.22s, color 0.22s, transform 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #50A678;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(35, 64, 92, 0.04);
  border-radius: 0 0 24px 24px;
  padding: 0 0 4px 0;
  margin-bottom: 32px;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 74px;
}
header nav {
  display: flex;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.06rem;
  padding: 8px 16px;
  border-radius: 32px;
  color: #23405C;
  transition: background 0.17s, color 0.17s;
  letter-spacing: 0.01em;
}
header nav a:hover, header nav a:focus {
  background: #FCE589;
  color: #348E5C;
}
header .btn-primary {
  margin-left: 14px;
  margin-right: 4px;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #50A678;
  color: #50A678;
  font-size: 2rem;
  padding: 6px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  position: relative;
  z-index: 1030;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FCE589;
  border-color: #348E5C;
  color: #348E5C;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(80, 166, 120, 0.95);
  padding: 36px 0;
  z-index: 1050;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.43,1.19,.82,1);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: #fff;
  color: #50A678;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  padding: 8px 18px 6px 18px;
  cursor: pointer;
  z-index: 1100;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FCE589;
  color: #23405C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 36px 0 0 32px;
  width: 80vw;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 14px 18px 14px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  margin-right: 0;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FCE589;
  background: rgba(255,255,255,0.18);
}

/* MAIN, TEXT, LISTS */
p {
  margin-bottom: 12px;
  font-size: 1.08rem;
}
.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul, .text-section ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 24px;
}
.text-section li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.icon-list {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 26px 0 10px 0;
}
.icon-list img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(52, 142, 92, 0.11);
  background: #FCE589;
  padding: 4px;
  animation: iconbounce 1.4s cubic-bezier(.57,-0.35,.56,1.44) infinite alternate;
}
@keyframes iconbounce {
  0% { transform: translateY(0) rotate(0deg); }
  60% { transform: translateY(-5px) rotate(-2deg); }
  100% { transform: translateY(-10px) rotate(1deg); }
}

/* NEWSLETTER & CTA */
.newsletter-benefits ul {
  margin-top: 12px;
  gap: 9px;
}
.newsletter-confirm {
  background: #FCE589;
  padding: 16px;
  border-radius: 16px;
  margin-top: 14px;
  font-size: 1.08rem;
}
.contact-cta, .cta, .support-cta {
  background: #F8FFD2;
}
.contact-cta .btn-primary, .cta .btn-primary, .support-cta .btn-primary {
  margin-top: 12px;
}

/* FEATURES & SOLUTIONS */
.features .feature-grid,
.solutions-preview .text-section ul,
.benefits ul,
.services .text-section ul,
.text-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.features .feature-grid li {
  background: #FCE589;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(80,166,120,0.07);
  padding: 22px 18px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 200px;
  transition: background 0.17s, box-shadow 0.15s, transform 0.22s;
  position: relative;
}
.features .feature-grid li img {
  margin-bottom: 10px;
  width: 40px;
  filter: drop-shadow(0 1px 3px #50A67833);
  animation: swing 2s linear infinite alternate;
}
.features .feature-grid li:hover {
  background: #FFFED2;
  box-shadow: 0 6px 24px rgba(80,166,120,0.15);
  transform: translateY(-4px) rotate(-1.25deg);
}
@keyframes swing {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(4deg); }
}

/* BADGES, PARTNERS */
.trust-badges img, .compliance-badges img {
  width: 38px;
  height: 38px;
  margin-right: 8px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(80,166,120,0.13);
  transition: transform 0.22s;
}
.trust-badges img:hover, .compliance-badges img:hover {
  transform: rotate(7deg) scale(1.14);
}
.partner-logos img, .client-logos img {
  height: 36px;
  width: auto;
  opacity: 0.83;
  filter: grayscale(0.18);
  margin-right: 8px;
  background: #FCE589;
  border-radius: 12px;
  padding: 8px;
}

/* BLOG/ARTICLE LISTS */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.article-list article {
  background: #FCE589;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(80,166,120,0.06);
  padding: 18px 16px;
  flex: 1 1 320px;
  min-width: 220px;
  margin-bottom: 16px;
  transition: background 0.17s, box-shadow 0.14s, transform 0.17s;
}
.article-list article:hover {
  background: #FFFED2;
  box-shadow: 0 4px 18px #50A67833;
  transform: translateY(-3px) scale(1.03);
}

.tags-filter {
  margin: 18px 0;
  font-size: 1.02rem;
}
.tags-filter a {
  background: #F9E7E7;
  color: #348E5C;
  padding: 0 10px;
  border-radius: 10px;
  margin: 0 2px;
  transition: background 0.2s, color 0.2s;
}
.tags-filter a:hover { background: #348E5C; color: #fff; }

/* FOOTER */
footer {
  background: #23405C;
  color: #F0F4F8;
  border-radius: 24px 24px 0 0;
  margin-top: 60px;
  padding-top: 40px;
  font-size: 1.06rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-section {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.footer-section img {
  width: 48px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 180px;
}
footer nav a {
  color: #FFF;
  font-family: 'Montserrat', sans-serif;
  padding: 5px 0;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #FFFED2;
  color: #23405C;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #F8FFD2;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
  filter: grayscale(0.1) brightness(1.2);
}
.footer-copyright {
  background: #202E46;
  color: #F0F4F8;
  text-align: center;
  font-size: 0.97rem;
  border-radius: 0 0 24px 24px;
  padding: 8px 0 16px 0;
  margin-top: 6px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #FFFED2;
  color: #23405C;
  border-top: 3px solid #348E5C;
  box-shadow: 0 -2px 18px rgba(80,166,120,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 3vw 14px 3vw;
  font-size: 1.1rem;
  animation: cookieSlideUp 0.55s cubic-bezier(.57,-0.29,.71,1.22) backwards;
}
@keyframes cookieSlideUp {
  from { transform: translateY(72px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 9px;
}
.cookie-banner .btn-cookie {
  padding: 10px 26px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  margin-right: 0px;
  box-shadow: 0 1px 5px rgba(80,166,120,0.13);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.13s;
}
.btn-accept {
  background: #348E5C;
  color: #fff;
}
.btn-accept:hover, .btn-accept:focus {
  background: #23405C;
  color: #FFFED2;
  transform: scale(1.08) rotate(-2deg);
}
.btn-reject {
  background: #F9E7E7;
  color: #23405C;
}
.btn-reject:hover, .btn-reject:focus {
  background: #ffbaba;
  color: #23405C;
}
.btn-settings {
  background: #FCE589;
  color: #23405C;
}
.btn-settings:hover, .btn-settings:focus {
  background: #FDE692;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35, 64, 92, 0.33);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 90vw;
  width: 410px;
  padding: 36px 22px 22px 22px;
  box-shadow: 0 8px 48px #348E5C17;
  color: #23405C;
  font-size: 1.04rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: scalePop 0.24s cubic-bezier(.43,1.15,.56,1.23) backwards;
}
@keyframes scalePop {
  from { transform: scale(0.92); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal .close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: #fff;
  color: #348E5C;
  border: none;
  font-size: 1.7rem;
  border-radius: 50%;
  padding: 2px 10px 2px 12px;
  cursor: pointer;
}
.cookie-modal .close:hover {
  background: #FCE589;
  color: #23405C;
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.34rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  font-size: 1.09rem;
}
.cookie-category .switch {
  width: 38px;
  height: 22px;
  background: #F0F4F8;
  border-radius: 11px;
  position: relative;
  margin-left: 5px;
}
.cookie-category .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category .slider {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #50A678;
  border-radius: 50%;
  transition: 0.2s;
}
.cookie-category input:checked + .slider {
  background: #348E5C;
  left: 17px;
}
.cookie-modal .desc {
  font-size: 0.95rem;
  color: #60748a;
  margin-bottom: 18px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 9px;
}

/* INTERACTIONS & TRANSITIONS */
section,
.hero,
.card,
.testimonial-card,
.article-list article {
  transition: box-shadow 0.32s, background 0.28s, transform 0.2s;
}

/* RESPONSIVE (MOBILE-FIRST) */
@media (max-width: 1054px) {
  .footer-section {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .card-container,
  .card-grid,
  .content-grid,
  .features .feature-grid,
  .article-list {
    flex-direction: column;
    gap: 20px;
  }
  .about-preview .trust-badges,
  .solutions-preview .partner-logos {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .section,
  section {
    border-radius: 0;
    padding: 30px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 56px;
    padding: 4px 2px 4px 3px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary {
    padding: 11px 20px;
    font-size: 1rem;
  }
  .btn-secondary {
    padding: 8px 12px;
    font-size: 0.96rem;
  }
  .hero h1 {
    font-size: 1.65rem;
  }
  h1 {
    font-size: 1.48rem;
  }
  h2 {
    font-size: 1.17rem;
  }
  .feature-grid, .card-container, .content-grid, .partner-logos, .trust-badges {
    gap: 12px;
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .article-list {
    gap: 13px;
    flex-direction: column;
  }
  .footer-section {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-modal {
    width: 95vw;
    padding: 22px 6px 16px 6px;
    border-radius: 12px;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  section, .section {
    padding: 16px 2px;
    margin-bottom: 22px;
    border-radius: 0;
  }
  h1, .hero h1 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 1rem;
  }
  .footer-section img { width: 38px; }
  .testimonial-card { padding: 11px 4px; }
  .newsletter-benefits, .newsletter-confirm, .newsletter {
    font-size: 0.95rem;
  }
  .btn-primary, .btn-secondary { font-size: 0.98rem; }
}

/* UTILITIES */
.bg-primary { background: #23405C; color: #fff; }
.bg-accent { background: #50A678; color: #fff; }
.bg-secondary { background: #F0F4F8; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.text-center { text-align: center; }
.rounded { border-radius: 16px; }

/* PLAYFUL & DYNAMIC FONTS (ENHANCED) */
.hero h1, h1, h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  text-shadow: 0 2px 16px #FCE58944;
  letter-spacing: -0.4px;
}
section h2, .card h3, .features h2, .testimonials h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
}

/* Fun underline for playful effect on h2 and buttons */
h2:after, .btn-primary:after {
  content: '';
  display: block;
  width: 36px;
  height: 5px;
  background: #FCE589;
  border-radius: 3px 10px 4px 3px;
  margin-top: 5px;
  margin-left: 3px;
  transition: width 0.22s;
}
h2:hover:after {
  width: 60px;
  background: #348E5C;
}

/* Remove dot markers for some flex lists */
.feature-grid, .trust-badges, .partner-logos, .client-logos {
  list-style: none;
  padding-left: 0;
}

/* --- END --- */
