/* =======================================================
   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,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FAFAFB;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #1F2937;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
ul, ol {
  list-style: none;
}
:focus {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}

/* =======================================================
   COLOR PALETTE & SOFT PASTEL VARIABLES
   ======================================================= */
:root {
  --primary: #1F2937;
  --secondary: #4B5563;
  --accent: #FFD600;
  /* Soft pastel theme */
  --pastel-blue: #a7d3f3;
  --pastel-aqua: #c7f5ef;
  --pastel-pink: #f9d8f7;
  --pastel-lilac: #eee6fa;
  --pastel-peach: #ffe4d0;
  --pastel-yellow: #fff7d1;
  --pastel-mint: #e4fbef;
  --pastel-grey: #f2f4fa;
  --white: #fff;
  --shadow: 0 2px 16px 0 rgba(45,38,97,.09);
  --radius: 20px;
}

/* =======================================================
   TYPOGRAPHY
   ======================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
}
h1 {
  font-size: 2.75rem; /* 44px */
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 11px;
}
h4 {
  font-size: 1.125rem; /* 18px */
}
p, li, blockquote, dd {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
strong {
  color: var(--primary);
  font-weight: 500;
}
.content-wrapper p:last-child,
.content-wrapper ul:last-child { margin-bottom: 0; }

/* =======================================================
   LAYOUT CONTAINERS
   ======================================================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pastel-grey);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background 0.3s;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 32px 0 rgba(45,38,97,.13);
  transform: translateY(-3px) scale(1.012);
}
.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: 20px;
  padding: 24px 24px 20px 24px;
  background: var(--pastel-mint);
  border-radius: 22px;
  box-shadow: 0 2px 12px 0 rgba(174,196,204,0.080);
  margin-bottom: 20px;
  font-size: 1.1rem;
  min-width: 250px;
  transition: background 0.2s, box-shadow 0.2s;
}
.testimonial-card p {
  color: #234043;
}
.testimonial-card span {
  color: var(--secondary);
  font-size: 0.96em;
  opacity: 0.9;
}
.testimonial-card:hover {
  background: var(--pastel-yellow);
  box-shadow: 0 4px 16px 0 rgba(255, 215, 122, 0.19);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  background: var(--pastel-lilac);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  margin-bottom: 18px;
  transition: background 0.3s;
}
.text-section h3 {
  color: var(--primary);
  margin-bottom: 6px;
}

/* =======================================================
   HERO SECTION
   ======================================================= */
.hero {
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-peach) 100%);
  padding: 60px 0 48px 0;
  border-radius: 0 0 38px 38px;
  box-shadow: 0 6px 36px 0 rgba(167,211,243,.07);
}
.hero .container {
  align-items: flex-start;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}

/* =======================================================
   BUTTONS, LINKS, CTAS
   ======================================================= */
.cta-btn,
button.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: linear-gradient(90deg, var(--accent) 70%, #fff3a2 100%);
  border: none;
  border-radius: 28px;
  padding: 14px 36px;
  margin-top: 16px;
  margin-bottom: 5px;
  box-shadow: 0 2px 16px 0 rgba(255, 190, 22, 0.13);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.13s, color 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #fff3a2 0%, var(--accent) 95%);
  color: var(--secondary);
  box-shadow: 0 4px 24px 0 rgba(255, 214, 0, 0.21);
}
.main-nav a, .footer-nav a, .footer-legal a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 24px;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 5px 2px;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:last-child, .footer-nav a:last-child, .footer-legal a:last-child { margin-right: 0; }
.main-nav a:hover, .footer-nav a:hover, .footer-legal a:hover {
  background: var(--accent);
  color: #46403c;
}
a:active {
  color: var(--accent);
}

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */
header {
  background: var(--white);
  box-shadow: 0 1px 16px 0 rgba(167,211,243,0.07);
  position: sticky;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  gap: 20px;
  min-height: 60px;
}
header img[alt="Nevola Sweep"] {
  height: 46px;
  border-radius: 9px;
  background: var(--pastel-grey);
  padding: 6px 10px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Hide mobile menu toggle by default on desktop */
.mobile-menu-toggle {
  display: none;
}

/* =======================================================
   MOBILE BURGER MENU
   ======================================================= */
.mobile-menu-toggle {
  display: none;
  font-size: 2.4rem;
  background: none;
  color: var(--primary);
  border: none;
  cursor: pointer;
  margin-left: 10px;
  z-index: 130;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: linear-gradient(135deg, var(--pastel-blue) 60%, #fff7d1 100%);
  box-shadow: 0 4px 32px 0 rgba(95, 115, 157, 0.12);
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.72,.11,.49,.88);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 42px 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 2rem;
  color: var(--primary);
  background: var(--pastel-yellow);
  border-radius: 50%;
  padding: 6px 15px;
  border: none;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 1px 8px 0 rgba(255,233,112,.09);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-pink);
  color: var(--accent);
}
.mobile-nav {
  width: 100%;
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  padding-left: 36px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.15rem;
  background: none;
  padding: 18px 0 18px 8px;
  margin-bottom: 3px;
  border-radius: 13px;
  width: 88vw;
  transition: background 0.14s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-mint);
  color: var(--accent);
}

