/* 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 {margin:0;padding:0;border:0;outline:0;font-size:100%;font:inherit;vertical-align:baseline;box-sizing:border-box;}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height:1; }
ol, ul { list-style:none; }
a { background:transparent;text-decoration:none; color: inherit; }
img { border:0; max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; outline: none; }
button { cursor: pointer; background: none; }

/* === BRAND FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;900&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #222D5A;
  --color-secondary: #5AC8E4;
  --color-accent: #F5F4ED;
  --color-violet: #BF56B4;
  --color-magenta: #EC4B6C;
  --color-yellow: #FFD364;
  --color-orange: #FF866C;
  --color-bg: #fff;
  --color-bg-muted: #F5F4ED;
  --color-card-bg: #fff;
  --color-shadow: rgba(34,45,90,0.09);
  --color-shadow-strong: rgba(34,45,90,0.14);
  --radius: 24px;
  --gap-section: 60px;
  --gap-large: 40px;
  --gap-default: 24px;
  --gap-small: 16px;
  --gap-xs: 8px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-primary);
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.02em;
  background-image: url('../assets/bg-artistic-lores.svg'); /* fallback artistic background */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
}

main { flex:1; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--color-shadow);
  padding: 40px 24px 32px 24px;
  margin-bottom: var(--gap-section);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-section {
  background: var(--color-bg-muted);
}

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

h1, h2, h3, h4 {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-shadow: 0 2px 8px var(--color-shadow-strong);
}

h1 {
  font-size: 2.75rem;
  line-height: 1.22;
  color: var(--color-violet);
}
h2 {
  font-size: 2rem;
  color: var(--color-magenta);
}
h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
}
h4 {
  font-size: 1.125rem;
  color: var(--color-secondary);
}

strong {
  font-weight: 700;
}

p, ul, ol, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 18px;
}
li {
  position: relative;
  margin-bottom: 8px;
  line-height: 1.6;
  padding-left: 18px;
}
ul > li:before, ol > li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--color-magenta) 45%, var(--color-violet) 100%);
}
ol > li:before {
  display: none;
}
ul > li {
  margin-bottom: 6px;
  padding-left: 18px;
}

blockquote {
  border-left: 5px solid var(--color-secondary);
  background: var(--color-accent);
  color: var(--color-primary);
  font-style: italic;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* === FLEXBOX LAYOUT === */
.card-container,
.card-grid,
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  color: #1a2040;
  border-radius: 18px;
  box-shadow: 0 6px 18px var(--color-shadow-strong);
  max-width: 800px;
  position: relative;
  z-index: 1;
}

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

.card {
  margin-bottom: 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 5px 16px var(--color-shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--color-secondary);
}

/* === INTERACTIVE CTA BUTTONS === */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  margin-top: 24px;
  border-radius: 32px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1.18rem;
  font-weight: 700;
  font-family: 'Orbitron', Arial, sans-serif;
  letter-spacing: 1.2px;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.18s, color 0.18s, transform 0.18s;
  outline: none;
  border: none;
  text-decoration: none;
}
.cta.primary {
  background: var(--color-magenta);
  color: #fff;
  box-shadow: 0 2px 12px var(--color-magenta);
}
.cta:hover, .cta:focus {
  background: var(--color-violet);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 24px var(--color-violet);
}

/* === HEADER/NAVIGATION === */
header {
  background: var(--color-primary);
  color: #fff;
  padding: 16px 0 10px 0;
  box-shadow: 0 4px 24px var(--color-shadow);
  position: relative;
  z-index: 100;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
header img {
  height: 56px;
  width: auto;
  margin: 0 auto 8px auto;
  display: block;
  filter: drop-shadow(0 1px 5px var(--color-secondary));
}
header nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
}
header nav a {
  color: #fff;
  position: relative;
  transition: color 0.16s;
  padding: 6px 8px;
  border-radius: 8px;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
  background: rgba(90,200,228,0.08);
}

