/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  color: inherit;
}
html {
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #223344;
  background: #F8FAFB;
  line-height: 1.65;
  min-height: 100vh;
  transition: background 0.3s;
}

/* BRAND & PASTEL PALETTE */
:root {
  --color-primary: #223344;
  --color-secondary: #FFD600;
  --color-accent: #F3F4F8;
  --color-pastel-blue: #d8e6fb;
  --color-pastel-pink: #fde1e7;
  --color-pastel-purple: #e9e0fa;
  --color-pastel-green: #d9f5e5;
  --color-pastel-yellow: #fff9d5;
  --color-light: #fff;
  --color-dark: #223344;
  --color-muted: #A0AEC0;
  --color-shadow: rgba(46, 58, 89, 0.10);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.012em;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

p, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
}
p {
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
}

/* MAKE SOFT: dreamy, airy spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 24px;
  box-shadow: 0 6px 32px var(--color-shadow);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
  }
}

/* PASTEL BACKGROUNDS BY SECTION (softer blocks) */
.hero {
  background: linear-gradient(120deg, var(--color-pastel-blue), var(--color-pastel-pink) 80%);
  padding-top: 48px;
  padding-bottom: 56px;
  border-radius: 0 0 48px 48px;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 32px;
    border-radius: 0 0 24px 24px;
  }
}

.cta {
  background: linear-gradient(90deg, var(--color-pastel-green) 60%, var(--color-pastel-yellow) 100%);
  text-align: center;
  margin-bottom: 0 !important;
}
.cta .cta-primary {
  margin-top: 20px;
}

.policy {
  background: var(--color-pastel-yellow);
  border-radius: 24px;
  box-shadow: 0 6px 20px var(--color-shadow);
}

/* NAVIGATION & HEADER */
header {
  background: var(--color-light);
  box-shadow: 0 2px 10px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo-link img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-dark);
  padding: 8px 10px;
  border-radius: 16px;
  transition: background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
}
.cta-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 18px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(50,64,115,0.04);
  transition: background 0.2s, transform 0.12s;
  outline: none;
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #ffe266;
  color: #223344;
  transform: translateY(-2px) scale(1.025);
}
button.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav a {
    font-size: 0.98rem;
  }
}
@media (max-width: 812px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  button.mobile-menu-toggle {
    display: inline-flex;
    font-size: 2rem;
    background: var(--color-pastel-blue);
    color: var(--color-primary);
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(60, 110, 160, 0.08);
    transition: background 0.18s;
    margin-left: 12px;
  }
  button.mobile-menu-toggle:hover {
    background: var(--color-pastel-pink);
  }
}

/* MOBILE MENU DRAWER */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--color-pastel-blue) 70%, var(--color-pastel-pink) 100%);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.4, 0.17, 0.6, 1);
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.4rem;
  background: none;
  border: 0;
  color: var(--color-primary);
  cursor: pointer;
  margin-bottom: 28px;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-pastel-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.18rem;
  padding: 12px 16px;
  border-radius: 14px;
  transition: background 0.16s;
  background: var(--color-light);
  margin: 0 0 4px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-blue);
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* LAYOUT FLEXBOX PATTERNS */
.content-wrapper {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .content-wrapper {
    max-width: 100%;
  }
}

