/* ==== CSS 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #22142b;
}
ol, ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
:root {
  --color-primary: #3A2143;
  --color-secondary: #C94C54;
  --color-accent: #F5F2EF;
  --color-dark: #22142b;
  --color-light: #fff;
  --color-neon: #90FFF9;
  --color-btn-glow: #E2F8FF;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ==== GLOBAL STYLES ==== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-accent);
  background: linear-gradient(135deg, #271434, #3A2143 60%, #281c35 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ==== TYPOGRAPHY ==== */
h1, h2, h3 {
  font-family: var(--font-display);
  color: #90FFF9;
  letter-spacing: 0.015em;
  font-weight: 700;
  text-shadow: 0 2px 24px #00f6ff1a;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1.22;
}
h3 {
  font-size: 1.33rem;
  margin-bottom: 10px;
  color: #C94C54;
}
p, address, li, blockquote {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.6;
}
small {
  font-size: .875rem;
  color: #e3d7eb;
}
strong {
  color: #fff;
  font-weight: 700;
}
blockquote {
  font-size: 1.18rem;
  font-style: italic;
  margin-bottom: 8px;
  color: var(--color-primary);
}

/* ==== HEADER & MAIN NAVIGATION ==== */
header {
  width: 100%;
  background: rgba(29, 18, 39, 0.97);
  backdrop-filter: blur(2px);
  border-bottom: 2px solid #3A2143;
  position: sticky;
  top: 0;
  z-index: 80;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 28px;
  position: relative;
}
.main-nav > a img {
  height: 39px;
  width: auto;
  margin-right: 18px;
  display: inline-block;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-right: 12px;
}
.main-nav ul li a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: #bdb3c9;
  padding: 7px 14px;
  border-radius: 6px;
  transition: background .18s, color .18s, box-shadow .16s;
  position: relative;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #281c35;
  color: #90FFF9;
  box-shadow: 0 0 6px 1px #34eaff6c;
  outline: none;
}

