/* 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,
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,
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;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
  background: #F8F6F0;
  color: #313338;
}
ul, ol {
  list-style: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* SOFT PASTEL COLOR VARIABLES */
:root {
  --primary: #262626;
  --secondary: #F4E8D6;
  --accent: #BFCF65;
  --pastel-pink: #F6D4DC;
  --pastel-blue: #d4e6f6;
  --pastel-mint: #d4f6e2;
  --pastel-yellow: #fdf7cc;
  --soft-gray: #F8F6F0;
  --white: #fff;
  --box-shadow: 0 4px 24px 0 rgba(200,200,220,.10);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all .18s cubic-bezier(.6, .05, .35, 1);
}

/* BASE TYPOGRAPHY */
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--soft-gray);
  color: var(--primary);
  min-height: 100vh;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 18px; line-height: 1.24; }
h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
h4 { font-size: 1.125rem; font-weight: 500; margin-bottom: 8px; }
p, ul, ol, li { font-size: 1rem; line-height: 1.7; margin-bottom: 12px; }

.text-section > h1,
.text-section > h2,
.text-section > h3 {
  margin-top: 0;
}
.text-section ul {
  margin-bottom: 18px;
}
.text-section li {
  margin-bottom: 11px;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.text-section li img {
  width: 24px; height: 24px;
  vertical-align: middle;
}
strong { font-weight: 500; color: var(--primary); }

/* CONTAINER AND SECTIONS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow);
}
/* For Hero without card background */
main > section:first-child {
  background: linear-gradient(125deg, #f6d4dc 0%, #d4e6f6 100%);
  box-shadow: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding-top: 48px;
  padding-bottom: 48px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* BUTTONS & CTA */
.cta, .main-nav .cta, .content-wrapper .cta, a.cta, button.cta {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(90deg, #bfcf65 0%, #f6d4dc 100%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(191,207,101,.07);
  letter-spacing: 0.01em;
  margin-top: 18px;
  transition: var(--transition);
}
.cta:hover, .cta:focus {
  transform: translateY(-2px) scale(1.026);
  box-shadow: 0 4px 20px 0 rgba(191,207,101,.15);
  color: #476904;
  background: linear-gradient(90deg, #faf4a4 0%, #d4f6e2 100%);
  outline: none;
}

/* NAVIGATION */
header {
  background: var(--white);
  box-shadow: 0 2px 10px 0 rgba(200,200,220,0.04);
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
  gap: 12px;
}
header a img {
  height: 39px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: background .14s, color .14s;
  color: var(--primary);
  position: relative;
}
.main-nav a.cta {
  padding: 9px 22px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .03em;
  box-shadow: 0 2px 6px 0 rgba(191,207,101,.07);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-blue);
  color: #2a3c42;
}
.main-nav a.cta:hover {
  background: #f6d4dc;
  color: #476904;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
  padding: 7px 11px;
  border-radius: 50%;
  transition: background .17s;
  z-index: 105;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--pastel-pink);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250,248,246,0.97);
  box-shadow: 0 8px 50px 0 rgba(191,207,101,0.10);
  z-index: 130;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.55,.14,.45,1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 25px 0 0;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  transition: color .18s;
  border-radius: 50%;
  padding: 5px 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #9e374d;
  background: var(--pastel-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px 38px;
  margin: 18px auto 24px auto;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  padding: 11px 0;
  min-width: 180px;
  color: var(--primary);
  border-radius: var(--radius-sm);
  transition: background .17s, color .14s;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-blue);
  color: #2a3c42;
}

@media (max-width: 1024px) {
  .main-nav { gap: 13px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 7px; }
}
@media (max-width: 820px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
}

/* SECTION & CARD LAYOUTS (MANDATORY FLEX PATTERNS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.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: 12px;
  padding: 20px;
  background: var(--pastel-blue);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px 0 rgba(160,175,200,.09);
  margin-bottom: 20px;
  color: #212127;
}
.testimonial-card p {
  font-size: 1rem;
  color: #262626;
  margin-bottom: 6px;
  line-height: 1.7;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #607077;
  opacity: .95;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FAQ LISTS */
.faq-list h3 {
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary);
}
.faq-list p {
  margin-bottom: 6px;
  color: #404040;
  font-size: 1rem;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  margin: 30px 0 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 8px 0 rgba(200,200,220,.07);
}
.pricing-table th {
  background: var(--pastel-yellow);
  color: var(--primary);
  font-weight: 700;
  padding: 12px 14px;
  text-align: left;
  font-size: 1rem;
}
.pricing-table td {
  padding: 12px 14px;
  color: #2d302d;
  background: var(--white);
  border-bottom: 1px solid #f3efec;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: var(--secondary);
  padding: 0 0 0 0;
  margin-top: 80px;
  box-shadow: 0 -2px 10px 0 rgba(162,162,162,.06);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 38px;
  padding-bottom: 22px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 180px;
}
.footer-brand img {
  height: 36px;
  filter: drop-shadow(0 0 5px #faedec33);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #414147;
  font-size: 0.99rem;
  padding: 5px 0;
  transition: color .14s;
}
.footer-nav a:hover { color: #967261; }
.footer-social {
  color: #87887e;
  font-size: .95rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 230;
  background: linear-gradient(90deg, #f6d4dc 0%, #fdf7cc 100%);
  color: #222426;
  box-shadow: 0 -4px 22px 0 rgba(191,207,101,0.09);
  padding: 26px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  min-width: 220px;
  animation: fadeInBanner .8s cubic-bezier(.72, .31, .36, 1);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: none;
  padding: 10px 22px;
  margin: 0;
  min-width: 110px;
  cursor: pointer;
  background: #fff7fa;
  color: var(--primary);
  box-shadow: 0 1px 8px 0 rgba(191,207,101,.07);
  transition: var(--transition);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent);
  color: #2d3820;
  outline: none;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(80,54,40,.16);
  z-index: 340;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal .3s cubic-bezier(.56,.13,.45,1);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 48px 0 rgba(191,207,101,0.13);
  padding: 38px 28px 28px 28px;
  max-width: 360px;
  width: 95%;
  animation: dropFadeModal .4s cubic-bezier(.65,.05,.36,1);
}
@keyframes dropFadeModal {
  from { transform: translateY(-60px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 22px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 1.01rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: var(--radius-sm);
  border: none;
  padding: 10px 18px;
  background: var(--pastel-blue);
  color: var(--primary);
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal button:hover { background: var(--accent); color: #2d3820; }
.cookie-modal .close-modal {
  position: absolute;
  top: 21px; right: 21px;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
  transition: color .14s;
}
.cookie-modal .close-modal:hover {
  color: #965161;
}

/* FORM ELEMENTS */
input, textarea, select {
  border-radius: var(--radius-sm);
  border: 1px solid #ece7e9;
  padding: 10px 13px;
  margin-bottom: 18px;
  background: #fff;
  font-size: 1rem;
  box-shadow: 0 1px 4px 0 rgba(191,207,101,0.03);
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  outline: none;
}

/* LINKS */
a { color: #8e7b6b; transition: color .16s; }
a:hover, a:focus { color: #B25291; text-decoration: underline; }
.text-section a {
  color: #B25291;
  text-decoration: underline;
  transition: color .14s;
}
.text-section a:hover { color: #4a7eba; }

/* SPACING BETWEEN CARDS/SECTIONS */
main > section, .section {
  margin-bottom: 56px;
}
main > section:last-child {
  margin-bottom: 0;
}
.card, .testimonial-card, .content-wrapper > div, .faq-list > div, .feature-item {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 24px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  .content-wrapper {
    gap: 18px;
  }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.28rem; }
  .section {
    margin-bottom: 38px;
    padding: 22px 7px;
    border-radius: var(--radius-md);
  }
  .card, .testimonial-card {
    padding: 16px 10px;
  }
  .footer-brand img { height: 31px; }
  footer .container {
    flex-direction: column;
    gap: 18px; align-items: flex-start;
    padding-top: 24px; padding-bottom: 7px;
  }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
}
@media (max-width: 460px) {
  .container { padding-left: 3px; padding-right: 3px; }
  .footer-brand img { height: 22px; }
  .cookie-modal { padding: 15px 8px 15px 8px; }
  .cookie-modal h2 { font-size: 1.02rem; }
  .section, .card { padding: 8px 4px; }
}

/* MICRO-ANIMATIONS */
.card, .testimonial-card, .section {
  transition: box-shadow .20s cubic-bezier(.47, 1.64, .41, .8), transform .18s;
}
.card:hover, .testimonial-card:hover, .section:hover {
  box-shadow: 0 6px 33px 0 rgba(191,207,101,0.14);
  transform: translateY(-1.5px) scale(1.01);
}

/* ICONS INSIDE FEATURE LISTS */
.text-section li img {
  filter: drop-shadow(0 0 2px #bfcf6555);
}

/* TABLE WRAPPER (IMPROVES MOBILE EXPERIENCE) */
.pricing-table {
  display: block;
  overflow-x: auto;
  width: 100%;
}

/* Z-INDEXS */
.mobile-menu { z-index: 130; }
.mobile-menu-toggle { z-index: 105; }
.cookie-banner { z-index: 230; }
.cookie-modal-overlay { z-index: 340; }

/* ADDITIONAL STYLISTIC ELEMENTS */
::-webkit-scrollbar {
  width: 12px;
  background: var(--pastel-blue);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-mint);
  border-radius: 8px;
}

/* Ensure minimum 20px margin between cards/sections*/
main > section, .section {
  margin-bottom: 60px;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* Prevent overlap and add breathing room */
.content-wrapper > * + * {
  margin-top: 13px;
}

/* Utility: Hide visually but remain accessible */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* -- END OF CSS -- */
