/* --------------------------
   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,
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.6;
  background: #111a24;
  color: #F5F7FA;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* --------------------------
   FONT FAMILY
---------------------------*/
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #101826;
  color: #F5F7FA;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* --------------------------
   CONTAINER & BASE LAYOUT
---------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* --------------------------
   SECTIONS & PADDING
---------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 32px 0;
    margin-bottom: 40px;
  }
}

/* --------------------------
   TYPOGRAPHY
---------------------------*/
h1 {
  font-size: 2.5rem;
  color: #F5F7FA;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  color: #F2B122;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
h3 {
  font-size: 1.25rem;
  color: #7FDBFF;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
p, li {
  font-size: 1rem;
  color: #ECF3FB;
}
strong {
  color: #F2B122;
}

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

/* --------------------------
   HEADER & NAVIGATION
---------------------------*/
header {
  background: linear-gradient(90deg, #111a24 0%, #16324F 100%);
  box-shadow: 0 2px 16px 0 rgba(22, 50, 79, 0.13);
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F5F7FA;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 4px 2px;
  position: relative;
  border-radius: 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F2B122;
  text-shadow: 0 0 8px #F2B122;
}

header .cta.primary {
  margin-left: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F2B122;
  font-size: 2rem;
  margin-left: 24px;
  cursor: pointer;
  z-index: 999;
  border-radius: 6px;
  padding: 6px 10px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover {
  background: rgba(242,177,34,0.14);
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --------------------------
   MOBILE MENU
---------------------------*/
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #182641;
  box-shadow: 0 4px 24px 6px rgba(0,0,0,0.19);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.6,0.05,0.1,1), opacity 0.2s;
  padding: 0;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  color: #F2B122;
  font-size: 2rem;
  border: none;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 5px;
}
.mobile-menu-close:hover {
  background: rgba(242,177,34,0.11);
}
.mobile-nav {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #F5F7FA;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  border-radius: 3px;
  width: 100%;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F2B122;
  background: rgba(242, 177, 34, 0.05);
}
@media (min-width: 993px) {
  .mobile-menu { display: none; }
}

/* --------------------------
   BUTTONS & CTA
---------------------------*/
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F2B122;
  color: #16324F;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 13px 32px;
  border-radius: 32px;
  box-shadow: 0 2px 18px 0 rgba(242,177,34,0.16);
  border: none;
  transition: background 0.18s, box-shadow 0.24s, transform 0.2s;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
}
.cta.primary {
  background: #16324F;
  color: #F2B122;
  border: 2px solid #F2B122;
  box-shadow: 0 2px 12px 0 rgba(22,50,79,0.10);
}
.cta:hover, .cta:focus {
  background: #e9a70b;
  color: #101826;
  box-shadow: 0 0 12px 3px #F2B12244;
  transform: translateY(-2px) scale(1.03);
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: #F2B122;
  color: #16324F;
  border-color: #F5F7FA;
  box-shadow: 0 0 14px 3px #F2B12255;
  outline: none;
}

/* --------------------------
   FLEX CARD/FEATURES GRID
---------------------------*/
.card-container, .content-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #182641;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(22, 50, 79, 0.13);
  padding: 32px 20px;
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 420px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid #284f78;
}
.card:hover {
  box-shadow: 0 8px 36px 5px #F2B12222, 0 2px 16px #16324F88;
  transform: translateY(-4px) scale(1.015);
  border-color: #F2B122;
  z-index: 3;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
   }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* Features with icons */
ul > li > img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 4px #2a67e9) drop-shadow(0 0 10px #F2B12255);
}
/* Standardize features list */
ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-top: 12px;
  margin-bottom: 12px;
}
ul li {
  min-width: 200px;
  background: #141f32;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 #173a5f44;
  padding: 28px 18px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1.5px solid #172d45;
}
ul li:hover {
  box-shadow: 0 4px 20px 2px #63DAF9cc;
  border-color: #F2B122;
}

@media (max-width: 768px) {
  ul {
    flex-direction: column;
    gap: 18px;
  }
  ul li {
    min-width: 70vw;
  }
}

/* Visual Hierarchy for special lists */
ol {
  padding-left: 12px;
}
ol > li {
  margin-bottom: 24px;
}

/* --------------------------
   TESTIMONIALS
---------------------------*/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 26px 30px 18px 30px;
  background: #f5f7fa;
  color: #16324F;
  border-left: 6px solid #F2B122;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 #18264118, 0 0 0 #fff0;
  max-width: 540px;
  width: 100%;
  transition: box-shadow 0.15s;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #16324F;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #415069;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 4px 16px 2px #F2B12244;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 18px 14px 14px 14px;
  }
}