.feature-grid, .product-cards, .blog-articles, .testimonial-slider, .testimonial-list, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.product-cards {
  gap: 24px;
}
@media (max-width: 900px) {
  .feature-grid, .product-cards, .blog-articles, .testimonial-slider, .testimonial-list, .feature-list {
    gap: 18px;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .product-cards, .blog-articles, .testimonial-slider, .testimonial-list, .feature-list {
    flex-direction: column;
    gap: 16px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
  padding: 24px 18px 20px 18px;
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 270px;
  transition: box-shadow 0.17s, transform 0.18s;
  margin-bottom: 20px;
}
.feature-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.feature-item:hover {
  box-shadow: 0 6px 32px var(--color-shadow);
  transform: translateY(-3px) scale(1.022);
}

@media (max-width: 600px) {
  .feature-item {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 18px 10px 16px 10px;
  }
}

.product-card {
  background: var(--color-pastel-purple);
  border-radius: 20px;
  box-shadow: 0 1.5px 8px var(--color-shadow);
  flex: 1 1 220px;
  max-width: 340px;
  padding: 20px 16px 16px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.14s;
}
.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.product-card a {
  align-self: flex-start;
  margin-top: auto;
  color: #7946a6;
  background: var(--color-pastel-yellow);
  padding: 6px 20px;
  border-radius: 15px;
  font-family: 'Montserrat';
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s, color 0.14s;
}
.product-card a:hover, .product-card a:focus {
  background: var(--color-pastel-blue);
  color: #223344;
}
.product-card:hover {
  box-shadow: 0 6px 26px var(--color-shadow);
  transform: translateY(-2px) scale(1.016);
}

@media (max-width: 600px) {
  .product-card {
    max-width: 100%;
    padding: 16px 8px 10px 8px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-light);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 20px;
  position: relative;
}

.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;
    align-items: flex-start;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TESTIMONIALS */
.testimonials {
  background: linear-gradient(100deg, var(--color-pastel-blue) 78%, var(--color-pastel-green) 100%);
  border-radius: 28px;
  box-shadow: 0 4px 28px var(--color-shadow);
}
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 20px 18px 20px;
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 2.5px 18px var(--color-shadow);
  min-width: 240px;
  max-width: 420px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.15s;
  color: #1B2330;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #2E334D;
  margin-bottom: 8px;
}
.testimonial-meta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px var(--color-shadow);
  background: var(--color-pastel-yellow);
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 600px) {
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 14px 8px 12px 8px;
  }
}

/* BLOG */
.blog-list {
  background: var(--color-pastel-blue);
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
}
.blog-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-entry {
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 20px 12px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  max-width: 360px;
  transition: box-shadow 0.14s, transform 0.14s;
}
.blog-entry h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
}
.category-tag {
  font-size: 0.90rem;
  color: #8C64D6;
  background: var(--color-pastel-purple);
  border-radius: 13px;
  padding: 4px 14px;
  align-self: flex-start;
  font-family: 'Montserrat';
  margin-top: 2px;
}
.blog-entry:hover {
  box-shadow: 0 6px 22px var(--color-shadow);
  transform: translateY(-2.5px) scale(1.017);
}

/* FAQ, LISTS, OL */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list li {
  background: var(--color-light);
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 14px 18px 12px 18px;
  margin-bottom: 8px;
}
.faq-list strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.05em;
}

ul, ol {
  margin-bottom: 0px;
  padding-left: 22px;
  margin-top: 6px;
}
.content-wrapper ul > li, .content-wrapper ol > li {
  list-style-type: disc;
  margin-bottom: 7px;
  margin-left: 0px;
}
.steps ol {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-left: 4px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-light);
  border-radius: 15px;
  box-shadow: 0 1.5px 8px var(--color-shadow);
  padding: 13px 16px 13px 12px;
  font-size: 1.08em;
}
.steps li img {
  width: 38px;
  height: 38px;
}

/* CONTACT/INFO CARDS */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-details img {
  width: 26px;
  height: 26px;
  margin-right: 2px;
}

/* FOOTER */
footer {
  background: var(--color-light);
  box-shadow: 0 -2px 12px var(--color-shadow);
  border-radius: 28px 28px 0 0;
  padding: 34px 0 20px 0;
  margin-top: 52px;
}
.footer-menu {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: var(--color-primary);
  font-size: 1rem;
  opacity: 0.8;
  transition: color 0.17s, opacity 0.16s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  justify-content: center;
  font-size: 0.99rem;
  align-items: center;
  opacity: 0.86;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}

