/* ------------------- CSS RESET & BASE ------------------- */
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,
main, 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;
  width: 100%;
  min-height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #181C2C;
  color: #F2F2F2;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #C8A978;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFE8BA;
}
ul, ol {
  padding-left: 24px;
}
button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* -------------- TYPOGRAPHY -------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F2F2F2;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 2px 32px #2E3876AA;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #C8A978;
}
.subtitle {
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #C8A978;
  margin-bottom: 32px;
}
p, li, span {
  font-size: 1rem;
  color: #F2F2F2;
}
strong {
  color: #C8A978;
  font-weight: 700;
}
small {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .subtitle { font-size: 1.1rem; }
}


/* -------------- LAYOUT CONTAINERS -------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 26px;
  background: rgba(24,28,44,0.8);
  box-shadow: 0 2px 32px 0 #2E387626, 0 1px 0px #C8A97822;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 28px 8px;
    border-radius: 14px;
  }
}

/* ----------- FLEXBOX SPACING & STANDARD PATTERNS ----------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: #232746;
  box-shadow: 0 1.5px 8px #2E387644;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 5px 32px #C8A97833;
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #F2F2F2;
  color: #232746;
  box-shadow: 0 1px 10px #2E387628, 0 1px 0 #C8A97811;
  border-left: 5px solid #C8A978;
  font-size: 1.05rem;
}
.testimonial-card p {
  color: #232746;
}
.testimonial-card span {
  color: #2E3876;
  font-weight: 500;
  font-size: 1.03em;
}

/* -------------- HEADER & NAV -------------- */
header {
  width: 100%;
  background: #232746;
  box-shadow: 0 2px 24px #181C2C33;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #C8A978;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: color 0.18s;
  padding: 4px 0;
}
header nav a:hover, header nav a:focus {
  color: #F2F2F2;
}
header img {
  height: 38px;
}
.primary-cta {
  display: inline-block;
  background: #2E3876;
  color: #F2F2F2;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 25px;
  box-shadow: 0 2px 16px #C8A97833, 0 1px 0 #C8A97811;
  border: 2px solid #C8A978;
  letter-spacing: 0.03em;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.18s;
  cursor: pointer;
  outline: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: #C8A978;
  color: #232746;
  border-color: #FFE8BA;
  transform: scale(1.045);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: #F2F2F2;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  transition: color 0.15s;
  z-index: 105;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #C8A978;
}

/* ----------- MOBILE NAVIGATION ------------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: #232746EE;
  box-shadow: -6px 0 32px #2E387633;
  z-index: 120;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.34s cubic-bezier(.4,2,.4,1), left 0s 0.33s;
  transform: translateX(0);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(-100vw);
  pointer-events: all;
  opacity: 1;
  transition: transform 0.34s cubic-bezier(.4,2,.4,1), left 0s;
}
.mobile-menu-close {
  background: none;
  color: #F2F2F2;
  font-size: 2.1rem;
  align-self: flex-end;
  margin: 16px 24px 0 0;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 111;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C8A978;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 48px;
  gap: 18px;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #F2F2F2;
  padding: 16px 0;
  border-bottom: 1px solid #2E387655;
  width: 100%;
  display: block;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C8A978;
  background: #2E3876;
  border-radius: 8px;
  padding-left: 12px;
}

@media (max-width: 1024px) {
  header nav, .primary-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* -------------- FOOTER --------------- */