/* Hide main-nav and show mobile-toggle on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }
  header .container { gap: 10px; }
}

/* =======================================================
   SECTIONS, CARDS & FLEX LAYOUTS
   ======================================================= */
ul, ol {
  margin-left: 2px;
  padding-left: 18px;
  margin-bottom: 6px;
  line-height: 1.7;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: var(--secondary);
  position: relative;
}
ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent) 70%, var(--pastel-blue) 100%);
  border-radius: 16px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  margin: 14px 0 0 0;
}
dd {
  margin: 2px 0 13px 0;
  color: var(--secondary);
}
/* spacing for .feature-item if used */
.feature-item {
  margin-bottom: 16px;
}

/* =======================================================
   FOOTER
   ======================================================= */
footer {
  background: linear-gradient(0deg, var(--pastel-aqua) 0%, var(--pastel-grey) 90%);
  padding: 36px 0 18px 0;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -2px 15px 0 rgba(182,220,222,.06);
  margin-top: 36px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav, .footer-contact, .footer-legal, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 9px;
}
.footer-nav a, .footer-legal a {
  font-size: 1.02rem;
}
.footer-social {
  flex-direction: row;
  gap: 15px;
}
.footer-social img {
  width: 28px; height: 28px;
  filter: grayscale(0.15) brightness(1.1);
  border-radius: 5px;
  background: var(--white);
  padding: 4px 5px;
  transition: filter 0.16s;
}
.footer-social img:hover {
  filter: grayscale(0) brightness(1.18);
  background: var(--accent);
}
.footer-contact a {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 400;
}

/* =======================================================
   COOKIE CONSENT BANNER + MODAL
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--pastel-lilac);
  box-shadow: 0 -4px 25px 0 rgba(190,163,224,0.09);
  border-radius: 18px 18px 0 0;
  padding: 26px 18px 20px 18px;
  min-height: 82px;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  animation: cookieSlideIn 0.48s cubic-bezier(.6, .14, .36, .94);
  font-size: 1rem;
}
@keyframes cookieSlideIn {
  from {opacity:0; transform: translateY(60px);} to {opacity:1; transform: translateY(0);}
}
.cookie-banner p {
  flex: 1;
  color: var(--secondary);
  margin-bottom: 0;
  font-size: 1.02em;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 22px;
  border-radius: 24px;
  font-size: 1.06em;
  font-weight: 600;
  border: none;
  margin: 0 0 0 1px;
  background: var(--accent);
  color: var(--primary);
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(255, 223, 100, .07);
  transition: background 0.15s, color 0.18s, box-shadow 0.12s;
}
.cookie-btn.settings {
  background: var(--pastel-peach);
  color: #222;
}
.cookie-btn.reject {
  background: var(--pastel-pink);
  color: #523648;
}
.cookie-btn:hover, .cookie-btn:focus {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 16px 0 rgba(31, 41, 55, 0.12);
}
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(65, 72, 92, 0.25);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInOverlay 0.22s linear;
}
@keyframes fadeInOverlay {
  from {opacity: 0;} to {opacity: 1;}
}
.cookie-modal {
  background: var(--pastel-grey);
  border-radius: 25px;
  box-shadow: 0 2px 32px 0 rgba(31,41,55,0.14);
  padding: 37px 26px 29px 26px;
  width: 94vw;
  max-width: 430px;
  min-width: 260px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn 0.23s cubic-bezier(.7,.22,.45,.94);
}
@keyframes modalPopIn {
  from {transform: scale(0.93); opacity:0;}
  to {transform: scale(1); opacity:1;}
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 1.4em;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px 7px;
  border-radius: 50%;
  transition: background 0.17s, color 0.16s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--pastel-mint);
  color: var(--accent);
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  font-size: 1.075em;
}
.cookie-toggle {
  position: relative;
  width: 44px; height: 24px;
  background: var(--pastel-peach);
  border-radius: 14px;
  margin-left: 12px;
  transition: background 0.21s;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 44px; height: 24px;
  margin: 0;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}
.cookie-toggle span {
  position: absolute;
  top: 3px; left: 4px;
  width: 18px; height: 18px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(255,214,0,0.13);
  transition: left 0.185s, background 0.19s;
}
.cookie-toggle input:checked + span {
  left: 22px;
  background: var(--pastel-blue);
}
.cookie-category .cookie-lock {
  font-size: 1.19em;
  color: #b38f39;
  margin-right: 5px;
}

/* =======================================================
   RESPONSIVE DESIGN (Mobile-first, then desktop)
   ======================================================= */
