/* ==== CSS RESET & BASE ==== */
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;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: #f9fafd;
  color: #212833;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1a214d;
  letter-spacing: -0.5px;
}

/* ==== BRAND COLORS ==== */
:root {
  --primary: #212833;
  --secondary: #8AB7B0;
  --accent: #F2EDE3;
  --vibrant1: #2af2be;
  --vibrant2: #fd5f4c;
  --vibrant3: #ffe156;
  --electric-blue: #0066ff;
  --electric-pink: #ff36a3;
  --electric-coral: #ff7675;
}

/* ==== TYPOGRAPHY ==== */
h1 {
  font-size: 2.7rem;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--electric-blue);
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  color: var(--electric-pink);
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  color: var(--electric-coral);
  margin-bottom: 10px;
}
.section strong,
strong {
  font-weight: 700;
  color: var(--vibrant1);
}
p, li, input, label {
  font-size: 1rem;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: #212833;
}
.text-section p, .text-section li {
  margin-bottom: 10px;
}

/* ==== LAYOUT WRAPPER ==== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(34,37,60,0.11), 0 1.5px 3px 0 rgba(255,113,155,0.03);
  margin-bottom: 32px;
  padding: 36px 24px 32px 24px;
  position: relative;
}
.text-section {
  background: var(--accent);
  border: 2px solid var(--vibrant1);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(8,23,83,0.09);
  padding: 24px;
  transition: box-shadow 0.25s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,102,255,0.18);
  transform: translateY(-4px) scale(1.025);
}
.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: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 1.5px 15px 0 rgba(0,102,255,0.13);
  background: #fffbe7;
  border-left: 6px solid var(--electric-pink);
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #212833;
  font-size: 1.1rem;
  margin: 0 0 6px 0;
}
.testimonial-card strong {
  color: var(--electric-blue);
  letter-spacing: 0.5px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== BUTTONS ==== */
.btn-primary,
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 44px;
  padding: 0 30px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  background: var(--electric-blue);
  color: #fff;
  border-radius: 50px;
  border: none;
  box-shadow: 0 3px 16px -6px var(--electric-blue);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  cursor: pointer;
  margin-right: 12px;
}
.btn-primary:hover,
.button-primary:hover,
.btn-primary:focus,
.button-primary:focus {
  background: var(--electric-pink);
  box-shadow: 0 6px 24px -2px var(--electric-pink);
  transform: scale(1.035);
  color: #fff;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 155px;
  min-height: 42px;
  padding: 0 28px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--vibrant1);
  color: var(--primary);
  border: none;
  border-radius: 42px;
  box-shadow: 0 2px 14px 0 rgba(45,215,178,0.17);
  transition: background 0.17s, box-shadow 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--electric-coral);
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(255,118,117,0.23);
}

/* ===== HEADER / NAVIGATION ===== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(0,102,255,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 28px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  margin-right: 24px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--primary);
  transition: color 0.15s, border-bottom 0.15s;
  padding: 2px 4px;
  border-bottom: 2px solid transparent;
  position: relative;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--electric-blue);
  border-bottom: 2px solid var(--electric-blue);
}
.mobile-menu-toggle {
  background: var(--electric-blue);
  color: #fff;
  border: none;
  font-size: 2.1rem;
  padding: 5px 14px;
  border-radius: 50px;
  display: none;
  margin-left: 16px;
  transition: background 0.19s, color 0.16s;
  cursor: pointer;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--electric-pink);
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: rgba(33,40,51,0.94);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(105vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.3s;
  z-index: 1200;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 28px 22px 0 0;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  position: relative;
  z-index: 1202;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--vibrant3);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-end;
  margin-top: 68px;
  padding-right: 44px;
}
.mobile-nav a {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  color: #fff;
  padding: 10px 0;
  transition: color 0.2s, padding-left 0.16s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--electric-blue);
  padding-left: 6px;
  border-bottom: 2px solid var(--vibrant1);
}


/* ==== MAIN CONTENT ==== */
main {
  min-height: 40vh;
  margin-bottom: 60px;
  margin-top: 16px;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 992px) {
  .content-wrapper {
    padding: 26px 10px 24px 10px;
  }
}
@media (max-width: 768px) {
  section {
    padding: 28px 0;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 6px;
  }
  .content-wrapper {
    padding: 14px 6px 20px 6px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: 2.05rem;
  }
  h2 {
    font-size: 1.33rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  padding: 56px 0 26px 0;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 -2px 22px 0 rgba(0,102,255,0.07);
  width: 100%;
}
footer .container {
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
footer img {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--vibrant1);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.17s, text-shadow 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--vibrant3);
  text-shadow: 0 2px 4px rgba(255,225,86,0.15);
}
.quick-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.quick-contact p, .privacy-disclaimer p {
  font-size: 0.97rem;
  color: #e8f5fd;
  display: flex;
  align-items: center;
  gap: 7px;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links img {
  width: 28px;
  height: 28px;
  filter: brightness(2) drop-shadow(0 1px 5px var(--vibrant3));
  cursor: pointer;
  transition: filter 0.15s, transform 0.16s;
}
.social-links img:hover {
  filter: brightness(3) drop-shadow(0 3px 12px var(--electric-pink));
  transform: scale(1.1) rotate(-6deg);
}
.privacy-disclaimer {
  margin-top: 18px;
  color: #f2f9fa;
  font-size: 0.88rem;
}
@media (max-width: 920px) {
  footer .container, header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
  }
}

