/* ---------------------- CSS RESET & NORMALIZATION ---------------------- */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fafbfc;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ---------------------- FONT IMPORTS ---------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #183153;
  --secondary: #F6C700;
  --accent: #FFFFFF;

  --black: #1C1B17;
  --gray-light: #eceff2;
  --gray: #A4B3C6;
  --gray-dark: #394C6D;
  --vivid-blue: #28B5F5;
  --vivid-magenta: #e03a7d;

  --display-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ---------------------- TYPOGRAPHY ---------------------- */
body {
  font-family: var(--body-font);
  font-size: 16px;
  color: var(--primary);
  background: #fafbfc;
  min-height: 100vh;
  letter-spacing: .01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: .005em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 1px 2px 0 #F6C70033;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}
p {
  margin-bottom: 16px;
  color: var(--gray-dark);
  font-size: 1.05rem;
}
strong {
  color: var(--primary);
  font-weight: 700;
}
.text-section ul, .text-section ol, .content-wrapper > ul, .content-wrapper > ol {
  margin-bottom: 18px;
  padding-left: 22px;
}
.text-section li, .content-wrapper ul li {
  position: relative;
  margin-bottom: 10px;
  color: var(--primary);
  line-height: 1.6;
}
.text-section ul li:before, .feature-grid li:before {
  content: '✦';
  color: var(--vivid-magenta);
  margin-right: 10px;
  font-size: 1.1em;
}
.feature-grid li:before {
  color: var(--vivid-blue);
}

/* ---------------------- SPACING & LAYOUT PATTERNS ---------------------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Content grid example for features or cards */
.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;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #f6c70025;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow .25s cubic-bezier(.4,1,.5,.9), transform .25s cubic-bezier(.38,.5,.24,1.14);
}
.card:hover {
  box-shadow: 0 10px 32px -8px var(--vivid-blue);
  transform: translateY(-6px) scale(1.02);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 6px 28px -7px #28B5F533;
  margin-bottom: 20px;
  position: relative;
  border-left: 5px solid var(--vivid-magenta);
  transition: box-shadow .25s;
  max-width: 650px;
}
.testimonial-card p {
  color: var(--black);
  font-size: 1.125rem;
  font-weight: 600;
}
.testimonial-card div {
  font-style: italic;
  color: var(--primary);
  font-weight: 700;
}

/* Feature grid (index, features, etc.) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px -4px var(--vivid-blue);
  padding: 30px 22px;
  min-width: 230px;
  flex: 1 1 240px;
  transition: box-shadow .2s, transform .21s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.feature-grid li img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-grid li:hover {
  box-shadow: 0 6px 32px -8px var(--vivid-magenta);
  transform: translateY(-4px) scale(1.04);
}

/* ---------------------- BUTTONS & CTA ---------------------- */
.cta-primary, .cta-secondary, button, .btn, input[type="submit"] {
  display: inline-block;
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: bold;
  border-radius: 30px;
  letter-spacing: .02em;
  padding: 14px 34px;
  border: none;
  outline: none;
  box-shadow: 0 3px 12px -2px #28B5F522;
  transition: background 0.22s, box-shadow 0.22s, color 0.22s, transform .15s;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 10px;
}
.cta-primary {
  background: linear-gradient(90deg, var(--secondary) 45%, var(--vivid-magenta) 140%);
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--vivid-magenta) 30%, var(--secondary) 70%);
  color: #fff;
  border-color: var(--vivid-magenta);
  box-shadow: 0 8px 28px -6px var(--vivid-magenta);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: transparent;
  color: var(--vivid-blue);
  border: 2px solid var(--vivid-blue);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--vivid-blue);
  color: #fff;
}
nav a.cta-primary {
  margin-left: 24px;
  margin-bottom: 0;
}
nav a.cta-primary:not(:hover) {
  box-shadow: 0 3px 12px -2px #f6c70022;
}

/* ---------------------- HEADER & NAVIGATION ---------------------- */
header {
  background: var(--accent);
  box-shadow: 0 2px 10px -4px #F6C70025;
  position: relative;
  z-index: 30;
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 26px;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 30px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  color: var(--primary);
  font-weight: 600;
  font-family: var(--body-font);
  font-size: 1.08rem;
  border-radius: 22px;
  transition: color .18s, background .15s;
  padding: 9px 18px;
}
nav a:hover, nav a:focus {
  background: var(--vivid-blue);
  color: #fff;
}

