/* --- CSS RESET & NORMALIZATION --- */
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;
  vertical-align: baseline;
  box-sizing: border-box;
  font-size: 100%;
  font: inherit;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #263A47;
  background: #F4F7FB;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #263A47;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; line-height: 1.1; }
h2 { font-size: 1.5rem; margin-bottom: 16px; line-height: 1.15; }
h3 { font-size: 1.125rem; margin-bottom: 12px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
p, ul, ol, pre, blockquote { margin-bottom: 16px; }
ul, ol { padding-left: 24px; }
a { color: #53B96A; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #263A47; text-decoration: underline; }
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, .cta-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #53B96A;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(38, 58, 71, 0.05);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, box-shadow .2s, transform .15s;
  margin-top: 16px;
  outline: none;
}
button:hover, .cta-primary:hover, button:focus, .cta-primary:focus {
  background: #263A47;
  color: #fff;
  box-shadow: 0 4px 24px rgba(38, 58, 71, 0.12);
  transform: translateY(-2px) scale(1.03);
}
strong { font-weight: 700; }
hr { border: none; border-top: 1px solid #e0e6ed; margin: 24px 0; }

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.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; }

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(38,58,71,0.05);
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 16px 20px;
}
.main-nav img {
  max-height: 48px;
  margin-right: 16px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #263A47;
  background: none;
  padding: 7px 16px;
  border-radius: 16px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F7FB;
  color: #53B96A;
}
.cta-primary {
  background: #53B96A;
  color: #fff;
  box-shadow: 0 2px 6px rgba(83,185,106,0.07);
  margin-left: 8px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #F4F7FB;
  border: none;
  font-size: 2rem;
  color: #263A47;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 300;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 16px rgba(38,58,71,0.04);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #53B96A;
  color: #fff;
  box-shadow: 0 4px 28px rgba(38,58,71,0.08);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 80vw;
  max-width: 370px;
  min-width: 250px;
  padding: 32px 24px 24px 24px;
  z-index: 999;
  box-shadow: 0 0 48px rgba(38,58,71,0.15);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.83,-0.01,.37,1.02);
  opacity: 1;
  visibility: visible;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #263A47;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 22px;
  right: 20px;
  transition: color 0.2s;
  z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #53B96A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 36px;
}
.mobile-nav a {
  color: #263A47;
  padding: 14px 10px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F7FB;
  color: #53B96A;
}

/* Overlay for mobile menu if wanted, not mandatory */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(38, 58, 71, 0.18);
  z-index: 998;
  opacity: 1;
  transition: opacity 0.25s;
}
.mobile-menu.open + .mobile-menu-overlay {
  display: block;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 8px;
  }
  .main-nav a {
    font-size: 0.97rem;
    padding: 7px 7px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 3px;
    flex-wrap: wrap;
    padding: 18px 10px 8px 10px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    padding: 12px 0 8px 8px;
    gap: 2px;
  }
}

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

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(105deg, #F4F7FB 86%, #53B96A14 100%);
  padding: 64px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 340px;
}
.hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  color: #263A47;
  margin-bottom: 12px;
}
.hero p.subheadline {
  font-size: 1.125rem;
  color: #263A47;
  margin-bottom: 12px;
  max-width: 600px;
  line-height: 1.6;
}

/* --- FEATURES (GENERAL) & GRID VARIANTS --- */
.features, .feature-bloggers, .feature-grid, .features.tools, .features.inspiration, .features.partner-benefits {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(38, 58, 71,.05);
}
.features .content-wrapper, .features.tools .content-wrapper, .features.inspiration .content-wrapper, .features.partner-benefits .content-wrapper {
  gap: 24px;
}
.feature-grid, .blogger-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid li, .blogger-grid li {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  padding: 24px 18px;
  background: #F4F7FB;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(38,58,71,0.055);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.15s;
  border: 1px solid #e0e6ed11;
}
.feature-grid li:hover, .blogger-grid li:hover {
  box-shadow: 0 4px 18px rgba(38,58,71,0.11);
  transform: translateY(-2px) scale(1.018);
  border-color: #53B96A22;
}
.feature-grid img {
  height: 38px;
  margin-bottom: 8px;
}
.role-tag {
  display: inline-block;
  background: #53B96A22;
  color: #53B96A;
  font-size: 0.875rem;
  padding: 3px 11px;
  border-radius: 13px;
  margin-left: 8px;
  font-weight: 600;
}

