/* ---------------------------------------------------
   CSS RESET & NORMALIZATION FOR GEOMETRIC STRUCTURED
   --------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
* , *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #12263a;
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: #153972;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #21867a;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
  color: #153972;
  margin-bottom: 0.6em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  line-height: 1.1;
}
h2 {
  font-size: 1.75rem; /* 28px */
}
h3 {
  font-size: 1.25rem; /* 20px */
}
h4, h5, h6 {
  font-size: 1rem;
}
p {
  font-size: 1.1rem;
  color: #2a405e;
  margin-bottom: 1em;
}
strong { font-weight: 700; color: #153972; }

/* --------------------------
   LAYOUT CONTAINERS
-------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 32px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(21,57,114,0.06);
  padding: 30px;
  flex: 1 1 320px;
  min-width: 280px;
  transition: box-shadow 0.25s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px rgba(33,134,122,0.14);
  transform: translateY(-3px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #e7eff6;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(21,57,114,0.08);
  color: #12263a;
  margin-bottom: 20px;
  flex: 1 1 340px; 
  min-width: 260px;
  word-break: break-word;
}
.testimonial-card p {
  color: #153972;
  font-size: 1.1rem;
}
.testimonial-card strong {
  color: #21867a;
  font-family: 'Roboto Slab', serif;
}
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1rem;
  color: #153972;
  margin-top: 12px;
  font-weight: bold;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(21,57,114,0.06);
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, transform 0.10s;
  border: 2px solid transparent;
}
.feature-item img {
  width: 44px;
  height: 44px;
  background: #E7EFF6;
  border-radius: 10px;
  padding: 8px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 2px 14px rgba(21,57,114,0.09);
  border: 2px solid #21867A;
  transform: translateY(-2px) scale(1.012);
}

/*******************
 * HEADER & NAVBAR *
 *******************/
header {
  background: #fff;
  border-bottom: 2.5px solid #e7eff6;
  padding-top: 6px;
  padding-bottom: 6px;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
header img[alt="Neutron Faktum"] {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: #153972;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 1rem;
  letter-spacing: 0.025em;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e7eff6;
  color: #21867a;
}
.main-nav .cta-primary {
  background: #153972;
  color: #fff;
  border: none;
  padding: 10px 28px;
  box-shadow: 0 4px 14px rgba(21,57,114,0.11);
  border-radius: 11px;
  margin-left: 8px;
  text-transform: none;
  font-size: 1.08rem;
  transition: background 0.18s, color 0.14s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #21867a;
  color: #fff;
}
/* Burger */
.mobile-menu-toggle {
  display: none;
  background: #153972;
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  cursor: pointer;
  z-index: 50;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #21867a;
}
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* -----------------------------
   MOBILE MENU & OVERLAY
----------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,57,114, 0.98);
  z-index: 1999;
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 20px 20px 24px;
  transition: transform 0.4s cubic-bezier(0.54, 0.02, 0, 1.04);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  position: absolute;
  top:28px;
  right:32px;
  cursor: pointer;
  z-index: 2500;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #e7eff6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  font-size: 1.13rem;
  color: #fff;
  padding: 16px 0 8px 8px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.14s, color 0.16s;
  width: 100%;
  min-width: 150px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #21867a;
  color: #fff;
}
.mobile-nav .cta-primary {
  background: #fff;
  color: #153972;
  font-weight: 700;
  margin-top: 24px;
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu.open { display: none !important; }
}


/****************************
 * HERO & PAGE SECTION STYLES
 ****************************/
