/*-----------------------------------------
 RESET & BASE STYLES
-----------------------------------------*/
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: #111822;
  color: #E8EEF2;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

* {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}

li {
  margin-bottom: 10px;
}

strong, b {
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #FFFFFF;
  line-height: 1.15;
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 16px;
}
p {
  margin-bottom: 16px;
}

a {
  color: #31B9FC;
  text-decoration: none;
  outline: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #71DCFC;
  text-decoration: underline;
}

hr {
  border: 0;
  border-bottom: 1px solid #223656;
  margin: 32px 0;
}

/*-----------------------------------------
 BRAND & FUTURISTIC COLORS
-----------------------------------------*/
:root {
  --primary: #022945;
  --secondary: #E8EEF2;
  --secondary-light: #ffffff;
  --accent: #17609B;
  --accent-bright: #23C9F6;
  --neon: #00FFBD;
  --card-bg: #172438;
  --card-bg-alt: #22334c;
  --shadow: 0 4px 24px 0 rgba(0,26,64,0.08);
  --border-radius: 16px;
  --section-bg: #192b3e;
  --testimonial-bg: #F6FBFF;
  --testimonial-text: #181e22;
}

/*-----------------------------------------
 LAYOUT CONTAINERS
-----------------------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  z-index: 1;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/*-----------------------------------------
 HEADER / NAVIGATION
-----------------------------------------*/
header {
  background: var(--primary);
  width: 100%;
  padding: 0 0 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
  z-index: 12;
  box-shadow: 0 2px 8px 0 rgba(15, 50, 84, 0.08);
}
.logo {
  padding: 16px 24px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 48px;
}
.main-navigation {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-navigation a {
  color: #ffffff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.19s;
}
.main-navigation a:hover, .main-navigation a:focus {
  background: var(--accent);
  color: #fff;
}
.cta-primary {
  background: linear-gradient(90deg, var(--accent) 60%, var(--neon));
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 12px 32px;
  margin-right: 32px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 2px 16px 0 rgba(35,201,246,0.16);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  position: relative;
  z-index: 12;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--neon) 50%, var(--accent) 100%);
  color: #181e22;
  box-shadow: 0 6px 30px 0 rgba(0,255,189,0.22);
  transform: translateY(-2px) scale(1.05);
  text-decoration: none;
}

/*-----------------------------------------
 MOBILE NAVIGATION
-----------------------------------------*/
.mobile-menu-toggle {
  position: absolute;
  right: 16px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 16;
  line-height: 1;
  padding: 0 8px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(13,28,46, 0.97);
  transform: translateX(-105%);
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  transition: transform 0.34s cubic-bezier(0.45,0.13,0.18,0.89), opacity 0.34s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  right: 22px;
  top: 20px;
  z-index: 103;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 88px;
  margin-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 14px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--neon);
}

/*-----------------------------------------
 HERO/BANNERS & SECTION LAYOUTS
-----------------------------------------*/
section {
  width: 100%;
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 2;
}
section:nth-child(even){
  background: var(--section-bg);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Card / content grid patterns */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
  position: relative;
  color: #ffffff;
  flex: 1 1 240px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*-----------------------------------------
 FEATURE & TESTIMONIAL STYLES
-----------------------------------------*/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg-alt);
  padding: 20px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px 0 rgba(19,44,77,0.13);
  margin-bottom: 20px;
}
.feature-item strong {
  color: var(--neon);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 32px 0 rgba(23,96,155,0.09);
  padding: 20px 28px 20px 20px;
  min-width: 250px;
  margin-bottom: 20px;
  margin-right: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(0,255,189,0.12), 0 2px 12px rgba(23,96,155,0.11);
  transform: translateY(-3px) scale(1.03);
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1.04em;
}
.testimonial-card span {
  color: #3b5164;
  font-size: 0.98em;
}

/*-----------------------------------------
 BUTTONS
-----------------------------------------*/
button, .cta-primary {
  cursor: pointer;
}

.btn, button, .cta-primary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 26px;
  padding: 12px 32px;
  border: none;
  margin: 8px 0;
  min-width: 160px;
  transition: background 0.17s, color 0.16s, box-shadow 0.14s, transform 0.14s;
}
.btn, button:not(.mobile-menu-toggle):not(.mobile-menu-close):not(.cookie-btn):not(.cookie-toggle) {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.btn:hover, button:hover:not(.mobile-menu-toggle):not(.mobile-menu-close):not(.cookie-btn):not(.cookie-toggle) {
  background: var(--neon);
  color: #181e22;
  box-shadow: 0 2px 18px 0 rgba(0,255,189,0.17);
  transform: scale(1.03);
}

/*-----------------------------------------
 FORMS (if any)
-----------------------------------------*/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 9px;
  background: #223656;
  border: 1px solid #155380;
  color: #eaeaff;
  margin-bottom: 16px;
  width: 100%;
  outline: none;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon);
}

