/* --- 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, 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 {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FAFF;
  color: #343954;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- SOFT PASTEL COLOR PALETTE --- */
:root {
  --primary: #222C42;
  --secondary: #F4F4F7;
  --accent: #FCB004;
  --pastel-blue: #A9C8F8;
  --pastel-yellow: #FFF7C2;
  --pastel-pink: #FCE2E7;
  --pastel-aqua: #B8EAE3;
  --pastel-violet: #E4D4FF;
  --white: #ffffff;
  --pastel-green: #D6F5E0;
  --card-shadow: 0 8px 24px rgba(42,62,84,0.09);
  --border-radius: 18px;
  --text-dark: #222C42;
  --soft-shadow: 0 1.5px 6px 0 rgba(0,30,87,0.05);
}

/* --- TYPOGRAPHY --- */
h1, .display {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.18;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.25px;
  margin-bottom: 12px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  color: var(--primary);
  letter-spacing: 0px;
  margin-bottom: 8px;
}
p, ul, li, span, strong {
  font-size: 1rem;
  color: var(--text-dark);
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
strong {
  font-weight: 700;
}

.subheadline {
  color: #586178;
  font-size: 1.13rem;
  font-weight: 400;
  margin-bottom: 20px;
  font-style: italic;
}

.text-section {
  margin-bottom: 20px;
}

/* --- CONTAINERS & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.content-wrapper {
  margin-bottom: 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  transition: box-shadow 0.3s;
}

section {
  margin-bottom: 60px;
  padding: 0;
}

/* --- FLEXBOX LAYOUTS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  padding: 26px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 210px;
  max-width: 290px;
  transition: box-shadow 0.25s, background 0.25s;
}
.feature-item:nth-child(2n) {
  background: var(--pastel-pink);
}
.feature-item:nth-child(3n) {
  background: var(--pastel-aqua);
}
.feature-item:nth-child(4n) {
  background: var(--pastel-yellow);
}
.feature-item:nth-child(5n) {
  background: var(--pastel-violet);
}
.feature-item:hover {
  box-shadow: 0 6px 24px 2px rgba(42,62,84,0.12);
  background: var(--pastel-green);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-violet);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 20px 18px;
  flex: 1 1 230px;
  min-width: 200px;
  transition: box-shadow 0.2s;
}

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

.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-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  background: var(--pastel-yellow);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px 0 rgba(0,30,87,0.07);
  flex: 1 1 250px;
  min-width: 220px;
  transition: transform 0.16s, box-shadow 0.16s;
  border: 1.5px solid #f7ecc9;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.04rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #756EA5;
  margin-top: 6px;
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 6px 20px 4px rgba(196,170,255,0.18);
}
.testimonial-card:nth-child(2n) {
  background: var(--pastel-blue);
  border-color: #dbefff;
}
.testimonial-card:nth-child(3n) {
  background: var(--pastel-pink);
  border-color: #ffdceb;
}

/* --- BUTTONS & CTA --- */
.cta-button,
.button,
input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.07rem;
  color: var(--primary);
  background: linear-gradient(90deg, #FFE7A0 0%, #B8EAE3 100%);
  border: none;
  border-radius: 36px;
  box-shadow: 0 1.5px 8px 0 rgba(36,62,85,0.07);
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.18s, color 0.15s, transform 0.2s;
  margin-top: 6px;
  margin-bottom: 5px;
  display: inline-block;
  outline: none;
}
.cta-button:hover, .cta-button:focus,
.button:hover, .button:focus,
input[type="submit"]:hover {
  background: linear-gradient(90deg, #B8EAE3 0%, #FFE7A0 100%);
  color: var(--accent);
  box-shadow: 0 6px 32px 2px rgba(252,176,4,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--white);
  border-bottom: 1.5px solid #E9E9FC;
  box-shadow: 0 2px 12px 0 rgba(56,101,138,0.04);
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 0;
  flex-wrap: wrap;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
  font-size: 1.01rem;
}
.main-nav > a.cta-button {
  margin-left: auto;
  margin-right: 0;
}
.main-nav > a:not(.cta-button):hover {
  background: var(--pastel-blue);
  color: var(--accent);
}
.main-nav img {
  height: 35px;
  margin-right: 18px;
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 16px;
  font-size: 2.0rem;
  background: var(--pastel-blue);
  color: var(--primary);
  padding: 8px 13px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 101;
  box-shadow: 0 2px 10px 0 rgba(150,200,220,0.13);
  transition: background 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--pastel-violet);
  color: var(--accent);
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(254,255,255,0.92);
  box-shadow: 0 6px 38px 0 rgba(60,80,197,0.14);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.73,.03,.65,1.3);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: var(--pastel-pink);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  padding: 8px 15px 8px 15px;
  margin: 18px 0 22px 18px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.16s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-blue);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  padding: 0 28px 32px 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  color: var(--primary);
  padding: 10px 0 8px 0;
  font-weight: 500;
  border-radius: 8px;
  width: 100%;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--accent);
}

