/* -------------------------------------
   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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F9FB;
  color: #222d35;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #407078;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F6C667;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  border: none;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
}

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

html {
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.15;
  color: #212c3d;
}
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p, li, dl, dt, dd {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #334150;
  margin-bottom: 12px;
}
strong {
  color: #1B2631;
  font-weight: 600;
}

/* -------------------------------------
   COLOR PALETTE (Soft Pastel)
------------------------------------- */
:root {
  --color-primary: #1B2631;
  --color-secondary: #C9D6DF;
  --color-accent: #F6C667;
  --color-bg: #F8F9FB;
  --color-pastel-blue: #C9D6DF;
  --color-pastel-pink: #F7D6E0;
  --color-pastel-green: #D5F5E3;
  --color-pastel-yellow: #FEF9E7;
  --color-pastel-purple: #E8DAEF;
  --color-pastel-mint: #E2F6F3;
  --color-white: #fff;
  --color-card-bg: #fff;
  --color-footer-bg: #FFF7FA;
  --color-border: #EBEBEB;
  --color-box-shadow: rgba(60,90,130,0.08);
  --color-text-main: #212c3d;
  --color-text-dark: #1B2631;
}

/* -------------------------------------
   LAYOUT CONTAINERS & SPACING
------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 22px;
  box-shadow: 0 6px 32px -18px var(--color-box-shadow);
}

@media (max-width: 800px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
    border-radius: 16px;
  }
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* -------------------------------------
   HEADER & NAVIGATION
------------------------------------- */
header {
  width: 100%;
  background: linear-gradient(90deg, var(--color-pastel-blue) 0%, var(--color-pastel-pink) 100%);
  box-shadow: 0 2px 16px -12px var(--color-box-shadow);
  position: relative;
  z-index: 99;
}
header .container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
header img {
  height: 48px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  padding: 6px 8px;
  border-radius: 7px;
  transition: background 0.18s, color 0.17s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cta-primary {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 34px;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: 25px;
  box-shadow: 0 2px 10px -8px var(--color-box-shadow);
  transition: background 0.18s, color 0.17s, transform 0.15s;
  display: inline-block;
  margin-left: 12px;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #ffe082;
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 2rem;
  padding: 4px 18px 4px 12px;
  border-radius: 19px;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  margin-left: 8px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ffe082;
  color: var(--color-primary);
  box-shadow: 0 2px 8px -6px var(--color-box-shadow);
}

@media (max-width: 960px) {
  header .container {
    height: 62px;
    gap: 18px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: relative;
    z-index: 222;
  }
  .cta-primary {
    padding: 8px 22px;
    font-size: 0.99rem;
    border-radius: 18px;
  }
}

/* -------------------------------------
   MOBILE MENU
------------------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(118deg, var(--color-pastel-pink) 10%, var(--color-pastel-mint) 100%);
  box-shadow: 0 8px 46px -18px var(--color-box-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 2.2rem;
  padding: 8px 28px 8px 8px;
  border-radius: 28px 0 0 28px;
  margin: 22px 12px 0 0;
  border: none;
  box-shadow: 0 2px 16px -8px var(--color-box-shadow);
  cursor: pointer;
  transition: background 0.19s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe082;
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 45px;
  margin-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 600;
  padding: 10px 0;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  border-radius: 6px;
  width: 100%;
  transition: background 0.18s, color 0.14s;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
@media (min-width: 961px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------------------------------
   MAIN LAYOUT & SECTIONS
------------------------------------- */
main {
  min-height: 46vh;
}

.section, .content-wrapper {
  width: 100%;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 12px;
}
.feature-grid > div {
  flex: 1 1 208px;
  min-width: 185px;
  max-width: 340px;
  background: var(--color-pastel-mint);
  border-radius: 18px;
  box-shadow: 0 3px 18px -12px var(--color-box-shadow);
  padding: 26px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.22s, transform 0.13s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 32px -10px var(--color-pastel-blue);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  height: 44px;
  margin-bottom: 8px;
}

@media (max-width: 800px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 18px 12px 18px 16px;
  }
}

