/* 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;
  box-sizing: border-box;
  vertical-align: baseline;
}
html { scroll-behavior: smooth; }
body { line-height: 1.6; }
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a { color: inherit; text-decoration: none; }
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
}
button { cursor: pointer; }

/* BRAND VARIABLES (FALLBACKS) */
:root {
  --color-primary: #233147;
  --color-secondary: #e8a135;
  --color-accent: #f5f7fa;
  --color-bg-dark: #161d2a;
  --color-bg-neon: #132d46;
  --color-neon-blue: #53e0fc;
  --color-neon-green: #6affc5;
  --color-light: #f5f7fa;
  --color-text: #25344a;
  --color-text-light: #ecf0f5;
  --color-text-dark: #101625;
  --color-shade: #20304a;
  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* GOOGLE FONTS (import hint) */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&display=swap');

body {
  font-family: var(--font-body);
  background: var(--color-bg-dark);
  color: var(--color-text);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-text-light);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
.subtitle {
  color: var(--color-neon-blue);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: var(--font-body);
}
p, li, ul, ol {
  font-size: 1rem;
  color: var(--color-light);
  font-family: var(--font-body);
  margin-bottom: 8px;
}
strong {
  color: var(--color-secondary);
  font-weight: 600;
}

/* UTILITY CLASSES */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-neon);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(38,200,255,0.10), 0 2px 8px 0 rgba(50,255,216,0.08);
  transition: box-shadow 0.3s, transform 0.2s;
  padding: 32px 24px;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(83,224,252,0.12), 0 4px 16px 0 rgba(106,255,197,0.10);
  transform: translateY(-4px) 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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-light);
  color: var(--color-text-dark);
  border-radius: 14px;
  box-shadow: 0 2px 6px 0 rgba(83,224,252,0.10);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s, transform 0.18s;
}
.testimonial-card p {
  color: var(--color-text-dark);
  font-size: 1.07rem;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px 0 rgba(83,224,252,0.13);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.key-benefits,
.mission {
  background: rgba(83,224,252,0.06);
  border-left: 4px solid var(--color-neon-blue);
  padding: 14px 18px;
  border-radius: 9px;
  font-size: 1.08rem;
  color: var(--color-neon-blue);
}

ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.6;
  padding-left: 0.5em;
}
ul li img, ol li img { vertical-align: middle; margin-right: 8px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #1a2237 0%, #233147 80%);
  color: var(--color-light);
  padding: 64px 0 48px 0;
  margin-bottom: 56px;
  border-bottom: 1px solid rgba(247,247,247,0.04);
  box-shadow: 0 3px 32px 0 rgba(51,207,255,0.11);
}

/* TRUST SIGNALS */
.trust-signals {
  display: flex;
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}
.trust-signals p {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(35,49,71,0.68);
  color: var(--color-neon-blue);
  border-radius: 7px;
  padding: 9px 14px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.trust-signals img {
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
}

/* BUTTONS & CTA */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 160px;
  background: var(--color-neon-blue);
  color: #051e25;
  border-radius: 24px;
  border: none;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 13px 34px;
  box-shadow: 0 2px 8px 0 rgba(83,224,252,0.17);
  margin-top: 10px;
  position: relative;
  transition: background 0.19s, box-shadow 0.19s, transform 0.15s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #a2ffe2;
  color: #102840;
  box-shadow: 0 5px 18px 0 rgba(106,255,197,0.24);
  transform: translateY(-2px) scale(1.018);
}

.section-cta {
  background: var(--color-primary);
  color: var(--color-light);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(83,224,252,0.10);
  text-align: center;
}

/* ACCENT BACKGROUND */
.accent-bg {
  background: var(--color-bg-neon);
  border-left: 6px solid var(--color-neon-blue);
  border-radius: 19px;
}