footer {
  width: 100%;
  background: #191C2E;
  padding: 30px 0 17px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -3px 24px #23274633;
  margin-top: 80px;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
footer nav a {
  color: #C8A978;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #F2F2F2;
}
footer img {
  height: 32px;
}
footer small {
  color: #B3B3B3;
  letter-spacing: 0.02em;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* -------------- HERO & CTA --------------- */
main section:first-of-type {
  background: linear-gradient(120deg, #2E3876 80%, #232746 100%);
  box-shadow: 0 2px 48px #2E387676;
}

/* -------------- LISTS & FEATURES --------------- */
.feature-grid {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li {
  flex: 1 1 230px;
  min-width: 200px;
  background: #232746;
  border-radius: 14px;
  box-shadow: 0 2px 11px #2E387633;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.21s, transform 0.19s;
  margin-bottom: 18px;
  border: 1.5px solid #2E3876;
}
.feature-grid li:hover {
  box-shadow: 0 6px 32px #C8A97836;
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.service-list, .service-detailed-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 28px 0 20px 0;
}
.service-list li, .service-detailed-list li {
  background: #232746;
  border-radius: 14px;
  box-shadow: 0 2px 10px #2E387634;
  padding: 22px 18px 15px 18px;
  border-left: 4px solid #C8A978;
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 10px;
}
.service-list li:hover, .service-detailed-list li:hover {
  box-shadow: 0 7px 32px #C8A97818;
  transform: scale(1.018);
}
.service-price {
  color: #C8A978;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 8px;
}

.trend-list li {
  background: #232746;
  border-radius: 10px;
  color: #C8A978;
  padding: 7px 10px;
  margin-bottom: 7px;
}

/* OL inside features */
ol {
  gap: 10px;
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
ol li {
  color: #F2F2F2;
  background: #23274655;
  border-radius: 5px;
  padding: 7px 12px;
}

/* --------- FAQ & RATINGS --------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #232746;
  border-radius: 10px;
  padding: 18px 15px;
  margin-bottom: 10px;
  box-shadow: 0 1px 8px #C8A97822;
  border-left: 4px solid #2E3876;
}
.ratings-summary {
  margin-top: 20px;
  background: #232746;
  color: #F2F2F2;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 1px 7px #2E387644;
}

/* ---- AWARDS / BADGES ---- */
.quality-seals, .service-awards {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 15px;
}
.quality-seals img, .service-awards img {
  height: 28px;
  width: 28px;
}
.quality-seals span, .service-awards span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #C8A978;
  font-size: 1.06rem;
  margin-right: 18px;
}

/* ------- TEXT SECTIONS ------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 768px) {
  .text-section {
    gap: 10px;
  }
}

/* --------------- BUTTONS --------------- */
button, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  background: #232746;
  color: #C8A978;
  border-radius: 16px;
  padding: 10px 24px;
  cursor: pointer;
  border: 2px solid #C8A978;
  transition: background 0.18s, color 0.19s, transform 0.14s;
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: #C8A978;
  color: #232746;
  transform: scale(1.04);
}

/* Used for specific calls to action coming in modals/banner */
.btn-alt {
  background: #2E3876;
  color: #F2F2F2;
  border: 2px solid #2E3876;
}
.btn-alt:hover, .btn-alt:focus {
  background: #191C2E;
  color: #C8A978;
  border-color: #C8A978;
}
.btn-outline {
  background: transparent;
  border: 2px solid #C8A978;
  color: #C8A978;
}
.btn-outline:hover, .btn-outline:focus {
  background: #232746;
  color: #F2F2F2;
}

/* ----------- UTILITIES ----------- */
.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ----- SHADOWS & RADIUS ----- */
.card, .feature-grid li, .service-list li, .testimonial-card, .faq-item {
  box-shadow: 0 2px 14px #2E387666;
  border-radius: 14px;
}

/* ----- SECTION SPACING & GAPS ----- */
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  main > section {
    margin-bottom: 34px;
    padding: 26px 7px;
  }
}

/* ---------- RESPONSIVE FLEX DIRECTION ---------- */
@media (max-width: 820px) {
  .card-container, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: unset;
    width: 100%;
  }
}

/* ----- SCROLLBARS MODERNIZATION ----- */
::-webkit-scrollbar {
  width: 9px;
  background: #232746;
  border-radius: 14px;
}
::-webkit-scrollbar-thumb {
  background: #C8A97844;
  border-radius: 8px;
}

/* -------------- MICRO-ANIMATIONS --------------- */
a, button, .primary-cta {
  transition: color 0.17s, background 0.19s, border-color 0.17s, box-shadow 0.18s, transform 0.19s;
}
.card, .feature-grid li, .service-list li, .testimonial-card, .faq-item {
  transition: box-shadow 0.2s, transform 0.15s;
}

/* ============ COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: #232746F0;
  color: #F2F2F2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -1px 22px #2E38763d;
  padding: 25px 8px 18px 8px;
  border-radius: 22px 22px 0 0;
  width: 100%;
  animation: cookieSlideIn 0.55s cubic-bezier(.5,1.4,.3,1);
}
@media (max-width: 700px) {
  .cookie-banner {
    padding: 16px 3px 12px 3px;
    border-radius: 12px 12px 0 0;
    gap: 13px;
  }
}
@keyframes cookieSlideIn {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-message {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  max-width: 600px;
  text-align: center;
  color: #F2F2F2;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-banner-actions button {
  min-width: 120px;
  font-size: 1.02rem;
  padding: 9px 21px;
}
.cookie-banner-actions .btn-outline {
  background: transparent;
  color: #C8A978;
  border: 2px solid #C8A978;
}
.cookie-banner-actions .btn-outline:hover, .cookie-banner-actions .btn-outline:focus {
  background: #2E3876;
  color: #FFF;
}

/* -------- COOKIE MODAL -------- */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(30,37,65,0.85);
  z-index: 350;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.28s cubic-bezier(.5,1.4,.3,1);
}
@keyframes fadeInCookieModal { from { opacity:0;} to {opacity:1;} }
.cookie-modal {
  background: #232746;
  color: #F2F2F2;
  padding: 34px 24px 22px 24px;
  border-radius: 22px;
  box-shadow: 0 7px 36px #2E387668;
  max-width: 380px;
  width: 98%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalZoom 0.36s cubic-bezier(.62,1.6,.3,1);
}
@keyframes cookieModalZoom { from {transform: scale(0.85); opacity:0;} to {transform: scale(1); opacity:1;} }
.cookie-modal h2 {
  color: #C8A978;
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-option label {
  font-size: 1rem;
  flex: 1 1 auto;
}
.cookie-option input[type="checkbox"] {
  width: 20px; height: 20px;
  border-radius: 5px;
  accent-color: #C8A978;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 15px;
  background: none;
  color: #F2F2F2;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #C8A978;
}

/* ----------- MISC & ENHANCEMENTS ----------- */
::selection {
  background: #C8A97855;
}

/* Remove input number arrows in Webkit */
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide visually hidden */
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* ---------------------- MEDIA QUERIES: RESPONSIVE ENHANCEMENTS ---------------------- */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .card-container, .feature-grid, .content-grid {
    gap: 14px;
  }
  .container {
    padding: 0 5px;
  }
  .primary-cta,
  button, .btn {
    padding: 10px 15px;
    font-size: 0.97rem;
  }
}
@media (max-width: 450px) {
  h1, h2, h3 { word-break: break-word; }
  .cookie-modal {padding: 14px 7px 10px 12px;}
}

