/* --- 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F4F7FA;
  color: #19344A;
  min-height: 100vh;
  line-height: 1.5;
  font-size: 1rem;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: linear-gradient(115deg, #F4F7FA 60%, #eaf0f7 100%);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #19344A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EEC05A;
}
ul, ol {
  padding-left: 1.25em;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #19344A;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1E2D3D;
  margin-bottom: 14px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: #19344A;
  margin-bottom: 10px;
  line-height: 1.2;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #19344A;
}
strong {
  font-weight: 600;
}

.text-section ul, .text-section ol {
  margin-bottom: 18px;
}
.text-section li {
  margin-bottom: 10px;
  font-size: 1rem;
}

/* --- MAIN LAYOUT & FLEX CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1220px;
  padding: 0 20px;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(25, 52, 74, 0.08);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 32px 0 rgba(25,52,74,0.13);
  transform: translateY(-2px) scale(1.02);
}

.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;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(25,52,74,0.07);
  color: #19344A;
  font-size: 1rem;
  position: relative;
  flex: 1 1 250px;
  min-width: 230px;
  max-width: 440px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(25,52,74,0.16);
  transform: scale(1.012);
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card strong {
  font-weight: 700;
  display: block;
  color: #19344A;
  font-size: 0.98rem;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(25,52,74,0.08);
  border-radius: 14px;
  padding: 26px 20px 20px 20px;
  min-width: 240px;
  flex: 1 1 270px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-item:hover {
  box-shadow: 0 7px 28px 0 rgba(25,52,74,0.10);
  transform: scale(1.015);
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

/********** HEADER & NAVIGATION ***********/
header {
  background: linear-gradient(90deg, #19344A 75%, #2e4054 100%);
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 22px 0 rgba(25,52,74,0.07);
  position: relative;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  height: 75px;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.19s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #EEC05A;
  border-bottom: 2.5px solid #EEC05A;
}
.cta.primary {
  background: linear-gradient(90deg, #EEC05A 75%, #f3d27c 100%);
  color: #19344A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  margin-left: 24px;
  font-size: 1.03rem;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 8px rgba(25,52,74,0.07);
  cursor: pointer;
  transition: background 0.19s, color 0.13s, box-shadow 0.12s;
  outline: none;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #ffd570 75%, #eeb937 100%);
  color: #19344A;
  box-shadow: 0 3px 16px 0 rgba(238,192,90,0.10);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin-left: 22px;
  cursor: pointer;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #EEC05A;
}

/***** MOBILE MENU *****/
.mobile-menu {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(115deg,#19344A 90%, #28425D 100%);
  box-shadow: 0 8px 32px 0 rgba(25,52,74,0.13);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 44px;
  transition: transform 0.36s cubic-bezier(0.6,0.01,0.41,1), opacity 0.2s;
  transform: translateX(100%);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 5px;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #EEC05A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 24px 32px 0 32px;
  gap: 26px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(238,192,90,0.08);
  transition: color 0.19s, background 0.15s;
  border-radius: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #EEC05A;
  background: rgba(238,192,90,0.05);
}

/* --- HERO, CTA, GENERIC SECTION STYLES --- */
.hero, .news-hero, .thank-you-section {
  background: linear-gradient(110deg, #EEC05A 6%, #F4F7FA 92%);
  border-bottom: 2px solid #EEC05A;
  padding-top: 48px;
  padding-bottom: 40px;
}
.hero .content-wrapper,
.news-hero .content-wrapper,
.thank-you-section .content-wrapper {
  align-items: flex-start;
  justify-content: center;
}
.cta-section .content-wrapper {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.cta-section {
  background: linear-gradient(90deg, #FFE9B0 2%, #F4F7FA 98%);
  padding: 32px 0 !important;
  margin-bottom: 0 !important;
  border-radius: 12px;
}
.cta-section .cta.primary {
  margin: 0;
}

/******** USP, INFOS, SPECIAL SECTIONS ********/
.usp {
  background: #fff;
  box-shadow: 0 4px 28px rgba(25,52,74,0.07);
  border-radius: 16px;
  margin-bottom: 44px;
  padding: 32px 0 28px 0;
}
.usp ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: flex-start;
  list-style: disc inside;
  font-size: 1.05rem;
  color: #1E2D3D;
  font-weight: 500;
}
.usp li {
  background: #F4F7FA;
  padding: 10px 22px;
  border-radius: 8px;
  min-width: 190px;
  box-shadow: 0 1px 7px 0 #e3e7ef72;
}

.infobox, .finance-charts, .profit-factors, .innovation, .tech-overview, .news-feed, .insights, .faq {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(25,52,74,0.07);
  margin-bottom: 42px;
  padding: 38px 0 32px 0;
}

/********** TABLE STYLES - COMPARISON ***********/
.comparison-table {
  width: 100%;
  margin: 28px 0 30px 0;
  overflow-x: auto;
  border-radius: 12px;
  background: #F4F7FA;
  box-shadow: 0 1px 8px 0 rgba(25,52,74,0.06);
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  min-width: 650px;
}
.comparison-table th,
.comparison-table td {
  padding: 13px 18px;
  text-align: left;
}
.comparison-table th {
  background: #EEC05A;
  color: #19344A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 2px solid #FFD570;
}
.comparison-table td {
  background: #fff;
  border-bottom: 1px solid #eaf0f7;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

/*********** FOOTER *************/
footer {
  background: linear-gradient(90deg, #19344A 70%, #22384d 100%);
  color: #fff;
  padding: 0;
  margin-top: 60px;
  border-top: 2px solid #EEC05A;
}
.footer-content {
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 38px 0 24px 0;
}
.footer-content img {
  height: 36px;
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #EEC05A;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.98rem;
  color: #fff;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
  display: inline;
}

/******* FAQ SECTION ********/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.faq-item {
  background: #f6fafd;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(25,52,74,0.05);
  padding: 16px 20px;
}
.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1.09rem;
}

/********* NEWS FEED/INSIGHTS ********/
.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  color: #19344A;
}
.opinion-piece {
  background: #F4F7FA;
  padding: 18px 18px 12px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 1px 7px 0 #e3e7ef52;
}

/*********** THANK YOU PAGE ***********/
.thank-you-section {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

/********** BUTTONS & INTERACTIVE ***********/
button, .cta.primary {
  font-family: inherit;
  outline: none;
  cursor: pointer;
}
/* Remove extra blue inner shadow on FF */
button::-moz-focus-inner {
  border: none;
}

/********** COOKIE CONSENT BANNER ***********/
.cookie-consent-banner {
  position: fixed;
  z-index: 2000;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #19344A 95%, #22384d 100%);
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(25,52,74,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 34px;
  font-size: 1rem;
  transition: transform 0.37s cubic-bezier(.36,.01,.17,1),opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(140%);
  pointer-events: none;
}
.cookie-text {
  flex: 1 1 320px;
}
.cookie-btns {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 22px;
  margin: 0;
  background: #EEC05A;
  color: #19344A;
  transition: background 0.18s, color 0.13s, box-shadow 0.1s;
  box-shadow: 0 1px 6px 0 rgba(238,192,90,0.13);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFD570;
  color: #1E2D3D;
}
.cookie-btn.secondary {
  background: #fff;
  color: #19344A;
  border: 1px solid #EEC05A;
}
.cookie-btn.secondary:hover {
  background: #EEC05A;
  color: #19344A;
}

/****** COOKIE MODAL ******/
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2100;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25,52,74,0.27);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.16s;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 4px 32px 0 rgba(25,52,74,0.20);
  width: 100%;
  max-width: 430px;
  margin-bottom: 0;
  padding: 32px 32px 22px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: cookieModalEnter 0.35s cubic-bezier(.3,.93,.49,1.02);
}
@keyframes cookieModalEnter {
  from { opacity: 0; transform: translateY(120px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #19344A;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  padding: 7px 0;
}
.cookie-category label {
  font-weight: 500;
  color: #1E2D3D;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  border-radius: 9px;
  background: #eaeaea;
  position: relative;
  outline: none;
  transition: background 0.19s;
}
.cookie-toggle:checked {
  background: #EEC05A;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: 0 1px 6px #eec05a49;
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 18px;
}

/****** FORM ELEMENTS (if appear, e.g. newsletter) ******/
input[type="text"], input[type="email"], textarea {
  border: 1px solid #e5e8ef;
  background: #F4F7FA;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.17s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #EEC05A;
  outline: none;
}

/************** MEDIA QUERIES & RESPONSIVE *************/
@media (max-width: 1100px) {
  .footer-content {
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}

@media (max-width: 900px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .features .feature-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .usp ul {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 65px;
    padding: 0 12px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0 20px 0;
  }
  .usp ul {
    flex-direction: column;
    gap: 12px;
  }
  .section {
    padding: 24px 10px;
    margin-bottom: 38px;
  }
  .hero, .news-hero, .thank-you-section {
    padding: 32px 0 24px 0;
  }
  .content-grid, .card-container, .testimonials .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px !important;
  }
}

@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 6px;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px;
    gap: 14px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 20px 7px 18px 7px;
  }
}

/********* UTILITY CLASSES ******/
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.bg-accent { background: #F4F7FA !important; }
.bg-primary { background: #19344A !important; color: #fff !important; }
.bg-secondary { background: #EEC05A !important; color: #19344A !important; }
.rounded-12 { border-radius: 12px !important; }
.text-center { text-align: center !important; }

/**************************************/
/* --- END OF GRADIENT MODERN STYLE --- */
/**************************************/