.hero {
  background: linear-gradient(97deg, #e7eff6 70%, #fff 100%);
  min-height: 330px;
  display: flex;
  align-items: center;
  margin-bottom: 44px;
  padding: 65px 0 52px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  max-width: 760px;
  gap: 24px;
}
.hero h1 {
  font-family: 'Roboto Slab', serif;
  font-size: 2.5rem;
  margin-bottom: 8px;
  color: #153972;
  font-weight: 800;
}
.hero p {
  color: #21867a;
  font-size: 1.25rem;
  margin-bottom: 20px;
}
.hero .cta-primary {
  margin-top: 18px;
}
/* Features grids */
.features .feature-grid, .features .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features .feature-item {
  margin-bottom: 24px;
}
@media (max-width: 992px) {
  .features .feature-grid, .features .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
}

/****************************************
 * CTA BUTTONS, SUBTEXT, & INTERACTIVES *
 ****************************************/
.cta-primary {
  display: inline-block;
  font-family: 'Roboto Slab', serif;
  background: #21867a;
  color: #fff;
  border-radius: 12px;
  padding: 12px 30px;
  font-size: 1.16rem;
  font-weight: bold;
  letter-spacing: 0.01em;
  border: none;
  box-shadow: 0 4px 14px rgba(33,134,122,0.13);
  transition: background 0.19s, color 0.13s, box-shadow 0.19s, transform 0.13s;
  outline: none;
  margin-top: 8px;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #153972;
  color: #fff;
  box-shadow: 0 6px 20px rgba(33,134,122,0.17);
  transform: translateY(-3px) scale(1.03);
}
.cta-subtext {
  color: #21867a;
  font-size: 1.04rem;
  margin-top:12px;
}

/***********************************
 * ABOUT / TRUST BADGES / LISTING  *
 ***********************************/
.trusted-by, .integrity-badges, .peer-review-badges, .benefit-icons, .expert-profiles {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.trusted-by img, .integrity-badges img, .peer-review-badges img, .benefit-icons img {
  height: 36px;
  width: auto;
  background: #e7eff6;
  border-radius: 8px;
  padding: 6px;
}
@media(max-width: 768px) {
  .trusted-by, .integrity-badges, .peer-review-badges, .benefit-icons, .expert-profiles {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/**********************
 * TESTIMONIALS SLIDER (static)
 **********************/
.testimonials {
  background: #fafcfe;
  padding-top: 50px;
  padding-bottom: 60px;
  border-top: 2.5px solid #e7eff6;
  border-bottom: 2.5px solid #e7eff6;
}
.testimonials h2 {
  color: #153972;
  font-size: 2rem;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
@media (max-width: 968px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
}

/*********************************
 * FOOTER, CONTACT & SOCIAL LINKS    *
 *********************************/
footer {
  background: #e7eff6;
  padding: 38px 0 24px 0;
  border-top: 3px solid #153972;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #153972;
  font-family: 'Roboto Slab', serif;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 7px;
  transition: background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #21867a;
  color: #fff;
}
.contact-info {
  margin-top: 10px;
  color: #153972;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-info strong {
  color: #21867a;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.social-links img {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: #fff;
  transition: background 0.13s, transform 0.16s;
}
.social-links a:hover img, .social-links a:focus img {
  background: #21867a;
  transform: scale(1.13) rotate(-4deg);
}


/***************************************
 * LEGAL SECTIONS, CONTACT & SUCCESS
 *************************************** */
.legal, .contact, .success {
  padding: 50px 0 56px 0;
}
.legal .content-wrapper, .contact .content-wrapper, .success .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 11px rgba(21,57,114,0.048);
  padding: 36px 28px;
}
@media (max-width: 768px) {
  .legal .content-wrapper, .contact .content-wrapper, .success .content-wrapper {
    padding: 20px 10px;
  }
}

/***********************************
 * FORMS, PRICES, MODALS
 ***********************************/
.price, .price strong {
  color: #21867a;
  font-size: 1.15rem;
  font-family: 'Roboto Slab', serif;
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem !important; }
  h2 { font-size: 1.19rem !important; }
  .hero h1 { font-size: 1.5rem !important; }
  .hero p { font-size: 1.0rem !important; }
  .footer-nav { gap: 8px; }
}

/************************************************
 * COOKIE CONSENT BANNER & MODAL
 ************************************************/
#cookie-banner {
  position: fixed;
  left: 15px; right: 15px; bottom: 12px;
  background: #fff;
  color: #153972;
  box-shadow: 0 6px 28px rgba(21,57,114,0.09);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 28px 18px 28px;
  z-index: 3999;
  gap: 18px;
  font-size: 1rem;
  max-width: 440px;
  animation: cookieBannerSlideIn .5s cubic-bezier(.7,.08,.41,1) both;
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(48px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
#cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Roboto Slab', serif;
  border-radius: 7px;
  border: none;
  font-size: 1rem;
  padding: 8px 18px;
  font-weight: bold;
  cursor: pointer;
  background: #21867a;
  color: #fff;
  transition: background 0.16s, color 0.12s, transform 0.12s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #153972;
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.cookie-settings {
  background: #e7eff6;
  color: #153972;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #21867a;
  color: #fff;
}

#cookie-modal {
  position: fixed;
  z-index: 5000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(18,38,58,0.36);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFade .2s cubic-bezier(.6,.02,.41,1) both;
}
@keyframes cookieModalFade { from{ opacity: 0; } to {opacity: 1;} }
#cookie-modal .modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 34px 30px 32px 30px;
  box-shadow: 0 8px 35px rgba(21,57,114,0.14);
  min-width: 300px;
  max-width: 400px;
  color: #153972;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#cookie-modal h3 {
  font-size: 1.29rem;
  color: #21867a;
  font-family: 'Roboto Slab', serif;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}
#cookie-modal label {
  font-weight: 600;
  color: #153972;
  cursor: pointer;
}
#cookie-modal .modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
}

