/* ---------- 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #0a1d2c;
  min-height: 100vh;
  color: #f2f7f9;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  color: inherit;
  outline: none;
}

/* ---------- FONT FACE ---------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg,#0a1d2c 0%, #142d47 40%, #1877b5 100%);
  background-repeat: no-repeat;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F2F7F9;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 14px; }
h3 { font-size: 1.125rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol, li { font-size: 1rem; color: #e0ecf5; margin-bottom: 10px; line-height: 1.7; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }

/* ---------- CONTAINERS ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(20, 45, 71, 0.6);
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(24,119,181,0.12);
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
  width: 100%;
  background: rgba(13,34,53,0.94);
  border-bottom: 1px solid #1877B5;
  box-shadow: 0 2px 10px 0 rgba(24,119,181,0.13);
  position: sticky;
  top: 0; z-index: 110;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  max-height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 6px #1877B585);
  transition: filter 0.3s;
}
.logo:hover img { filter: drop-shadow(0 0 18px #17fff3cc); }
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat',sans-serif;
  font-size: 1rem;
  color: #F2F7F9;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #17fff3;
  border-bottom: 2px solid #17fff3;
}

.cta-btn {
  padding: 10px 32px;
  background: #1877B5;
  border-radius: 40px;
  color: #f2f7f9;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 12px #1877b546, 0 0 0 0 #17fff3;
  border: none;
  transition: background 0.18s, box-shadow 0.38s, color 0.25s;
  outline: none;
  position: relative;
  z-index: 1;
  cursor: pointer;
  margin-left: 16px;
  margin-top: 0px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #17fff3;
  color: #142d47;
  box-shadow: 0 2px 16px #17fff376, 0 0 0 4px #1877B5;
}

/* --- Mobile burger menu (hidden on desktop) --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px; right: 26px;
  z-index: 200;
  background: #0a1d2c;
  color: #17fff3;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  border: 2px solid #17fff3;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px #17fff360;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #17fff3;
  color: #0a1d2c;
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #0a1d2cd9;
  backdrop-filter: blur(8px);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.65,.05,.33,1);
  box-shadow: 0 0 32px #1877B570;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 20px 0 0;
  background: none;
  color: #f2f7f9;
  font-size: 2rem;
  cursor: pointer;
  border: 2px solid #17fff3;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1d2c;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #17fff3;
  color: #0a1d2c;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px 28px 16px 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.249rem;
  color: #F2F7F9;
  padding: 10px 0;
  border-bottom: 2px solid #1877B5;
  border-radius: 6px;
  background: none;
  transition: background 0.22s, color 0.22s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #17fff3;
  color: #0a1d2c;
}

/* ---------- HERO SECTIONS ---------- */
.hero {
  width: 100%;
  background: linear-gradient(125deg, #1877B5 29%, #218E5B 100%);
  border-radius: 0 0 42px 42px;
  box-shadow: 0 6px 48px #1877B536;
  padding: 52px 0 40px 0;
  margin-bottom: 44px;
}
.hero > .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #fff;
  text-shadow: 0 0 18px #17fff390;
  margin-bottom: 18px;
  line-height: 1.15;
}
.hero p {
  max-width: 540px;
  color: #EFFCFF;
  font-size: 1.12rem;
  margin-bottom: 26px;
}
.hero .cta-btn {
  margin-top: 6px;
}

/* ---------- FLEXBOX LAYOUTS ---------- */
.feature-grid, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div, .service-cards > div {
  background: rgba(19,43,74,0.97);
  border-radius: 19px;
  box-shadow: 0 2px 20px #17fff340;
  padding: 28px 22px 24px 22px;
  flex: 1 1 210px;
  min-width: 220px;
  max-width: calc(25% - 22px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #218e5b55;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid img, .service-cards img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 18px #17fff390);
}
.feature-grid h3, .service-cards h3 {
  color: #17fff3;
  margin-bottom: 8px;
}
.feature-grid p, .service-cards p {
  color: #e0ecf5;
  font-size: 0.99rem;
  line-height: 1.6;
  margin-bottom: 0px;
}
.service-cards a {
  margin-top: 12px;
  padding: 6px 18px;
  background: #142d47;
  border: 1px solid #17fff3;
  color: #17fff3;
  border-radius: 19px;
  font-size: 0.98rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition: background 0.19s, color 0.18s;
  cursor: pointer;
}
.service-cards a:hover, .service-cards a:focus {
  background: #17fff3;
  color: #142d47;
}

/* Card container utility class */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #142D47;
  border-radius: 16px;
  box-shadow: 0 2px 16px #1877b53d;
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
}

/* Content grid utility */
.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: #f2f7f9;
  color: #142D47;
  border-radius: 20px;
  box-shadow: 0 2px 18px #0177b515;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 280px;
  border-left: 5px solid #17fff3;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px #218e5b2d, 0 0 0 2px #17fff3;
  transform: translateY(-5px) scale(1.025);
}
.testimonial-card p {
  color: #223c57;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: #1877B5;
}
.testimonial-info img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 7px #1877B544);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

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

.step-icons {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.step-icons img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 15px #17fff3af);
}

.cta-section {
  width: 100%;
  background: #218E5B;
  border-radius: 32px;
  box-shadow: 0 2px 28px #1877b525;
  margin-bottom: 36px;
}
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta-section h2 {
  color: #f2f7f9;
}
.cta-section p {
  color: #f2f7f9;
}
.cta-section .cta-btn {
  margin-top: 12px;
}

