/* === Merovottim Investorenclub CSS – Tech Futuristic Style === */

/* Reset & Normalize */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
}
body {
  min-height: 100vh;
  background: #101623;
  color: #F7F7F5;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* === Brand Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg,#D9A441,#fff 60%,#1E344B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #D9A441;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #A1A7B9;
  margin-bottom: 10px;
}
p, li, ul, ol {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 16px;
  color: #D8E0F0;
}
strong {
  color: #fff;
}

.tagline {
  font-size: 1.15rem;
  color: #D9A441;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* === Main Layout Container === */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

/* === Sections Spacing === */
section {
  background: rgba(16,22,35,0.97);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === Flex Pattern Classes (MANDATORY) === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #151C2B;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(33,56,89,0.12);
  padding: 28px 22px;
  transition: box-shadow 0.2s cubic-bezier(0.4,0,0.2,1), transform 0.15s;
  border: 1.5px solid #263552;
  color: #F7F7F5;
}
.card:hover {
  box-shadow: 0 8px 22px 2px #d9a44133, 0 3px 15px -2px #162237;
  transform: translateY(-2px) scale(1.02);
  border-color: #d9a441;
}
.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: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px 0 #22365c1c;
  margin-bottom: 20px;
  color: #1e344b;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #d9a441;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === Card-Like Elements (Events, Services) === */
.event-card, .service-card {
  background: #162237;
  border-radius: 16px;
  border: 1.5px solid #263552;
  box-shadow: 0 3px 16px 2px #131B2C33;
  color: #F7F7F5;
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.14s;
}
.event-card:hover, .service-card:hover {
  box-shadow: 0 6px 22px 4px #d9a44125, 0 3px 22px -5px #26355058;
  border-color: #d9a441;
  transform: translateY(-3px);
}

/* === Buttons & CTAs === */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D9A441;
  color: #212D41;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 15px 0 #d9a44121;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.14s;
  letter-spacing: 0.04em;
  margin-top: 10px;
  text-shadow: 0 1px 0 #F9E6B1;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #fff;
  color: #ad832a;
  box-shadow: 0 4px 24px 2px #d9a44137;
  transform: translateY(-1px) scale(1.03);
}
nav .cta-primary {
  margin-left: 24px;
}

