/* ============================== */
/* CSS RESET & BASELINE           */
/* ============================== */
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,
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.5;
  background: #F5F6F8;
  color: #273049;
  min-height: 100vh;
  font-family: 'Verdana', Arial, sans-serif;
  font-size: 16px;
  transition: background 0.4s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, .cta-btn {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

/* =============================== */
/* COLOR & TYPOGRAPHY VARIABLES    */
/* =============================== */
:root {
  --primary: #273049;
  --secondary: #EEC382;
  --accent: #F5F6F8;
  --electric-purple: #A038E7;
  --electric-orange: #FF5757;
  --electric-cyan: #00CBDC;
  --electric-pink: #FF24C7;
  --electric-yellow: #FFF800;
  --header-shadow: 0 2px 16px rgba(39,48,73,0.09);
  --card-shadow: 0 6px 24px rgba(160,56,231,0.09),0 1.5px 6px rgba(0,0,0,0.03);
  --border-radius: 18px;
  --container-width: 1220px;
}

/* =============================== */
/* TYPOGRAPHY STYLE SCALE          */
/* =============================== */
h1, .h1 {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.13;
  color: var(--primary);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  text-shadow: 1px 2px 0 var(--secondary),0 8px 50px #fff8;
}
h2, .h2 {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.18;
  color: var(--electric-purple);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--electric-orange);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
p, li, ul, ol {
  font-family: 'Verdana', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
}
p {
  margin-bottom: 16px;
}
b, strong {
  font-weight: bold;
  color: var(--electric-purple);
}

/* =============================== */
/* CONTAINER & BASIC LAYOUT        */
/* =============================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 28px rgba(0,203,220,0.07), 0 1.5px 6px rgba(255,36,199,0.09);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: box-shadow 0.21s;
}
section:nth-child(even) {
  background: var(--accent);
}

/* =============================== */
/* HEADER NAVIGATION STYLES        */
/* =============================== */
header {
  width: 100%;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--header-shadow);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 76px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
  padding: 8px 9px;
  border-radius: 10px;
  position: relative;
  transition: color 0.18s, background 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--electric-purple);
  outline: none;
}
header img {
  height: 48px;
  margin-right: 16px;
  display: block;
}
header .cta-btn {
  margin-left: 24px;
}

/* When width < 1024px, de-emphasize nav and logo */
@media (max-width: 1012px) {
  header .container {
    gap: 12px;
  }
  header img {
    height: 36px;
  }
}

/* =============================== */
/* MOBILE MENU HAMBURGER           */
/* =============================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--electric-orange);
  font-size: 2.6rem;
  margin-left: auto;
  margin-right: 8px;
  z-index: 120;
  padding: 6px 12px;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--electric-purple);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-110vw);
  transition: transform 0.33s cubic-bezier(.6,0,.33,1.2);
  box-shadow: 0 0 60px 0 rgba(39,48,73,.22);
  z-index: 2001;
  padding: 32px 28px 48px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--electric-purple);
  color: #fff;
  font-size: 2.2rem;
  border-radius: 12px;
  align-self: flex-end;
  padding: 6px 16px;
  margin-bottom: 20px;
  transition: background .17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--electric-orange);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
  padding: 13px 0 13px 0;
  border-bottom: 1px solid var(--accent);
  transition: color 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--electric-purple);
}
/* Hide navigation on small screens, show burger */
@media (max-width: 900px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============================== */
/* MAIN BUTTONS                    */
/* =============================== */
.cta-btn {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.14rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 15px 38px;
  border-radius: 999px;
  background: var(--electric-orange);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255,36,199,0.12);
  transition: background 0.18s, box-shadow 0.16s, color 0.18s;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px;
  display: inline-block;
}
.cta-btn.primary {
  background: var(--electric-purple);
  color: #fff;
  box-shadow: 0 4px 28px rgba(160,56,231,0.12);
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--electric-cyan);
  color: var(--primary);
  box-shadow: 0 6px 38px rgba(0,203,220,0.24);
  outline: none;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--electric-yellow);
  color: var(--primary);
}

/* =============================== */
/* FLEXBOX PATTERNS & SPACING      */
/* =============================== */
.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: var(--border-radius);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}
.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: 13px;
  padding: 20px 28px 20px 24px;
  margin-bottom: 20px;
  background: #F5F6F8;
  border-left: 8px solid var(--electric-purple);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 18px rgba(160,56,231,0.11);
  transition: box-shadow 0.18s, transform 0.18s;
  color: #222;
  font-size: 1.09em;
  min-width: 220px;
  max-width: 520px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 26px rgba(0,203,220,0.09);
  transform: translateY(-2px) scale(1.017);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* General card/section spacing */
section > .container > .content-wrapper > * + * {
  margin-top: 24px;
}
ul > li + li, ol > li + li {
  margin-top: 12px;
}

/* =============================== */
/* LISTS & ICONS                   */
/* =============================== */
ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border-radius: 12px;
  padding: 0 0 0 0;
  font-size: 1.06rem;
  line-height: 1.54;
}
ul li img, ol li img {
  height: 26px;
  width: 26px;
  margin: 0 5px 0 0;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 7px rgba(39,48,73,0.12);
}

ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
}
ol li {
  counter-increment: step;
  position: relative;
  padding-left: 34px;
}
ol li::before {
  content: counter(step) ".";
  font-weight: 700;
  color: var(--electric-purple);
  position: absolute;
  left: 0;
  font-size: 1.06em;
  top: 0;
}