/* ---------------------- MOBILE MENU ---------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  border-radius: 16px;
  padding: 7px 14px 7px 14px;
  cursor: pointer;
  margin-left: 18px;
  transition: background .2s, color .2s, box-shadow .18s;
  z-index: 41;
}
.mobile-menu-toggle:hover {
  background: var(--vivid-magenta);
  color: #fff;
  box-shadow: 0 4px 16px -2px var(--vivid-magenta);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,49,83,0.94);
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.7,-0.17,.27,1.21);
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 20px 20px 20px;
  width: 100vw;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--vivid-magenta);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  cursor: pointer;
  transition: background .16s, color .18s;
  z-index: 60;
}
.mobile-menu-close:hover {
  background: #fff;
  color: var(--vivid-magenta);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 16px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #fff;
  padding: 15px 18px;
  border-radius: 18px;
  font-family: var(--display-font);
  font-weight: bold;
  letter-spacing: .01em;
  transition: background .18s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vivid-blue);
  color: #fff;
}
@media (max-width: 1022px) {
  nav {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 790px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Hide background scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* ---------------------- HERO STYLES ---------------------- */
main > section:first-child {
  background: linear-gradient(95deg, #fff 60%, #F6C70011 98%);
  padding-top: 68px;
  padding-bottom: 34px;
  position: relative;
}
main > section:first-child h1 {
  color: var(--vivid-magenta);
  text-shadow: 2px 4px 0 #F6C70055;
}
main > section:first-child p {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: 1.18rem;
}
@media (max-width: 640px) {
  main > section:first-child {
    padding-top: 38px;
    padding-bottom: 14px;
  }
}

/* ---------------------- PRICING TABLE ---------------------- */
.pricing-table {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px -8px var(--vivid-blue);
  margin-bottom: 22px;
  font-family: var(--body-font);
  font-size: 1rem;
}
.pricing-table th {
  padding: 15px 10px;
  color: #fff;
  background: var(--vivid-magenta);
  font-size: 1.12rem;
  border-radius: 20px 20px 0 0;
}
.pricing-table tr:not(:last-child) {
  border-bottom: 2px solid #f6c70033;
}
.pricing-table td {
  padding: 13px 10px;
  text-align: left;
  color: var(--primary);
  background: #fff;
}

/* ---------------------- CARDS AND WEBINAR PROMOS ---------------------- */
.webinar-promo {
  background: linear-gradient(94deg, var(--vivid-blue) 75%, #fff0 100%);
  color: #fff;
  padding: 26px 32px 22px 24px;
  border-radius: 19px;
  margin-bottom: 18px;
  box-shadow: 0 6px 28px -10px var(--vivid-blue);
}
.webinar-promo h3 {
  color: #fff;
  margin-bottom: 10px;
}
.webinar-promo .cta-secondary {
  margin-top: 10px;
  border-color: #fff;
  color: #fff;
}
.webinar-promo .cta-secondary:hover {
  background: #fff;
  color: var(--vivid-blue);
}

/* ---------------------- FORMS & INPUTS ---------------------- */
input, textarea, select {
  max-width: 100%;
  padding: 13px 16px;
  margin-bottom: 18px;
  border: 1.5px solid var(--gray);
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: border .16s;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--vivid-magenta);
}

/* ---------------------- MAP & IMAGE PLACEHOLDERS ---------------------- */
.map {
  width: 100%;
  max-width: 320px;
  margin: 16px 0 0 0;
  border-radius: 16px;
  overflow: hidden;
  background: #eceff2;
  box-shadow: 0 2px 12px -4px #394C6D22;
}

/* ---------------------- FOOTER ---------------------- */
footer {
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  padding: 36px 0 24px 0;
  box-shadow: 0 -2px 9px -4px #B5A81F11;
  margin-top: 64px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 38px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--secondary);
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.04rem;
  padding-left: 0;
  transition: color .18s, text-decoration .2s;
}
footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.company-info {
  font-size: .99rem;
  color: #fff;
  margin-top: 0;
  font-family: var(--body-font);
  line-height: 1.7;
}