/* HEADER NAVIGATION */
header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 2px 18px 0 rgba(35,49,71,0.13);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 0;
}
.logo-link img {
  height: 38px;
  filter: drop-shadow(0 0 7px #39e5ff55);
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  margin-left: 32px;
}
.main-nav a {
  color: var(--color-neon-blue);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 5px 6px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #2e425f;
  color: var(--color-neon-green);
  box-shadow: 0 2px 8px 0 rgba(106,255,197,0.13);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-neon-blue);
  font-size: 2.1rem;
  display: none;
  margin-left: 28px;
  z-index: 110;
  transition: color 0.17s;
}
.mobile-menu-toggle:hover {
  color: var(--color-neon-green);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,49,71, 0.99);
  z-index: 140;
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.85,0,.23,1);
  display: flex;
  flex-direction: column;
  padding: 0 32px;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-neon-blue);
  font-size: 2.25rem;
  align-self: flex-end;
  margin: 32px 0 8px 0;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 150;
}
.mobile-menu-close:hover {
  color: var(--color-neon-green);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  margin-top: 32px;
}
.mobile-nav a {
  font-size: 1.35rem;
  color: var(--color-neon-blue);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 13px 10px;
  border-radius: 12px;
  transition: background 0.19s, color 0.18s;
  box-shadow: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #264465;
  color: var(--color-neon-green);
}

