/* ========================================================
   CSS RESET & NORMALIZATION (Mobile-First)
======================================================== */
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,
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 {
  line-height: 1.5;
  background: #111628;
  color: #f6f7fa;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #2DB8F1;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
  color: inherit;
}
button {
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
}

/* ========================================================
   FONT FAMILY & SCALE (geometric_structured)
======================================================== */
@import url('https://fonts.googleapis.com/css?family=Orbitron:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #f6f7fa;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.375rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  line-height: 1.1;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.2;
}
p, li {
  color: #DEE4F2;
  font-size: 1rem;
  line-height: 1.7;
}
strong, b {
  font-weight: 700;
  color: #f6f7fa;
}

/* =============================================
   LAYOUT CONTAINER STYLES/GRIDING
============================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(28, 32, 54, 0.95);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(44,17,100,0.10);
}

/* =============================================
   HEADER & NAVIGATION
============================================= */
header {
  background: #111628;
  box-shadow: 0 2px 16px 0 rgba(44,17,100,0.09);
  position: sticky;
  top: 0;
  z-index: 80;
}
nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0 8px 0;
  flex-wrap: wrap;
}
nav a {
  color: #DEE4F2;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 7px;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  position: relative;
  margin-bottom: 8px;
}
nav a:hover, nav a:focus {
  color: #fff;
  background: #2DB8F1;
  box-shadow: 0 0 10px #2DB8F1, 0 2px 12px #111628;
}
nav a.cta-primary {
  background: #3C2A88;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 10px 0 rgba(44,17,100,0.12);
  border-radius: 10px;
  padding: 10px 25px;
  margin-left: 10px;
  margin-right: 0;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  background: #2DB8F1;
  color: #0C1123;
  box-shadow: 0 4px 20px 1px rgba(45,184,241,0.18);
}

/* Hide menu on mobile */
@media (max-width: 1020px) {
  header nav {
    display: none;
  }
}

/* ========== MOBILE BURGER MENU ============= */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #2DB8F1;
  font-size: 2rem;
  padding: 10px 16px;
  cursor: pointer;
  margin-left: auto;
  z-index: 201;
  border-radius: 7px;
  box-shadow: none;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #222f56;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(17,22,40,0.95);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.57,-0.25,.60,1.32);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2rem;
  color: #2DB8F1;
  background: none;
  border: none;
  align-self: flex-end;
  padding: 20px 24px 6px 0;
  cursor: pointer;
  margin-bottom: 12px;
  z-index: 211;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 38px 22px;
}
.mobile-nav a {
  display: block;
  color: #DEE4F2;
  background: none;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  padding: 13px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #2DB8F1;
  color: #181d34;
}
@media (min-width: 1021px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* =============================================
   MAIN LAYOUT: SECTION/PAGE GRIDING
============================================= */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(21, 27, 45, 0.98);
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(44,17,100,0.10);
}

/* Spacing utility containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #181d34;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(28, 38, 73, 0.14);
  border: 2px solid #222f56;
  padding: 24px 18px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
  min-width: 280px;
  flex: 1 1 300px;
  max-width: 100%;
}
.card:hover {
  border-color: #2DB8F1;
  box-shadow: 0 6px 28px 0 rgba(45,184,241,0.18),0 2px 12px 0 #111628;
  transform: scale(1.025) translateY(-2px);
}

.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;
  background: #f6f7fa;
  color: #181d34;
  border-radius: 12px;
  box-shadow: 0 4px 18px 0 rgba(17,38,57,0.10);
  margin-bottom: 20px;
  transition: box-shadow 0.22s, color 0.22s;
  min-width: 265px;
  min-height: 90px;
  position: relative;
}
.testimonial-card strong,
.testimonial-card b,
.testimonial-card p {
  color: #1d2454;
}
.testimonial-card .star-rating {
  color: #ffb400;
  margin-left: 12px;
  font-size: 1.22em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============================================
   FEATURE & COMPARISON GRIDS (Markets/Handel)
============================================= */
.feature-grid,
.comparison-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 12px 0;
}
.feature-grid > div,
.comparison-grid > div {
  flex: 1 1 230px;
  min-width: 210px;
  background: #181d34;
  border: 2px solid #2DB8F1;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 2px 11px 0 rgba(45,184,241,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: transform 0.19s, box-shadow 0.19s, border-color 0.15s;
}
.feature-grid > div:hover,
.comparison-grid > div:hover {
  transform: translateY(-2px) scale(1.021);
  border-color: #3C2A88;
  box-shadow: 0 8px 38px 0 rgba(44,42,136,0.11);
}