/* =============================== */
/* RESPONSIVE DESIGN               */
/* =============================== */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
}
@media (max-width: 860px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.39rem; }
  .container { padding-left: 10px; padding-right: 10px; }
  section { padding: 28px 6px; border-radius: 13px; }
  .testimonial-card { padding: 17px 11px 17px 14px; border-left-width: 4px; min-width: unset; }
  .content-wrapper, .text-section { gap: 16px; }
  .text-image-section { flex-direction: column; align-items: stretch; gap: 18px; }
  .card-container { gap: 12px; }
  .content-grid { gap: 9px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.06rem; }
  section { padding: 14px 3vw; margin-bottom: 36px; }
  .footer-contact p { font-size: .93em; }
}

/* Ensure spacing between all content cards/sections */
.card + .card {
  margin-top: 20px;
}

/* =============================== */
/* FOOTER                          */
/* =============================== */
footer {
  width: 100%;
  background: #1C2038;
  color: #fff;
  padding: 50px 0 18px 0;
  margin-top: 36px;
  box-shadow: 0 -1px 24px rgba(39,48,73,0.09);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-brand img {
  height: 54px;
  filter: drop-shadow(0 4px 16px #A038E7bb);
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 17px;
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  margin: 0 0 8px 0;
}
footer nav a {
  color: #fff;
  opacity: 0.82;
  border-radius: 7px;
  padding: 2px 7px;
  transition: background .15s, color .15s;
}
footer nav a:hover,footer nav a:focus {
  background: var(--electric-purple);
  color: var(--electric-yellow);
  opacity: 1;
}
.footer-contact {
  font-size: .97em;
  background-color: #fff;
  text-align: center;
  opacity: .89;
  margin-bottom:10px;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 12px;
}
/* Footer responsiveness */
@media (max-width: 730px) {
  footer { padding: 28px 0 8px 0; }
  .footer-brand img { height: 37px; }
  footer nav { font-size: 1em; }
}

/* =============================== */
/* MICRO-INTERACTIONS              */
/* =============================== */
section, .cta-btn, .testimonial-card, .card {
  will-change: box-shadow, transform, background, color;
  transition: box-shadow .18s, background .19s, color .18s, transform .18s;
}

/* ======= VISUAL ENERGY: SHADOWS, COLORS, DYNAMIC BORDERS ====== */
.card, .testimonial-card, section {
  box-shadow: 0 2.5px 12px 0 rgba(255,24,245,0.11), 0 0.7px 3px rgba(255,248,0,0.07);
}
section {
  border: 2.7px solid var(--electric-cyan);
  border-left-width: 7px;
  border-radius: var(--border-radius);
}

/* Vibrant colored card borders for attention */
section:nth-child(2n+1) {
  border-left-color: var(--electric-orange);
}
section:nth-child(2n) {
  border-left-color: var(--electric-purple);
}

/* =============================== */
/* COOKIE BANNER & MODAL           */
/* =============================== */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--electric-cyan);
  box-shadow: 0 -4px 30px rgba(160,56,231,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 20px 18px;
  z-index: 3001;
  animation: fadeInBanner 0.77s;
  font-size: 1.06em;
}
@keyframes fadeInBanner {
  from {transform: translateY(120%); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}
#cookie-consent-banner p {
  margin: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1em;
}
.cookie-btn {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  border-radius: 999px;
  border: none;
  padding: 9px 26px;
  margin-left: 12px;
  margin-right: 0;
  margin-top: 4px;
  margin-bottom: 4px;
  transition: background .18s, color .18s, box-shadow .19s;
  background: var(--electric-purple);
  color: #fff;
  box-shadow: 0 1px 13px rgba(255,87,87,0.13);
}
.cookie-btn.accept {
  background: var(--electric-orange);
  color: #fff;
}
.cookie-btn.reject {
  background: #F5F6F8;
  color: var(--electric-purple);
  border: 2px solid var(--electric-purple);
}
.cookie-btn.settings {
  background: var(--primary);
  color: var(--electric-yellow);
  border: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--electric-cyan);
  color: var(--primary);
  outline: none;
}
#cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%) scale(0.95);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 42px rgba(160,56,231,.19);
  padding: 32px 30px 24px 30px;
  z-index: 3500;
  min-width: 320px;
  max-width: 97vw;
  width: 390px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s, transform 0.24s;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) scale(1);
}
#cookie-modal h2 {
  color: var(--electric-purple);
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--electric-purple);
  width: 18px; height: 18px;
}
.cookie-category.essential label {
  color: var(--electric-purple);
  font-weight: bold;
}
.cookie-category.essential input {
  display: none;
}
.cookie-modal-close {
  align-self: flex-end;
  background: var(--electric-purple);
  color: #fff;
  border-radius: 11px;
  padding: 4px 14px;
  font-size: 1.24em;
  border: none;
  margin-bottom: -10px;
  margin-top:-22px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--electric-orange);
}

@media (max-width: 600px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    font-size: 0.94em;
    padding: 14px 7px 16px 7px;
  }
  #cookie-modal {
    min-width: 90vw;
    padding: 18px 7px 18px 7px;
  }
}

/* =============================== */
/* ACCESSIBILITY FOCUS STYLES      */
/* =============================== */
:focus {
  outline: 2.5px solid var(--electric-pink);
  outline-offset: 3px;
}

/* =============================== */
/* UTILITY CLASSES                 */
/* =============================== */
.d-none {
  display: none !important;
}
.d-flex {
  display: flex !important;
}

/* =============================== */
/* STYLE ENHANCEMENTS              */
/* =============================== */
::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--electric-purple);
  border-radius: 10px;
  border: 2px solid var(--accent);
}

/* =============================== */
/* END OF STYLE.CSS                */
/* =============================== */
