/* 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,
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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #181A23;
  color: #F8F5F0;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
}
img { max-width: 100%; display: block; border: none; }
a { color: #A6BFFF; text-decoration: none; transition: color 0.18s; }
a:hover, a:focus { color: #6EDBFF; }
ul, ol { list-style: none; }

/* Brand Colors as CSS variables for fallback */
:root {
  --color-primary: #28304D;
  --color-secondary: #958569;
  --color-accent: #F8F5F0;
  --color-bg: #181A23;
  --color-neon: #6EDBFF;
  --color-neon-pink: #FF24B1;
}

body {
  background-color: var(--color-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', Times, serif;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.25;
}
h1 { font-size: 2rem; /* 32px */ }
h2 { font-size: 1.5rem; /* 24px */ }
h3 { font-size: 1.25rem; /* 20px */ }
h4, h5, h6 { font-size: 1rem; /* 16px */ }
@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.5rem; }
}
p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  color: #e9e7e1;
  font-weight: 400;
}
strong, b {
  font-weight: 700;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #e9e7e1;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(40, 48, 77, 0.88);
  border-radius: 20px;
  box-shadow: 0 3px 32px 0 rgba(30,53,70,0.13);
}
.hero {
  background: linear-gradient(92deg, #181A23 65%, #28304D 100%);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 48px;
  padding: 60px 0 36px;
  position: relative;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.25rem;
  color: var(--color-neon);
  text-shadow: 0 0 7px #6EDBFFa6,0 0 24px #181A23;
}
.hero p {
  font-size: 1.22rem;
  margin-bottom: 20px;
}

/* Feature Grid  */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li {
  background: rgba(22,24,31,0.82);
  border: 1.5px solid #6EDBFF20;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 #6EDBFF11;
  padding: 28px 24px;
  flex: 1 1 260px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-grid li img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 6px #6EDBFF);
  flex-shrink: 0;
}
.feature-grid li:hover {
  border-color: var(--color-neon);
  box-shadow: 0 4px 18px 0 #6EDBFF44, 0 0 0 2px #FF24B188;
  transform: translateY(-3px) scale(1.025);
}
.feature-grid h3 {
  color: var(--color-neon);
  font-size: 1.18rem;
}

/* Button Styles */
.cta-button, .cookie-banner button, .cookie-modal button {
  background: linear-gradient(90deg, #6EDBFF 30%, #FF24B1 100%);
  color: #181A23;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 8px;
  box-shadow: 0 1.5px 14px 0 #FF24B144;
  letter-spacing: 0.7px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  outline: none;
}
.cta-button:hover, .cookie-banner button:hover, .cookie-modal button:hover {
  background: linear-gradient(90deg, #FF24B1 20%, #6EDBFF 100%);
  color: #28304D;
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 2px 24px 2px #FF24B188;
}
/* Essentials for accessibility */
.cta-button:focus-visible,
.cookie-banner button:focus-visible,
.cookie-modal button:focus-visible {
  box-shadow: 0 0 0 3px #6EDBFF90 inset;
}

/* Card-Pattern (for any .card, .testimonial-card, etc) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #222433;
  box-shadow: 0 2px 16px 0 #6EDBFF11;
  border-radius: 18px;
  border: 1.5px solid #6EDBFF15;
  padding: 28px 22px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border 0.18s;
}
.card:hover {
  box-shadow: 0 5px 28px 0 #FF24B155, 0 0 0 1.5px #6EDBFF77;
  border-color: #6EDBFF77;
}

/* Content Grids (for sections with multiple children in .content-grid, .features, etc) */
.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;
  background: #F8F5F0;
  color: #181A23;
  border-radius: 18px;
  border: 2px solid #6EDBFF33;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px #95856944;
  flex: 1 1 340px;
  flex-direction: column;
}
.testimonial-card strong, .testimonial-card b {
  color: #28304D;
}
.testimonial-card p {
  color: #28304D;
}
.testimonial-card:before {
  content: '"';
  color: #6EDBFF;
  font-size: 3rem;
  line-height: 0.5em;
  margin-right: auto;
  margin-top: -14px;
  opacity: 0.15;
  font-family: 'Playfair Display', serif;
}

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

/* Footer */
footer {
  background: #1A1C27;
  padding: 40px 0 26px 0;
  margin-top: 36px;
  border-top: 2px solid #6EDBFF18;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  align-items: center;
  justify-content: flex-start;
}
.footer-nav a {
  color: #6EDBFF;
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.82;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover {
  color: #FF24B1;
  opacity: 1;
}
footer address {
  font-style: normal;
  color: #B1B1B6;
  margin-top: 16px;
  font-size: 0.98rem;
  line-height: 1.7;
  letter-spacing: 0.1px;
}
footer a {
  color: #6EDBFF;
  text-decoration: underline;
}

/* HEADER */
header {
  background: #181A23;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
  box-shadow: 0 8px 40px -10px #0E0F16aa;
}
header .container {
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 10px 22px 10px 22px;
}
header img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-right: 18px;
}
.main-nav a {
  color: var(--color-accent);
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  text-shadow: 0 0 12px #181A2344;
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #6EDBFF;
}
.main-nav a.active {
  color: #FF24B1;
  font-weight: 700;
}

header .cta-button {
  margin: 0 0 0 16px;
  font-size: 0.98rem;
  padding: 11px 24px;
  background: linear-gradient(90deg, #FF24B1 10%, #6EDBFF 90%);
  color: #fff;
}
header .cta-button:hover {
  color: #28304D;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #6EDBFF;
  font-size: 2.2rem;
  margin-left: 8px;
  cursor: pointer;
  z-index: 52;
  position: relative;
  padding: 0 14px;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover {
  color: #FF24B1;
}
.mobile-menu {
  display: none;
}
@media (max-width: 1100px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-nav {
    gap: 13px;
    font-size: 0.97rem;
  }
  header img {
    height: 36px;
  }
}
@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  header .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    position: fixed;
    left: 0; right: 0;
    top: 0; bottom: 0;
    background: #181A23ee;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(-100vw);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.36s cubic-bezier(.68,-0.25,.51,1.35), opacity 0.26s;
    min-width: 270px;
    padding: 0;
  }
  .mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu-close {
    margin-top: 24px;
    margin-left: 22px;
    background: none;
    border: 2px solid #6EDBFF88;
    color: #6EDBFF;
    font-size: 1.9rem;
    border-radius: 100px;
    padding: 5px 15px;
    cursor: pointer;
    align-self: flex-start;
    transition: color 0.18s, border-color 0.18s;
  }
  .mobile-menu-close:hover {
    color: #FF24B1;
    border-color: #FF24B1;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    align-items: stretch;
    margin: 3vh 0 0 0;
    padding: 22px 40px;
    font-size: 1.12rem;
  }
  .mobile-nav a {
    color: #6EDBFF;
    padding: 13px 0;
    border-bottom: 1px solid #34427b44;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: background 0.18s, color 0.18s;
    border-radius: 4px;
    display: block;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus {
    color: #FF24B1;
    background: #191a2910;
  }
}

/* Responsive spacing for containers, section */
@media (max-width: 700px) {
  .container { padding: 0 8px; }
  .section { padding: 30px 2px; margin-bottom: 36px; }
  .feature-grid { gap: 14px; }
  .card-container { gap: 14px; }
  .card { padding: 16px 10px; }
  .testimonial-card { padding: 13px; border-radius: 12px; }
  .footer-nav { gap: 10px; }
}

/* --- Blocks for sections with flex --- */
@media (max-width: 900px) {
  .feature-grid { flex-direction: column; }
  .card-container { flex-direction: column; }
  .testimonial-card { min-width: unset; }
}
@media (max-width: 768px) {
 .text-image-section { flex-direction: column; align-items: flex-start; }
 .content-grid { flex-direction: column; align-items: flex-start; }
 .hero h1 { font-size: 1.5rem; }
 .hero .container { padding: 0 6px; }
}

/* Inputs & Forms (if any are present in modals or contact) */
input, textarea, select {
  background: #222433;
  color: #F8F5F0;
  border: 1.5px solid #6EDBFF25;
  border-radius: 12px;
  padding: 14px 13px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 16px;
  box-shadow: 0 1.5px 7px #6EDBFF09;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #6EDBFF;
}
label { margin-bottom: 0.8em; display: block; font-weight: 500; }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10070;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(21,23,32,0.98);
  box-shadow: 0 -3px 36px 0 #6EDBFF33;
  min-height: 68px;
  padding: 32px 16px 32px 16px;
  gap: 28px;
  transition: transform 0.34s cubic-bezier(.33,.6,.32,1.16), opacity 0.23s;
  font-size: 1rem;
  color: #F8F5F0;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin: 0 22px 0 0;
  max-width: 480px;
  color: #F8F5F0;
  flex: 1 0 240px;
}
.cookie-banner button {
  margin-right: 8px;
  letter-spacing: 0.07em;
  font-size: 0.98em;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  color: #F8F5F0;
  border: 1.5px solid #6EDBFF;
  margin-right: 0;
  margin-left: 8px;
  box-shadow: none;
  transition: background 0.13s, color 0.18s, border 0.16s;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #22284066;
  color: #6EDBFF;
  border: 1.5px solid #FF24B1;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 12px; padding: 19px 5px; }
  .cookie-banner p { max-width: 99vw; margin-right: 0; }
  .cookie-banner button { width: 100%; margin: 8px 0; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(24,26,35,0.99);
  z-index: 10090;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-30vh) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s, opacity 0.2s;
}
.cookie-modal.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #222433;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 42px #6EDBFF26;
  padding: 38px 32px;
  min-width: 290px;
  max-width: 96vw;
  width: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h3 {
  margin-bottom: 2px;
  font-size: 1.25rem;
  color: #6EDBFF;
}
.cookie-modal-category-row {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin: 3px 0;
}
.cookie-modal-category-row label {
  flex: 1;
  color: #F8F5F0;
  margin-bottom: 0;
  font-size: 1.08em;
  font-weight: 500;
}
.cookie-modal .toggle-switch {
  appearance: none;
  width: 44px;
  height: 22px;
  border-radius: 12px;
  background: #28304D;
  transition: background 0.16s;
  cursor: pointer;
  outline: none;
  position: relative;
}
.cookie-modal .toggle-switch:checked {
  background: linear-gradient(90deg, #6EDBFF 30%, #FF24B1 100%);
}
.cookie-modal .toggle-switch::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px; left: 1.3px;
  transition: left 0.17s, background 0.19s;
  box-shadow: 0 0 10px #6EDBFF44;
}
.cookie-modal .toggle-switch:checked::before {
  left: 22px;
  background: #6EDBFF;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 15px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  color: #6EDBFF;
  font-size: 1.42rem;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  color: #FF24B1;
}
@media (max-width: 500px) {
  .cookie-modal-content { padding: 18px 8px; width: 99vw; min-width: unset; }
}

/* Utilities */
.neon-text {
  color: var(--color-neon);
  text-shadow: 0 0 5px #6EDBFFdd,0 0 15px #0288d131;
}
.rounded {
  border-radius: 18px;
}
.shadow {
  box-shadow: 0 2px 18px 0 #6EDBFF15;
}
.bg-blur {
  background: rgba(30,34,54,0.80);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

/* Animations */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero, .section, .card, .testimonial-card, .footer-nav a {
  animation: fadeInUp .7s cubic-bezier(.45,.16,.53,1.02) both;
}

/* Micro-interaction for all button clicks */
button:active, .cta-button:active {
  transform: scale(0.97) translateY(1.5px);
}

/* Responsive spacing and scaling */
@media (max-width: 540px) {
  h1 { font-size: 1.31rem; }
  h2 { font-size: 1.07rem; }
  .feature-grid li, .card { padding: 12px 7px; border-radius: 11px; }
  .footer-nav { flex-direction: column; }
}

/* Visually hide elements for a11y */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* Special spacing for ul/ol inside .text-section */
.text-section ul, .text-section ol {
  margin-left: 19px;
  margin-bottom: 8px;
}
.text-section ul li, .text-section ol li {
  list-style: disc inside;
  margin-bottom: 7px;
  color: #F8F5F0;
}

/* Headings color overrides in privacy/legals */
.text-section h1, .text-section h2, .text-section h3, .text-section h4 {
  color: #6EDBFF;
}

/* For logo - always maintain aspect, align center on mobile */
@media (max-width: 620px) {
  header .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  header img { margin-bottom: 4px; }
}

/* CARD PATTERN - can be applied to any element with class 'card' */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* Spacing rules */
.section, .card, .feature-grid li, .card-container > *, .testimonial-card {
  margin-bottom: 20px;
}

/* Table styles (for legals/privacy if any) */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 22px;
}
th, td {
  border: 1px solid #28304D11;
  padding: 9px 8px;
  color: #F8F5F0;
  font-size: 0.98em;
}
th { background: #28304D; color: #6EDBFF; }

/* Z-index stacking context for overlays and menus */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 10000 !important; }

/* Hide scroll on modal open */
body.modal-open {
  overflow-y: hidden;
}

/* END CSS */
