/* ================================
   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;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #171b24; /* fallback solid color for tech-futuristic */
  color: #F2EFEA;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ================================
   TYPOGRAPHY
=================================== */
:root {
  --color-primary: #222937;
  --color-secondary: #F7B32B;
  --color-accent: #F2EFEA;
  --color-bg-dark: #171b24;
  --color-neon: #39fff3;
  --color-neon2: #16c0f8;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Source Sans Pro', Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 4px 24px 0 rgba(32, 200, 250, 0.16);
  --shadow-card: 0 2px 12px 0 rgba(10, 200, 244, 0.1);
}
h1, .h1 {font-family: var(--font-display); font-size: 2.375rem; font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: #39fff3; margin-bottom: 20px;}
h2, .h2 {font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: #F7B32B; margin-bottom: 16px; margin-top: 0; letter-spacing: -.5px;}
h3, .h3 {font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #F2EFEA; margin-bottom: 12px;}
h4, h5, h6 {font-family: var(--font-display); color: #F2EFEA;}

p, ul, ol, li, blockquote {font-size: 1.125rem; color: #F2EFEA; margin-bottom: 14px;}
strong {color: #39fff3;}
small {font-size: .85em; color: #b0bfd4;}

@media (max-width:768px){
h1, .h1 { font-size: 1.65rem; margin-bottom: 14px; }
h2, .h2 { font-size: 1.2rem; margin-bottom: 12px; }
h3, .h3 { font-size: 1rem; margin-bottom: 10px; }
p, ul, ol, li, blockquote { font-size: 1rem; }
}

/* ================================
   GENERAL LAYOUT CONTAINERS (flex)
=================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section { max-width: 720px; margin: 0 auto; }

@media (max-width: 768px){
  .container { padding: 0 8px; }
  .content-wrapper { gap: 16px; }
}

/* ================================
  SECTIONS & SPACING
=================================== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #1d2330;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
section:last-of-type { margin-bottom: 0; }
@media (max-width: 768px) {
  section { padding: 24px 6px; margin-bottom: 36px; border-radius: 10px; }
}

/* ================================
   HEADER & NAVBAR
=================================== */
header {
  width: 100%;
  background: #171b24;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1.5px solid #232A3C;
  box-shadow: 0 2px 18px 0 rgba(32,200,250,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
}
header > a img {
  display: block;
  height: 50px; width: auto;
  margin: 20px 0 8px 0;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  width: 100%;
  justify-content: center;
}
nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 9px 18px;
  color: #F2EFEA;
  border-radius: 100px;
  transition: background .18s, color .18s, box-shadow .18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #0e295a;
  color: #39fff3;
  box-shadow: 0 2px 12px 0 #39fff3cc;
  text-shadow: 0 2px 10px #16c0f888;
}
nav .cta-primary {
  background: linear-gradient(90deg, #39fff3 0%, #F7B32B 100%);
  color: #12213a;
  font-weight: 800;
  box-shadow: 0 2px 18px #1ee8de33;
  letter-spacing: 0.5px;
  transition: background .19s, color .18s, box-shadow .18s, filter .16s;
}
nav .cta-primary:hover, nav .cta-primary:focus {
  background: #222937;
  color: #F7B32B;
  filter: brightness(1.06);
  box-shadow: 0 4px 32px #F7B32B44;
}

/* Hide mobile menu button by default */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  line-height: 1;
  color: #39fff3;
  padding: 6px 14px;
  background: none;
  border: none;
  margin: 6px 0 16px 0;
  z-index: 1204;
  border-radius: 8px;
  transition: background .18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #0b1a2a;
  color: #F7B32B;
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  background: #151a26;
  backdrop-filter: blur(2px);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.87,0,.45,1); /* smooth slide */
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.2rem;
  color: #F7B32B;
  background: none;
  border: none;
  z-index: 1205;
  padding: 2px 10px;
  border-radius: 5px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #171b24;
  color: #39fff3;
}
.mobile-nav {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 18px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #F2EFEA;
  font-size: 1.28rem;
  font-family: var(--font-display);
  margin-bottom: 6px;
  padding: 13px 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #232A3C;
  color: #39fff3;
}
@media (max-width: 1000px) {
  nav {
    display: none !important; /* Only show burger menu on mobile/tablet */
  }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 1001px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none; }
}

/* ================================
   HERO AND BUTTONS
=================================== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #39fff3 0%, #F7B32B 100%);
  color: #12213a;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 10px 36px;
  border-radius: 36px;
  letter-spacing: 0.7px;
  border: none;
  box-shadow: 0 3px 20px #39fff366;
  cursor: pointer;
  transition: background .19s, color .19s, filter .16s, box-shadow .18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #222937;
  color: #39fff3;
  box-shadow: 0 6px 32px #39fff388, 0 2px 10px #F7B32B55;
  outline: none;
}

/* ================================
   FEATURES & CARD LAYOUTS
=================================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
  margin-top: 16px;
  width: 100%;
  justify-content: space-between;
}
.feature-item {
  background: #232A3C;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 28px 32px 28px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 230px;
  max-width: 320px;
  margin-bottom: 20px;
  border: 1.5px solid #39fff324;
  transition: box-shadow .18s, border .18s, transform .18s;
  position: relative;
  z-index: 4;
}
.feature-item img {
  height: 34px; width: 34px;
  filter: drop-shadow(0 0 6px #16c0f888);
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 6px 38px #39fff311, 0 2px 10px #F7B32B33;
  border: 1.5px solid #F7B32B;
  transform: translateY(-2px) scale(1.02);
}

@media (max-width: 900px){
  .features-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item { max-width: 100%; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #222937;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 22px;
  min-width: 250px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid #39fff314;
  transition: border .15s, box-shadow .22s, transform .18s;
}
.card:hover, .card:focus {
  border-color: #39fff3;
  box-shadow: 0 6px 39px #39fff311, 0 2px 10px #F7B32B33;
  transform: translateY(-3px) scale(1.012);
}

.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;
    gap: 16px;
    align-items: flex-start;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ================================
   TESTIMONIALS
=================================== */
.testimonial-card {
  background: #F2EFEA;
  color: #1d2330;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  border-radius: 16px;
  box-shadow: 0 4px 32px #39fff31c, 0 2px 8px #232A3C0C;
  border-left: 5px solid #39fff3;
  position: relative;
  flex: 1 1 310px;
}
.testimonial-card blockquote {
  flex: 1 1 auto;
  color: #1d2330;
  font-size: 1.07rem;
  font-style: italic;
  margin: 0;
  line-height: 1.5;
  letter-spacing: .06px;
}
.testimonial-meta {
  color: #16c0f8;
  font-size: 0.97rem;
  font-family: var(--font-display);
  margin-left: 12px;
  font-weight: 700;
}
@media (max-width: 700px){
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 10px;
  }
}

/* ================================
   FOOTER
=================================== */
footer {
  width: 100%;
  background: #171b24;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 12px 20px 12px;
  gap: 14px;
  border-top: 1.5px solid #232A3C;
  box-shadow: 0 -2px 18px 0 rgba(32,200,250,0.04);
  margin-top: 40px;
}
footer img {
  height: 38px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 10px;
  justify-content: center;
  width: 100%;
}
footer nav a {
  color: #F7B32B;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 8px;
  transition: background .15s, color .16s;
}
footer nav a:hover, footer nav a:focus {
  background: #0e273f;
  color: #39fff3;
}
footer p {
  color: #bfc7d3;
  font-size: .97rem;
  letter-spacing: 0.025em;
}

@media (max-width:620px){
  footer nav { flex-direction: column; gap: 8px; align-items: center; }
}

/* ================================
   FORM BASICS (for contact, GDPR)
=================================== */
input, textarea, select {
  background: #222937;
  color: #F2EFEA;
  padding: 10px 18px;
  font-size: 1.08rem;
  font-family: var(--font-body);
  border: 1.5px solid #39fff335;
  border-radius: 8px;
  outline: none;
  width: 100%;
  margin-bottom: 16px;
  transition: border .16s, box-shadow .17s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #16c0f8;
  box-shadow: 0 2px 8px #39fff333;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
=================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #232A3C;
  color: #F2EFEA;
  box-shadow: 0 -2px 38px #39fff326, 0 -2px 6px #F7B32B1C;
  padding: 24px 12px 24px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4000;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1.08rem;
  animation: cookieDrop 1.1s cubic-bezier(.38,1.3,.47,.97);
}
@keyframes cookieDrop {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  color: #F2EFEA;
  font-size: 1rem;
  flex: 1 1 220px;
}
.cookie-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  padding: 8px 24px;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.08rem;
  border-radius: 100px;
  border: none;
  background: #39fff3;
  color: #222937;
  cursor: pointer;
  margin: 0;
  transition: background .19s, color .17s, box-shadow .18s;
  box-shadow: 0 2px 12px #F7B32B11;
}
.cookie-btn.settings {
  background: #F7B32B;
  color: #232A3C;
}
.cookie-btn.reject {
  background: #222937;
  color: #F7B32B;
  border: 2px solid #F7B32B;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #16c0f8;
  color: #232A3C;
  box-shadow: 0 4px 28px #39fff344;
}

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-btn-group { width: 100%; gap: 10px; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #171b2455;
  z-index: 4100;
  align-items: center;
  justify-content: center;
  animation: fadeIn .32s cubic-bezier(.6,.18,.6,1);
}
.cookie-modal-overlay.active { display: flex; }
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1;}
}
.cookie-modal {
  background: #232A3C;
  border-radius: 24px;
  box-shadow: 0 8px 50px #39fff34f, 0 2px 10px #F7B32B15;
  padding: 32px 26px 28px 26px;
  max-width: 360px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #F2EFEA;
  z-index: 4200;
  position: relative;
}
.cookie-modal h3 { color: #F7B32B; font-size: 1.22rem; font-family: var(--font-display);margin-bottom: 8px;}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #232A3C44;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-label {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #39fff3;
}
.cookie-toggle {
  width: 40px; height: 22px;
  border-radius: 12px;
  background: #171b24;
  border: 2px solid #16c0f8;
  position: relative;
  cursor: pointer;
  transition: background .14s, border .14s;
  margin-left: 6px;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle:after {
  content: '';
  display: block;
  position: absolute; left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #16c0f8;
  border-radius: 50%;
  transition: left .18s, background .18s;
}
.cookie-toggle input:checked + .cookie-toggle:after {
  background: #F7B32B;
  left: 20px;
}
/* Close button */
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #F7B32B;
  font-size: 1.52rem;
  border-radius: 5px;
  z-index: 4210;
  padding: 2px 8px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #171b24;
  color: #39fff3;
}

/* ================================
   UTILS
=================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #171b24;
}
::-webkit-scrollbar-thumb {
  background: #222937;
  border-radius: 8px;
}
.hide { display: none !important; }

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

/* ================================
   ANIMATIONS & TRANSITIONS
=================================== */
section, .feature-item, .card, .testimonial-card, .cta-primary, .cookie-btn, .cookie-modal, .cookie-banner, .mobile-menu {
  transition: box-shadow .20s, border .16s, background .17s, color .17s, filter .16s, transform .16s;
}

/* ================================
   AESTHETIC DETAILS
=================================== */
section {
  border: 2px solid transparent;
  background: #1d2330;
  animation: sectionPop 0.65s cubic-bezier(.4,1.4,.44,.99); /* subtle pop in */
}
@keyframes sectionPop {
  0% { transform: scale(.99) translateY(36px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

.feature-item {
  box-shadow: 0 1.5px 11px 0 #16c0f822, 0 0.5px 6px 0 #F7B32B18;
}

.card {
  box-shadow: 0 1px 10px #16c0f815, 0 1.5px 8px #F7B32B11;
}

.cta-primary, .cookie-btn {
  box-shadow: 0 2px 10px #F7B32B11;
}

nav a {
  box-shadow: none;
}

/* ================================
   ACCESSIBILITY/FOCUS TWEAKS
=================================== */
a:focus, button:focus, .cta-primary:focus, .cookie-btn:focus {
  outline: 2.5px dashed #39fff388;
  outline-offset: 1.5px;
}

/* ================================
   MISC OVERRIDES
=================================== */
hr {
  background: #232A3C;
  height: 2.2px;
  border: none;
  margin: 32px 0;
}
::-moz-selection { background: #39fff388; color: #171b24;}
::selection { background: #39fff388; color: #171b24;}

/* ================================
   PRINTING
=================================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #000; }
  section { background: #fff; color: #000; }
}
