/* --- 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F7FAFB;
  color: #233345;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #233345;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD765;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: #233345;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.18;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
p, ul, ol {
  margin-bottom: 16px;
}
.text-center {
  text-align: center;
}

/* --- Utility Classes & Layout Patterns --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(35,51,69,0.04), 0 1.5px 6px 0 rgba(137,161,182,0.07);
}
@media (max-width: 600px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(35,51,69,0.06);
  padding: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* Features and Cards */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0;
  justify-content: space-between;
}
.feature {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 265px;
  background: #f5f7fa;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(137,161,182,0.07);
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.21s, transform 0.21s;
}
.feature img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 8px;
}
.feature:hover {
  box-shadow: 0 4px 14px 0 rgba(35,51,69,0.13);
  transform: translateY(-3px);
}

.trend-grid, .advantages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 24px 0;
  justify-content: space-between;
}
.trend, .advantage {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 350px;
  background: #F7FAFB;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1.5px 8px 0 rgba(137,161,182,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.21s, transform 0.21s;
}
.trend:hover, .advantage:hover {
  box-shadow: 0 4px 14px 0 rgba(35,51,69,0.11);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .feature-grid, .trend-grid, .advantages-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature, .trend, .advantage {
    max-width: 100%;
    min-width: unset;
  }
}

/* Testimonial Cards */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(137,161,182, 0.11);
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px 0 rgba(35,51,69,0.14);
  transform: translateY(-2px);
}
.testimonial-content p {
  color: #233345;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.testimonial-author {
  color: #6A859B;
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .testimonials {
    flex-direction: column;
    gap: 18px;
  }
}

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

/* --- Header / Navigation --- */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 14px 0 rgba(137,161,182, 0.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 0;
}
.logo img {
  height: 40px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #233345;
  padding: 7px 9px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F7FA;
  color: #233345;
}
.cta.primary {
  display: inline-block;
  background: #FFD765;
  color: #233345;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 9px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 6px 0 rgba(137,161,182,0.13);
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.18s;
  margin-left: 16px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #FFEDAE;
  color: #233345;
  box-shadow: 0 4px 12px 0 rgba(255,215,101,0.18);
  transform: translateY(-1px);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  background: #FFD765;
  border-radius: 8px;
  color: #233345;
  font-size: 2rem;
  padding: 6px 12px;
  border: none;
  display: none;
  cursor: pointer;
  transition: background 0.17s;
  z-index: 120;
  margin-left: 16px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFEDAE;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 310px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 30px rgba(35,51,69,0.08);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.44,0.09,0.59,0.63);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #233345;
  align-self: flex-end;
  padding: 13px 19px 9px 9px;
  cursor: pointer;
  margin-top: 8px;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD765;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 30px;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.01rem;
  color: #233345;
  padding: 10px 0 10px 0;
  width: 100%;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F5F7FA;
  color: #FFD765;
}
@media (max-width: 1000px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Overlay for mobile menu (for focus and background fade) */
.mobile-menu.overlay {
  box-shadow: -2px 0 50px rgba(35,51,69,0.13), 0 0 0 9999px rgba(35,51,69,0.11);
}

/* --- Table Styling --- */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.06rem;
  background: #fff;
  box-shadow: 0 1.5px 8px 0 rgba(137,161,182,0.06);
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
}
th, td {
  padding: 12px 10px;
  text-align: left;
}
th {
  background: #F5F7FA;
  font-weight: 600;
  color: #233345;
  font-size: 1.08rem;
}
tbody tr:nth-child(even) {
  background: #F7FAFB;
}
tbody tr:hover {
  background: #FFFAEB;
}
td, th {
  border-bottom: 1px solid #E4E9F0;
}
tbody tr:last-child td, tbody tr:last-child th {
  border-bottom: none;
}

/* Table filter-buttons etc */
.dynamic-filters, .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.dynamic-filters button, .filter-options button {
  background: #F7FAFB;
  border-radius: 6px;
  color: #233345;
  font-size: 1rem;
  padding: 7px 14px;
  border: 1px solid #E4E9F0;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, border 0.14s;
}
.dynamic-filters button:hover, .filter-options button:hover, .dynamic-filters button:focus, .filter-options button:focus {
  background: #FFD765;
  color: #233345;
  border: 1.5px solid #FFD765;
}

.ranking-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.brief-summary {
  margin-top: 8px;
  color: #6A859B;
}