/* Mobile (default), tablet (min-width: 600px) */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    max-width: 95vw;
    gap: 0px;
  }
  .section {
    padding: 24px 4vw;
    margin-bottom: 42px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
  .card {
    padding: 20px 13px;
    min-width: 0;
    margin-bottom: 12px;
  }
  .hero {
    padding: 40px 0 18px 0;
    border-radius: 0 0 26px 26px;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .testimonial-card {
    padding: 16px 13px 10px 13px;
    min-width: 0;
    margin-bottom: 14px;
    font-size: 0.98rem;
  }
  .footer-nav, .footer-contact, .footer-legal, .footer-social {
    gap: 6px;
    margin-bottom: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 21px 5vw 13px 5vw;
    min-height: 72px;
    gap: 13px;
    font-size: 0.99rem;
  }
  .cookie-banner-actions {
    gap: 8px;
  }
  /* Mobile menu fills whole screen */
  .mobile-menu {
    width: 100vw;
    min-width: 100vw;
    box-shadow: 0 4px 32px 0 rgba(95, 115, 157, 0.18);
    border-radius: 0;
    padding: 0 0 28px 0;
  }
  .mobile-menu-close {
    top: 8px;
    right: 11px;
    font-size: 1.8rem;
    padding: 0 9px;
  }
  .mobile-nav {
    margin-top: 53px;
    padding-left: 20px;
  }
  .mobile-nav a {
    font-size: 1rem;
    width: 92vw;
    padding: 12px 0 12px 10px;
  }
  h1 {
    font-size: 2.06rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.325rem;
    margin-bottom: 10px;
  }
}
@media (max-width:450px) {
  .cookie-banner {
    font-size: 0.93em;
    min-height: 54px;
    padding: 13px 0 6px 0;
  }
  .cookie-btn { padding: 8px 13px; font-size: 0.97em; }
}
@media (min-width: 769px) {
  .container {
    flex-direction: column;
    padding: 0 18px;
    max-width: 1120px;
    gap: 0px;
  }
  .content-wrapper, .card-container, .content-grid, .footer-nav, .footer-contact, .footer-legal, .footer-social {
    flex-direction: row;
    align-items: flex-start;
  }
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: 45px;
  }
}
/* Prevent content overlapping everywhere */
.section, .card, .testimonial-card, .feature-item, .content-wrapper, .card-container,
.content-grid, .text-image-section {
  box-sizing: border-box;
}

/* =======================================================
   ANIMATIONS & TRANSITIONS
   ======================================================= */
.section, .card, .cta-btn, .testimonial-card, .footer-social img, .cookie-btn {
  transition-property: background, box-shadow, transform, color;
  transition-duration: 0.13s, 0.19s, 0.18s, 0.17s;
  transition-timing-function: cubic-bezier(.57,.12,.65,1);
}

/* =======================================================
   ACCESSIBILITY
   ======================================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* END OF SOFT-PASTEL STYLE FOR NEVOLA SWEEP */