/* ---------------------- COOKIE CONSENT BANNER ---------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 150;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -4px 28px -8px var(--gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 19px 28px;
  font-size: 1rem;
  font-family: var(--body-font);
  animation: cookieBannerSlide .5s cubic-bezier(.77,0,.18,1.07);
}
@keyframes cookieBannerSlide {
  from { transform: translateY(120%); }
  to   { transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 22px;
  outline: none;
  border: none;
  padding: 10px 28px;
  margin: 0;
  cursor: pointer;
  transition: background .18s,color.18s;
}
.cookie-banner .accept {
  background: linear-gradient(92deg, var(--secondary) 80%, var(--vivid-magenta) 120%);
  color: var(--primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--vivid-magenta);
  color: #fff;
}
.cookie-banner .reject {
  background: transparent;
  border: 2px solid var(--vivid-magenta);
  color: var(--vivid-magenta);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--vivid-magenta);
  color: #fff;
}
.cookie-banner .settings {
  background: transparent;
  border: 2px solid var(--vivid-blue);
  color: var(--vivid-blue);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--vivid-blue);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; right:0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 160;
  background: rgba(24,49,83,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
}
.cookie-modal {
  background: #fff;
  border-radius: 30px;
  padding: 38px 32px;
  color: var(--primary);
  max-width: 430px;
  min-width: 280px;
  font-size: 1rem;
  box-shadow: 0 8px 38px -5px var(--vivid-blue);
  animation: cookieModalPop .33s cubic-bezier(.84,-0.02,.14,1.09);
}
@keyframes cookieModalPop {
  from { opacity: 0; transform: scale(.7); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.4rem;
  font-family: var(--display-font);
  margin-bottom: 18px;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category label {
  font-weight: 700;
  font-family: var(--display-font);
  flex: 1;
}
.cookie-modal .category-toggle,
.cookie-modal input[type=checkbox] {
  appearance: none;
  width: 36px;
  height: 18px;
  background: var(--gray-light);
  border-radius: 12px;
  position: relative;
  outline: none;
  transition: background .14s;
  cursor: pointer;
  border: 2px solid var(--vivid-blue);
}
.cookie-modal .category-toggle:checked {
  background: var(--vivid-blue);
}
.cookie-modal .category-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px #A4B3C633;
  transition: left .16s;
}
.cookie-modal .category-toggle:checked:before {
  left: 19px;
}
.cookie-modal .readonly {
  opacity: 0.65;
}
.cookie-modal .cookie-modal-controls {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-controls button {
  font-family: var(--display-font);
  font-size: 1.05rem;
  border-radius: 18px;
  outline: none;
  border: none;
  padding: 8px 22px;
  cursor: pointer;
  background: var(--vivid-blue);
  color: #fff;
}
.cookie-modal .cookie-modal-controls button.save {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal .cookie-modal-controls button:hover {
  opacity: .92;
  box-shadow: 0 2px 20px -6px var(--vivid-magenta);
}

/* ---------------------- RESPONSIVE BREAKPOINTS ---------------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-grid,
  .card-container,
  .feature-grid {
    gap: 16px;
  }
  footer .container{
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid li, .card {
    min-width: 170px;
    flex: 1 1 180px;
    padding: 22px 13px;
  }
  .section, section {
    padding: 32px 10px;
  }
  .webinar-promo {
    padding: 20px 10px;
  }
  .testimonial-card {
    max-width: 100%;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
  }
}
@media (max-width: 768px) {
  .content-grid, .card-container, .feature-grid, footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.33rem; }
  .section, section {
    padding: 26px 4px;
    margin-bottom: 36px;
  }
}
@media (max-width: 540px) {
  .testimonial-card {
    padding: 13px;
    font-size: .98rem;
    min-width: 0;
  }
  .feature-grid li {
    padding: 14px 5px;
    font-size: .98rem;
  }
  .card {
    padding: 18px 8px;
    min-width: 0;
  }
  .webinar-promo {
    margin-bottom: 6px;
  }
  .company-info {
    font-size: .95rem;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    font-size: .96rem;
    padding: 14px 8px;
  }
}

/* ---------------------- MICRO INTERACTIONS / TRANSITIONS ---------------------- */
section, .card, .feature-grid li, .testimonial-card, .content-wrapper, .webinar-promo {
  transition: box-shadow .18s, transform .17s, background .2s;
}

.cta-primary, .cta-secondary, button, .btn {
  transition: background .22s, box-shadow .13s, color .15s, transform .15s;
}

/* Slight wiggle for the CTA button on hover */
.cta-primary:active {
  animation: btnWiggle .21s linear 1;
}
@keyframes btnWiggle {
  0% { transform: rotate(-1deg); }
  40% { transform: rotate(2.3deg) scale(1.04); }
  100% { transform: rotate(0) scale(1); }
}


/* ---------------------- UNIQUE ARTISTIC ACCENTS ---------------------- */
/* Artistic underline for h2 headings */
h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 5px;
  background: linear-gradient(90deg, var(--vivid-magenta), var(--secondary), var(--vivid-blue));
  border-radius: 7px;
  margin-top: 7px;
}

/* Confetti accents using a pseudo element behind main calls to action */
.cta-primary::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: -20px; top: -13px;
  width: 30px;
  height: 27px;
  background: url('data:image/svg+xml;utf8,<svg width="30" height="27" xmlns="http://www.w3.org/2000/svg"><circle cx="7" cy="7" r="3" fill="%23e03a7d"/><rect x="17" y="11" width="7" height="3" fill="%23F6C700"/><rect x="9" y="19" width="6" height="2" fill="%2328B5F5"/></svg>') no-repeat;
  opacity: 0.75;
  pointer-events: none;
}
.cta-primary {
  position: relative;
  overflow: visible;
}

/* Artistic backgrounds for sections on even index */
section:nth-child(even) {
  background: linear-gradient(93deg, #fff 70%, #28B5F515 100%);
}
section:nth-child(odd) {
  background: linear-gradient(80deg, #fff 90%, #e03a7d15 120%);
}

/* ---------------------- ACCESSIBILITY: FOCUS STATES ---------------------- */
a:focus, button:focus, input:focus, .cta-primary:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ---------------------- UTILITIES & OVERRIDES ---------------------- */
.hide-mobile { display: block !important; }
.show-mobile { display: none !important; }
@media (max-width: 790px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
}

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