/* --- ABOUT & TEXT SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 0;
  gap: 9px;
}
.text-section ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  list-style: disc inside;
}
.brand-tagline {
  display: inline-block;
  color: #53B96A;
  font-family: 'Montserrat', 'Roboto';
  font-weight: 700;
  letter-spacing: .04em;
  margin-top: 10px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: #F4F7FB;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: 0 2px 10px rgba(38,58,71,0.05);
}
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(38,58,71,0.09);
  padding: 20px 24px 22px 20px;
  min-width: 220px;
  margin-bottom: 20px;
  border: 1px solid #e0e6ed44;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 14px rgba(83,185,106,0.11),0 1px 8px rgba(38,58,71,0.13);
  transform: translateY(-1.5px) scale(1.014);
}
.testimonial-card p {
  color: #263A47;
  font-size: 1.02rem;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #53B96A;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  opacity: .94;
}

/* --- CTA --- */
.cta {
  background: #fff;
  border-radius: 16px;
  padding: 36px 0;
  margin-bottom: 60px;
  box-shadow: 0 1px 6px rgba(38,58,71,0.05);
}
.cta .content-wrapper {
  align-items: flex-start;
}
.cta h2 {
  color: #263A47;
  font-size: 1.55rem;
  font-weight: 700;
}

/* --- CONTACT / MAP --- */
.contact .content-wrapper {
  gap: 32px;
}
.contact ul {
  list-style: none;
  padding: 0;
  gap: 13px;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.02rem;
  margin-bottom: 12px;
}
.contact ul li img {
  width: 20px;
  height: 20px;
}
.map-location {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.99rem;
  color: #53B96A;
}