/* MOBILE HEADER */
.mobile-menu-toggle {
  display: none;
  background: var(--color-magenta);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: auto;
  margin-right: 16px;
  z-index: 2040;
  box-shadow: 0 1px 5px var(--color-shadow-strong);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 24px var(--color-violet);
  z-index: 9999;
  transform: translateX(-105vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.48,1.54,.47,.97), opacity 0.18s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  color: #fff;
  font-size: 2rem;
  background: var(--color-magenta);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  margin: 24px 20px 8px auto;
  box-shadow: 0 2px 10px var(--color-shadow-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.7rem;
  margin-left: 20px;
}
.mobile-nav a {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: bold;
  color: #fff;
  padding: 12px 10px 12px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
  margin-bottom: 0.2em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(90,200,228,0.14);
}

@media (max-width: 1050px) {
  .container { max-width: 97vw; }
  header nav { gap: 16px; font-size: 0.99rem; }
}

@media (max-width: 900px) {
  .container { max-width: 99vw; }
  header nav { gap: 12px; }
}

@media (max-width: 820px){
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* === FOOTER === */
footer {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 36px 0 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -3px 24px var(--color-shadow-strong);
  border-top-left-radius: 38px;
  border-top-right-radius: 38px;
  margin-top: 40px;
}
footer img {
  height: 46px;
  width: auto;
  margin-bottom: 6px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--color-violet);
  padding: 6px 9px;
  border-radius: 6px;
  transition: background 0.14s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
}
footer p {
  color: var(--color-primary);
  font-size: 0.99rem;
  text-align: center;
  margin-top: 4px;
}

/* === FEATURE CARDS & GRIDS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 0;
  justify-content: center;
}
.feature-grid > div {
  flex: 0 1 300px;
  background: var(--color-bg-muted);
  border-radius: 20px;
  padding: 28px 24px 18px 24px;
  box-shadow: 0 2.5px 12px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  text-align: center;
  border-left: 8px solid var(--color-magenta);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 20px var(--color-primary);
  border-left: 8px solid var(--color-secondary);
}
.feature-grid img {
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  background: #fff;
  color: #131742;
  border-left: 8px solid var(--color-violet);
  box-shadow: 0 4px 24px var(--color-shadow-strong);
  margin-bottom: 24px;
  padding: 22px 26px;
  gap: 18px;
  flex-direction: row;
  width: 100%;
  max-width: 650px;
  position: relative;
  font-size: 1.08rem;
  align-items: flex-start;
}
.testimonial-card blockquote {
  background: none;
  border-left: none;
  padding: 0;
  font-size: 1.21rem;
  color: var(--color-violet);
  font-style: italic;
  margin-bottom: 0.2em;
  text-shadow: 0 2px 4px #eee;
}
.testimonial-card p {
  font-size: 0.98rem;
  margin-bottom: 0;
  color: var(--color-magenta);
}

@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 18px 16px;
    max-width: 100%;
    font-size: 1.07rem;
  }
}

/* === SECTIONS & SPACING === */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure minimum 20px margin/gap for all major flex containers */
.card-container, .card-grid, .feature-grid, .content-grid, .text-image-section { gap: 20px; }
.content-wrapper > *:not(:last-child) { margin-bottom: 16px; }

/* === FORMS AND LINKS === */
a {
  transition: color 0.13s, background 0.13s;
}
a:focus { outline: 2px solid var(--color-magenta); outline-offset: 2px; }

/* === SPECIAL DECORATIVE ELEMENTS === */
.content-wrapper {
  position: relative;
  overflow: visible;
}
.content-wrapper:before {
  content: '';
  position: absolute;
  left: -36px;
  top: -18px;
  width: 64px;
  height: 64px;
  border-radius: 50% 40% 56% 47%;
  background: var(--color-yellow);
  z-index: 0;
  opacity: 0.18;
  pointer-events: none;
  transition: background 0.25s;
  display:none;
}
.content-wrapper:hover:before { background: var(--color-magenta); opacity:0.3; }

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .content-wrapper { padding: 28px 8px 18px 8px; }
}
@media (max-width: 999px) {
  .container { padding: 0 5vw; }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid { flex-direction: column; gap: 16px; }
  .container { padding: 0 8px; }
  .content-wrapper { padding: 16px 4px 12px 4px; }
  .section { padding: 18px 4px; }
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -5px 32px var(--color-shadow-strong);
  z-index: 99999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 26px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  font-size: 1.04rem;
  animation: banner-slide-in 0.45s cubic-bezier(.48,1.54,.47,.97);
}
@keyframes banner-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 60%;
  padding-right: 18px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Orbitron', Arial, sans-serif;
  border-radius: 28px;
  padding: 12px 22px;
  font-weight: bold;
  font-size: 1.01rem;
  box-shadow: 0 1.5px 5px var(--color-shadow);
  border: none;
  transition: background 0.12s, color 0.12s, transform 0.13s;
  margin-left: 0;
}
.cookie-banner .accept-all {
  background: var(--color-violet);
  color: #fff;
}
.cookie-banner .accept-all:hover, .cookie-banner .accept-all:focus {
  background: var(--color-magenta);
}
.cookie-banner .reject-all {
  background: var(--color-yellow);
  color: var(--color-primary);
}
.cookie-banner .reject-all:hover, .cookie-banner .reject-all:focus {
  background: var(--color-orange);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-primary);
  color: #fff;
}