/* ------------------- TECH FUTURISTIC ACCENTS ---------------------- */
/* Neon accents and glowing borders for select classes and focus states */
.primary-cta, button, .btn {
  box-shadow: 0 0 0 0 transparent, 0 1.5px 10px #2E387699, 0 0 8px #C8A97833 inset;
}
.primary-cta:focus-visible, button:focus-visible, .btn:focus-visible {
  box-shadow: 0 0 0 3px #C8A97855, 0 0 12px #C8A97877;
  outline: none;
}
.card:before, .feature-grid li:before {
  content: '';
  display: block;
  position: absolute;
  border-radius: inherit;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  background: linear-gradient(120deg, #2E3876 0%, #C8A978 100%);
}
.card:hover:before, .feature-grid li:hover:before {
  opacity: 0.34;
}

/* Accent underlines for headings */
h1, h2 { position: relative; }
h1:after, h2:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #C8A978 20%, #2E3876 90%);
  border-radius: 2px;
  margin-top: 10px;
}
h1:after { width: 80px; height: 5px; margin-top: 14px; }

/* Neon link hover underline */
a {
  position: relative;
}
a:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: linear-gradient(90deg,#C8A978 0%,#2E3876 80%);
  opacity: 0;
  transition: opacity 0.19s, transform 0.18s;
  border-radius: 1px;
  transform: scaleX(0.91);
}
a:hover:after, a:focus:after {
  opacity: 0.86;
  transform: scaleX(1);
}

/* ------- END OF CSS ------- */