/* --------------------------
   HERO + SECTION BACKGROUNDS
---------------------------*/
section:first-of-type {
  background:
    linear-gradient(100deg, #182641 0%, #284f78 100%);
  box-shadow: 0 6px 32px 0 #16324F16;
  border-bottom-left-radius: 52px;
  border-bottom-right-radius: 52px;
  margin-bottom: 42px;
}
@media (max-width: 768px) {
  section:first-of-type {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    margin-bottom: 28px;
  }
}

/* Decorative Neon Accent Topbar */
section:first-of-type::before {
  content: '';
  display: block;
  height: 6px;
  width: 84px;
  border-radius: 20px;
  background: linear-gradient(90deg,#F2B122 45%, #71e1ff 100%);
  position: absolute;
  left: 28px;
  top: 14px;
  box-shadow: 0 0 36px 6px #F2B12255;
  z-index: 0;
}

/* --------------------------
   FORM & INPUTS (for possible forms)
---------------------------*/
input, textarea, select {
  background: #F5F7FA;
  color: #16324F;
  border: 1.2px solid #16324F;
  border-radius: 10px;
  padding: 10px 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #F2B122;
  border-color: #F2B122;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 8px;
  color: #16324F;
}

/* --------------------------
   FOOTER
---------------------------*/
footer {
  background: #101826;
  color: #F5F7FA;
  font-size: 1rem;
  padding: 32px 0 14px 0;
  border-top: 4px solid #F2B122;
}
footer .container {
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #F2B122;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-bottom: 1.5px dotted #F2B12266;
  transition: color 0.16s;
}
.footer-nav a:hover {
  color: #71e1ff;
  border-bottom: 1.5px solid #71e1ff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  flex-direction: row;
  align-items: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  color: #F5F7FA;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  opacity: 0.86;
}

@media (max-width: 768px) {
  .footer-nav {
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.98rem;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --------------------------
   COOKIE CONSENT BANNER
---------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 7000;
  background: #16324F;
  color: #F5F7FA;
  box-shadow: 0 0 36px 6px #12254f44;
  padding: 24px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  font-size: 1rem;
  transition: transform 0.24s, opacity 0.23s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120px);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 60%;
  min-width: 170px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: inherit;
  border-radius: 24px;
  border: 1.3px solid #F2B122;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  color: #16324F;
  background: #F2B122;
  margin: 0;
  transition: background 0.18s, color 0.1s, box-shadow 0.12s;
  box-shadow: 0 2px 6px #F2B12233;
}
.cookie-banner button.settings-btn {
  background: #101826;
  color: #F5F7FA;
  border: 1.5px solid #F2B122;
}
.cookie-banner button.reject-btn {
  background: #edeef1;
  color: #16324F;
  border: 1.5px solid #16324F;
}
.cookie-banner button:hover {
  background: #f8cb6d;
  color: #111a24;
}
.cookie-banner button.settings-btn:hover {
  background: #16324F;
  color: #F2B122;
}
.cookie-banner button.reject-btn:hover {
  color: #F2B122;
  border-color: #F2B122;
  background: #16324F;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 0.95rem;
    padding: 14px 8px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    gap: 8px;
  }
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9000;
  background: rgba(16, 24, 38, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-pref-box {
  background: #F5F7FA;
  color: #16324F;
  min-width: 340px;
  padding: 38px 26px 24px 26px;
  border-radius: 28px;
  box-shadow: 0 6px 32px 8px #16324F44;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  max-width: 95vw;
}
.cookie-pref-box h2 {
  font-size: 1.2rem;
  color: #16324F;
  margin-bottom: 4px;
}
.cookie-pref-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-pref-category [type=checkbox] {
  accent-color: #F2B122;
  width: 18px;
  height: 18px;
}
.cookie-pref-category .always {
  color: #F2B122;
  font-weight: bold;
}
.cookie-pref-box .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 22px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #16324F;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
}
.cookie-pref-box .cookie-modal-close:hover {
  background: #F2B12211;
}
.cookie-pref-box .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: -12px;
}
.cookie-pref-box button {
  background: #F2B122;
  color: #16324F;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 22px;
  font-weight: 600;
  border: 1.2px solid #16324F66;
  font-size: 1rem;
  padding: 8px 24px;
  transition: background 0.17s, color 0.1s;
}
.cookie-pref-box button:hover {
  background: #fde4a4;
  color: #16324F;
  border-color: #F2B122;
}
@media (max-width: 480px) {
  .cookie-pref-box {
    min-width: 220px;
    padding: 14px 5vw 10px 5vw;
  }
}

/* ---------------------------
   ACCESSIBILITY: FOCUS STYLE
----------------------------*/
a:focus, button:focus, input:focus {
  outline: 2px solid #F2B122;
  outline-offset: 1px;
}

/* --------------------------
   MICRO-INTERACTIONS
---------------------------*/
.card, ul li, .testimonial-card, .cta, .cta.primary, .main-nav a, .footer-nav a {
  transition: box-shadow 0.16s, border 0.13s, color 0.15s, background 0.15s, transform 0.16s;
}

/* Icon neon flicker effect for home page features */
ul > li > img {
  filter: drop-shadow(0 0 6px #71e1ff);
}
ul > li > img:hover, ul > li > img:focus {
  filter: drop-shadow(0 0 12px #F2B122) drop-shadow(0 0 10px #2a67e9);
  transform: scale(1.13);
}

/* --------------------------
   RESPONSIVE LAYOUTS
---------------------------*/
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 850px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .card {
    min-width: 85vw;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 2vw;
  }
}

/* -------------------------------
   UTILITY SPACINGS FOR FLEX GAPS
--------------------------------*/
.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;
}

/* Prevent accidental overlap */
main, .content-wrapper, section, .footer-contact, ul, .container {
  z-index: 1;
}

/* ---------------------------------
   SCROLLBAR STYLING (Tech-Neon)
----------------------------------*/
::-webkit-scrollbar {
  width: 9px;
  background: #182641;
}
::-webkit-scrollbar-thumb {
  background: #284f78;
  border-radius: 16px;
  border: 2px solid #F2B122cc;
}

/* --------------------------
   NEON / FUTURISTIC ACCENTS
----------------------------*/
h1, h2, h3, .cta, .cta.primary {
  text-shadow:
    0 0 8px #63DAF944,
    0 0 2px #16324F44;
}
.cta.primary {
  box-shadow:
    0 0 10px #F2B12244,
    0 3px 30px #16324F22;
  border: 2px solid #F2B122;
}

/* --------------------------
   Z-INDEX LAYERS
----------------------------*/
header, .cookie-banner, .cookie-modal, .mobile-menu { z-index: 10010; }

/* ------------------------------
   PRINT-SAFE COLOR FALLBACKS
-------------------------------*/
@media print {
  body {
    background: #fff;
    color: #000;
  }
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
}
