/* RESET & BASE TYPOGRAPHY */
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 {
  scroll-behavior: smooth;
}
body {
  background: #171821;
  color: #EEF1F8;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #FFD86E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-shadow: 0 0 6px #FFD86E;
}

/* GENERAL SPACING & FLEX PATTERNS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(31,35,48,0.97);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(119,89,176,0.07);
  padding: 32px 24px;
  margin-bottom: 30px;
}
.features-grid, .card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232439;
  border-radius: 16px;
  box-shadow: 0px 4px 16px 0 rgba(119,89,176,0.09), 0 0 0 1px #393961;
  transition: transform 0.2s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 28px 0 #7759B044, 0 0 0 2px #FFD86E;
}
.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;
  background: #F5F6FA;
  color: #1F2330;
  padding: 24px 28px;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 20px 0 rgba(31,35,48,0.06), 0 0 0 1px #7759B055;
  font-size: 1.08em;
}
.testimonial-card p {
  font-weight: 500;
  color: #171821;
}
.testimonial-card span {
  font-size: 0.96em;
  font-style: italic;
  color: #7759B0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* HERO SECTION FUTURISTIC EFFECT */
.hero {
  background: linear-gradient(100deg, #232439 70%, #7759B0 100%);
  color: #FFD86E;
  padding: 68px 0 48px 0;
  box-shadow: 0 2px 36px 0 #7759B044;
  position: relative;
  margin-bottom: 60px;
  border-bottom: 3px solid #FFD86E55;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 2.7em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #FFD86E;
  text-shadow: 0 0 18px #FFD86E55, 0 0 3px #7759B0CC;
  letter-spacing: 1px;
}
.hero p {
  color: #FFF;
  font-size: 1.25em;
  margin-bottom: 28px;
  font-weight: 400;
  text-shadow: 0 0 9px #23243955;
}

/* MAIN NAVIGATION & HEADER */
header {
  background: #1F2330;
  border-bottom: 1px solid #393961;
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.main-nav a img {
  height: 48px;
  width: auto;
  margin-right: 12px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  align-items: center;
}
.main-nav ul li {
  margin: 0;
}
.main-nav ul li a {
  color: #FFD86E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #7759B0;
  color: #FFF;
  box-shadow: 0 0 8px 2px #FFD86E65;
}
/* CTA BUTTON PRIMARY STYLE */
.cta-primary {
  background: #FFD86E;
  color: #1F2330 !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1em;
  padding: 10px 28px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 0 14px 0 #FFD86E99;
  transition: background 0.23s, color 0.2s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin-left: 12px;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #fff;
  color: #7759B0 !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 24px 0 #FFD86EDD;
}

/* BURGER MENU & MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #232439;
  color: #FFD86E;
  border: none;
  font-size: 2em;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.2s;
  margin-left: 16px;
  z-index: 4002;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFD86E;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1F2330;
  box-shadow: 0 4px 64px 0 #7759B044;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.87, 0, 0.13, 1);
  z-index: 4001;
  padding: 0;
  height: 100vh;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: transparent;
  color: #FFD86E;
  border: none;
  font-size: 2.2em;
  cursor: pointer;
  z-index: 4010;
  transition: color 0.18s;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
  padding: 60px 32px 0 32px;
}
.mobile-nav a {
  color: #FFD86E;
  font-size: 1.32em;
  letter-spacing: 0.07em;
  font-weight: 700;
  background: none;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.23s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #7759B0;
  background: #FFD86E22;
}

/* LISTS AND BLOCKQUOTES */
ul, ol {
  padding-left: 28px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1em;
}
blockquote {
  color: #FFD86E;
  background: #232439;
  border-left: 4px solid #7759B0;
  padding: 18px 20px 18px 28px;
  margin: 24px 0;
  font-style: italic;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2em;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  color: #FFD86E;
  margin-bottom: 12px;
  font-weight: 700;
}
h1 { font-size: 2.2em; margin-bottom: 18px; }
h2 { font-size: 1.5em; margin-bottom: 12px; color: #7759B0; }
h3 { font-size: 1.15em; margin-bottom: 8px; color: #FFD86E; }
h4, h5, h6 { font-size: 1em; margin-bottom: 8px; }
p, li {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #EEF1F8;
  font-size: 1em;
  margin-bottom: 12px;
}
strong, b {
  color: #FFD86E;
}


/* FOOTER */
footer {
  background: #1F2330;
  border-top: 1px solid #393961;
  padding: 32px 0 20px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #FFD86E;
  font-size: 0.96em;
  padding: 7px 13px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.19s, color 0.19s, box-shadow 0.16s;
}
.footer-nav a:hover {
  background: #7759B0;
  color: #fff;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 0.95em;
}
.legal-links a {
  color: #BEB7F7;
  transition: color 0.18s;
}
.legal-links a:hover { color: #fff; }
.social-media {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}
.social-media img {
  height: 32px;
  filter: drop-shadow(0 2px 8px #7759B088);
  transition: filter 0.18s, transform 0.17s;
  cursor: pointer;
}
.social-media img:hover {
  filter: drop-shadow(0 2px 8px #FFD86E);
  transform: scale(1.13) rotate(-4deg);
}

/* BUTTONS */
button, .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  cursor: pointer;
  outline: none;
  border: none;
}
button:active, .cta-primary:active {
  outline: none;
}

/* CARDS */
.features-grid > div {
  background: #22223d;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 #7759B044, 0 0 0 1px #7759B052;
  color: #FFD86E;
  flex: 1 1 180px;
  padding: 20px;
  min-width: 190px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.features-grid > div img {
  height: 40px;
  width: 40px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 8px #FFD86E99);
}
.features-grid > div:hover {
  box-shadow: 0 2px 24px 0 #FFD86E55, 0 0 0 2px #FFD86E;
  transform: translateY(-2px) scale(1.03);
}
.features-grid > div h3 { color: #FFD86E; font-size: 1.13em; margin-bottom: 6px; }
.features-grid > div p { color: #EEF1F8; font-size: 0.97em; }

/* FORM FIELDS (JUST GENERIC: for contact page) */
input, textarea, select {
  background: #1F2330;
  color: #FFD86E;
  border: 1.5px solid #7759B0;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  padding: 10px 12px;
  margin-bottom: 18px;
  width: 100%;
  outline: none;
  transition: border-color 0.20s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFD86E;
  box-shadow: 0 0 0 2px #FFD86E66;
}

/* ANIMATIONS & INTERACTIONS */
.card, .features-grid > div, .cta-primary, .main-nav ul li a, .footer-nav a {
  transition: box-shadow 0.18s, background 0.19s, color 0.19s, transform 0.15s;
}

/* COOKIE BANNER + MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #232439ee;
  color: #FFD86E;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 36px;
  border-top: 3px solid #7759B0;
  box-shadow: 0 -2px 24px 0 #7759B055;
  padding: 22px 16px;
  z-index: 5000;
  font-size: 1.04em;
  animation: bannerSlideUp 0.6s cubic-bezier(.32,1.56,.33,1) 0s 1;
}
@keyframes bannerSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  background: #FFD86E;
  color: #1F2330;
  border: none;
  padding: 10px 22px;
  border-radius: 22px;
  font-weight: 700;
  margin-right: 10px;
  margin-left: 0;
  font-size: 1em;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  cursor: pointer;
  box-shadow: 0 0 8px 0 #FFD86E77;
}
.cookie-banner .cookie-btn:hover {
  background: #7759B0;
  color: #FFD86E;
  box-shadow: 0 0 16px 0 #FFD86Ebb;
  transform: scale(1.04);
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #FFD86E;
  border: 1.5px solid #FFD86E;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #FFD86E;
  color: #1F2330;
}
.cookie-modal-bg {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(31, 35, 48, 0.85);
  z-index: 5100;
  justify-content: center;
  align-items: center;
  display: none;
}
.cookie-modal-bg.open {
  display: flex;
  animation: modalFadeIn 0.5s;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #1F2330;
  border-radius: 16px;
  box-shadow: 0 6px 28px 0 #7759B055;
  padding: 34px 26px 26px 26px;
  max-width: 380px;
  color: #FFD86E;
  z-index: 5200;
  position: relative;
  animation: modalAppear 0.4s cubic-bezier(.55,1.62,.52,1) 0s 1;
}
@keyframes modalAppear {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: #FFD86E;
  margin-bottom: 12px;
}
.cookie-modal .category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #232439;
  color: #FFD86E;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 16px;
}
.cookie-modal .toggle {
  appearance: none;
  width: 32px; height: 18px;
  background: #7759B0;
  border-radius: 18px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .toggle:checked {
  background: #FFD86E;
}
.cookie-modal .toggle::before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-modal .toggle:checked::before {
  transform: translateX(14px);
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-direction: row;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 108px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  color: #FFD86E;
  border: none;
  font-size: 1.3em;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover {
  color: #fff;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1000px) {
  .content-wrapper {
    padding: 22px 10px;
    gap: 20px;
  }
  .features-grid, .card-container, .card-grid, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper {
    box-shadow: 0 2px 12px 0 #7759B041;
    padding: 16px 7px;
    gap: 13px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 7px;
  }
  .features-grid, .card-container, .card-grid, .content-grid, .footer-nav, .legal-links, .social-media {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .hero {
    padding: 44px 0 28px 0;
    font-size: 1em;
  }
  h1 { font-size: 1.35em; }
  h2 { font-size: 1.1em; }
}
@media (max-width: 500px) {
  .hero {
    padding: 22px 0 13px 0;
  }
  .content-wrapper {
    padding: 10px 2px;
  }
  .footer-nav a, .legal-links a {
    font-size: 0.92em;
    padding: 8px 3px;
  }
}


/* MISC VISUAL ACCENTS */
hr {
  border: 0;
  border-top: 2px solid #7759B0;
  margin: 36px 0;
}
::-webkit-scrollbar { width: 10px; background: #232439; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #7759B0, #FFD86E);
  border-radius: 7px;
}

/* VISUALLY HIDDEN (for accessibility, eg close modal text) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* NEON ACCENT EFFECTS */
.neon-text {
  color: #FFD86E;
  text-shadow: 0 0 4px #FFD86E55, 0 0 10px #FFD86E44;
}
.accent-border {
  border: 2px solid #FFD86E;
  border-radius: 7px;
  box-shadow: 0 0 10px 0 #FFD86E77;
}

/******************** END ********************/