/* Standard flex containers from layout patterns */
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-pastel-yellow);
  border-left: 6px solid var(--color-pastel-blue);
  border-radius: 15px;
  box-shadow: 0 4px 20px -10px var(--color-box-shadow);
  color: var(--color-text-main);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.19s;
}
.testimonial-card span {
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 500;
  margin-left: auto;
  color: var(--color-text-dark);
}
.testimonial-card p {
  margin-bottom: 0;
  font-size: 1.08rem;
  color: #222d35;
  line-height: 1.55;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px -10px var(--color-pastel-blue);
}

/* -------------------------------------
   BLOG, CARDS, GENERAL SECTIONS
------------------------------------- */
ul {
  margin-bottom: 10px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-top: 12px;
}
dd {
  margin-left: 20px;
  margin-bottom: 10px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 18px;
  box-shadow: 0 4px 18px -12px var(--color-box-shadow);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 12px;
}

/* -------------------------------------
   FOOTER
------------------------------------- */
footer {
  background: var(--color-footer-bg);
  border-top: 2px solid var(--color-pastel-blue);
  margin-top: 60px;
  padding: 32px 0 22px 0;
  font-size: 1rem;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-columns > div {
  flex: 1 1 210px;
  min-width: 175px;
}
.footer-columns h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 9px;
}
footer a {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1rem;
  opacity: 0.89;
  transition: color 0.13s, opacity 0.13s;
}
footer a:hover, 
footer a:focus {
  color: var(--color-accent);
  opacity: 1;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
footer li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: #304050;
}
.footer-columns img {
  height: 20px;
  width: 20px;
  opacity: 0.8;
}
.footer-columns a img {
  margin-right: 7px;
  margin-bottom: 3px;
  opacity: 0.85;
  transition: opacity 0.14s, filter 0.12s;
}
.footer-columns a img:hover, .footer-columns a img:focus {
  opacity: 1;
  filter: brightness(1.2);
}
@media (max-width: 900px) {
  .footer-columns {
    flex-direction: column;
    gap: 28px;
  }
}

/* -------------------------------------
   BUTTONS, LINKS & MICRO-INTERACTIONS
------------------------------------- */
button, .cta-primary {
  outline: none;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, transform 0.12s;
}
button:active, .cta-primary:active {
  transform: scale(0.98);
}

