/* ================================
   CSS RESET & BASE NORMALIZATION
   ================================ */
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, 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;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #35524A 0%, #A3BCB6 100%);
  color: #E9ECDF;
  line-height: 1.6;
}
@media (max-width: 768px) {
  html { font-size: 15px; }
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ================================
   TYPOGRAPHY – TECH FUTURISTIC
   ================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #fff;
  letter-spacing: 0.01em;
  font-weight: 800;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; text-shadow: 0 2px 24px rgba(234,255,238,0.12); }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
p, li {
  color: #E9ECDF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 16px;
}
.subtitle {
  color: #A3BCB6;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 8px rgba(76,255,199,0.09);
}
a {
  color: #84ffd8;
  text-decoration: none;
  transition: color .22s cubic-bezier(.4,0,.2,1);
}
a:hover, .main-nav a.active {
  color: #fff;
  text-shadow: 0 0 6px #47E0B2, 0 0 20px #B3FFD6;
}

/* ================================
   CONTAINERS & GRID SYSTEM (FLEX ONLY)
   ================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 38px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #395c51;
  border-radius: 20px;
  box-shadow: 0 3px 24px 0 rgba(40,255,220,0.07), 0 1.5px 8px 0 rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1), transform .14s;
}
.card:hover {
  box-shadow: 0 6px 38px 0 #48ffe177, 0 2px 14px #2ad1a777;
  z-index: 1;
  transform: translateY(-4px) scale(1.013);
}

.features {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
  }
}
.feature-card {
  background: #3a5f51;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 #297e60ab, 0 1px 4px #0006;
  border: 1.5px solid #47e0b2;
  padding: 28px 24px 18px 24px;
  color: #E9ECDF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  flex: 1 1 260px;
  position: relative;
  gap: 16px;
  transition: box-shadow .18s, border-color .18s;
}
.feature-card img {
  width: 58px; height: 58px; margin-bottom: 7px; filter: drop-shadow(0 0 9px #5affc3a1);
}
.feature-card:hover {
  border-color: #fff;
  box-shadow: 0 5px 42px #5affeb30, 0 7px 30px #4ae38820;
}

.features .content-wrapper > h2,
.features .content-wrapper > p {
  align-self: flex-start;
}

/* Services List & Pricing */
.services {
  margin-bottom: 60px;
}
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.services-list li {
  background: #40695e;
  border-radius: 16px;
  box-shadow: 0 1.5px 9px #217c79a7;
  padding: 24px 20px 16px 20px;
  color: #E9ECDF;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 3px solid #47e0b2;
  transition: border-color .15s;
}
.services-list li strong {
  color: #ffe499;
  background: #35524A;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.services-list li:hover {
  border-left: 3px solid #fff;
}

/* ================================
   HERO HEADER
   ================================ */