/* --- FAQ / SUPPORT / ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-accordion li {
  margin-bottom: 8px;
  background: #F4F7FB;
  border-radius: 8px;
  padding: 11px 16px 11px 12px;
  font-size: 1rem;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #e0e6ed;
  padding: 34px 0 18px 0;
  margin-top: 0;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #263A47;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 14px;
  transition: background 0.2s, color 0.2s;
  padding: 5px 13px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F4F7FB;
  color: #53B96A;
}
address {
  font-style: normal;
  color: #263A47;
  font-size: 1rem;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
address img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 5px;
}

/* --- SERVICES, POLICY, LEGAL PAGES --- */
.services {
  margin-bottom: 60px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(38,58,71,0.045);
  padding: 38px 0;
}
.services .content-wrapper {
  gap: 22px;
}
.services .text-section ul {
  gap: 8px;
}
.services .text-section ul li {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* --- THANK YOU --- */
.thankyou {
  min-height: 340px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 12px rgba(38,58,71,0.07);
  padding: 48px 0 44px 0;
  display: flex;
  align-items: center;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #263A47;
  box-shadow: 0 -2px 24px rgba(38, 58, 71, 0.14);
  z-index: 10000;
  padding: 24px 16px 18px 16px;
  min-height: 90px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: center;
  font-size: 1rem;
  border-radius: 14px 14px 0 0;
  animation: slideUp 0.45s cubic-bezier(.83,-0.01,.37,1.02);
}
@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-text {
  flex: 1 1 320px;
  min-width: 170px;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn {
  border-radius: 20px;
  padding: 8px 22px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  background: #F4F7FB;
  color: #263A47;
  box-shadow: 0 2px 8px rgba(38,58,71,0.06);
  transition: background .16s, color .16s;
}
.cookie-btn.accept {
  background: #53B96A;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #263A47;
  border: 1px solid #e0e6ed;
}
.cookie-btn.settings {
  background: #263A47;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #263A47;
  color: #fff;
}
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,58,71,0.22);
  z-index: 10001;
  animation: fadeInCookie .3s;
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 36px rgba(38, 58, 71, 0.13);
  max-width: 380px;
  width: 93vw;
  padding: 36px 24px 24px 24px;
  position: relative;
  z-index: 10005;
  animation: fadeInCookie .34s;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: #263A47;
  margin-bottom: 19px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 18px;
  gap: 13px;
}
.cookie-category-toggle {
  width: 34px;
  height: 18px;
  border-radius: 9px;
  background: #F4F7FB;
  position: relative;
  transition: background .18s;
  cursor: pointer;
  border: 1px solid #e0e6ed;
}
.cookie-category-toggle[data-checked="true"] {
  background: #53B96A;
  border-color: #53B96A;
}
.cookie-category-toggle .toggle-knob {
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px rgba(38,58,71,0.06);
  position: absolute;
  left: 2px; top: 1.5px;
  transition: left .18s;
}
.cookie-category-toggle[data-checked="true"] .toggle-knob {
  left: 17px;
}
.cookie-modal .close {
  background: none;
  color: #263A47;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 13px;
  right: 13px;
  opacity: 0.7;
  transition: color 0.16s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus { color: #53B96A; }

/* --- SPACING FOR SECTION ALIGNMENTS --- */
.section, .features, .testimonials, .cta, .services, .about, .feature-bloggers, .inspiration, .thankyou {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .blogger-grid, .content-grid, .footer-nav {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card, .feature-item, .text-image-section {
  gap: 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 991px) {
  .feature-grid li, .blogger-grid li {
    min-width: 160px;
    max-width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 14px;
  }
  .footer-nav { gap: 14px; }
}
@media (max-width: 768px) {
  .section, .features, .testimonials, .cta, .services, .about, .feature-bloggers, .inspiration, .thankyou {
    padding: 22px 5px;
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .feature-grid, .blogger-grid, .card-container {
     flex-direction: column;
     gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 17px 10px;
    min-width: unset;
  }
  .hero .container { min-height: 170px; }
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 6px; }
  .main-nav { padding: 10px 3px; gap: 3px; }
  .card { margin-bottom: 16px; }
  .cta .content-wrapper, .about .content-wrapper { gap: 13px; }
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; padding: 18px 6px; font-size: 0.97rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.14rem; }
  .footer-nav, .feature-grid, .blogger-grid { gap: 8px; }
  .cta .content-wrapper, .about .content-wrapper { padding: 0 4px; }
}

/* --- UTILITIES AND ANIMATIONS --- */
.transition-all {
  transition: all 0.18s cubic-bezier(.46,.03,.52,1.22);
}
::-webkit-scrollbar {
  width: 11px;
  background: #F4F7FB;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #e0e6ed;
  border-radius: 7px;
}

/* --- MICRO-INTERACTIONS --- */
.card, .feature-grid li, .blogger-grid li, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.13s;
}
.card:active, .feature-grid li:active, .blogger-grid li:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* --- FOCUS OUTLINE --- */
a:focus, button:focus, .cta-primary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #53B96A;
  outline-offset: 2px;
}

/* --- HIDE SCROLL BODY WHEN MOBILE MENU/COOKIE MODAL IS OPEN --- */
body.menu-open, body.cookie-modal-open {
  overflow: hidden; /* required for overlays */
}

/* --- FLEXBOX SPACING ENFORCEMENT (MANDATORY) --- */
.section, .features, .testimonials, .cta, .services, .about, .feature-bloggers, .inspiration, .thankyou { 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; }

/* --- END OF CSS --- */
