/* ====================
   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: #0F1A1E;
  color: #F4F8FB;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}


/* =============
   Brand Colors
   ============= */
:root {
  --primary: #2C5871;
  --secondary: #E9B04C;
  --accent: #F4F8FB;
  --bg-dark: #181A22;
  --bg-darker: #0F1A1E;
  --neon-blue: #19c1ff;
  --neon-yellow: #ffe06e;
  --neon-pink: #ff43bf;
  --border-dark: #223546;
  --shadow: 0 2px 24px 0 rgba(30,34,40,0.20);
  --radius: 16px;
  --radius-sm: 8px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}


/* =======================
   Typography & Hierarchy
   ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--secondary);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.625rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, table, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--accent);
}
ul ul, ul ol, ol ul, ol ol {
  margin-left: 16px;
}
p {
  margin-bottom: 14px;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #202b3a;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px 0 rgba(30,60,120,0.12);
  position: relative;
  transition: box-shadow 0.3s, background 0.3s;
}
.card:hover {
  background: #273a55;
  box-shadow: 0 6px 32px 0 #19c1ffaa;
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  gap: 14px;
}

.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;
  margin-bottom: 24px;
  margin-top: 12px;
  background: #FAF8F2;
  color: #201b10;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 8px 0 rgba(33, 69, 100, 0.08);
  border: 2px solid var(--secondary);
  min-width: 0;
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card strong {
  color: var(--primary);
  margin-left: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.07em;
}
.testimonial-card:hover {
  box-shadow: 0 3px 16px 0 #ffe06e44;
  border-color: #ffe06e;
}

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


/* ================
   Header & Nav
   ================ */
header {
  width: 100%;
  background: var(--bg-dark);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 80px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #153342;
  color: var(--secondary);
}
header .cta-btn {
  /* see .cta-btn below */
}
.mobile-menu-toggle {
  background: none;
  color: var(--secondary);
  font-size: 2rem;
  border: none;
  padding: 6px 16px;
  display: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: rgba(238,225,60, 0.09);
  color: var(--neon-yellow);
}

/* ================
   Mobile Menu
   ================ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1300;
  background: rgba(22,32,44,0.97);
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.32, 1.56, 0.66, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 34px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--neon-yellow);
  font-size: 2.1em;
  line-height: 1;
  border: none;
  padding: 12px 18px 12px 28px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  z-index: 1500;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--neon-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 0 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.19rem;
  padding: 16px 0;
  color: var(--accent);
  border-bottom: 1px solid #26354e33;
  transition: color 0.19s;
}
.mobile-nav a:hover {
  color: var(--neon-blue);
}

/* Hide nav/show burger on mobile */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-btn {
    display: none;
  }
}

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

/* ===================
   Main Buttons
   =================== */
.cta-btn {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0C111A;
  background: linear-gradient(90deg, var(--secondary) 85%, var(--neon-yellow) 100%);
  box-shadow: 0 2px 12px #f5d98030, 0 1px 0 #FFE06E99;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: 24px;
  margin-right: 2px;
  transition: background 0.19s, color 0.19s, transform 0.16s, box-shadow 0.19s;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(92deg, #ffe353 75%, #ffd480 100%);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px #ffe06e99, 0 1px 0 #FFE06E;
  outline: none;
}


/* ========== Main ========== */
main {
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
}

/* Cards as e.g. table or FAQ blocks */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 15px 0 25px 0;
  background: #181a22;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px 0 rgba(44,88,113,0.04);
}
table th, table td {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  text-align: left;
}
table th {
  background: var(--primary);
  color: var(--accent);
  font-weight: bold;
}
table tr:nth-child(even) td {
  background: #273a55;
}
table tr:nth-child(odd) td {
  background: #202b3a;
}
table td {
  border-bottom: 1px solid #2d4966;
}
table tr:last-child td {
  border-bottom: none;
}

/* Lists and Features */
ul, ol {
  margin-top: 6px;
  margin-bottom: 16px;
}
ul li, ol li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  font-size: 1.01rem;
  color: var(--accent);
  letter-spacing: 0.01em;
}
ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--secondary) 55%, var(--primary) 100%);
}

.featured {
  outline: 2px solid var(--secondary);
}

/* ========== Contact Icons ========== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 14px 0 18px 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--accent);
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
  background: #232e3e;
  padding: 12px 18px;
  margin-bottom: 6px;
}
.contact-list img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 4px #2c5871ee);
}


/* ========== Footer ========== */
footer {
  width: 100%;
  background: var(--bg-dark);
  margin-top: 56px;
  border-top: 2px solid var(--primary);
  box-shadow: 0 -2px 16px 0 #11203622;
  padding: 32px 0 20px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--accent);
  font-size: 0.96rem;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  transition: background 0.17s, color 0.17s;
}
footer nav a:hover {
  background: #2c587155;
  color: var(--secondary);
}
.footer-contact {
  color: var(--accent);
  font-size: 0.99rem;
  line-height: 1.7;
  opacity: 0.92;
}
.footer-contact p {
  margin-bottom: 0;
}