.hero {
  width: 100%;
  min-height: 440px;
  background: linear-gradient(110deg, #395c51 60%, #47e0b2 110%);
  box-shadow: 0 2px 32px rgba(14,255,196,0.12);
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  border-radius: 0 0 42px 42px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
  padding: 32px 0;
}

/* ================================
   CTA BLOCKS
   ================================ */
.cta-block {
  background: #31443d;
  padding: 32px 20px 38px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 22px;
  box-shadow: 0 2px 18px #44f1b91a;
  margin-bottom: 18px;
  gap: 18px;
}
.cta-block h2 { color: #fff; margin-bottom: 4px; text-shadow: 0 1px 18px #68ffd74a; }
.cta-block p { color: #E9ECDF; }

/* ================================
   FLEX PATTERNS & ALIGNMENT
   ================================ */
.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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 24px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8FBF6;
  border-radius: 15px;
  box-shadow: 0 2px 18px #54eed522, 0 1px 4px #0003;
  margin-bottom: 24px;
  color: #222;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  min-width: 220px;
  max-width: 600px;
}
.testimonial-card blockquote {
  color: #1a3e34;
  font-size: 1.13rem;
  margin: 0 0 8px 0;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
}
.testimonial-card cite {
  color: #35524A;
  font-size: .98rem;
  font-style: normal;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .testimonial-card { max-width: 98vw; }
}

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

.text-section {
  margin-bottom: 22px;
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
header {
  width: 100%;
  background: rgba(49,72,64, 0.98);
  backdrop-filter: blur(3px);
  box-shadow: 0 1px 4px #35ffe540;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 10px;
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 26px;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #A3BCB6;
  padding: 9px 0 7px 0;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color .22s, border-color .16s;
}
.main-nav a:hover, .main-nav a.active {
  color: #fff;
  border-bottom: 2px solid #47e0b2;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #47e0b2 4%, #84ffd8 100%);
  color: #184833;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 14px #86c5a740, 0 1px 6px #2fffdd2e;
  padding: 12px 36px;
  margin-left: 28px;
  margin-right: 0;
  cursor: pointer;
  transition: background .21s, color .14s, box-shadow .15s, transform .13s;
  outline: none;
  text-shadow: 0 1px 8px #eff;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #fff 0%, #47e0b2 100%);
  color: #193038;
  box-shadow: 0 5px 28px #38ffe277, 0 4px 6px #0bfab8a1;
  transform: scale(1.034);
}

/* Hamburger (mobile) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: #47e0b2;
  border: none;
  font-size: 2.2rem;
  padding: 8px 18px 8px 12px;
  margin-left: auto;
  cursor: pointer;
  transition: color .18s, background .14s;
  z-index: 60;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #fff;
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }
  .cta-button {
    margin-left: 8px;
    font-size: 1rem;
    padding: 12px 18px;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(39, 54, 48, 0.92);
  box-shadow: -2px 0 34px #68ffd777;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.58,.09,.63,1.07);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #C4F5ED;
  border: none;
  font-size: 2.5rem;
  margin: 30px 34px 7px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color .18s;
}
.mobile-menu-close:hover { color: #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 42px 44px;
  width: min(340px, 80vw);
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 1.17rem;
  padding: 10px 0;
  display: block;
  border-radius: 10px;
  transition: background .16s, color .17s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #47e0b210;
  color: #47e0b2;
}
@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ================================
   FOOTER
   ================================ */
footer {
  background: #273c35;
  color: #A3BCB6;
  padding: 42px 0 21px 0;
  width: 100%;
  margin-top: 60px;
  box-shadow: 0 -1.5px 20px #44ffd74a;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-logo img {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 180px;
  font-size: 1rem;
}
.footer-contact strong {
  color: #47e0b2;
  font-weight: 700;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  min-width: 164px;
}
.footer-nav a {
  font-family: 'Montserrat', sans-serif;
  color: #A3BCB6;
  font-size: 0.98rem;
  transition: color .17s;
}
.footer-nav a:hover {
  color: #fff;
}
@media (max-width: 768px){
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-nav { align-items: flex-start; }
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
   ================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(49, 72, 64, 0.96);
  color: #fff;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  padding: 18px 24px;
  box-shadow: 0px -1.5px 18px #47e0b285;
  gap: 28px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: transform .32s cubic-bezier(.77,.01,.32,1.13), opacity .24s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0 16px 0 0;
  color: #fff;
  font-size: 1rem;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  border: none;
  border-radius: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  margin: 0 2px;
  background: #47e0b2;
  color: #184833;
  transition: background .18s, color .13s, box-shadow .15s;
  box-shadow: 0 1.5px 6px #4ae38870;
}
.cookie-btn.accept {
  background: linear-gradient(90deg, #ffd47f 0%, #47e0b2 100%);
  color: #184833;
}
.cookie-btn.reject {
  background: #e75d41;
  color: #fff;
}
.cookie-btn.settings {
  background: #35524A;
  color: #A3BCB6;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #273c35;
  box-shadow: 0 5px 18px #2fffdd7b;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 8px 18px 12px;
  }
  .cookie-actions {
    flex-direction: column;
    gap: 11px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 4400;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,34,34,0.7);
  justify-content: center;
  align-items: center;
  transition: opacity .26s;
}
.cookie-modal-overlay.show {
  display: flex;
}
.cookie-modal {
  background: #23312c;
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 42px #18ffd570, 0 2px 14px #51e2732e;
  min-width: 310px;
  max-width: 92vw;
  padding: 36px 32px 28px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: showmodal .35s cubic-bezier(.27,1,.21,1.09);
}
@keyframes showmodal {
  0% { transform: scale(0.89) translateY(80px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 9px;
  font-size: 1.23rem;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 1px 12px #41fae773;
}
.cookie-category {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #E9ECDF;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 13px;
  background: #A3BCB6;
  position: relative;
  cursor: pointer;
  transition: background .13s;
  vertical-align: middle;
  margin-right: 10px;
}
.cookie-toggle[aria-checked="true"] {
  background: #47e0b2;
}
.cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  width: 18px; height: 18px;
  top: 1px; left: 1px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px #7bffc5a6;
  transition: left .15s cubic-bezier(.4,0,.2,1);
}
.cookie-toggle[aria-checked="true"]::after {
  left: 17px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  flex-direction: row;
  margin-top: 12px;
}
.cookie-modal .modal-actions .cookie-btn {
  font-size: .97rem;
  padding: 9px 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 18px;
  font-size: 1.8rem;
  color: #47e0b2;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal-close:hover {
  color: #fff;
}

/* ================================
   FORMS & CONTACT
   ================================ */
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
input, textarea, select {
  padding: 12px 14px;
  border-radius: 11px;
  border: 1.5px solid #47e0b245;
  background: #31443d;
  color: #E9ECDF;
  margin-bottom: 18px;
  width: 100%;
  transition: border-color .14s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #47e0b2;
  background: #2e483e;
}
label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #A3BCB6;
}
.button, button {
  background: #47e0b2;
  border: none;
  color: #184833;
  border-radius: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 10px 26px;
  cursor: pointer;
  margin-top: 4px;
  margin-bottom: 8px;
  transition: background .18s, color .13s, box-shadow .16s;
}
.button:hover, button:hover, .button:focus {
  background: #fff;
  color: #35524A;
  box-shadow: 0 2px 18px #49f1d942;
}

/* ================================
   MISC & ANIMATIONS
   ================================ */
::-webkit-scrollbar {
  width: 10px;
  background: #273c35;
}
::-webkit-scrollbar-thumb {
  background: #47e0b299;
  border-radius: 8px;
}
::selection {
  background: #47e0b225;
}

/* Micro-interactions */
.card, .feature-card, .cta-block, .services-list li, .testimonial-card { transition: box-shadow .16s, transform .12s; }
.card:active, .feature-card:active, .cta-block:active {
  transform: scale(0.98);
}

/* ================================
   RESPONSIVENESS
   ================================ */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .footer-logo img, .logo img { height: 38px; }
}
@media (max-width: 700px) {
  .footer-logo img, .logo img { height: 32px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.1rem; }
  .hero {
    min-height: 260px;
    border-radius: 0 0 26px 26px;
    margin-bottom: 20px;
  }
  .services-list li, .feature-card, .cta-block { padding: 17px 9px; }
}

/* Remove margin for last elements */
.content-wrapper > .text-section:last-child,
.services-list li:last-child, .card:last-child { margin-bottom: 0; }

/* ================================
   UTILITY CLASSES
   ================================ */
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0!important; }

/* Visually hidden (for a11y) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ================================
   END
   ================================ */