/* === CSS RESET & NORMALIZE (SCANDINAVIAN CLEAN 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, 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: #F3F6FA;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #1A365D;
  background: #F3F6FA;
  min-height: 100vh;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1A365D;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:focus {
  outline: 2px solid #83B300;
  outline-offset: 2px;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
ul, ol {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #1A365D;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  font-size: 1.02rem;
  margin-bottom: 18px;
  color: #314268;
}
strong {
  font-weight: 700;
}

.text-section {
  margin-bottom: 24px;
}

/* === CONTAINER & LAYOUTS === */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(26,54,93,0.06);
}

/* Card & Flex Containers (MANDATORY SPACING) */
.card-container, .card-grid, .idea-cards, .testimonial-cards, .category-list, .service-list, .product-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card, .product-card, .idea-card {
  margin-bottom: 20px;
  background: #fff;
  padding: 28px 22px;
  border-radius: 14px;
  min-width: 235px;
  flex: 1 1 260px;
  box-shadow: 0 2px 10px 0 rgba(26,54,93,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.17s;
}
.card:hover, .product-card:hover, .idea-card:hover {
  box-shadow: 0 6px 24px 0 rgba(26,54,93,0.12);
}

.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: 15px;
  padding: 20px;
  background: #F3F6FA;
  border-radius: 14px;
  min-width: 220px;
  flex: 1 1 295px;
  box-shadow: 0 2px 12px 0 rgba(26,54,93,0.065);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #1A365D;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #7A8598;
}
.testimonial-card h3 {
  margin-top: 0;
}

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

.feature-item img, .features img, .service-list img, .product-card img, .category-list img, .idea-card img {
  max-width: 36px;
  margin-bottom: 7px;
  flex-shrink: 0;
}

.features ul, .features ol, .features .faq-accordion, .service-list, .category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.features li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F3F6FA;
  border-radius: 12px;
  padding: 14px 18px;
  color: #1A365D;
  margin-bottom: 0;
  min-width: 220px;
  flex: 1 1 260px;
  font-size: 1.01rem;
}

.service-list > div {
  background: #F3F6FA;
  border-radius: 12px;
  padding: 20px 20px;
  box-shadow: 0 1px 6px 0 rgba(26,54,93,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 230px;
  flex: 1 1 260px;
}
.service-list h3 {
  font-size: 1.09rem;
  margin: 0 0 5px 0;
}
.service-list p {
  font-size: 0.99rem;
}

.category-list .product-card, .product-card-list .product-card {
  padding: 20px 20px 18px 20px;
  border: 1.5px solid #ECECEC;
  border-radius: 12px;
  min-width: 230px;
  background: #fff;
}
.product-card h3 {
  font-size: 1.17rem;
  margin-bottom: 6px;
}
.product-card ul {
  padding-left: 18px;
}
.product-card li {
  list-style: disc;
  margin-left: 0;
  color: #506080;
  font-size: 0.99rem;
  margin-bottom: 2px;
}

/* Idea cards and tags */
.idea-card {
  padding: 24px 20px 14px 20px;
  border-radius: 15px;
  background: #FFF;
  box-shadow: 0 2px 14px 0 rgba(26,54,93,0.06);
  font-size: 1rem;
}
.idea-card .tags {
  margin-top: 11px;
  font-size: 0.86rem;
  color: #83B300;
  background: #F3F6FA;
  border-radius: 7px;
  padding: 3px 14px;
  display: inline-block;
}

/* Date update info blocks */
.date-update {
  font-size: 0.95rem;
  color: #7A8598;
  margin-top: 22px;
  letter-spacing: 0.01em;
}

/* === HEADER === */
header {
  background: #fff;
  box-shadow: 0 1px 12px 0 rgba(26,54,93,0.04);
  padding: 0;
  position: sticky;
  z-index: 30;
  top: 0;
  width: 100%;
}
header .container {
  min-height: 68px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

header img {
  height: 38px;
}
.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #1A365D;
  padding: 8px 7px;
  position: relative;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #83B300; 
  background: #F3F6FA;
}
.btn-primary {
  background: #83B300;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 9px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px 0 rgba(131,179,0,0.10);
  border: none;
  margin-left: 12px;
  transition: background 0.17s, box-shadow 0.17s, color 0.17s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #729a00;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(131,179,0,0.18);
}

/* Hamburger Menu */
.mobile-menu-toggle {
  background: #FFF;
  border: 2px solid #83B300;
  color: #1A365D;
  border-radius: 9px;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  z-index: 50;
  transition: background 0.15s, border 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F3F6FA;
  border-color: #729a00;
}

@media (max-width: 1080px) {
  .container { max-width: 940px; }
}
@media (max-width: 900px) {
  .container { max-width: 96vw; }
  header img { height: 32px; }
}

@media (max-width: 860px) {
  .main-nav { gap: 14px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,54,93,0.88);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.47,1.64,.41,.8);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: transparent;
  color: #fff;
  border: none;
  margin: 25px 25px 8px 0;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 10px;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(131,179,0,0.16);
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  margin-top: 20px;
}
.mobile-nav a {
  width: 100%;
  display: block;
  color: #fff;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 19px 50px 19px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.1s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #83B300;
  color: #fff;
}

