/* RESET & BASE STYLES */
html,
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li,
div, span, a,
img, nav, section,
main, header, footer, button,
figure, figcaption, blockquote, pre, code {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
  font-style: normal;
}

html { scroll-behavior: smooth; background: #181e22; }

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #eefae8;
  background: linear-gradient(135deg, #192925 0%, #181e22 100%);
  font-size: 16px;
  line-height: 1.7;
}

img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #77efab;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #00ffc7;
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.6em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 6px;
  font-size: 1em;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e5fff3;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #39cf7c 10%, #52edaa 90%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 24px rgba(0,255,185, 0.09);
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #39cf7c;
  text-shadow: 0 2px 12px rgba(25, 216, 106, 0.10);
}
h3 {
  font-size: 1.17rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: #eefae8;
}
strong {
  color: #68ffa4;
  font-weight: 700;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.content-wrapper img {
  width: 100px;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX PATTERNS - no grid */
.card-container,
.feature-grid,
.service-preview-grid,
.services-cards,
.benefit-list,
.features-detail,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card, .services-cards > div, .feature-grid > div, .features-detail > div {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #202a25;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(21,231,108,0.14);
  padding: 32px 24px;
  transition: box-shadow .25s, transform .21s;
  border: 2px solid rgba(49,255,186,0.07);
  min-width: 260px;
  flex: 1 1 260px;
}
.card:hover, .services-cards > div:hover, .feature-grid > div:hover, .features-detail > div:hover {
  box-shadow: 0 8px 36px 0 rgba(49,255,186,0.23), 0 0 6px 1px #38e1a7;
  transform: translateY(-4px) scale(1.018);
  z-index: 2;
  border-color: #39cf7c;
}
.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: flex-start;
  gap: 20px;
  padding: 24px;
  background: #e1ffe8;
  color: #19321c;
  border-radius: 16px;
  box-shadow: 0 8px 24px 0 rgba(39, 255, 136, 0.12);
  margin-bottom: 24px;
  min-width: 260px;
  border: 1.5px solid #39cf7c;
  transition: box-shadow 0.23s;
}
.testimonial-card p {
  color: #1d3823;
  font-size: 1.07em;
}
.testimonial-info {
  font-size: 0.98em;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #195a33;
  margin-top: -8px;
}
.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-info-card {
  background: #151e17;
  padding: 22px 18px;
  border-radius: 11px;
  border: 1.5px solid #38e1a7;
  box-shadow: 0 2px 10px rgba(56, 225, 167, 0.09);
  color: #80e2b1;
  font-size: 1em;
  margin-bottom: 20px;
}
.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.benefit-list ul, .features-detail ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* NAVIGATION */
header {
  width: 100%;
  background: #17211f;
  box-shadow: 0 4px 32px rgba(39, 255, 136, 0.10);
  position: relative;
  z-index: 40;
  padding-bottom: 1px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 20px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
}
.main-nav > a {
  color: #d2ffe3;
  padding: 6px 18px;
  border-radius: 33px;
  position: relative;
  transition: background 0.20s, color 0.17s;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #171;
  color: #39cf7c;
}
.main-nav img {
  height: 38px;
  width: auto;
  margin-right: 18px;
}
.cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: #39cf7c;
  color: #131a15;
  padding: 12px 32px;
  border: none;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1rem;
  box-shadow: 0 2px 16px rgba(56, 225, 167, 0.13);
  cursor: pointer;
  transition: background 0.21s, color 0.13s, box-shadow .21s;
  outline: none;
  margin-left: 18px;
  margin-right: 4px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #05feae;
  color: #132619;
  box-shadow: 0 7px 28px 2px #05feae;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #171e1d;
  color: #25f4af;
  font-size: 2rem;
  border: none;
  box-shadow: 0 3px 16px rgba(90,255,183, 0.11);
  cursor: pointer;
  z-index: 51;
  transition: background .16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #39cf7c;
  color: #181e22;
  outline: none;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #161d1e; /* solid for better perf */
  z-index: 60;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 64px;
  padding-left: 28px;
  transition: transform 0.33s cubic-bezier(.6,.04,.25,1), opacity 0.33s;
  transform: translateX(100vw);
  opacity: 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: #181e22;
  color: #39cf7c;
  font-size: 2.1rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  z-index: 62;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #39cf7c;
  color: #181e22;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 18px;
  margin-bottom: 35px;
  width: 90vw;
}
.mobile-nav a {
  font-size: 1.32rem;
  color: #e2fff1;
  padding: 16px 0 8px 3px;
  border-radius: 13px;
  transition: background 0.16s, color 0.14s;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #181e22;
  color: #39cf7c;
  outline: none;
}

/* Footer */
footer {
  background: #181e22;
  color: #b0fae7;
  box-shadow: 0 -1px 20px #232d25;
  padding-bottom: 0;
  border-top: 1.5px solid #32c289;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 15px;
}
.footer-nav a {
  color: #91ffc4;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 0 10px 0 0;
  font-size: 1em;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #05feae;
  text-decoration: underline;
}
.footer-contact {
  margin-top: 10px;
  font-size: 0.97em;
  color: #c0e9d8;
  font-family: 'Roboto', Arial, sans-serif;
}
footer img {
  height: 28px;
  margin-bottom: 8px;
}