/*-----------------------------------------
 FOOTER
-----------------------------------------*/
footer {
  background: var(--primary);
  color: #b6c9d7;
  padding: 32px 0 18px 0;
  width: 100%;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 12px 0 rgba(19,44,77,0.09);
  z-index: 3;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  font-size: 1rem;
  margin-bottom: 8px;
  justify-content: center;
  align-items: center;
}
.footer-nav a {
  color: #b6c9d7;
  text-decoration: none;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--neon);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  font-size: 1.07em;
}
.footer-brand img {
  height: 32px;
}

/*-----------------------------------------
 COOKIE CONSENT BANNER & MODALS
-----------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--primary), #24456e 88%);
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 16px;
  z-index: 140;
  box-shadow: 0 0 20px 0 rgba(23,96,155,0.23);
  font-size: 1rem;
  width: 100%;
  min-height: 70px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.26s, opacity 0.26s;
}
.cookie-banner.hide {
  pointer-events: none;
  opacity: 0;
  transform: translateY(140px);
}
.cookie-banner .cookie-btn {
  padding: 10px 18px;
  margin-right: 12px;
  margin-bottom: 0;
  background: var(--neon);
  color: #052949;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  box-shadow: 0 2px 11px 0 rgba(0,255,189,0.13);
  transition: background 0.13s, color 0.13s, transform 0.17s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--neon);
  color: #022945;
}
.cookie-banner .cookie-btn.reject {
  background: #263d56;
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent-bright);
  color: #111822;
  transform: scale(1.03);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(12,28,50,0.87);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #173a56;
  color: #fefefe;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(0,255,189,0.14), 0 8px 34px 0 rgba(17,96,155,0.19);
  padding: 30px 24px 20px 24px;
  max-width: 380px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  z-index: 190;
}
.cookie-modal-content h2 {
  margin-bottom: 2px;
  font-size: 1.7rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1.08em;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin-right: 5px;
}
.cookie-modal-content .cookie-btn {
  margin-top: 8px;
  margin-bottom: 0;
  width: 90%;
  align-self: center;
}
.cookie-modal-close {
  position: absolute;
  top: 28px;
  right: 33px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/*-----------------------------------------
 TYPOGRAPHY SCALE & HIERARCHY
-----------------------------------------*/
@media (min-width: 600px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.5rem; }
  .container { padding: 0 42px; }
}

@media (max-width: 768px) {
  .main-navigation, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { padding: 0 10px; }
  .footer-nav { flex-direction: column; gap: 3px; text-align: center; }

  section { padding: 28px 0; margin-bottom: 36px; }
  .section { padding: 22px 8px; }
  .testimonial-card,
  .card,
  .feature-item {
    padding: 16px 12px;
    margin-bottom: 18px;
    min-width: 0;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .testimonial-card { margin-right: 0; min-width: 0; }
  .content-wrapper { gap: 12px; }

  .text-image-section {
    flex-direction: column !important;
    gap: 22px;
    align-items: flex-start !important;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

/*-----------------------------------------
 ANIMATIONS & MICRO-INTERACTIONS
-----------------------------------------*/
a, .cta-primary, .btn, .main-navigation a, .mobile-nav a, .feature-item, .testimonial-card {
  transition: box-shadow 0.18s, background 0.19s, color 0.14s, transform 0.14s;
}

.cta-primary:focus, .btn:focus {
  outline: 2px solid var(--accent-bright);
  outline-offset: 1px;
}

.testimonial-card:active, .card:active {
  transform: scale(0.98);
}

input[type='checkbox'], input[type='radio'] {
  accent-color: var(--accent);
}

::-webkit-scrollbar {
  width: 10px;
  background: #173a56;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

/*-----------------------------------------
 EXTRA CLASSES FOR FAQ DL & TEXT SECTIONS
-----------------------------------------*/
dt {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 3px;
  margin-top: 18px;
}
dd {
  margin-left: 0;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #ddddf5;
}
/* For .text-section */
.text-section ul, .text-section ol {
  margin-left: 1.2em;
  margin-bottom: 14px;
}
.text-section h3 {
  margin-top: 12px;
}

/*-----------------------------------------
 SPACING AND FLEXBOX PATTERNS (MANDATORY)
-----------------------------------------*/
.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; }

/* Always use flexbox for content wrapping */

/*-----------------------------------------
 ACCESSIBILITY (FOCUS)
-----------------------------------------*/
:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

/*-----------------------------------------
 Z-INDEX MANAGEMENT
-----------------------------------------*/
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 100; }
footer { z-index: 2; }

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