@media (max-width: 650px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 8px; font-size: 0.96rem; }
  .cookie-banner__buttons { gap: 8px; }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,45,90,0.15);
  z-index: 100100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 8px 40px var(--color-shadow-strong);
  border-radius: 26px;
  max-width: 420px;
  width: 90vw;
  padding: 34px 28px 22px 28px;
  color: var(--color-primary);
  z-index: 100101;
  animation: modal-in 0.35s cubic-bezier(.48,1.54,.47,.97);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
@keyframes modal-in {
  from { transform: translateY(80px) scale(0.9); opacity: 0.3; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--color-magenta);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex;
  align-items: center; justify-content: center;
  border: none;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--color-yellow);
  color: var(--color-primary);
}
.cookie-modal__section {
  border-bottom: 1px solid var(--color-bg-muted);
  padding-bottom: 12px;
  margin-bottom: 8px;
  font-size: 1.09rem;
}
.cookie-modal__section:last-child { border-bottom: none; }
.cookie-toggle {
  margin-left: auto;
  display: inline-block;
  width: 46px;
  height: 22px;
  background: var(--color-secondary);
  border-radius: 16px;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.20s;
  box-shadow: 0 1px 3px var(--color-shadow);
}
.cookie-toggle input:checked + span {
  left: 26px;
  background: var(--color-violet);
}
.cookie-category-label {
  font-weight: 600;
  color: var(--color-magenta);
  margin-right: 12px;
  font-size: 1.03rem;
}

@media (max-width: 470px) {
  .cookie-modal {
    padding: 14px 4px 11px 4px;
    font-size: 0.97rem;
  }
  .cookie-modal__close { top: 5px; right: 6px; width: 35px; height: 35px; font-size: 1.2rem; }
}

/* === ACCESSIBILITY & FOCUS === */
a:focus, button:focus, input:focus {.outline: 2.5px solid var(--color-magenta); outline-offset: 2px;}

/* === MICRO-INTERACTIONS === */
.card, .content-wrapper, .feature-grid > div, .cta, .mobile-menu-toggle, .mobile-menu-close, .cookie-toggle span {
  transition: box-shadow 0.15s, border-color 0.16s, background 0.17s, color 0.15s;
}

/* === ARTISTIC & CREATIVE ELEMENTS === */
body {
  position: relative;
}
body::after {
  content: '';
  position: fixed;
  right: -100px; bottom: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50% 43% 66% 55%;
  background: radial-gradient(circle at 50% 60%, var(--color-magenta) 42%, var(--color-yellow) 90%);
  opacity: 0.11;
  z-index: 0;
  pointer-events: none;
  filter: blur(8px);
}
body::before {
  content: '';
  position: fixed;
  left: -80px; top: -90px;
  width: 320px; height: 320px;
  border-radius: 35% 67% 61% 44%;
  background: radial-gradient(circle at 50% 70%, var(--color-secondary) 70%, var(--color-violet) 100%);
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
  filter: blur(6.5px);
}

/* === SEPARATORS === */
.content-wrapper + .content-wrapper {
  margin-top: 28px;
}

/* === MISC === */
::-webkit-scrollbar { width: 10px; background: var(--color-bg-muted); }
::-webkit-scrollbar-thumb { background: var(--color-magenta); border-radius: 8px; }

/* === DEMO: hide elements visually only === */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==== END OF STYLE ==== */