/* -------------------------------------
   COOKIE CONSENT BANNER + MODAL
------------------------------------- */
.cookie-banner {
  position: fixed;
  z-index: 2000;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(113deg, var(--color-pastel-blue) 0%, var(--color-pastel-yellow) 100%);
  box-shadow: 0 -6px 34px -8px var(--color-box-shadow);
  padding: 28px 18px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  animation: cookieBannerAppear 0.68s cubic-bezier(0.3,0.8,0.3,1.2);
}
@keyframes cookieBannerAppear {
  0% { opacity: 0; transform: translateY(+98px); }
  96% { opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 320px;
  margin-right: 26px;
  color: #222d35;
  font-size: 1.01rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
  box-shadow: 0 2px 10px -8px var(--color-box-shadow);
  transition: background 0.17s, color 0.15s, border 0.14s;
  cursor: pointer;
  margin-right: 3px;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.cookie-btn.reject {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  border-color: var(--color-pastel-blue);
}
.cookie-btn.settings {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffe082;
  color: var(--color-primary);
  border-color: var(--color-accent);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 10px 10px 14px;
    border-radius: 13px 13px 0 0;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37, 43, 58, 0.45);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.19s ease-in;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: linear-gradient(120deg, var(--color-pastel-mint) 3%, var(--color-pastel-purple) 100%);
  max-width: 420px;
  width: 96vw;
  padding: 32px 28px 22px 28px;
  border-radius: 20px;
  box-shadow: 0 10px 38px -14px var(--color-box-shadow);
  text-align: left;
  animation: modalAppear 0.25s cubic-bezier(0.44,0.7,0.3,1.18);
  position: relative;
  color: var(--color-primary);
}
@keyframes modalAppear {
  0% { opacity: 0; transform: scale(0.96) translateY(32px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cookie-modal ul {
  list-style: none;
  margin-bottom: 14px;
  padding-left: 0;
}
.cookie-modal li {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-switch {
  width: 36px;
  height: 20px;
  background: var(--color-secondary);
  border-radius: 12px;
  position: relative;
  margin-right: 5px;
  transition: background 0.18s;
  flex-shrink: 0;
}
.cookie-switch input[type="checkbox"] {
  display: none;
}
.cookie-switch .slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 14px;
  height: 14px;
  background: var(--color-pastel-blue);
  border-radius: 50%;
  transition: transform 0.18s, background 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  transform: translateX(14px);
  background: var(--color-accent);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.5rem;
  background: rgba(255,255,255,0.09);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: background 0.13s, color 0.1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* -------------------------------------
   RESPONSIVE TYPOGRAPHY & SPACING
------------------------------------- */
@media (max-width: 700px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.2rem; }
  .section { padding: 18px 6px; }
  .container { padding: 0 6px; }
}

/* -------------------------------------
   SOFT PASTEL ATMOSPHERE ELEMENTS
------------------------------------- */
body {
  background: linear-gradient(115deg, var(--color-pastel-pink) 7%, var(--color-bg) 100%);
}
.section {
  background: var(--color-white);
  border: 1.2px solid var(--color-secondary);
  box-shadow: 0 12px 40px -16px var(--color-pastel-blue);
}
.card, .feature-grid > div {
  background: var(--color-pastel-mint);
}
p, li, dl, dt, dd {
  font-size: 1.04rem;
}

/* Subtle fade-in animations for dreamy feels */
.section, .card, .feature-grid > div, .testimonial-card {
  opacity: 0;
  animation: fadeSoft .9s cubic-bezier(0.36,0.8,0.36,1.18) 0.08s 1 forwards;
}
@keyframes fadeSoft {
  0% { opacity: 0; transform: translateY(32px); }
  96% { opacity: 1; }
  100% { transform: translateY(0); }
}

/* Soft shadows for cards everywhere */
.card, .feature-grid > div, .testimonial-card {
  box-shadow: 0 3px 20px -12px var(--color-pastel-blue);
  border: 1px solid var(--color-secondary);
}
/* Highlight active cards on hover/focus */
.card:hover, .feature-grid > div:hover, .testimonial-card:hover,
.card:focus-within, .feature-grid > div:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 10px 32px -8px var(--color-pastel-blue);
  border-color: var(--color-accent);
}

/* -------------------------------------
   MISCELLANEOUS
------------------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: var(--color-pastel-mint);
}
::-webkit-scrollbar-thumb {
  background: var(--color-pastel-blue);
  border-radius: 12px;
}
::selection {
  background: var(--color-pastel-yellow);
}

hr {
  border: none;
  border-top: 1px solid var(--color-secondary);
  margin: 38px 0 18px 0;
}

/* Utility classes */
.hide-on-mobile {
  display: block;
}
@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}
.mt-40 { margin-top: 40px; }
.mb-32 { margin-bottom: 32px; }

/* Form fields if any in the future */
input[type="text"], input[type="email"], textarea {
  background: var(--color-bg);
  border-radius: 13px;
  border: 1.2px solid var(--color-secondary);
  padding: 11px 18px;
  font-size: 1.03rem;
  width: 100%;
  margin-bottom: 14px;
  transition: border 0.16s, box-shadow 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 3px 10px -6px var(--color-accent);
}

/* -------------------------------------
   ENSURE NO GRID / NO COLUMNS
------------------------------------- */
/* The entire layout relies on flexbox only. */