/* ==== 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: #192642;
  color: #f3effc;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: #FFD966;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, .cta-primary {
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

/* ==== BRAND — COLORS & TYPOGRAPHY ==== */
:root {
  --primary: #254A8B;
  --secondary: #FFD966;
  --accent: #FFFFFF;
  --dark-bg: #192642;
  --card-bg: #232e49;
  --neutral-bg: #222b43;
  --neon-blue: #18bfff;
  --neon-yellow: #FFD966;
  --neon-pink: #ff45c0;
  --shadow-1: 0 4px 24px 0 rgba(24,191,255,0.15);
  --shadow-2: 0 4px 20px 0 rgba(37,74,139,0.15);
  --radius: 18px;
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}
/* Fallback for custom-properties */

body {
  font-family: var(--font-body, 'Roboto', Arial, Helvetica, sans-serif);
  font-size: 16px;
  background-color: var(--dark-bg);
  color: #f4f7fd;
}

h1, h2, h3, h4 {
  font-family: var(--font-display, 'Montserrat', Arial, sans-serif);
  color: #fff;
  letter-spacing: 1px;
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
@media (min-width:600px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
}
p, li {
  font-size: 1rem;
  color: #e6e7ed;
}
small {
  font-size: 0.92rem;
  color: #9ecaff;
}
strong {
  color: var(--neon-yellow);
}

.subheadline {
  font-size: 1.19rem;
  color: #B0DCFF;
  margin-bottom: 32px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ==== LAYOUTS & SPACING ==== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.23s cubic-bezier(.6,.31,.53,.97), box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 40px 0 rgba(24,191,255,0.22),var(--shadow-1);
  z-index: 2;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 22px; }
}
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 32px 0 rgba(37,74,139,0.12);
  color: #192642;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  min-width: 0;
  position: relative;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 44px 0 rgba(37,74,139,0.17);
}
.testimonial-card .text-section { color: #222b43; }
.testimonial-card small { color: #254A8B; font-weight: 600; }
.testimonial-card div { letter-spacing: 3px; font-size: 1.10rem; color: #FFD966; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--neutral-bg);
  border-radius: var(--radius);
  padding: 20px 16px;
  margin-bottom: 20px;
}

@media (max-width:600px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 32px 6px;
  }
}

/* ==== GLOBAL PAGE ELEMENTS ==== */
main {
  flex: 1 1 0%;
  margin-bottom: 60px;
}

header {
  background: linear-gradient(90deg, #23305b 0%, #254A8B 90%);
  box-shadow: 0 2px 18px 0 rgba(24,191,255,.08), var(--shadow-2);
  position: relative;
  z-index: 90;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0.75em 0;
  flex-wrap: wrap;
}
header nav a {
  font-family: var(--font-display);
  color: #FFD966;
  font-size: 1.08rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 7px 6px;
  border-radius: 8px;
}
header nav a:hover, header nav a:focus {
  background: rgba(24,191,255,0.10);
  color: #fff;
}
header nav a.cta-primary {
  margin-left: 16px;
  background: linear-gradient(90deg, #FFD966 55%, #18bfff 120%);
  color: #23305b;
  font-weight: 800;
  border-radius: 15px;
  padding: 9px 30px;
  box-shadow: 0 2px 8px 0 rgba(255,217,102,0.16);
  letter-spacing: .5px;
  border: none;
  font-size: 1rem;
  transition: background 0.23s, color 0.18s, box-shadow 0.21s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: linear-gradient(90deg, #18bfff 55%, #FFD966 100%);
  color: #23305b;
  box-shadow: 0 4px 24px 0 rgba(24,191,255,0.21),0 6px 12px 0 #FFD966;
}
header nav img {
  max-height: 44px;
  width: auto;
  margin-right: 5px;
}
@media (max-width:1020px) {
  header nav { gap: 12px; }
}
@media (max-width:830px) {
  header nav a { font-size: 1rem; }
}

footer {
  background: #212d48;
  color: #AABAD9;
  padding: 32px 0 18px 0;
  margin-top: 50px;
  border-top: 3px solid #18bfff;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 10px;
}
footer nav a {
  color: #FFD966;
  font-size: 1.02rem;
  transition: color 0.18s, background 0.18s;
  border-radius: 8px;
  padding: 6px 6px;
}
footer nav a:hover, 
footer nav a:focus {
  color: #18bfff;
  background: #23305b;
}
footer .text-section {
  color: #cbd7e7;
  margin-top: 12px;
  gap: 2px;
  align-items: flex-start;
}

/* ==== HERO SECTION ==== */
.hero-section {
  background: linear-gradient(90deg, #192642 0%, #254A8B 74%, #18bfff 100%);
  min-height: 320px;
  padding: 64px 0 48px 0;
  display: flex;
  align-items: center;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 18px 32px 0 rgba(24,191,255,0.13);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
}
.hero-section .content-wrapper {
  max-width: 620px;
  flex-direction: column;
  gap: 26px;
}

@media (max-width: 700px) {
  .hero-section {
    padding: 30px 0 18px 0;
    border-radius: 0 0 22px 22px;
  }
}

/* ==== LISTS & ICONS ==== */
ul li,
.text-section ul li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #e6e7ed;
}
ul li img {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 0;
  top: 2px;
}
.text-section ul {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==== BUTTONS & CALL TO ACTION ==== */
.cta-primary, .cta {
  display: inline-block;
  appearance: none;
  border: none;
  background: linear-gradient(90deg, #FFD966 60%, #18bfff 100%);
  color: #23305b;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.04rem;
  border-radius: 14px;
  padding: 13px 34px;
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: .3px;
  box-shadow: 0 2px 16px 0 rgba(255,217,102,.11);
  transition: background 0.22s, color 0.20s, box-shadow 0.22s, transform .18s;
  outline: none;
}
.cta-primary:hover,
.cta-primary:focus,
.cta:hover,
.cta:focus {
  background: linear-gradient(90deg,#18bfff 60%, #FFD966 100%);
  color: #192642;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 32px 0 rgba(24,191,255,0.22);
}

button {
  background: var(--neon-blue);
  color: #23305b;
  border-radius: 10px;
  border: none;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.17s, color 0.14s, transform 0.18s;
}
button:hover, button:focus {
  background: var(--neon-yellow);
  color: #254A8B;
  transform: scale(1.07);
}

/* ==== MOBILE MENU ==== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 24px;
  background: #18bfff;
  color: #254A8B;
  border: none;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 1.8rem;
  z-index: 101;
  box-shadow: 0 1px 12px 0 rgba(24,191,255,0.12);
  transition: background .2s, color .2s, transform .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFD966;
  color: #23305b;
  transform: scale(1.09);
}
@media (max-width: 960px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Mobile menu overlay */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(104deg,#192642 75%, #18bfff 110%);
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.64,.13,.82,1), opacity 0.29s;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 12px 60px 0 rgba(24,191,255,0.25);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 47px;
  height: 47px;
  background: none;
  color: #FFD966;
  border: none;
  font-size: 2.3rem;
  border-radius: 10px;
  transition: background 0.17s, color 0.19s;
  z-index: 202;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #FFD966;
  color: #23305b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 86px;
  align-items: flex-start;
  width: 100%;
  padding-left: 34px;
}
.mobile-nav a {
  color: #FFD966;
  font-size: 1.26rem;
  padding: 10px 0 10px 7px;
  border-radius: 8px;
  background: none;
  transition: color 0.20s, background 0.19s;
  font-family: var(--font-display);
  font-weight: 700;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(24,191,255,0.10);
  color: #18bfff;
}

@media (min-width: 961px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2500;
  width: 100vw;
  background: linear-gradient(90deg,#254A8B 76%, #18bfff 110%);
  color: #fff5cf;
  padding: 20px 18px 18px 18px;
  font-size: 1rem;
  box-shadow: 0 -6px 36px 0 rgba(24,191,255,.08),0 -2px 12px #FFD9661a;
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  transition: translateY 0.34s cubic-bezier(.44,.01,.49,1);
  pointer-events: auto;
}
.cookie-banner.hide {
  display: none;
}
.cookie-banner-message {
  flex: 1 1 300px;
  color: #fff9de;
  font-family: var(--font-body);
  margin-right: 0;
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 700;
  padding: 10px 26px;
  font-size: 1rem;
  margin: 3px 0;
  border-radius: 10px;
  border: none;
  background: #FFD966;
  color: #23305b;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 9px 0 #FFD96652;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #18bfff;
  color: #fff;
}
.cookie-btn.link {
  background: transparent;
  border: 2px solid #FFD966;
  color: #FFD966;
  box-shadow: none;
}
.cookie-btn.link:hover, .cookie-btn.link:focus {
  background: #FFD966;
  color: #23305b;
}

/* ==== COOKIE SETTINGS MODAL ==== */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -52%) scale(.98);
  z-index: 2550;
  background: #23305b;
  box-shadow: 0 8px 44px 0 rgba(24,191,255,.20);
  border-radius: 22px;
  padding: 34px 28px 26px 28px;
  min-width: 310px;
  max-width: 95vw;
  color: #eff6fc;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s cubic-bezier(.38,.66,.24,.94);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h3 {
  color: #FFD966;
  margin: 0 0 6px 0;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #18bfff;
  width: 21px;
  height: 21px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #FFD966;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #18bfff;
}
/* Modal darken overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,51,84,0.62);
  z-index: 2540;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.63,.33,.23,.95);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==== UTILITY CLASSES ==== */
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.gap-20 { gap: 20px; }
.gap-16 { gap: 16px; }
.mt-20 { margin-top: 20px; }
.mb-32 { margin-bottom: 32px; }
.inline-block { display: inline-block; }

/* ==== MICRO-INTERACTIONS ==== */
.card,
.testimonial-card,
.cta-primary,
.cookie-btn,
button {
  transition: box-shadow .17s, transform .22s, background .17s, color .17s;
}
.cta-primary:active, button:active { transform: scale(.97) translateY(1px); }

/* ==== RESPONSIVE ADJUSTMENTS ==== */
@media (max-width:650px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.21rem; }
  h3 { font-size: 1rem; }
  footer nav { gap: 16px; }
  .section { padding: 22px 4px; }
  .container { padding: 0 3px; }
  .hero-section { padding-top: 16px; padding-bottom: 16px; }
  .testimonial-card { flex-direction: column; gap: 10px; padding: 15px; }
}
@media (max-width:410px) {
  .cookie-banner { flex-direction: column; gap: 11px; align-items: stretch; }
  .cookie-banner-actions { align-items: stretch; gap: 7px; }
}

/* ==== ACCESSIBILITY ==== */
:focus { outline: 2px solid #18bfff; outline-offset: 2px; }

/* ==== CUSTOM SCROLLBAR ==== */
body::-webkit-scrollbar {
  width: 12px;
  background: #23305b;
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(#18bfff, #254A8B);
  border-radius: 12px;
}

/* ==== END OF CSS ==== */