/* ========== Cookie Consent ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #181a22;
  color: var(--accent);
  box-shadow: 0 -2px 24px #000b15a0;
  border-top: 2px solid var(--secondary);
  padding: 22px 16px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  animation: cookieSlideIn 1s cubic-bezier(.34,1.6,.66,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-banner-btn,
.cookie-settings-btn {
  font-size: 1rem;
  font-family: var(--font-display);
  color: #100f0e;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  border: none;
  padding: 9px 20px;
  font-weight: 500;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.16s;
}
.cookie-banner-btn.reject {
  background: #344d61;
  color: var(--neon-yellow);
  border: 1px solid #ffd70055;
}
.cookie-banner-btn:focus,
.cookie-banner-btn:hover,
.cookie-settings-btn:hover {
  background: var(--neon-yellow);
  color: var(--primary);
  box-shadow: 0 3px 16px #ffe06e88, 0 1px 0 #E9B04C99;
}
.cookie-settings-btn {
  background: var(--primary);
  color: var(--accent);
}
.cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(24,26,34,0.85);
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: overlayFade 0.37s;
}
@keyframes overlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  min-width: 328px;
  max-width: 98vw;
  background: #232e3e;
  color: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 6px 40px #11203677;
  padding: 38px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: cookieModalIn 0.4s cubic-bezier(.34,1.6,.66,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(40px) scale(0.90); opacity: 0.7; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  color: var(--secondary);
  font-size: 1.23rem;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-bottom: 16px;
}
.cookie-setting-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 3px;
  border-radius: 7px;
}
.cookie-setting-row .toggle {
  margin-left: auto;
}
.cookie-setting-row[data-essential=true] .toggle {
  pointer-events: none;
  opacity: 0.68;
}
.toggle {
  width: 44px;
  height: 26px;
  background: #344d61;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  flex-shrink: 0;
  display: inline-block;
  margin-right: 3px;
}
.toggle[data-checked="true"] {
  background: #E9B04C;
}
.toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 2px 8px #101e2a33;
}
.toggle[data-checked="true"]::before {
  left: 22px;
  background: #ffd43b;
  box-shadow: 0 4px 16px #ffe06e90;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  border: none;
  color: var(--neon-yellow);
  font-size: 2.1em;
  cursor: pointer;
}
.cookie-modal .close:hover {
  color: var(--neon-pink);
}


/* =======================
   Animations & Micro-UX
   ======================= */
a,
button,
.cta-btn,
header nav a,
.mobile-nav a {
  transition: color 0.18s, background 0.20s, box-shadow 0.19s, transform 0.18s;
}
.card, .testimonial-card {
  transition: background 0.22s, box-shadow 0.24s, border-color 0.19s;
}
.cta-btn:active,
.cookie-banner-btn:active {
  transform: scale(0.98);
}
.testimonial-card {
  transition: border 0.19s, box-shadow 0.21s;
}


/* ===============
   Responsive
   =============== */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  header .container { flex-wrap: wrap; }
  footer .container { flex-direction: column; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .section, section {
    padding: 24px 4px;
    margin-bottom: 36px;
  }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1rem; }
  .content-wrapper {
    gap: 12px;
    padding: 2px 0;
  }
  .card-content { padding: 12px 7px; gap: 8px; }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 14px; }
  footer .container {
    gap: 10px;
  }
}
@media (max-width: 565px) {
  h1 { font-size: 1.1rem; }
  h2 { font-size: 1rem; }
  .cta-btn, .cookie-banner-btn, .cookie-settings-btn {
    font-size: 0.99rem;
    padding: 8px 11px;
  }
}

/* ===============
   Futuristic Neon Details
   =============== */
.cta-btn {
  box-shadow:
    0 2px 12px #19c1ff99,
    0 3px 8px #E9B04C33,
    0 0 0 transparent;
  border: 1.5px solid transparent;
}
.cta-btn:active {
  box-shadow: 0 0 0 transparent;
}
.cta-btn:focus-visible {
  border: 1.5px solid var(--neon-blue);
  box-shadow: 0 0 0 2.5px #19c1ff77;
}

header nav a.active {
  background: #2C5871cc;
  color: var(--neon-yellow);
  font-weight: bold;
}

/* Futuristic Accent Borders */
.section {
  border-left: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}
.section:before {
  content: '';
  position: absolute;
  left: -2px; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--neon-blue), var(--secondary), var(--primary));
  filter: blur(1.5px) brightness(1.15);
  z-index: 1;
  opacity: 0.60;
}
.section > .container { position: relative; z-index: 2; }

.card {
  border-left: 3.5px solid var(--primary);
}
.card:hover {
  border-left: 3.5px solid var(--neon-blue);
}

/* Subtle neon glow on hover */
.card:hover, .cta-btn:hover {
  box-shadow: 0 1px 32px #19c1ff55, 0 6px 22px #E9B04C33;
}


/* ====================
   Misc & Accessibility
   ==================== */
::-webkit-scrollbar {
  width: 9px;
  background: #162222;
}
::-webkit-scrollbar-thumb {
  background: #273a55d8;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
:focus {
  outline: 2px solid var(--neon-yellow);
  outline-offset: 1.5px;
}

/* ========== Utility ========== */
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.my-32 { margin-top: 32px !important; margin-bottom: 32px !important; }
.gap-20 { gap: 20px; }

/* Prevent overlapping */
.card,
.testimonial-card,
.section,
.content-wrapper,
.card-container,
.content-grid {
  min-width: 0;
}

/* =======================
   End of Styles
   ======================= */