/* === HERO/CTA/INSPIRATION SECTIONS === */
.hero, .cta-section, .cta-inspire, .contact-cta {
  background: #F3F6FA;
  padding: 60px 20px 50px 20px;
  border-radius: 22px;
  box-shadow: 0 2px 16px 0 rgba(26,54,93,0.06);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.hero .container, .cta-section .container, .cta-inspire .container, .contact-cta .container {
  flex-direction: column;
  align-items: center;
}
.hero h1, .cta-section h2, .cta-inspire h2, .contact-cta h2 {
  color: #1A365D;
}
.hero p, .cta-section p, .cta-inspire p, .contact-cta p {
  color: #314268;
  margin-bottom: 18px;
}
.hero .btn-primary, .cta-section .btn-primary, .cta-inspire .btn-primary, .contact-cta .btn-primary {
  margin-top: 6px;
}

/* === CONTACT SNIPPETS & DETAILS === */
.contact-snippet, .contact-details, .support-contact {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.07rem;
  margin-bottom: 8px;
  color: #1A365D;
}
.contact-details img, .support-contact img { height: 22px; width: 22px; margin-right: 7px; }

.support-contact {
  gap: 11px 16px;
  flex-wrap: wrap;
  margin-top: 15px;
}

/* === FAQ/ACCORDION === */
.faq-list, .faq-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list h2, .faq-accordion h3 {
  margin-bottom: 8px;
}
.faq-list ul, .faq-accordion ul {
  padding-left: 20px;
}
.faq-list li, .faq-accordion li {
  font-size: 1.01rem;
  margin-bottom: 2px;
  color: #506080;
}
.faq-accordion > div {
  background: #F3F6FA;
  border-radius: 11px;
  padding: 12px 20px 5px 20px;
  margin-bottom: 10px;
  box-shadow: 0 1px 8px 0 rgba(26,54,93,0.03);
}
.faq-accordion h3 { font-size: 1.08rem; }
.faq-accordion p { font-size: 0.99rem; margin-bottom: 5px; }

.topic-tags {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.topic-tags span {
  padding: 2px 13px;
  background: #F3F6FA;
  color: #83B300;
  border-radius: 8px;
  font-size: 0.93rem;
}

/* === LEGAL, POLICY, TERMS, PRIVACY SECTIONS === */
.legal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(26,54,93,0.06);
  margin-bottom: 60px;
  padding: 40px 24px;
}
.legal .text-section { margin-bottom: 18px; }
.legal ul, .legal ol {
  margin-bottom: 14px;
  padding-left: 28px;
  color: #506080;
  font-size: 0.99rem;
}

.legal h2, .legal h3 {
  margin-top: 22px;
  margin-bottom: 9px;
}

/* === FOOTER === */
footer {
  background: #fff;
  box-shadow: 0 -1px 8px 0 rgba(26,54,93,0.06);
  padding: 30px 0 16px 0;
  font-size: 1.01rem;
  margin-top: 52px;
  border-radius: 16px 16px 0 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px 30px;
}
.footer-menu, .footer-social {
  display: flex;
  flex-direction: row;
  gap: 19px;
  align-items: center;
  margin-bottom: 10px;
}
.footer-brand img {
  height: 32px;
}
.footer-copy {
  flex-basis: 100%;
  font-size: 0.97rem;
  color: #A3A9BA;
  margin-top: 20px;
}

@media (max-width: 700px){
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-menu, .footer-social {
    flex-direction: row;
    gap: 15px;
  }
  .footer-brand img {
    margin-bottom: 12px;
    height: 30px;
  }
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1020px) {
  .card,
  .product-card,
  .idea-card, 
  .service-list > div, 
  .features li, 
  .testimonial-card {
    min-width: 205px;
    flex-basis: 220px;
  }
  .category-list, .card-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 900px){
  .service-list, .category-list, .product-card-list, .testimonial-cards, .features ul {
    flex-direction: column;
    gap: 18px;
  }
  .product-card, .service-list > div, .features li { width: 100%; min-width: 160px; }
}
@media (max-width: 768px){
  .container, .section, .hero, .cta-section, .contact-cta, .legal {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 38px;
  }
  .hero, .legal {
    padding: 34px 12px 18px 12px;
  }
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-brand img {
    height: 25px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .btn-primary { padding: 10px 13px; font-size: 0.92rem; }
  .section, .hero, .legal { padding: 16px 2px 8px 2px; }
  .product-card, .service-list > div, .features li { font-size: 0.97rem; }
}

/* === MICRO INTERACTIONS === */
.card, .product-card, .idea-card, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:hover, .product-card:hover, .idea-card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(26,54,93,0.13);
  transform: translateY(-4px) scale(1.007);
}

.features li img, .service-list img, .product-card img, .idea-card img {
  transition: transform 0.16s;
}
.features li:hover img, .service-list > div:hover img, .product-card:hover img, .idea-card:hover img {
  transform: scale(1.13);
}

/* === COOKIE BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px 0 rgba(26,54,93,0.08);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px 24px;
  padding: 17px 28px;
  font-size: 1.07rem;
  flex-wrap: wrap;
  border-radius: 17px 17px 0 0;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.33s ease, transform 0.42s cubic-bezier(.56,1.74,.37,.95);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  margin: 2px 2px;
  cursor: pointer;
  transition: background 0.19s, color 0.17s, box-shadow 0.16s;
}
.cookie-banner .btn-accept {
  background: #83B300;
  color: #fff;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #729a00;
}
.cookie-banner .btn-reject {
  background: #fff;
  border: 1.5px solid #A3A9BA;
  color: #1A365D;
}
.cookie-banner .btn-reject:hover {
  background: #F3F6FA;
  border-color: #729a00;
  color: #1A365D;
}
.cookie-banner .btn-settings {
  background: #F3F6FA;
  color: #1A365D;
  border: 1.5px solid #DCE2EB;
}
.cookie-banner .btn-settings:hover {
  background: #fff;
  color: #83B300;
  border-color: #83B300;
}
@media (max-width: 700px){
  .cookie-banner { flex-direction: column; gap: 13px; padding: 18px 8px 15px 8px; }
  .cookie-banner .cookie-actions { justify-content: flex-start; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,54,93,0.63);
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s, background 0.3s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px 0 rgba(26,54,93,0.16);
  padding: 34px 32px 26px 32px;
  min-width: 340px;
  max-width: 96vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 13px;
  position: relative;
}
@media (max-width: 540px){
  .cookie-modal .modal-content {
    padding: 22px 9px 15px 9px;
    min-width: 0;
  }
}
.cookie-modal .modal-close {
  position: absolute;
  right: 12px; top: 14px;
  font-size: 1.85rem;
  background: transparent;
  color: #7A8598;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.13s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #1A365D;
  background: #F3F6FA;
}
.cookie-options {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.05rem;
  padding: 8px 8px;
  border-radius: 8px;
  background: #F3F6FA;
}
.cookie-option-row.disabled {
  opacity: 0.85;
}
.cookie-option-row label {
  font-weight: 500;
  color: #314268;
}
.cookie-toggle {
  appearance: none;
  width: 36px; height: 20px;
  background: #EFEFEF;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #83B300;
}
.cookie-toggle:after {
  content: '';
  position: absolute;
  top: 2.4px; left: 2.4px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 3px 0 rgba(26,54,93,0.08);
  transition: transform 0.18s;
}
.cookie-toggle:checked:after {
  transform: translateX(16px);
}
.cookie-option-row.disabled .cookie-toggle {
  opacity: 0.5;
  cursor: not-allowed;
}

/* === MISCELLANEOUS === */
::-webkit-input-placeholder { color: #A3A9BA; }
::-moz-placeholder { color: #A3A9BA; }
:-ms-input-placeholder { color: #A3A9BA; }
::placeholder { color: #A3A9BA; }

section {
  margin-bottom: 60px;
}

/* Overwrite default margin for static legal text blocks */
.legal .text-section > p:last-child {
  margin-bottom: 0;
}

/* === END === */