/* SHOW/HIDE NAV ON SCREEN SIZE */
@media (max-width: 1040px) {
  .main-nav {
    gap: 16px;
    margin-left: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    min-width: 132px;
    font-size: 1rem;
    padding: 10px 24px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  header .container {
    padding: 7px 8px;
  }
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 36px 0 20px 0;
  border-top: 1px solid #22345f34;
  box-shadow: 0 -2px 14px 0 rgba(83,224,252,0.06);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-logo img {
  height: 38px;
  filter: drop-shadow(0 0 7px #39e5ff55);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: var(--color-neon-blue);
  font-size: 1rem;
  transition: color 0.14s;
}
.footer-links a:hover {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 1.05em; height: 1.05em; margin-right: 6px;
  vertical-align: middle;
}
.footer-contact p {
  color: var(--color-neon-blue);
}

@media (max-width: 860px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-logo {
    margin-bottom: 15px;
  }
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section { padding: 32px 10px; margin-bottom: 38px; }
  .hero { padding: 40px 0 26px 0; margin-bottom: 32px; }
  .card { padding: 22px 12px; }
  .content-wrapper { gap: 14px; }
  .text-section { gap: 11px; }
  .trust-signals { gap: 14px; flex-direction: column; }
  .testimonial-card { flex-direction: column; gap: 5px; padding: 16px; font-size: 0.98rem; }
  .card-container, .content-grid { gap: 12px; }
  .section-cta { padding: 24px 7px; }
  .feature-item { gap: 9px; }
  .text-image-section { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 500px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.28rem; }
  .cta-btn { font-size: 0.95rem; padding: 8px 15px; }
}

/* LINKS INSIDE TEXT BLOCKS */
.text-section a, .content-wrapper a:not(.cta-btn):not(.footer-logo) {
  color: var(--color-neon-blue);
  text-decoration: underline;
  transition: color 0.12s;
}
.text-section a:hover {
  color: var(--color-neon-green);
}

/* CARD STYLES (ex: testimonial-card already above)*/
.card {
  border: 1px solid rgba(106,255,197,0.15);
}

/* MISCELLANEOUS */
hr {
  border: none;
  border-top: 1px solid #28487740;
  margin: 32px 0;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-primary);
  color: var(--color-light);
  padding: 18px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 190;
  box-shadow: 0 -6px 34px 0 rgba(83,224,252,0.19);
  border-top: 2px solid var(--color-neon-blue);
  animation: fadeInUp 0.5s cubic-bezier(.23,1.07,.67,1.47) 0s 1;
}
.cookie-banner p {
  color: var(--color-light);
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn,
.cookie-settings-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 20px;
  color: var(--color-text-dark);
  background: var(--color-neon-blue);
  border-radius: 19px;
  font-weight: 600;
  transition: background 0.18s, color 0.19s, transform 0.13s;
  box-shadow: 0 2px 8px 0 rgba(83,224,252,0.11);
}
.cookie-btn:hover {
  background: var(--color-neon-green);
  color: #142d3e;
  transform: scale(1.03);
}
.cookie-btn.reject {
  background: #2e425f;
  color: #ecf5ff;
}
.cookie-btn.reject:hover {
  background: #1b283e;
  color: var(--color-neon-green);
}
.cookie-settings-btn {
  background: transparent;
  color: var(--color-neon-blue);
  border: 1.5px solid var(--color-neon-blue);
}
.cookie-settings-btn:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  background: #252e45;
}
@media (max-width: 650px) {
  .cookie-banner {
    padding: 12px 7px 12px 7px;
  }
  .cookie-banner-buttons {
    gap: 8px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 200;
  background: rgba(20,32,51, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.15s linear;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-dialog {
  background: var(--color-light);
  color: var(--color-text-dark);
  border-radius: 18px;
  box-shadow: 0 3px 38px 0 rgba(83,224,252,0.15);
  min-width: 320px;
  max-width: 92vw;
  padding: 32px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: fadeInUp 0.31s cubic-bezier(.23,1.07,.67,1.47);
}
.cookie-modal-header {
  display: flex; flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 19px;
  margin-bottom: 8px;
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-primary);
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-secondary);
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s;
}
.cookie-modal-close:hover { color: #e87816; }
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category-label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-category-toggle {
  margin-left: 10px;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #c3e9f5;
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: var(--color-neon-blue);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 16px; height: 16px;
  background: var(--color-bg-dark);
  border-radius: 50%;
  transition: left 0.16s, background 0.13s;
}
.cookie-toggle:checked:before {
  left: 22px;
  background: #1cffe6;
}
.cookie-settings-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
}
.cookie-save-btn {
  background: var(--color-neon-blue);
  color: var(--color-text-dark);
  border-radius: 17px;
  padding: 7px 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: background 0.16s, color 0.14s;
}
.cookie-save-btn:hover {
  background: var(--color-neon-green);
  color: #1c2d33;
}
.cookie-cancel-btn {
  background: #e0eaff;
  color: #223572;
  border-radius: 17px;
  padding: 7px 18px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: background 0.17s, color 0.15s;
}
.cookie-cancel-btn:hover {
  background: #c0cacf;
}
@media (max-width: 500px) {
  .cookie-modal-dialog {
    padding: 16px 7px 14px 7px;
    min-width: unset;
  }
}

/* FLEXBOX CONTAINERS - ALSO MATCHING MANDATORY LAYOUT PATTERNS */
/* Already implemented throughout: section, card-container, card, content-grid, text-image-section, testimonial-card, feature-item, container, content-wrapper, text-section, etc. */

/* MICRO-INTERACTIONS & HOVER */
.card, .testimonial-card, .cta-btn, .main-nav a, .mobile-nav a, .cookie-btn, .cookie-settings-btn, .cookie-modal-close, .cookie-save-btn, .cookie-cancel-btn {
  transition: all 0.17s cubic-bezier(.83,0,.17,1);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* SCROLLBAR FUTURISTIC (for neon accent) */
::-webkit-scrollbar {
  width: 10px;
  background: #1b253b;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #29ffe4 0%, #42b7ff 100%);
  border-radius: 12px;
}

/* NEON GLOW EFECTS (usable on brand highlights) */
.neon-glow {
  color: var(--color-neon-blue);
  text-shadow: 0 0 7px var(--color-neon-blue), 0 0 28px #53e0fc44;
}

/* ACCESSIBLE HIDDEN (for accessibility) */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Prevent overlapping of sections/cards on small screens */
section, .section, .content-wrapper, .card-container, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* Remove extra bottom margin on last content */
section:last-child, .section:last-child {
  margin-bottom: 0;
}

/* CARD OVERLAP & SHADOW PREVENTION (no abs. pos) */
.card, .testimonial-card {
  z-index: 1;
}

/* Remove outline for mouse, but keep for keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color-neon-green);
  outline-offset: 2px;
}