/* ==== FORM ELEMENTS, INPUTS ==== */
input[type="text"], input[type="email"] {
  border: 2px solid var(--secondary);
  border-radius: 36px;
  padding: 12px 18px;
  min-width: 220px;
  background: #fff;
  font-size: 1rem;
  margin: 7px 0 17px 0;
  color: var(--primary);
  outline: none;
  transition: border 0.13s, box-shadow 0.13s;
  box-shadow: 0 2px 8px 0 rgba(8,23,83,0.06);
}
input[type="text"]:focus, input[type="email"]:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 4px 17px 0 rgba(0,102,255,0.16);
}


/* ==== UL/OL STYLES FOR FEATURES, VALUES ==== */
ul, ol {
  padding-left: 0;
  margin-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.04rem;
  color: #323858;
  transition: color 0.13s;
}
ul li img, ol li img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin-right: 6px;
}
ul li strong {
  color: var(--electric-blue);
}

/* ==== HIERARCHY & SPACING ==== */
.text-section h1, .text-section h2, .text-section h3 {
  margin-top: 0;
}
.text-section h2, .text-section h3 {
  margin-bottom: 8px;
}
.text-section p {
  margin-bottom: 12px;
}
.text-section ul, .text-section ol {
  margin-bottom: 14px;
}

/* ==== VISUAL MICRO-INTERACTIONS ==== */
.btn-primary, .btn-secondary, .button-primary {
  will-change: background, color, box-shadow, transform;
}
.card, .content-wrapper, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.21s;
}
.card:active, .content-wrapper:active {
  transform: scale(0.99);
}

/* ==== COLORFUL BANNERS (eg. blog, newsletter) ==== */
.text-section {
  border-left: 7px solid var(--electric-blue);
  box-shadow: 0 2px 32px 0 rgba(0,112,255,0.08);
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #212833;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 32px 26px 24px 26px;
  z-index: 1202;
  box-shadow: 0 -2px 29px 0 rgba(0,102,255,0.09);
  gap: 20px;
  animation: cookieIn 0.5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieIn {
  0% { transform: translateY(100vh); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 0;
  font-size: 1.1rem;
  color: var(--vibrant3);
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner__button {
  padding: 11px 28px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 40px;
  border: none;
  font-size: 1rem;
  margin-right: 7px;
  cursor: pointer;
  transition: background 0.16s box-shadow 0.16s color 0.13s;
}
.cookie-banner__button.accept {
  background: var(--vibrant1);
  color: #212833;
  box-shadow: 0 2px 10px 0 rgba(42,242,190,0.13);
}
.cookie-banner__button.accept:hover {
  background: var(--electric-blue);
  color: #fff;
}
.cookie-banner__button.reject {
  background: var(--electric-pink);
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(255,54,163,0.13);
}
.cookie-banner__button.reject:hover {
  background: var(--vibrant3);
  color: var(--primary);
}
.cookie-banner__button.settings {
  background: transparent;
  color: var(--vibrant3);
  border: 2px solid var(--vibrant3);
}
.cookie-banner__button.settings:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--vibrant1);
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  max-width: 90vw;
  width: 380px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 rgba(0,102,255,0.19);
  z-index: 1250;
  padding: 38px 30px 32px 30px;
  transform: translate(-50%,-50%) scale(1.05);
  opacity: 0;
  pointer-events: none;
  animation: cookieModalIn 0.33s cubic-bezier(.67,-.21,.18,1.13) forwards;
  display: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
  display: block;
}
@keyframes cookieModalIn {
  0% { transform: translate(-50%,-35%) scale(1.12); opacity: 0; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-top: 0;
  color: var(--electric-blue);
}
.cookie-modal ul {
  list-style: none;
  margin: 24px 0 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--primary);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 9px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-weight: 600;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--electric-blue);
  width: 20px;
  height: 20px;
  margin-left: 16px;
  cursor: pointer;
}
.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 22px;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  min-width: 120px;
  min-height: 38px;
  font-size: 0.98rem;
  padding: 0 16px;
}

.cookie-modal .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--electric-pink);
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.cookie-modal .close-btn:hover,
.cookie-modal .close-btn:focus {
  color: var(--electric-blue);
}

/* ==== RESPONSIVE FLEX COLUMN ON MOBILE ==== */
@media (max-width: 768px) {
  .container {
    flex-direction: column !important;
    padding: 0 4px;
  }
  .footer .container, .header .container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px;
  }
  .content-grid,
  .card-container,
  .text-image-section,
  .feature-item {
    flex-direction: column !important;
    gap: 18px;
  }
  .testimonial-card, .content-wrapper {
    padding: 12px 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 7px 20px 10px;
    font-size: 1rem;
  }
  .cookie-modal {
    width: 95vw;
    padding: 22px 7px 16px 7px;
  }
}

/* ==== Z-INDEX SAFEGUARD ==== */
.header {
  z-index: 1020;
}


/* ==== CUSTOM SCROLLBARS ==== */
::-webkit-scrollbar {
  width: 9px;
  background-color: #eafdf8;
}
::-webkit-scrollbar-thumb {
  background: var(--electric-blue);
  border-radius: 8px;
}

/* ==== MICRO-INTERACTIONS FOR LINKS ==== */
a {
  transition: color 0.15s, background 0.13s;
}
a:focus, a:active {
  outline: 2px solid var(--electric-coral);
  outline-offset: 1px;
}

/* ==== MISC VISUALS ==== */
li em {
  color: var(--electric-pink);
  font-style: normal;
  margin-left: 4px;
}

/* ==== OVERLAY FOR MODALS/BANNERS (if needed) ==== */
.overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,40,51,0.33);
  z-index: 1221;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ==== ACCESSIBILITY ==== */
:focus-visible {
  outline: 2px solid var(--vibrant3);
  outline-offset: 2px;
}

/* ==== PRINT ADJUSTMENTS ==== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}

/* ==== END ==== */