/* ---------- TABLES ---------- */
.pricing-table {
  width: 100%;
  background: #f2f7f9;
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 1px 8px #1877b540;
  margin-bottom: 16px;
  color: #223c57;
  font-size: 1rem;
}
.pricing-table th,
.pricing-table td {
  padding: 16px 18px;
}
.pricing-table th {
  background: #1877B5;
  color: #f2f7f9;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
}
.pricing-table tr {
  border-bottom: 1px solid #1877b53c;
}
.pricing-table tr:last-child {
  border-bottom: none;
}
.pricing-table td {
  background: #f8fcff;
}

/* ---------- FOOTER ---------- */
footer {
  background: #142d47;
  color: #f2f7f9;
  padding: 36px 0 0 0;
  margin-top: 64px;
  border-top: 2px solid #17fff380;
  box-shadow: 0 -2px 16px #1877b535;
  position: relative;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #1877B550;
}
.footer-main > a img {
  width: 104px;
  height: auto;
  filter: drop-shadow(0 0 8px #17fff340);
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}
footer nav a {
  color: #17fff3;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  transition: color 0.15s;
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  color: #1877b5;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
  color: #EFFCFF;
  margin-top: 12px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
  filter: drop-shadow(0 0 8px #17fff335);
}
.footer-bottom {
  text-align: center;
  color: #17fff3;
  padding: 16px 0 12px 0;
  font-size: 0.97rem;
}

/* ---------- UTILITY ---------- */
.cta-link {
  color: #17fff3;
  font-family: 'Montserrat',sans-serif;
  font-size: 1.05rem;
  border-bottom: 1.5px dashed #17fff3;
  transition: color 0.18s, border-color 0.18s;
}
.cta-link:hover, .cta-link:focus {
  color: #218e5b;
  border-bottom: 1.5px dashed #218e5b;
}
.text-section {
  margin-bottom: 18px;
}
.text-section ul {
  margin-left: 22px;
  list-style: disc;
  color: #f2f7f990;
}
.text-section li {
  margin-bottom: 7px;
}
.text-section img {
  width: 22px;
  vertical-align: middle;
  margin-right: 5px;
}

/* --- Accessibility & Focus States --- */
a:focus, button:focus, .cta-btn:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #17fff3;
  outline-offset: 2px;
}

/* ---------- RESPONSIVE (MOBILE-FIRST) ---------- */
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .footer-main {
    gap: 26px;
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-grid, .service-cards, .testimonial-slider {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  header .container, .footer-main {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 16px;
    align-self: start;
  }
  .hero {
    border-radius: 0 0 34px 34px;
    padding: 39px 0 24px 0;
  }
  .feature-grid, .service-cards, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .service-cards > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .step-icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  p, .text-section li, .footer-contact { font-size: 0.98rem; }
  .hero .container {
    padding: 0 5px;
  }
  .section {
    padding: 18px 5px 26px 5px;
  }
  .footer-main {
    padding-bottom: 6px;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .pricing-table th, .pricing-table td {
    padding: 8px 5px;
    font-size: 0.95rem;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ---------- COOKIE CONSENT BANNER ---------- */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #142D47;
  color: #f2f7f9;
  z-index: 1300;
  padding: 22px 22px 22px 30px;
  box-shadow: 0 -2px 18px #1877B570;
  transition: transform 0.3s;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(200%);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  margin-left: auto;
}
.cookie-btn {
  padding: 7px 17px;
  border-radius: 22px;
  font-size: 1rem;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  border: 1.8px solid #17fff3;
  background: #17fff3;
  color: #142d47;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.14s;
}
.cookie-btn.settings {
  background: #142D47;
  color: #17fff3;
  border: 1.8px solid #17fff3;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #218E5B;
  color: #fff;
  border-color: #218E5B;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #0a1d2cc5;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: #f2f7f9;
  color: #142d47;
  border-radius: 20px;
  box-shadow: 0 9px 50px #17fff340;
  padding: 36px 32px 30px 32px;
  max-width: 410px;
  width: 92%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1rem;
}
.cookie-modal h3 {
  color: #1877B5;
  margin: 0 0 10px 0;
  font-size: 1.25rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category-row label {
  flex: 1;
  color: #1877B5;
  font-weight: 600;
}
.cookie-category-row input[type=checkbox] {
  accent-color: #17fff3;
  width: 18px; height: 18px;
}
.cookie-category-row .always-on {
  color: #218E5B;
  font-size: 0.92rem;
  margin-left: 8px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
  .cookie-modal {
    padding: 18px 7px 16px 7px;
    width: 98%;
  }
}

/* Hide scroll when modal open */
body.cookie-modal-open {
  overflow: hidden;
}

/* ---------- ANIMATIONS ---------- */
@keyframes buttonPulse {
  0% { box-shadow: 0 0 0 0 rgba(23,255,243, 0.44); }
  60% { box-shadow: 0 0 0 15px rgba(23,255,243, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23,255,243, 0); }
}
.cta-btn, .cookie-btn {
  animation: buttonPulse 1.65s infinite;
  animation-delay: 0.3s;
}
.cta-btn:active, .cookie-btn:active {
  animation: none;
}
.mobile-menu.open, .cookie-modal-overlay {
  animation: fadeInScale 0.24s cubic-bezier(.51,.16,.41,1.01);
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.97); }
  85% { opacity: 0.99; }
  100% { opacity: 1; transform: scale(1); }
}

/* --- Success, error banners --- */
.success-banner, .error-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #17fff3;
  color: #142D47;
  border-radius: 14px;
  padding: 13px 26px;
  font-size: 1rem;
  box-shadow: 0 1px 8px #142d4744;
  margin-bottom: 22px;
  transition: opacity 0.26s;
}
.error-banner {
  background: #f44336;
  color: #fff;
}

/* --- Hide visually utility for a11y --- */
.visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