.cta-primary {
  background: var(--color-secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 28px;
  box-shadow: 0 0 0 0 #E2F8FF;
  position: relative;
  transition: background .18s, box-shadow .18s, transform .15s;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #781028;
  box-shadow: 0 0 12px 3px #90FFF9, 0 1px 24px 2px #3A2143;
  color: #90FFF9;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}


/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  background: #2d2246;
  color: #90FFF9;
  font-size: 2.1rem;
  border-radius: 8px;
  padding: 7px 16px;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 14px;
  z-index: 102;
  box-shadow: 0 2px 18px 0 #00f6ff44;
  border: 1px solid #3A2143;
  cursor: pointer;
  transition: background .16s, color .16s;
}
.mobile-menu-toggle:active {
  background: #3A2143;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(20,12,26,0.98);
  z-index: 110;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(0.77,0,.18,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #90FFF9;
  font-size: 2rem;
  align-self: flex-end;
  margin: 18px 20px 0 0;
  border: none;
  cursor: pointer;
  z-index: 112;
  transition: color .12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #C94C54;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: 32px;
  margin-top: 14px;
  width: 90vw;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: #90FFF9;
  padding: 11px 4px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1d112a;
  color: #C94C54;
  outline: none;
}

/* == Hide desktop nav for mobile, vice versa == */
@media (max-width: 970px) {
  .main-nav ul { display: none; }
  .cta-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 971px) {
  .mobile-menu,
  .mobile-menu.open { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ==== MAIN LAYOUT SECTIONS ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: transparent;
  position: relative;
  border-radius: 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 10px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #271434;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 #00f6ff1a;
  padding: 26px 22px;
  min-width: 270px;
  transition: box-shadow .18s, transform .11s;
  color: var(--color-accent);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 26px 2px #90FFF9, 0 3px 30px 5px #1B0933;
  transform: translateY(-2px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  color: #271434;
  box-shadow: 0 4px 38px 0 #00f6ff12;
  margin-top: 24px;
  margin-bottom: 20px;
  min-width: 220px;
  width: 100%;
  max-width: 600px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.testimonial-card blockquote {
  color: #3A2143;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  text-shadow: none;
}
.testimonial-card footer {
  color: #C94C54;
  font-family: var(--font-body);
  font-size: .95rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 36px 0 #F57E92, 0 2px 18px 0 #281c35;
  transform: scale(1.012);
}

/* ==== FOOTER ==== */
footer {
  background: #1e122b;
  border-top: 2px solid #3A2143;
  padding: 44px 0 24px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #90FFF9;
  font-size: 1rem;
  font-family: var(--font-display);
  opacity: 0.78;
  padding: 5px 8px;
  border-radius: 6px;
  transition: background .14s, color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #221434;
  color: #C94C54;
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.footer-brand img {
  width: 38px;
  height: auto;
  display: block;
}
.footer-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: #F5F2EF;
}
footer address {
  color: #e6def6;
  font-size: 0.96rem;
  font-style: normal;
  margin-top: 14px;
}
footer a {
  color: #90FFF9;
  text-decoration: underline dotted;
}
footer a:hover,footer a:focus {
  color: #C94C54;
  outline: none;
}

/* ==== BUTTONS, FORMS, INTERACTIVES ==== */
button, .button, .cta-primary {
  border: none;
  border-radius: 28px;
  cursor: pointer;
  font-family: var(--font-display);
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, transform 0.13s;
  outline: none;
}
.button-secondary {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* ==== TABLES/LISTS ==== */
ul, ol {
  margin-left: 16px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
  font-size: 1rem;
  position: relative;
  color: var(--color-accent);
}
ul li:before {
  content: '\25C9';
  color: #90FFF9;
  font-size: .85em;
  margin-right: 8px;
  margin-left: -18px;
}
ul li strong, ol li strong {
  color: #C94C54;
}
ul li:before, ol li:before {
  vertical-align: middle;
}

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

/* ==== SPACING & FLEX LAYOUT REQUIREMENTS ==== */
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1199px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 970px) {
  .container {
    padding: 0 4vw;
  }
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.06rem; }
  .container { padding: 0 8px; }
  .section, section { padding: 32px 6px; margin-bottom: 38px; }
  .content-wrapper, .text-section { gap: 14px; }
  .testimonial-card { padding: 13px; margin-top: 14px; }
  .footer-brand { flex-direction: column; gap: 5px; align-items: flex-start; }
  .footer-nav { gap: 10px; }
  .main-nav > a img { height: 32px; }
  .mobile-menu {
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-nav { margin-left: 12px; }
  .cta-primary { font-size: .97rem; padding: 9px 21px; }
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  .card { min-width: unset; padding: 18px 9px; }
  .testimonial-card { min-width: unset; max-width: 99vw; }
}
/* ensure text-image-section is stacked on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #1b0c21;
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -2px 22px #90FFF99c, 0 0px 0 #0000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 14px 18px 20px;
  border-top-left-radius: 13px;
  border-top-right-radius: 13px;
  font-size: 1rem;
  animation: cb-slideup .38s cubic-bezier(.37,1.54,.7,.7);
  min-height: 57px;
}
@keyframes cb-slideup {
  from { transform: translateY(100px); opacity: .1; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  background: #90FFF9;
  color: #63254c;
  border-radius: 18px;
  padding: 8px 18px;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 0 0 0 #E2F8FF;
  margin-left: 0;
  transition: background .13s, color .13s, box-shadow .12s;
  outline: none;
  border: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #C94C54;
  color: #fff;
  box-shadow: 0 0 9px 2px #90FFF9;
}
.cookie-banner .settings-btn {
  background: #3A2143;
  color: #90FFF9;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #90FFF9;
  color: #381c4a;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,20,43,0.82);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  padding: 32px 20px 22px 28px;
  border-radius: 18px;
  min-width: 320px;
  max-width: 92vw;
  box-shadow: 0 4px 38px #90FFF988;
  color: #321746;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: cookie-in-modal .32s cubic-bezier(.77,0,.18,1);
}
@keyframes cookie-in-modal {
  from { transform: translateY(-60px) scale(.95); opacity: .1; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  background: transparent;
  border-radius: 50%;
  color: #C94C54;
  position: absolute;
  top: 11px;
  right: 14px;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color .15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #321746;
  outline: none;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category .toggle {
  width: 36px;
  height: 18px;
  background: #ddd;
  border-radius: 12px;
  position: relative;
  transition: background .15s;
}
.cookie-category .toggle.enabled {
  background: #90FFF9;
}
.cookie-category .toggle:after {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: left .16s, background .16s;
}
.cookie-category .toggle.enabled:after {
  background: #3A2143;
  left: 20px;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1rem;
  color: #3A2143;
}
.cookie-category .always-on {
  color: #C94C54;
  font-weight: 700;
  font-size: .98rem;
  margin-left: 2px;
}

.cookie-actions-modal {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}
.cookie-actions-modal button {
  padding: 7px 19px;
  border-radius: 16px;
  background: #90FFF9;
  color: #321746;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  transition: background .14s, color .14s, box-shadow .14s;
}
.cookie-actions-modal button:hover,
.cookie-actions-modal button:focus {
  background: #C94C54;
  color: #fff;
  box-shadow: 0 0 13px 1px #3A2143;
}
.cookie-actions-modal .cancel-btn {
  background: #e3e3e3;
  color: #3A2143;
}
.cookie-actions-modal .cancel-btn:hover,
.cookie-actions-modal .cancel-btn:focus {
  background: #90FFF9;
  color: #321746;
}

/* ==== ANIMATIONS ==== */
.cta-primary,
.button, .button-secondary,
button, .mobile-menu-toggle, .mobile-menu-close,
.mobile-nav a,
.footer-nav a,
.card,
.testimonial-card {
  transition: background .15s, color .15s, box-shadow .19s, transform .16s;
}

/* ==== MISC ==== */
a[aria-current="page"] {
  color: #C94C54;
  font-weight: bold;
}
::-webkit-scrollbar {
  width: 9px;
  background: #221434;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #3A2143;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C94C54;
}

/* ==== Neon glow effect for special accents ==== */
.neon-accent {
  color: #90FFF9;
  text-shadow: 0 0 10px #90FFF9, 0 0 21px #34eaff88;
}

/* ==== Card Fallbacks ==== */
.card, .testimonial-card, .cookie-modal-dialog {
  border: 1px solid #241732;
}

/* ==== Utility Classes ==== */
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.gap-10 { gap: 10px; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* ==== INPUTS ==== */
input[type="text"], input[type="email"], textarea {
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #8e6caf;
  border-radius: 9px;
  margin-bottom: 12px;
  background: #2f2046;
  color: #fefefe;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 2px 12px #281c3533;
  outline: none;
  transition: border .15s, box-shadow .13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #90FFF9;
  box-shadow: 0 0 8px #90FFF9;
}
/* ==== END STYLES ==== */