@media (max-width: 650px) {
  .footer-menu, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px 0;
  }
  footer {
    padding: 18px 0 13px 0;
    margin-top: 20px;
    border-radius: 16px 16px 0 0;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--color-pastel-pink) 65%, var(--color-pastel-yellow) 100%);
  box-shadow: 0 -2px 18px var(--color-shadow);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cookie-slide-in 0.7s cubic-bezier(.24,0,.46,1.45);
}
@keyframes cookie-slide-in {
  0% {transform: translateY(100%); opacity: 0;}
  60% {transform: translateY(-10px);}
  100% {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #55406E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  max-width: 600px;
  text-align: center;
}
.cookie-btn-row {
  display: flex;
  gap: 17px;
  margin-top: 4px;
}
.cookie-banner button {
  border-radius: 16px;
  font-size: 1rem;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  transition: background 0.18s, color 0.13s, box-shadow 0.16s;
  cursor: pointer;
  box-shadow: 0 1px 4px var(--color-shadow);
}
.cookie-accept {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 700;
}
.cookie-accept:hover {
  background: #ffe266;
}
.cookie-reject {
  background: var(--color-pastel-blue);
  color: var(--color-primary);
}
.cookie-reject:hover {
  background: var(--color-pastel-purple);
  color: #222244;
}
.cookie-settings {
  background: var(--color-pastel-yellow);
  color: var(--color-primary);
}
.cookie-settings:hover {
  background: var(--color-pastel-pink);
}

@media (max-width: 500px) {
  .cookie-banner {
    padding: 12px 4px 10px 4px;
    border-radius: 0;
    font-size: 0.97rem;
    gap: 10px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35, 44, 68, 0.30);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.36s cubic-bezier(.41,0,.62,1.33);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--color-light);
  border-radius: 23px;
  padding: 32px 26px 24px 26px;
  min-width: 300px;
  max-width: 98vw;
  box-shadow: 0 8px 36px var(--color-shadow), 0 1px 0 #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: modal-bounce-in 0.42s cubic-bezier(0.41,0,.62,1.33);
}
@keyframes modal-bounce-in {
  0% { transform: scale(0.92); opacity: 0; }
  60% { transform: scale(1.03); }
  100% { transform: scale(1.0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.33rem;
  color: var(--color-primary);
  margin-bottom: 2px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-family: 'Roboto', Arial;
  font-size: 1rem;
  color: var(--color-dark);
  font-weight: 400;
}
.cookie-switch {
  width: 44px;
  height: 24px;
  border-radius: 20px;
  background: var(--color-pastel-yellow);
  position: relative;
  margin-left: 18px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-pastel-pink);
  transition: transform 0.19s cubic-bezier(.62,0,.61,.99);
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-pastel-blue);
  transform: translateX(20px);
}
.cookie-modal-btn-row {
  display: flex;
  gap: 15px;
  width: 100%;
  margin-top: 8px;
}
.cookie-modal-btn {
  border-radius: 15px;
  font-size: 1rem;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  transition: background 0.14s;
  cursor: pointer;
  background: var(--color-pastel-blue);
  color: var(--color-primary);
  font-weight: 600;
  box-shadow: 0 1px 4px var(--color-shadow);
}
.cookie-modal-btn.close {
  background: var(--color-pastel-pink);
}
.cookie-modal-btn.save {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal-btn.save:hover {
  background: #ffe266;
}
.cookie-modal-btn.close:hover {
  background: var(--color-pastel-green);
}
/* Ensure proper stacking */
.cookie-modal { z-index: 11001; }
/* Hide modal by default (for JS toggle) */
.cookie-modal[hidden] { display: none !important; }

/* BUTTONS AND INTERACTIVE STATES */
button, .cta-primary, .product-card a, .blog-entry a, .cookie-btn-row button {
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.14s, color 0.14s, transform 0.14s;
}
button:focus-visible, .cta-primary:focus-visible, .product-card a:focus-visible,
.cookie-btn-row button:focus-visible, .cookie-modal-btn:focus-visible {
  outline: 2px solid #b7b4fb;
  outline-offset: 2px;
}

/* SPACING EXTRAS - OVERLAP PREVENTION */
main > section {
  margin-bottom: 60px;
}
main > section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  main > section {
    margin-bottom: 32px;
  }
}

/* SCROLLBAR SOFT */
::-webkit-scrollbar {
  width: 8px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-pastel-blue);
  border-radius: 16px;
}

/* THANK YOU PAGE */
.thank-you {
  background: linear-gradient(120deg, var(--color-pastel-pink), var(--color-pastel-blue) 80%);
  border-radius: 20px;
  box-shadow: 0 3px 30px var(--color-shadow);
  text-align: center;
  padding-top: 44px;
  padding-bottom: 50px;
}
.thank-you h1 {
  margin-bottom: 16px;
  font-size: 2rem;
}
.thank-you p {
  margin-bottom: 10px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* DECORATIVE SHADOWS AND MICRO-ANIMATIONS */
.feature-item, .testimonial-card, .product-card, .blog-entry {
  will-change: transform, box-shadow;
}
.feature-item:active, .testimonial-card:active, .product-card:active, .blog-entry:active {
  transform: scale(0.98) !important;
}

/* REDUCED MOTION (for accessibility) */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}