/* --- FOOTER --- */
footer {
  margin-top: 60px;
  padding: 38px 0 18px 0;
  background: var(--secondary);
  border-top: 1.5px solid #E4E8FA;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 18px;
  color: #7578AA;
}
.footer-info {
  text-align: center;
  color: #7D819F;
  font-size: 0.97rem;
}

.footer-nav a {
  color: #7578AA;
  border-radius: 8px;
  padding: 2px 4px;
  font-weight: 400;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--primary);
}

/* --- LISTS --- */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-left: 5px;
}
.feature-list li {
  position: relative;
  padding-left: 32px;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 11px;
  width: 16px;
  height: 6px;
  background: linear-gradient(90deg, var(--pastel-blue) 0%, var(--pastel-yellow) 100%);
  border-radius: 5px;
  opacity: 0.45;
}

ul, ol {
  margin-bottom: 10px;
}

/* --- GENERAL ELEMENT SPACING --- */
h1, h2, h3, h4 {
  margin-top: 0.4em;
}
section, .section, .text-section, .feature-grid, .testimonial-grid, .card-container, .content-grid {
  margin-bottom: 24px;
}

/* --- IMAGES/ICONS IN FEATURES --- */
.feature-item img {
  height: 46px;
  width: 46px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 1px 6px 0 rgba(100,140,220,0.08);
  object-fit: contain;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: linear-gradient(90deg, var(--pastel-yellow), var(--pastel-blue));
  color: var(--primary);
  box-shadow: 0 -3px 18px rgba(64,102,170,0.07);
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  animation: slideUp 0.7s cubic-bezier(.71,.06,.76,.97);
}
.cookie-banner__msg {
  flex: 1 1 210px;
  color: var(--primary);
}
.cookie-banner .cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.cookie-banner__button {
  padding: 11px 24px;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--pastel-blue);
  color: var(--primary);
  transition: background 0.16s, color 0.14s, box-shadow 0.15s;
  box-shadow: 0 1px 8px 0 rgba(150,200,220,0.13);
}
.cookie-banner__button.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner__button.reject {
  background: var(--pastel-pink);
  color: var(--primary);
}
.cookie-banner__button.settings {
  background: var(--pastel-aqua);
  color: var(--primary);
}
.cookie-banner__button:hover, .cookie-banner__button:focus {
  background: var(--pastel-yellow);
  color: var(--accent);
  box-shadow: 0 3px 14px 0 rgba(252,176,4,0.12);
}
@keyframes slideUp {
  from {transform: translateY(120%); opacity: 0;}
  to   {transform: translateY(0); opacity: 1;}
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10020;
  background: rgba(32,39,70,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__content {
  background: linear-gradient(130deg,#fff, #B8EAE3 55%, #E4D4FF 100%);
  border-radius: 19px;
  box-shadow: 0 12px 58px 0 rgba(82,116,232,0.12);
  padding: 38px 24px 24px 24px;
  min-width: 330px;
  max-width: 98vw;
  color: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadein 0.22s cubic-bezier(.71,.06,.96,.98);
}
@keyframes fadein {
  from {opacity:0; transform: translateY(35px);}
  to {opacity:1; transform: translateY(0);}
}
.cookie-modal__close {
  position: absolute;
  top: 17px;
  right: 18px;
  background: var(--pastel-pink);
  border-radius: 50%;
  color: var(--primary);
  border: none;
  width: 34px;
  height: 34px;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--pastel-blue);
  color: var(--accent);
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.29rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--pastel-yellow);
  border-radius: 13px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.cookie-category.essential {
  opacity: 0.82;
  background: var(--pastel-green);
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  color: var(--primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 23px;
  height: 23px;
}

/* --- RESPONSIVE DESIGN (MOBILE FIRST) --- */
@media (max-width: 1360px) {
  .container {max-width: 98vw;}
}

@media (max-width: 1080px) {
  .feature-grid, .testimonial-grid, .card-container, .content-grid {
    gap: 18px;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 170px;
    max-width: 220px;
    padding: 18px 10px 15px 10px;
  }
}

@media (max-width: 900px) {
  .main-nav {gap: 10px;}
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .section, section {
    padding: 18px 3vw;
  }
  .feature-grid,.testimonial-grid,.content-grid,.card-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-item, .card, .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: none;
    padding: 16px 8px 15px 8px;
  }
  .content-wrapper {
    padding: 0;
    margin-bottom: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.99rem;
  }
  .cookie-banner .cookie-banner__actions{
    gap: 12px;
  }
  .cookie-modal__content{
    padding: 24px 7vw 16px 7vw;
    min-width: 0;
    max-width: 96vw;
  }
}

@media (max-width: 600px) {
  h1 {font-size: 1.43rem;}
  h2 {font-size: 1.15rem;}
  .container { padding-left: 4px; padding-right: 4px;}
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
a, button, .cta-button, .feature-item, .card, .testimonial-card, input[type='submit'] {
  transition: all 0.18s cubic-bezier(.76,.01,.48,1.08);
}

.cta-button:active, .cookie-banner__button:active {
  transform: scale(0.97);
}

input, textarea, select {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 8px;
  border: 1.3px solid #D8E6FE;
  padding: 11px 12px;
  margin-bottom: 8px;
  box-shadow: 0 1px 8px 0 rgba(48,70,150,0.06);
  transition: background 0.13s, border 0.15s;
}
input:focus, textarea:focus {
  background: var(--white);
  border: 1.5px solid var(--accent);
}

::-webkit-input-placeholder { color: #7A879F; opacity:1; }
::-moz-placeholder { color: #7A879F; opacity:1; }
:-moz-placeholder { color: #7A879F; opacity:1; }
:-ms-input-placeholder { color: #7A879F; opacity:1; }
::placeholder { color: #7A879F; opacity:1; }

/* --- SCROLLBAR STYLING (WEBKIT SUPPORT) --- */
body::-webkit-scrollbar {
  width: 11px;
  background: var(--pastel-blue);
  border-radius: 11px;
}
body::-webkit-scrollbar-thumb {
  background: var(--pastel-yellow);
  border-radius: 11px;
}

/* --- UTILITY CLASSES --- */
.mt-2 { margin-top: 18px !important; }
.mb-2 { margin-bottom: 18px !important; }
.mt-4 { margin-top: 36px !important; }
.mb-4 { margin-bottom: 36px !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.bold { font-weight: 600 !important;}

/* --- PRINT SUPPORT --- */
@media print {
  nav, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, .cta-button, .button { display: none !important; }
}

/* --- END OF STYLE.CSS --- */