/* Market ticker */
.market-ticker ul {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 18px;
}
.market-ticker li {
  border-radius: 8px;
  padding: 9px 22px;
  background: #181d34;
  color: #DEE4F2;
  font-family: 'Orbitron', 'Roboto', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border: 2px solid #2DB8F1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.market-ticker span {
  font-weight: 700;
  margin-left: 7px;
}
.trend-up {
  color: #1FC873;
  font-weight: 700;
}
.trend-down {
  color: #E95B5B;
  font-weight: 700;
}

/* =============================================
   BUTTONS, CTAs
============================================= */
.cta-primary,
button.cta-primary {
  display: inline-block;
  min-width: 170px;
  background: #2DB8F1;
  color: #181d34;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 12px 28px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 14px 0 rgba(45,184,241,0.22);
  letter-spacing: 0.05em;
  text-align: center;
  border: none;
  transition: background 0.14s, color 0.14s, box-shadow 0.16s, transform 0.16s;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus,
button.cta-primary:hover, button.cta-primary:focus {
  background: #3C2A88;
  color: #fff;
  box-shadow: 0 6px 34px 0 rgba(60,42,136,0.22);
  transform: translateY(-2px) scale(1.025);
}
.cta-secondary,
button.cta-secondary {
  display: inline-block;
  min-width: 160px;
  background: #181d34;
  color: #2DB8F1;
  border: 2px solid #2DB8F1;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 10px;
  margin-left: 12px;
  margin-right: 12px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px 0 rgba(45,184,241,0.07);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.14s, box-shadow 0.15s, border-color 0.14s;
}
.cta-secondary:hover,
button.cta-secondary:hover,
.cta-secondary:focus,
button.cta-secondary:focus {
  background: #2DB8F1;
  color: #181d34;
  border-color: #3C2A88;
  box-shadow: 0 6px 22px 0 rgba(60,42,136,0.14);
}

/* =============================================
   TABLES & MARKETS
============================================= */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 1px 7px 0 rgba(45,184,241,0.07);
}
thead {
  background: #3C2A88;
  color: #fff;
}
th, td {
  padding: 13px 12px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #222f56;
}
th {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  background: #3C2A88;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
tr:nth-child(even) td {
  background: #161929;
}
tbody tr:hover td {
  background: #232849;
  color: #2DB8F1;
  transition: background 0.13s, color 0.13s;
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: #181d34;
  padding: 40px 0 30px 0;
  color: #DEE4F2;
  box-shadow: 0 -2px 16px 0 rgba(44,17,100,0.09);
  border-top: 2px solid #2DB8F1;
}
footer .container {
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}
footer nav a {
  color: #DEE4F2;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
  padding: 4px 0;
  border-radius: 6px;
}
footer nav a:hover {
  color: #2DB8F1;
  background: none;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}
.footer-social img {
  width: 34px;
  height: 34px;
  filter: brightness(0.93) saturate(1.35);
  transition: filter 0.16s, transform 0.16s;
}
.footer-social img:hover {
  filter: brightness(1.35) saturate(1.75) drop-shadow(0 0 7px #2DB8F1);
  transform: scale(1.11) rotate(-5deg);
}

/* =============================================
   GEOMETRIC/STRUCTURED DECORATIVE ELEMENTS
============================================= */
.section, .card, .feature-grid > div, .comparison-grid > div,
.market-ticker li, table, .testimonial-card {
  border-radius: 12px;
}
@media (min-width: 800px) {
  .section, main > section {
    border-radius: 20px;
  }
}

/* =============================================
   FORMS (e.g. registration) -- if any
============================================= */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  background: #181d34;
  color: #DEE4F2;
  border: 2px solid #2DB8F1;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.14s;
}
input:focus, textarea:focus {
  border-color: #3C2A88;
  box-shadow: 0 0 4px #2DB8F1;
}
label {
  display: block;
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

/* =============================================
   COOKIE CONSENT BANNER & MODAL
============================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181d34;
  color: #DEE4F2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 20px 20px 16px 20px;
  box-shadow: 0 -2px 24px 0 rgba(44,17,100,0.11);
  border-top: 2px solid #2DB8F1;
  z-index: 400;
  animation: fadeCookieIn 0.45s 0.12s both;
}
@keyframes fadeCookieIn {
  0% { opacity: 0; transform: translateY(44px); }
  70% { opacity: 1; transform: translateY(-4px); }
  100% { opacity: 1; transform: none; }
}
.cookie-consent-banner p {
  font-size: 1rem;
  max-width: 420px;
  margin-bottom: 0;
}
.cookie-btn {
  margin-left: 14px;
  margin-right: 4px;
  font-size: 1rem;
}
.cookie-btn.accept {
  background: #2DB8F1;
  color: #181d34;
  border-radius: 8px;
  padding: 11px 20px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  border: none;
  margin-right: 7px;
  transition: background 0.13s, color 0.13s, transform 0.12s;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #3C2A88;
  color: #fff;
  transform: translateY(-1px) scale(1.05);
}
.cookie-btn.reject {
  background: #1e253e;
  color: #E95B5B;
  border-radius: 8px;
  padding: 11px 18px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  border: 2px solid #E95B5B;
  margin-right: 7px;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E95B5B;
  color: #fff;
}
.cookie-btn.settings {
  background: #181d34;
  color: #2DB8F1;
  border-radius: 8px;
  padding: 11px 18px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  border: 2px solid #2DB8F1;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #2DB8F1;
  color: #181d34;
}

/* Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(17,22,40,0.97);
  z-index: 401;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #f6f7fa;
  color: #181d34;
  padding: 42px 32px;
  border-radius: 14px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 40px 0 rgba(44,17,100,0.13);
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 26px;
}
.cookie-modal-content h2 {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  color: #3C2A88;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.cookie-category {
  margin-bottom: 18px;
}
.cookie-category label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: #3C2A88;
  z-index: 11;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #2DB8F1;
}
.cookie-category input[type="checkbox"] {
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #3C2A88;
  border-radius: 6px;
  background: #fff;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.cookie-category input[type="checkbox"]:checked {
  background: #2DB8F1;
  border-color: #2DB8F1;
}
.cookie-category input[type="checkbox"]:disabled {
  background: #DEE4F2;
  border-style: dashed;
}
.cookie-category input[type="checkbox"]:checked:after {
  content: "";
  position: absolute;
  left: 7px; top: 3px;
  width: 7px; height: 13px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(43deg);
}

/* =============================================
   UTILITIES / GENERAL
============================================= */
::-webkit-scrollbar {
  width: 11px;
  background: #232849;
}
::-webkit-scrollbar-thumb {
  background: #2DB8F1;
  border-radius: 8px;
  border: 2px solid #181d34;
}
::-webkit-scrollbar-thumb:hover {
  background: #3C2A88;
}

hr {
  border: none;
  border-top: 2px solid #222f56;
  margin: 28px 0 24px 0;
}

/* Responsive Icon Styling */
img[alt*="icon"], img[src*="icon-"] {
  width: 38px;
  height: 38px;
  margin-right: 14px;
  margin-bottom: -8px;
}
img[alt*="logo"] {
  max-height: 44px;
  margin-right: 13px;
  margin-bottom: -7px;
}

/* Utility classes */
.text-center {
  text-align: center;
}
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gap-60 { gap: 60px; }
.gap-40 { gap: 40px; }
.gap-24 { gap: 24px; }
.gap-20 { gap: 20px; }
.gap-12 { gap: 12px; }
.mt-28 { margin-top: 28px; }
.mb-28 { margin-bottom: 28px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =============================================
   RESPONSIVE DESIGN (Mobile-First)
============================================= */
@media (max-width: 1020px) {
  .content-wrapper,
  .footer-social,
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  main > section, .section {
    padding: 28px 9px;
    margin-bottom: 34px;
  }
  .footer-social {
    gap: 12px;
  }
  .feature-grid, .comparison-grid {
    gap: 18px;
  }
  .market-ticker ul {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.58rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.1rem; }
  table, th, td { font-size: 0.96rem; }
  .feature-grid,.comparison-grid,
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 17px;
    align-items: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-height: 70px;
    gap: 12px;
    padding: 14px;
  }
  footer .content-wrapper {
    gap: 24px;
  }
}
@media (max-width: 530px) {
  .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .feature-grid > div, .comparison-grid > div, .card {
    min-width: 80vw;
    padding: 13px 7px;
  }
  .section, main > section {
    padding: 10px 0.5vw;
    margin-bottom: 23px;
    border-radius: 9px;
  }
  nav a.cta-primary, .cta-primary, .cta-secondary {
    padding: 10px 10vw;
    font-size: 1rem;
    min-width: 90vw;
  }
}

/* ========== UTILITY CLASSES FOR DEMO ========= */
.d-none { display: none !important; }

/* EOF */
