/* 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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #E9F7F5;
  background: #232a2c;
  min-height: 100vh;
  font-size: 16px;
  -webkit-tap-highlight-color: rgba(0,0,0,0.02);
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  transition: filter 0.2s;
}

/* BRAND COLORS -- fallback if no custom property used */
:root {
  --color-primary: #34504D;
  --color-secondary: #82A66E;
  --color-accent: #F6F2EA;
  --color-dark: #202728;
  --color-bg-offset: #2d3739;
  --color-neon: #31ffd7;
  --color-error: #ff2363;
}

/* TYPOGRAPHY */
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #232a2c;
  color: #E9F7F5;
  letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Serif', 'Montserrat', serif;
  font-weight: 700;
  color: #eafff7;
  line-height: 1.13;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  text-shadow: 0 0 22px rgba(49,255,215,0.2);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--color-neon);
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, li {
  color: #b4ecdc;
  margin-bottom: 10px;
  font-size: 1rem;
}
ul, ol {
  margin-left: 22px;
  padding-left: 0;
}
ul li, ol li {
  list-style-type: disc;
  margin-bottom: 8px;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #212726;
  border-radius: 22px;
  box-shadow: 0 4px 48px 0 rgba(49,255,215,0.055);
}
.hero-section {
  display: flex;
  min-height: 420px;
  background: linear-gradient(90deg,#25332d 80%,#34504D 120%);
  border-radius: 0 0 44px 44px;
  position: relative;
  box-shadow: 0 3px 55px 0 rgba(49,255,215,0.05);
  align-items: center;
  margin-bottom: 60px;
  padding: 0;
}
.hero-section .container {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* HEADER */
header {
  background: #13181a;
  box-shadow: 0 4px 36px 0 rgba(49,255,215,0.08);
  z-index: 90;
  width: 100%;
  position: sticky;
  top: 0;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 18px;
}
.header-wrapper img {
  max-height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.main-nav a {
  color: #c8ffe9;
  padding: 7px 14px;
  border-radius: 14px;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-neon);
  color: #142115;
  box-shadow: 0 0 16px 0 var(--color-neon), 0 2px 8px 0 #20c1a9;
}
.cta-button {
  background: var(--color-neon);
  color: #222d29;
  border-radius: 999px;
  padding: 10px 33px;
  box-shadow: 0 0 28px 0 rgba(49,255,215,0.15);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  border: none;
  margin-left: 9px;
  transition: background 0.25s, color 0.2s, box-shadow 0.2s, filter 0.2s;
  outline: 0;
  text-shadow: 0 1px 10px rgba(29,255,170,0.13);
  position: relative;
  z-index: 2;
}
.cta-button:hover, .cta-button:focus {
  filter: brightness(1.15) drop-shadow(0 0 9px #31ffd7);
  background: #45fff8;
  color: #17413c;
  box-shadow: 0 0 36px 0 #31ffd7, 0 1px 20px #2fffc5;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-neon);
  font-size: 2.2rem;
  padding: 2px 10px;
  border-radius: 12px;
  margin-left: 8px;
  transition: background 0.15s, filter 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #0e1617;
  filter: brightness(1.25) drop-shadow(0 0 8px #31ffd7);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,38,36,0.96);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--color-neon);
  font-size: 2.2rem;
  border: none;
  align-self: flex-end;
  margin: 28px 18px 0 0;
  border-radius: 8px;
  padding: 3px 12px;
  transition: background 0.2s, filter 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #243d39;
  filter: brightness(1.2) drop-shadow(0 0 8px #31ffd7);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 60px 24px 24px 34px;
  width: 100vw;
}
.mobile-nav a {
  color: #eafff7;
  background: #243731;
  font-size: 1.25rem;
  padding: 15px 18px;
  border-radius: 16px;
  font-weight: 700;
  margin-bottom: 3px;
  box-shadow: 0 0 15px 0 rgba(49,255,215,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-shadow: 0 1px 8px rgba(49,255,215,0.09);
  min-width: 130px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-neon);
  color: #15302a;
  box-shadow: 0 0 20px 0 #31ffd7;
}

/* ~~~~~~~~~~~~~~ FLEXBOX PATTERNS ~~~~~~~~~~~~ */
.feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {
  margin-bottom: 20px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: 19px;
  background: #10241e;
  box-shadow: 0 1px 25px 0 rgba(49,255,215,0.09);
  padding: 23px 20px 20px 20px;
  transition: box-shadow 0.2s, border 0.22s;
}
.card:hover {
  box-shadow: 0 4px 38px 0 #31ffd7;
  border: 1px solid #31ffd7;
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f6f2ea;
  color: #14291f;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 36px 0 rgba(49,255,215,0.09), 0 0 1px #2226;
  min-width: 240px;
  min-height: 120px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.2s;
}
.testimonial-card p {
  color: #232a2c;
  font-style: italic;
  font-size: 1.03rem;
}
.testimonial-author {
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 8px 48px 0 #31ffd7;
  transform: translateY(-2px) scale(1.029);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #233631;
  border-radius: 16px;
  padding: 26px 24px 23px 24px;
  min-width: 220px;
  min-height: 180px;
  box-shadow: 0 2px 16px 0 rgba(49,255,215,0.07);
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 6px #31ffd7cf);
}
.feature-item:hover {
  box-shadow: 0 4px 22px 0 #31ffd7;
  transform: translateY(-3px) scale(1.045);
}

/* SECTION SPACING (MANDATORY) */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card-container > *, .feature-grid > *, .content-grid > * {
  margin-bottom: 0 !important;
}

/* ABOUT SECTION */
.about-section {
  background: #262e2c;
  border-radius: 22px;
  box-shadow: 0 1px 13px 0 rgba(49,255,215,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.about-section ul {
  margin-left: 18px;
}

/* PARTNER LOGOS */
.partner-logos {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
  margin-bottom: 18px;
}
.partner-logos img {
  height: 66px;
  width: auto;
  filter: grayscale(0) drop-shadow(0 0 6px #31ffd744);
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.faq-accordion h3 {
  color: var(--color-neon);
  margin-bottom: 12px;
}
details {
  background: #243731;
  color: #eafff7;
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 10px 16px;
  box-shadow: 0 1px 8px 0 rgba(49,255,215,0.09);
  transition: box-shadow 0.18s;
}
details[open] {
  box-shadow: 0 4px 26px 0 #31ffd765;
}
details summary {
  cursor: pointer;
  font-weight: bold;
}

/* --- FOOTER --- */
footer {
  background: #1a1f22;
  color: #b4ecdc;
  padding: 27px 0 22px 0;
  margin-top: 50px;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -2px 25px 0 rgba(49,255,215,0.09);
}
footer .container {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 0.98rem;
}
.footer-menu a {
  color: #31ffd7;
  opacity: 0.85;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: opacity 0.16s, border 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  opacity: 1;
  border-color: #31ffd7;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-start;
  font-size: 0.97rem;
  min-width: 220px;
  margin-bottom: 17px;
  line-height: 1.5;
}
.footer-contact img {
  max-height: 38px;
  width: auto;
}
.footer-contact a {
  color: #82A66E;
  text-decoration: underline;
  transition: color 0.21s;
}
.footer-contact a:hover {
  color: var(--color-neon);
}
.footer-social {
  display: flex;
  gap: 19px;
  align-items: center;
  margin-bottom: 18px;
}
.footer-social a img {
  height: 28px;
  filter: grayscale(1) brightness(1.4) drop-shadow(0 0 8px #31ffd748);
  transition: filter 0.19s;
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(1.12) drop-shadow(0 0 16px #31ffd7);
}

/* CONTACT SECTION */
.contact-section {
  background: #232e2b;
  border-radius: 22px;
  box-shadow: 0 1px 10px 0 #31ffd743;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* MODALS ~ COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(27,32,32,0.98);
  box-shadow: 0 -2px 40px 0 #31ffd743;
  color: #f2fff6;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 99999;
  padding: 20px 6vw 22px 6vw;
  font-size: 0.97rem;
  animation: slideUpCookie 0.7s cubic-bezier(.33,1.3,.45,1.01);
}
@keyframes slideUpCookie {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 999px;
  background: var(--color-neon);
  color: #14291f;
  padding: 9px 26px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 0 20px 0 rgba(49,255,215,0.08);
  margin-right: 4px;
  transition: background 0.17s, color 0.18s, filter 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #45fff8;
  color: #17413c;
  filter: brightness(1.11) drop-shadow(0 0 6px #31ffd7);
}
.cookie-btn.secondary {
  background: #222826;
  color: #f1fff6;
  border: 1.5px solid var(--color-neon);
}
.cookie-btn.secondary:hover {
  background: #2c3231;
  color: var(--color-neon);
}

/* COOKIE CONSENT MODAL */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,30,27,0.85);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.36s;
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal__content {
  background: #232e2b;
  color: #eafff7;
  border-radius: 18px;
  max-width: 440px;
  width: 93vw;
  padding: 37px 28px 28px 28px;
  box-shadow: 0 4px 40px 0 #31ffd7bb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: modalAppear 0.7s cubic-bezier(.33,1.3,.45,1.01);
}
@keyframes modalAppear {
  0% { transform: translateY(60px) scale(0.97); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal__close {
  background: none;
  color: var(--color-neon);
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 20px;
  right: 34px;
  cursor: pointer;
  border-radius: 8px;
  padding: 2px 10px;
  transition: background 0.16s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #20322a;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #f6f2ea;
  font-size: 1.07rem;
}
.cookie-category label {
  font-weight: 600;
  cursor: pointer;
}
.cookie-switch {
  width: 40px;
  height: 22px;
  border-radius: 17px;
  background: #2d3935;
  border: 1.4px solid var(--color-neon);
  display: flex;
  align-items: center;
  position: relative;
  transition: background 0.15s;
}
.cookie-switch input { display: none; }
.cookie-switch__slider {
  height: 17px;
  width: 17px;
  background: var(--color-neon);
  border-radius: 50%;
  position: absolute;
  left: 3px;
  transition: left 0.2s;
}
.cookie-switch input:checked + .cookie-switch__slider {
  left: 20px;
  background: var(--color-secondary);
}
.cookie-category.essential label {
  color: #b6fae3;
}
.cookie-category.essential .cookie-switch {
  opacity: 0.6;
  pointer-events: none;
}

/* ~~~~~~ RESPONSIVE DESIGN (Mobile-First) ~~~~~~ */
@media (max-width: 1023px) {
  .container, .main-nav, .footer-contact, .footer-menu {
    flex-wrap: wrap;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .header-wrapper,
  .footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    font-size: 1.08rem;
    padding: 9px 23px;
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .feature-grid,
  .card-container,
  .content-grid,
  .partner-logos,
  .footer-menu,
  .footer-contact,
  .footer-social {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer .container {
    gap: 15px;
    flex-direction: column;
  }
  .testimonial-slider,
  .features-section .feature-grid {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .section,
  .about-section,
  .contact-section {
    padding: 24px 7px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.27rem;
  }
  .hero-section {
    min-height: 250px;
    border-radius: 0 0 26px 26px;
    padding-top: 23px;
    padding-bottom: 23px;
  }
  .partner-logos img {
    height: 38px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.1rem; }
  .footer-menu a { font-size: 0.99rem; }
  .footer-contact,
  .footer-social,
  .footer-menu { min-width: 0; font-size: 0.99rem; }
}

/* ~~~~~~ MISC/EFFECTS ~~~~~~ */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: #1a603b;
  border-radius: 6px;
}
.btn-glow {
  box-shadow: 0 0 18px #31ffd7;
}

/* --- Card slider special (testimonial-slider) --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 14px;
  justify-content: flex-start;
}

/* General focus styles for accessibility */
a:focus, button:focus, input:focus, .cta-button:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  filter: brightness(1.08) drop-shadow(0 0 7px #31ffd7);
}

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

/* Selection highlights */
::selection {
  background: #31ffd7;
  color: #15302a;
}