@media (max-width: 700px) {
  table, th, td {
    font-size: 0.98rem;
    padding: 9px 6px;
  }
}

/* --- Footer --- */
footer {
  background: #F5F7FA;
  padding: 38px 0 0 0;
  margin-top: 40px;
  box-shadow: 0 -1.5px 8px 0 rgba(137,161,182,0.08);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 38px 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-basis: 180px;
}
.footer-brand img {
  height: 38px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  transition: transform 0.13s;
}
.footer-social a:hover img {
  transform: scale(1.09) rotate(-3deg);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 185px;
}
.footer-nav a {
  color: #233345;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 2px 1px;
  border-radius: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD765;
  background: #fff3c2;
}
.footer-contact {
  color: #6A859B;
  font-size: 0.97rem;
  margin-top: 6px;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -1px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-brand, .footer-nav, .footer-contact {
    width: 100%;
  }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fffde2;
  color: #233345;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 16px 0 rgba(35,51,69,0.13);
  z-index: 200;
  padding: 22px 12px 22px 12px;
  gap: 16px;
  font-size: 1rem;
  animation: cookie-slideup 0.75s cubic-bezier(0.27, 0.7,0.44,1);
}
@keyframes cookie-slideup {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner button {
  background: #233345;
  color: #FFD765;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.11s;
  box-shadow: 0 1px 8px 0 rgba(137,161,182,0.07);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #FFD765;
  color: #233345;
  box-shadow: 0 2px 12px 0 rgba(35,51,69,0.13);
}
.cookie-banner .cookie-settings-btn {
  background: #f5f7fa;
  color: #233345;
  border: 1.2px solid #E4E9F0;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #FFD765;
  color: #233345;
}

/* --- Cookie Settings Modal --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(35,51,69,0.18);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-fadein 0.22s linear;
}
@keyframes cookie-fadein {
  from { opacity: 0;} to {opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 32px 26px 24px 26px;
  box-shadow: 0 6px 40px 0 rgba(35,51,69,0.17);
  min-width: 320px;
  max-width: 95vw;
  animation: cookie-modal-grow 0.21s cubic-bezier(0.41,0.7,0.55,1.14);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes cookie-modal-grow {
  from {transform: scale(0.94);} to {transform: scale(1);}
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  margin-bottom: 6px;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-setting-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-setting-label {
  flex: 1;
  font-weight: 500;
  color: #233345;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 25px;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 100%;
  height: 100%;
  background: #f5f7fa;
  border-radius: 13px;
  box-shadow: 0 1px 4px 0 rgba(137,161,182,0.07);
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
  outline: none;
  transition: background 0.16s;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: #FFD765;
}
.cookie-toggle .cookie-slider {
  position: absolute;
  top: 2.5px; left: 3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #233345;
  transition: left 0.19s, background 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-slider {
  left: 22px;
  background: #FFD765;
}
.cookie-modal-footer {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cookie-decline-btn {
  background: #f7fafb;
  color: #233345;
  border: 1.2px solid #E4E9F0;
}
.cookie-modal .cookie-decline-btn:hover {
  background: #FFD765;
  color: #233345;
}
/* Hide close X on essential-only modals if wanted */

/* --- Thank You Page Flex --- */
.thank-you-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #f7fafb;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

/* --- Miscellaneous / Visuals / Accessibility --- */
::-webkit-input-placeholder { color: #6A859B; }
::-moz-placeholder          { color: #6A859B; }
:-ms-input-placeholder      { color: #6A859B; }
::placeholder              { color: #6A859B; }

[tabindex]:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #FFD765;
  outline-offset: 1.5px;
}

/* --- Responsive Tweaks --- */
@media (max-width: 600px) {
  h1 {
    font-size: 1.53rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .section, .card, .trend, .advantage, .feature {
    padding: 15px 7px 14px 9px;
    border-radius: 10px;
  }
  .footer-nav, .footer-contact {
    font-size: 0.93rem;
  }
}
@media (max-width: 400px) {
  .cookie-modal-content, .cookie-banner {
    font-size: 0.99rem;
    padding: 11px 4px;
  }
  .container {
    padding: 0 4px;
  }
}

/* --- Hide visually --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0);
  border:0;
}

/* --- Animations for buttons and cards --- */
button, .cta.primary, .cookie-banner button, .feature, .card, .trend, .advantage, .testimonial-card {
  transition: background 0.19s, color 0.18s, transform 0.20s, box-shadow 0.21s;
}

/***** END *****/
