/* Wealth Mirror AI – Professional Corporate CSS (Flexbox Only) */
/* =====================================
   CSS RESET AND BASE STYLES
   ===================================== */
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 {
  min-height: 100%;
  font-size: 100%;
  background: #F6FBFF;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #181A32;
  background: #F6FBFF;
  line-height: 1.6;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #21A7D0;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #181A32;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
li { margin-bottom: 8px; }
strong, b {
  font-weight: 600;
  color: #181A32;
}


/* =====================================
   TYPOGRAPHY / HEADINGS / HIERARCHY
   ===================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #181A32;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
p, .subheadline, .hero-tagline, .price {
  font-size: 1rem;
  line-height: 1.6;
}
.hero-tagline, .subheadline {
  color: #21A7D0;
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.price {
  color: #21A7D0;
  font-weight: 600;
  font-size: 1.05rem;
}


/* =====================================
   LAYOUT CONTAINERS & FLEXBOX STRUCTURE
   ===================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
main {
  min-height: 60vh;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: transparent;
}

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

.card-container, .feature-grid, .service-cards, .service-listing, .testimonials, .blog-previews, .workshop-listings {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.card, .service-cards > div, .service-listing > div, .blog-previews > article, .testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 3px 12px rgba(24, 26, 50, 0.06);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 220px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .service-cards > div:hover, .service-listing > div:hover, .blog-previews > article:hover {
  box-shadow: 0px 6px 24px rgba(33, 167, 208, 0.14);
  transform: translateY(-2px) scale(1.012);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.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 20px;
  background: #F6FBFF;
  border: 1px solid #E1E8FF;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(24,26,50,0.05);
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 340px;
  flex: 1 1 280px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  border-color: #21A7D0;
  box-shadow: 0 4px 18px rgba(33,167,208,0.12);
}
.testimonial-card p {
  color: #181A32;
  font-size: 1rem;
}
.testimonial-card h4 {
  font-size: 1rem;
  color: #21A7D0;
}

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

/* Blog/Knowledge layout */
.blog-previews {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-previews > article {
  flex: 1 1 320px;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(24,26,50,0.08);
  padding: 24px 18px 22px 18px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}
.blog-previews > article:hover {
  box-shadow: 0 6px 24px rgba(33,167,208,0.13);
  transform: translateY(-1px) scale(1.01);
}

.workshop-listings {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #F6FBFF 60%, #eaf4fa 100%);
  padding: 50px 0 40px 0;
  margin-bottom: 40px;
}
.hero .container {
  align-items: center;
}
.hero h1 {
  font-size: 2.3rem;
  color: #181A32;
  margin-bottom: 10px;
}
.hero .cta-btn {
  margin-top: 20px;
}


/* =====================================
   HEADER / NAVIGATION / MOBILE MENU
   ===================================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 2px 12px rgba(24,26,50,0.03);
  padding: 18px 24px 18px 24px;
  position: relative;
  z-index: 1002;
}
header a img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  padding: 7px 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #181A32;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
nav a.cta-btn {
  background: #21A7D0;
  color: #fff;
  font-weight: 600;
  padding: 9px 20px;
  margin-left: 18px;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(33,167,208,0.08);
  transition: background 0.16s, box-shadow 0.16s;
}
nav a.cta-btn:hover, nav a.cta-btn:focus {
  background: #181A32;
  color: #fff;
  box-shadow: 0 4px 14px rgba(24,26,50,0.13);
}
nav a:hover:not(.cta-btn) {
  background: #F6FBFF;
  color: #21A7D0;
}
.mobile-menu-toggle {
  display: none;
  background: #21A7D0;
  color: #fff;
  font-size: 31px;
  border-radius: 7px;
  padding: 3px 12px 3px 10px;
  margin-left: 18px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 1004;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #181A32;
  color: #fff;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  max-width: 95vw;
  background: #fff;
  box-shadow: -3px 0 24px rgba(33,167,208,0.16);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 24px 22px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.44,.13,.4,1.07);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #181A32;
  border: none;
  font-size: 29px;
  padding: 4px 8px 4px 8px;
  margin-bottom: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #f0f4fa;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #181A32;
  padding: 13px 5px 9px 2px;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6FBFF;
  color: #21A7D0;
}

/* Hide navigation on mobile */
@media (max-width: 1023px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}


/* =====================================
   BUTTONS & CTA
   ===================================== */
.cta-btn, .cookie-btn  {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #21A7D0;
  color: #fff;
  padding: 10px 28px;
  border-radius: 24px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(33,167,208,0.09);
  border: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s, color 0.16s;
}
.cta-btn:hover, .cta-btn:focus, .cookie-btn:hover, .cookie-btn:focus  {
  background: #181A32;
  color: #fff;
  box-shadow: 0 4px 16px rgba(24,26,50,0.14);
}


/* =====================================
   FOOTER
   ===================================== */
footer {
  background: #181A32;
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 60px;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
footer .footer-nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.92;
  transition: opacity 0.16s;
  border-radius: 4px;
  padding: 5px 8px;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  opacity: 1;
  background: #21A7D0;
}
footer .footer-contact {
  text-align: center;
  font-size: 1rem;
  color: #cfd6e8;
  padding-bottom: 6px;
}
footer .footer-contact strong {
  color: #fff;
  font-weight: 700;
  font-size: 1.06rem;
}
footer .footer-contact a {
  color: #21A7D0;
  text-decoration: underline;
  font-weight: 500;
}


/* =====================================
   COOKIE CONSENT BANNER & MODAL
   ===================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #181A32;
  box-shadow: 0 -2px 18px rgba(24,26,50,0.12);
  z-index: 3003;
  padding: 24px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 1;
  transform: translateY(0%);
  transition: transform 0.29s cubic-bezier(.43,.13,.4,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn {
  min-width: 105px;
  margin-right: 0px;
}
.cookie-btn.settings {
  background: #F6FBFF;
  color: #181A32;
  border: 1px solid #21A7D0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e2f4fc;
  color: #181A32;
  border-color: #181A32;
}
.cookie-btn.reject {
  background: #E1E8FF;
  color: #181A32;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #A4C2DB;
  color: #181A32;
}
/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top:0; left:0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,26,50,0.25);
  z-index: 3021;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #181A32;
  border-radius: 12px;
  box-shadow: 0 6px 36px rgba(24,26,50,0.19);
  max-width: 420px;
  width: 93vw;
  padding: 36px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookieModalFade 0.24s cubic-bezier(.44,.13,.4,1);
}
@keyframes cookieModalFade {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  color: #181A32;
  background: none;
  font-size: 22px;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 3px 8px 2px 8px;
  transition: background 0.14s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #F6FBFF;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 9px 0 0 0;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #181A32;
}
.cookie-cat label {
  font-weight: 500;
  margin-bottom: 0;
  cursor: pointer;
}
.cookie-cat input[type=checkbox], .cookie-cat input[type=radio] {
  accent-color: #21A7D0;
  width: 19px;
  height: 19px;
  margin: 0 7px 0 1px;
}
.cookie-cat input[disabled] {
  opacity: 0.65;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}


/* =====================================
   RESPONSIVE RULES / MOBILE FIRST
   ===================================== */
@media (max-width: 1023px) {
  .container {
    padding: 0 9px;
    max-width: 100vw;
  }
  .footer-nav{
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-cards, .testimonials, .blog-previews, .workshop-listings {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .card, .service-cards > div, .service-listing > div, .blog-previews > article, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    padding: 20px 13px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
    margin-bottom: 12px;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .hero {
    padding: 22px 0 20px 0;
  }
  .section {
    margin-bottom: 40px;
    padding: 23px 6px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .testimonial-card {
    min-width: 0;
    max-width:100%;
    padding: 18px 8px;
  }
}
@media (max-width: 580px) {
  header {
    flex-direction: column;
    padding: 12px 6px 11px 6px;
  }
  header a img {
    height: 32px;
  }
  .hero {
    padding: 15px 0 10px 0;
  }
  .cookie-modal {
    padding: 26px 10px 18px 10px;
    max-width: 385px;
  }
}


/* =====================================
   SPACING/ALIGNMENT FOR FLEX CONTAINERS
   ===================================== */
/* Force all containers to use flex */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}


/* =====================================
   MICRO-INTERACTIONS & ANIMATIONS
   ===================================== */
.cta-btn, .cookie-btn, nav a, .mobile-nav a, .cookie-modal-close {
  transition: background 0.17s, color 0.17s, box-shadow 0.18s, opacity 0.12s;
}
.card, .service-cards > div, .service-listing > div, .testimonial-card, .blog-previews > article {
  transition: box-shadow 0.2s, transform 0.19s;
}
.mobile-menu, .mobile-menu.active {
  transition: transform 0.35s cubic-bezier(0.44,0.13,0.4,1);
}


/* =====================================
   MISCELLANEOUS
   ===================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #e7edf5;
}
::-webkit-scrollbar-thumb {
  background:#c4cfe0;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A4C2DB;
}

/* Selection Highlight */
::selection {
  background: #e2f4fc;
  color: #181A32;
}

/* Accessibility: focus ring */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px dotted #21A7D0;
  outline-offset: 3px;
  z-index: 1;
}

/* Hide visually but keep for screenreaders */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

/* Utility: Hide for mobile */
.hide-mobile { display: block; }
@media (max-width: 768px) { .hide-mobile { display: none !important; } }

/* Utility: Hide for desktop */
.hide-desktop { display: none; }
@media (max-width: 768px) { .hide-desktop { display: block !important; } }


/* =====================================
   END OF STYLES
   ===================================== */