/*********************************************
 * UTILITY, RESPONSIVE, FLEX LAYOUTS & SPACING
 *********************************************/
@media (max-width: 768px) {
  .container { padding-left:13px; padding-right:13px; }
  .header-bar { min-height: 60px; gap: 8px; }
  .card, .feature-item { padding: 18px 10px; }
  .card, .feature-item, .testimonial-card { min-width: 220px; }
}
@media (max-width: 600px) {
  .container { max-width: 99vw; }
  .section, .hero, .features, .testimonials, .cta, .about, .legal, .success {
    margin-bottom: 18px; padding: 14px 5px;
  }
  .footer-nav { flex-direction: column; gap: 6px; }
  .trusted-by, .contact-info, .social-links { text-align: center; justify-content: center; }
  .testimonials, .cta, .about, .legal, .success {
    padding: 12px 0 14px 0;
  }
}

/***************************************************
 * GEOMETRIC SYTLE ANGULAR BORDERS & DECOR ELEMENTS
 ***************************************************/
.card, .feature-item, .testimonial-card, .content-wrapper, .legal .content-wrapper {
  border-radius: 18px 6px 18px 6px / 7px 17px 7px 17px; /* Geometric, angular corners */
}

/*************
 * SHADOWS   *
 *************/
.card, .feature-item, .testimonial-card, .content-wrapper, .legal .content-wrapper {
  box-shadow: 0 2px 13px 0 rgba(33,134,122,0.08), 0 1.5px 4px rgba(21,57,114,0.02);
}

/*****************************************
 * MICRO-INTERACTIONS & SMOOTH EFFECTS   *
 *****************************************/
.card, .feature-item, .cta-primary, .testimonial-card, .footer-nav a {
  transition: box-shadow 0.20s, background 0.20s, border 0.18s, color 0.15s, transform 0.11s;
}

/******************
 * TYPOGRAPHY HIERARCHY
 ******************/
body, .legal, .contact, .success {
  font-size: 1rem;
  line-height: 1.7;
}
@media (min-width: 1200px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }
}

/******************
 * MISC UTILITIES *
 ******************/
[tabindex]:focus, button:focus, a:focus {
  outline: 2px solid #21867a;
  outline-offset: 1.5px;
}

/********************
 * OVERRIDE SYSTEM  *
 *******************/
::-webkit-input-placeholder { color: #8ca2c3; }
:-moz-placeholder { color: #8ca2c3; }
::-moz-placeholder { color: #8ca2c3; }
:-ms-input-placeholder { color: #8ca2c3; }
::placeholder { color: #8ca2c3; }

/* Hide scroll for mobile menu */
.mobile-menu.open {
  overflow-y: auto;
}

/* Utility class for hiding */
.hidden { display: none !important; }

/* Make sure no overlapping at all */
.card + .card, .feature-item + .feature-item, .testimonial-card + .testimonial-card {
  margin-top: 20px;
}

/* Prevent absolute overlap (only decoratives allowed) */
.card, .testimonial-card, .feature-item, .content-wrapper {
  position: relative;
  z-index: 1;
}

/* INDUSTRY STANDARD FONT INCLUDES */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* End of style.css for NEUTRON FAKTUM */
