/* ---------------------------
  CSS RESET & NORMALIZE START
---------------------------- */
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #151927;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F0F2F6;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #F0F2F6;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover, a:focus {
  color: #E94E2A;
}

/* ---------------------------
  ROOT COLORS & FONTS
---------------------------- */
:root {
  --primary: #1A2537;
  --secondary: #E94E2A;
  --accent: #F0F2F6;
  --neon: #48D7FB;
  --darkbg: #151927;
  --dark2: #222D3C;
  --cardshadow: 0 4px 24px 0 rgba(72,215,251,0.06),0 2px 7px 0 rgba(0,0,0,0.07);
  --border-radius: 14px;
  --box-radius: 18px;
  --display-font: 'Merriweather', serif;
  --body-font: 'Roboto', Arial, sans-serif;
}

/* ---------------------------
  LAYOUT CONTAINERS
---------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ---------------------------
  TYPOGRAPHY
---------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  color: #F0F2F6;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 0.4em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #48D7FB;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-family: var(--body-font);
  color: #F0F2F6;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: var(--neon);
  font-weight: 700;
}
ul, ol {
  margin-left: 32px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}

.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

/* ---------------------------
  HEADER/NAVIGATION
---------------------------- */
header {
  background: linear-gradient(92deg, #1a2537 66%, #232c41 100%);
  border-bottom: 1.5px solid #232c41;
  position: relative;
  z-index: 30;
}
header .container {
  padding-top: 24px;
  padding-bottom: 24px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
header img {
  height: 40px;
  margin-right: 40px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
}
header nav a {
  font-size: 1rem;
  padding: 6px 4px;
  position: relative;
  color: #F0F2F6;
  letter-spacing: 0.03em;
  transition: color 0.22s;
}
header nav a:after {
  content: '';
  display: block;
  margin: 6px auto 0 auto;
  width: 0;
  height: 2.5px;
  border-radius: 2.5px;
  background: var(--neon);
  transition: width 0.22s cubic-bezier(.66,0,.44,1);
}
header nav a:hover:after, header nav a:focus:after {
  width: 80%;
}
header .cta-btn {
  margin-left: 36px;
}

/* Burger menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #F0F2F6;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 16px;
  z-index: 51;
}

/* ---------------------------
  MOBILE NAVIGATION
---------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(26,37,55,0.98);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.7,0,.3,1);
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 0 0 0;
  box-shadow: 0 2px 40px 0 rgba(72, 215, 251, 0.12);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #48D7FB;
  font-size: 2.2rem;
  position: absolute;
  top: 22px;
  right: 36px;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: #E94E2A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-left: 40px;
  padding-top: 80px;
}
.mobile-nav a {
  color: #F0F2F6;
  font-size: 1.35rem;
  padding: 12px 0;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #48D7FB;
}

/* ----------------------------
  HERO SECTION & CTA BUTTON
-----------------------------*/
.hero {
  background: linear-gradient(114deg, #151927 65%, #212e44 100%);
  border-radius: 0 0 40px 40px;
  padding-bottom: 44px;
  box-shadow: 0 10px 40px rgba(72, 215, 251, .04);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 28px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.cta-btn {
  background: linear-gradient(95deg, #48D7FB 40%, #E94E2A 95%);
  color: #fff;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 13px 38px;
  border-radius: 40px;
  border: none;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 24px 0 rgba(233, 78, 42, 0.09), 0 2px 7px 0 rgba(72, 215, 251, 0.07);
  transition: background 0.24s, box-shadow 0.2s, color 0.18s;
  cursor: pointer;
  outline: none;
  margin-top: 16px;
  margin-bottom: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(95deg, #E94E2A 55%, #48D7FB 99%);
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(233, 78, 42, 0.20);
}
.view-all-link {
  margin-top: 20px;
  color: #48D7FB;
  font-weight: 600;
  font-size: 1.08rem;
  text-align: right;
  transition: color 0.21s;
}
.view-all-link:hover {
  color: #E94E2A;
}

/* ---------------------------
  FLEXBOX GRIDS & CARDS
---------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 12px;
  margin-top: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #1A2537;
  border-radius: var(--border-radius);
  box-shadow: var(--cardshadow);
  border: 1.5px solid #232c41;
  padding: 24px 22px;
  width: 100%;
  max-width: 340px;
  min-width: 220px;
  transition: transform .18s, box-shadow .19s, border .16s;
}
.feature-item h3, .feature-item h4 {
  color: #48D7FB;
  margin-bottom: 5px;
}
.feature-item img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 0px #48D7FB80);
}
.feature-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 4px 30px 0 rgba(72,215,251,0.18);
  border: 1.5px solid #48D7FB;
}

.analysis-teasers,.analysis-list,.post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 0;
}
.teaser-item,.analysis-item,.post-item {
  flex: 1 1 250px;
  background: #222d3c;
  border-radius: var(--border-radius);
  box-shadow: var(--cardshadow);
  border: 1.5px solid #232c41;
  padding: 24px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
  transition: transform .18s, box-shadow .19s, border .16s;
  position: relative;
}
.teaser-item:hover,.analysis-item:hover,.post-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 28px 0 rgba(72,215,251,0.22);
  border: 1.5px solid #48D7FB;
}
.post-item.featured {
  border: 2px solid #E94E2A;
  box-shadow: 0 8px 28px 0 rgba(233,78,42,0.18);
  background: #151927;
}
.analysis-item a, .teaser-item a, .post-item a {
  margin-top: 10px;
  color: #48D7FB;
  font-weight: 600;
  font-size: 1rem;
  align-self: flex-end;
  text-decoration: underline;
  transition: color 0.19s;
}
.analysis-item a:hover, .teaser-item a:hover, .post-item a:hover {
  color: #E94E2A;
}

.analysis-filter, .blog-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.analysis-filter span, .blog-filter span {
  color: #48D7FB;
  font-weight: 700;
  margin-right: 8px;
}
.analysis-filter button, .blog-filter button {
  background: none;
  color: #F0F2F6;
  border: 1.5px solid #222d3c;
  border-radius: 18px;
  padding: 6px 16px;
  font-size: 1rem;
  transition: background 0.15s, border 0.19s, color 0.13s;
  margin-right: 4px;
  cursor: pointer;
}
.analysis-filter button:hover, .blog-filter button:hover {
  background: #1A2537;
  border: 1.5px solid #48D7FB;
  color: #48D7FB;
}

.pagination {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
}
.pagination span {
  color: #F0F2F6;
  font-size: 0.97rem;
}
.pagination a {
  color: #48D7FB;
  font-weight: 700;
  transition: color 0.18s;
}
.pagination a:hover {
  color: #E94E2A;
}

/* ---------------------------
  TESTIMONIALS
---------------------------- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F0F2F6;
  color: #1A2537;
  border-radius: 18px;
  box-shadow: 0 4px 25px 0 rgba(72, 215, 251, 0.14);
  border-left: 7px solid #E94E2A;
  padding: 28px 24px 20px 28px;
  min-width: 240px;
  max-width: 390px;
  position: relative;
  margin-bottom: 20px;
  font-family: var(--body-font);
  font-size: 1.12rem;
  transition: box-shadow 0.19s, border 0.15s, background 0.19s;
}
.testimonial-card strong {
  color: #1A2537;
  font-weight: 700;
  margin-top: 14px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(233, 78, 42, 0.15);
  border-left: 7px solid #48D7FB;
}
.testimonial-card p {
  color: #222d3c;
  font-size: 1.12rem;
  font-family: var(--body-font);
  margin-bottom: 0;
}

/* ---------------------------
  FOOTER
---------------------------- */
footer {
  background: #1A2537;
  border-top: 1.5px solid #232c41;
  padding: 36px 0 24px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
footer nav a {
  color: #48D7FB;
  font-size: 0.97rem;
  font-weight: 600;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #E94E2A;
}
.footer-contact {
  color: #F0F2F6;
  font-size: 0.96rem;
  line-height: 1.6;
  text-align: right;
}
.footer-contact a {
  color: #E94E2A;
}

/* ---------------------------
  CONTACT SECTION
---------------------------- */
.contact-details {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 22px;
}
.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #1A2537;
  border-radius: 13px;
  padding: 14px 20px;
  font-size: 1.07rem;
  color: #F0F2F6;
  min-width: 220px;
  box-shadow: 0 2px 18px 0 rgba(72,215,251,0.07);
}
.contact-info img {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 1px 0px #48D7FB88);
}

/* ---------------------------
  COOKIE BANNER & MODAL
---------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222d3c;
  color: #F0F2F6;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  z-index: 1999;
  box-shadow: 0 -8px 48px 0 rgba(72,215,251,0.12);
  gap: 32px;
  font-size: 1rem;
  animation: cookieFadeIn .8s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieFadeIn {
  from {transform: translateY(90px) scale(.96); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: 20px;
}
.cookie-btn {
  background: none;
  color: #48D7FB;
  border: 1.5px solid #48D7FB;
  border-radius: 40px;
  padding: 9px 24px;
  font-size: 1.04rem;
  font-family: var(--body-font);
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .16s, box-shadow .19s;
  margin-right: 4px;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #48D7FB;
  color: #1A2537;
  box-shadow: 0 2px 14px rgba(72, 215, 251, 0.13);
}
.cookie-btn.reject {
  border-color: #E94E2A;
  color: #E94E2A;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #E94E2A;
  color: #fff;
}
.cookie-btn.settings {
  border-color: #F0F2F6;
  color: #F0F2F6;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #F0F2F6;
  color: #1A2537;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,37,55,0.98);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .26s;
  animation: cookieModalIn .5s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalIn {
  from {opacity: 0; transform: scale(.93);}
  to {opacity:1; transform: scale(1);}
}
.cookie-modal-content {
  background: #151927;
  border-radius: 18px;
  color: #F0F2F6;
  padding: 40px 30px 28px 30px;
  max-width: 410px;
  width: 94vw;
  box-shadow: 0 8px 42px 0 rgba(72,215,251,0.25);
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h2 {
  color: #48D7FB;
  margin-bottom: 8px;
  font-size: 1.32rem;
  font-weight: 700;
}
.cookie-modal-content ul {
  margin-bottom: 0;
  margin-left: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center;
  gap: 14px;
}
.cookie-category input[type=checkbox] {
  accent-color: #48D7FB;
  width: 20px; height: 20px;
  margin: 0;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #48D7FB;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex; flex-direction: row; gap: 13px;
  width: 100%;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-category.essential label {
  color: #E94E2A;
  font-weight: bold;
}
.cookie-category.essential input[type=checkbox] {
  accent-color: #E94E2A;
}

/* ---------------------------
  MEDIA QUERIES (MOBILE-FIRST)
---------------------------- */
@media (max-width: 1100px) {
  .feature-grid,
  .analysis-teasers, .analysis-list, .post-list, .testimonial-slider, .contact-details {
    gap: 20px;
  }
  .container { padding-left: 8px; padding-right: 8px; }
}

@media (max-width: 900px) {
  .feature-item, .teaser-item, .analysis-item, .post-item, .testimonial-card {
    max-width: 100%;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-contact {
    text-align: left;
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    padding-top: 18px; padding-bottom: 18px;
  }
  header nav,
  header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .content-wrapper, .section {
    padding: 0;
  }
  .feature-grid, .analysis-teasers, .analysis-list, .post-list, .testimonial-slider, .contact-details {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card, .feature-item, .teaser-item, .analysis-item, .post-item {
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .pagination {
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }
  .hero {
    border-radius: 0 0 26px 26px;
    padding-bottom: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 7px;
    font-size: 0.99rem;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container {
    padding-left: 2vw; padding-right: 2vw;
  }
  header img { height: 30px; margin-right: 24px; }
  .testimonial-card { padding: 18px 10px 12px 13px; font-size: 1rem; }
  .section { padding: 18px 7px; }
}

/* ---------------------------
  UTILITY CLASSES, MISC
---------------------------- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Hide visually for a11y */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px;
  overflow: hidden !important;
  clip: rect(0 0 0 0);
  border: 0 !important;
}

/* ---------------------------
   OTHER DESIGN/NICETIES
---------------------------- */
::-webkit-scrollbar {
  width: 9px;
  background: #1A2537;
}
::-webkit-scrollbar-thumb {
  background: #232c41;
  border-radius: 6px;
}

/* Selection Styling */
::selection {
  background: #48D7FB;
  color: #1A2537;
}

/* Button focus, accessibility */
:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2.5px solid #48D7FB;
  outline-offset: 2px;
}


/* ---------------------------
   ENSURE PROPER SPACING
---------------------------- */
.section + .section {
  margin-top: 32px;
}
.card + .card { margin-left: 24px; }
.card,
.card-container > *,
.content-grid > *,
.feature-grid > *,
.analysis-teasers > *,
.analysis-list > *,
.post-list > *,
.testimonial-slider > *,
.contact-details > * {
  margin-bottom: 20px;
}

/********************************************
* Exclusively flexbox for all layout classes *
********************************************/
/* (Rules already covered above and with all major flex containers) */

/******************************************
*         End of Style Sheet               *
*******************************************/