/* Cookie Consent BANNER */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #1b2221;
  color: #defbe6;
  padding: 28px 24px 18px 24px;
  box-shadow: 0 -2px 24px rgba(49,255,186,0.13);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border-top: 2px solid #39cf7c;
  animation: cookiebanner-slidein .44s cubic-bezier(.6,.04,.25,1);
}
@keyframes cookiebanner-slidein {
  0% {transform: translateY(100%); opacity: 0; }
  80% {opacity: 1;}
  93% {transform: translateY(-5%);}
  100% {transform: translateY(0);}
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding: 8px 22px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  background: #39cf7c;
  color: #161d1e;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.13s;
}
.cookie-btn.accept {
  background: #39cf7c;
  color: #161d1e;
}
.cookie-btn.reject {
  background: #fa5757;
  color: #fff;
}
.cookie-btn.settings {
  background: #202a25;
  color: #39cf7c;
  border: 1.2px solid #39cf7c;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #05feae;
  color: #111;
}
.cookie-btn.reject:hover {
  background: #d13a3a;
  color: #fff;
}

/* Cookie Consent MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 160;
  top: 0; left: 0; width:100vw; height:100vh;
  background: rgba(24, 30, 34, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiebackdrop-fade 0.23s ease;
}
@keyframes cookiebackdrop-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #191c1d;
  color: #e0ffe4;
  padding: 38px 28px 22px 28px;
  border-radius: 18px;
  width: 96vw;
  max-width: 440px;
  box-shadow: 0 8px 42px 0 #16c98d44, 0 0 8px 1px #38e1a7;
  animation: cookiemodal-pop 0.33s cubic-bezier(.6,.04,.25,1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes cookiemodal-pop {
  0% { transform: scale(0.86); opacity:0; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal h3 {
  color: #38e1a7;
  margin-bottom: 6px;
  font-size: 1.22rem;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 28px;
  top: 20px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #39cf7c;
  cursor: pointer;
  z-index: 4;
  border-radius: 20px;
  transition: background 0.20s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: #253d2b;
  outline: none;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.cookie-category label {
  font-size: 1.05em;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px; height: 24px; margin-left: 10px;
}
.cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #39cf7c;
  border-radius: 24px;
  transition: background .18s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #05feae;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
  background: #39cf7c;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn.settings {
  background: #181e22;
  color: #39cf7c;
}

/* COMPONENTS */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-preview-grid > div,
.services-cards > div,
.feature-grid > div,
.features-detail > div {
  flex: 1 1 220px;
}
.service-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.service-preview-grid .cta-btn {
  align-self: flex-end;
  margin-bottom: 0;
  margin-top: 20px;
}
.benefit-list ul ul {
  padding-left: 1.6em;
  gap: 8px;
  font-size: 0.97em;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details h2 {
  margin-bottom: 0;
}
/* Section-specific tweaks */
.text-section {
  padding: 20px 0;
}
.text-section h2, .text-section h3 {
  margin-top: 20px;
  margin-bottom: 8px;
}
.text-section ul {
  margin-bottom: 12px;
}

/* Animations */
.cta-btn, .cookie-btn {
  transition: background .21s, color .15s, box-shadow .19s, transform .17s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .main-nav {
    font-size: 1.01rem;
    gap: 15px;
  }
  .card, .services-cards > div, .feature-grid > div, .features-detail > div {
    min-width: 220px;
    padding: 22px 14px;
  }
}
@media (max-width: 840px) {
  .main-nav > a:not(.cta-btn) { display: none; }
  .main-nav img { margin-right: 0; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    max-width: 100vw;
    padding-left: 0;
    padding-right: 0;
  }
  .service-preview-grid, .feature-grid, .features-detail, .services-cards, .testimonials-slider {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 18px;
  }
  section, .section {
    margin-bottom: 32px;
    padding: 22px 8px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .service-preview-grid, .services-cards, .feature-grid, .features-detail, .testimonials-slider {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card, .services-cards > div, .feature-grid > div, .features-detail > div {
    padding: 18px 9px;
  }
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
}
@media (max-width: 480px) {
  .cookie-modal { padding: 19px 5vw 20px 5vw; }
  .footer-nav { gap: 7px; }
}

/* Overlap Prevention for Cards */
.card, .services-cards > div, .feature-grid > div, .features-detail > div, .testimonial-card {
  margin-right: 0;
  margin-bottom: 20px;
}

/* Utility */
[hidden] { display: none !important; }

/* CUSTOM SCROLLBARS */
body {
  scrollbar-width: thin;
  scrollbar-color: #39cf7c #181e22;
}
::-webkit-scrollbar {
  width: 8px;
  background: #181e22;
}
::-webkit-scrollbar-thumb {
  background: #39cf7c;
  border-radius: 8px;
}

/* Microinteractions for icon buttons */
button:focus-visible {
  outline: 2px solid #05feae;
  outline-offset: 1px;
}

/* Decorative neon lines for cards (decorative only/absolute) */
.card::after, .services-cards > div::after, .feature-grid > div::after, .features-detail > div::after {
  content: '';
  display: block;
  position: absolute;
  left: 10px; right: 10px; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #39cf7c 40%, #05feae 60%, transparent 100%);
  border-radius: 2px;
  opacity: 0.2;
  pointer-events: none;
}

/* Accent inline-code block style (for legal pages) */
.text-section code {
  background: #11b12d21;
  color: #39cf7c;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: .97em;
}