/* === Navigation === */
header {
  background: #0E1623;
  border-bottom: 2px solid #313D56;
  position: sticky;
  top: 0;
  z-index: 1010;
  box-shadow: 0 2px 10px -4px #d9a44133;
}
nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 72px;
  flex-direction: row;
  justify-content: space-between;
}
nav > a img {
  height: 38px;
  margin-right: 24px;
  vertical-align: middle;
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
nav li {
  display: flex;
  align-items: center;
}
nav a {
  color: #F7F7F5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.15s;
  font-size: 1rem;
}
nav a:not(.cta-primary):after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(90deg,#d9a441,#ffc05a40 80%,#222C40 100%);
  transition: width 0.2s cubic-bezier(0.4,0,0.2,1);
  border-radius: 3px;
}
nav a:not(.cta-primary):hover:after {
  width: 70%;
}
nav a:not(.cta-primary):hover {
  color: #d9a441;
}

/* Mobile Burger Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #d9a441;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1102;
  transition: background 0.14s;
  border-radius: 8px;
  padding: 6px 12px 2px 12px;
}
.mobile-menu-toggle:focus {
  background: #222b45;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #182236ee;
  box-shadow: 0 8px 40px 0 #14192077;
  transform: translateX(-100vw);
  transition: transform 0.41s cubic-bezier(0.77,0.04,0.47,1.44);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: #d9a441;
  background: none;
  border: none;
  margin: 22px 28px 12px 0;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 30px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.16rem;
  letter-spacing: 0.04em;
  padding: 12px 0;
  border-radius: 8px;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #d9a44122;
  color: #d9a441;
}

/* Hamburger - Responsive */
@media (max-width: 1024px) {
  nav ul, nav .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === Footer === */
footer {
  background: #101623;
  border-top: 2px solid #2A3950;
  margin-top: 60px;
  padding: 38px 0 24px 0;
}
footer .container {
  flex-direction: row;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-contact {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #F7F7F5;
}
.footer-contact h3 {
  margin-bottom: 7px;
  font-size: 1.12rem;
  color: #ffd68f;
}
.footer-contact a {
  color: #d9a441;
  text-decoration: underline;
}
.footer-contact a:hover { color: #FFD05F; }
.footer-menu nav {
  color: #8898b1;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 8px;
}
.footer-menu nav a {
  color: #d9a441;
  margin: 0 7px;
  padding: 3px 1px;
  border-radius: 5px;
  transition: background 0.12s;
  text-decoration: underline;
}
.footer-menu nav a:hover { background: #d9a44122; color: #fff; }

/* === Utility Classes === */
.text-section {
  background: #121927;
  border-radius: 12px;
  padding: 18px 18px 8px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px #1E344B0D;
}

/* Responsive Content Wrappers */
@media (max-width: 768px) {
  .container, .content-grid, .footer .container {
    flex-direction: column;
    gap: 24px;
  }
  .footer .container {
    gap: 20px;
  }
  nav {
    padding: 0 10px;
    height: auto;
    min-height: 56px;
  }
  .footer-menu nav {
    font-size: 0.95rem;
    text-align: left;
  }
  section, .section {
    padding: 32px 10px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 5px;
  }
  .cta-primary {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.1rem; }
}

/* Responsive layout for text-image-section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* === Spacing & Flex Gaps (MANDATORY) === */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .features {
  gap: 20px;
}
.card, .event-card, .service-card, .testimonial-card {
  margin-bottom: 20px;
}

/* === Special Effects & Futuristic Accents === */
.card, .event-card, .service-card {
  position: relative;
  overflow: hidden;
}
.card:before, .event-card:before, .service-card:before {
  content: '';
  position: absolute;
  left: -30px;
  top: -30px;
  width: 85px;
  height: 85px;
  background: radial-gradient(circle, #d9a44166 0, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(0.7px);
  opacity: 0.11;
}
.card:after, .event-card:after, .service-card:after {
  content: '';
  position: absolute;
  right: -22px;
  bottom: -16px;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at right bottom, #20e4ff38 0, transparent 85%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.13;
}


/* === Micro-interactions & Transitions === */
.button, .cta-primary, .mobile-menu-toggle, .mobile-menu-close, .footer-menu nav a {
  transition: background 0.18s, color 0.14s, box-shadow 0.17s, transform 0.13s;
}
.cta-primary:active {
  transform: scale(0.97);
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1700;
  background: #232946;
  color: #fff;
  box-shadow: 0 -4px 22px -3px #1E344B33, 0 1px 4px #1E344B03;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: 22px 14px;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner p {
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.4;
  max-width: 520px;
  margin-bottom: 0;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-top: 6px;
}
.cookie-banner-btn, .cookie-settings-btn {
  cursor: pointer;
  color: #232946;
  background: #D9A441;
  border: none;
  border-radius: 22px;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 22px;
  box-shadow: 0 2px 10px 0 #d9a44115;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner-btn:hover, .cookie-settings-btn:hover {
  background: #fff;
  color: #D9A441;
}
.cookie-banner-btn.reject {
  background: #fff;
  color: #1e344b;
  border: 1.5px solid #D9A441;
}
.cookie-banner-btn.reject:hover {
  background: #D9A441;
  color: #fff;
}
.cookie-settings-btn {
  background: #313142;
  color: #ffd586;
  border: 1.5px solid #D9A441;
}
.cookie-settings-btn:hover {
  background: #1E344B;
  color: #FFD05F;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 18px 6px;
  }
  .cookie-banner-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }
}

/* === Cookie Modal === */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,14,30,0.68);
  z-index: 1800;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #131a2d;
  border-radius: 18px;
  box-shadow: 0 12px 38px 2px #1E344B88;
  color: #fff;
  padding: 32px 30px 22px 30px;
  min-width: 310px;
  max-width: 95vw;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalPopIn 0.51s cubic-bezier(0.55,0,0.28,1.11);
}
@keyframes cookieModalPopIn {
  0% { transform: scale(0.7) translateY(60px); opacity: 0; }
  70% { transform: scale(1.05) translateY(-8px); opacity: 1; }
  100% { transform: scale(1.0) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #d9a441;
  font-size: 2rem;
  position: absolute;
  top: 20px;
  right: 22px;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal-close:hover {
  color: #FFD05F;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 18px 0;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 1.03rem;
  color: #D9A441;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #d9a441;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #d9a441;
  width: 18px;
  height: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-actions button {
  background: #d9a441;
  color: #131a2d;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal-actions button:hover {
  background: #fff;
  color: #d9a441;
}

/* === Accessibility & Misc === */
:focus-visible {
  outline: 2.5px solid #d9a441;
  outline-offset: 1.5px;
}

/* Table and code (should they appear) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.3rem;
}
th, td {
  border: 1px solid #263552;
  padding: 10px 8px;
  text-align: left;
  font-family: 'Roboto', Arial, sans-serif;
}
th {
  background: #162237;
  color: #d9a441;
}

pre, code {
  background: #192238;
  color: #FFD05F;
  border-radius: 6px;
  font-size: 0.96rem;
  padding: 2px 8px;
}

/* --- End of Merovottim Investorenclub Tech Futuristic CSS --- */
