/* ----------------------------------------------------
   SMARTCENA - TECH FUTURISTIC THEME
   Mobile-first, only flexbox layouts, no grid/columns!
   Palette:
     Primary:   #222E3A (dark blue-gray)
     Secondary: #49B67F (vivid neon green)
     Accent:    #EFEFEF (light)
   UI/UX: Futuristic, sleek, neon accents, soft rounded corners, modern font stack
   Fonts:
     Display:   'Montserrat', Arial, Helvetica, sans-serif
     Body:      'Roboto', Arial, Helvetica, sans-serif
-------------------------------------------------------*/

/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #171C22;
  color: #EFEFEF;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s;
}
main {
  min-height: 60vh;
}
a {
  text-decoration: none;
  color: #49B67F;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #34e1a1;
  outline: none;
}
ul, ol {
  padding-left: 1.25em;
  margin-bottom: 1em;
}
b, strong {
  font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------
   UTILITY CONTAINERS
-------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container,
.card-grid, /* fallback for .card-container pattern */
.features,  /* features list if in flex cards */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #232F3C;
  border-radius: 18px;
  padding: 32px 22px;
  box-shadow: 0 2px 24px 0 rgba(40, 251, 176, 0.08);
  border: 1.5px solid #252F38;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: 0 2px 32px 0 #49B67F55;
  border-color: #49B67F;
}
.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;
  background: #F7F9FC;
  color: #171C22;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  border-radius: 16px;
  margin-right: 20px;
  box-shadow: 0 2px 18px 0 #222E3A22;
  border: 1.5px solid #cceee2;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.13s, transform 0.13s;
  position: relative;
  z-index: 1;
}
.testimonial-card .stars {
  color: #49B67F;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
}
.testimonial-card em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.7;
  font-size: 0.95em;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------
   TYPOGRAPHY
--------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #EFEFEF;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  line-height: 1.13;
  font-weight: 700;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

@media (max-width:600px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.07rem; }
}

p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #d1e2e0;
  margin-bottom: 8px;
}
section .content-wrapper > ul,
section .content-wrapper > ol {
  margin-bottom: 20px;
  color: #cae0dd;
}

blockquote {
  border-left: 4px solid #49B67F;
  background: #202D38;
  color: #EEE;
  padding: 18px 24px;
  border-radius: 10px;
  margin: 24px 0;
}

/* -------------
   HEADER
--------------*/
header {
  background: #222E3A;
  box-shadow: 0 6px 18px 0 #1a232d23;
  position: relative;
  z-index: 200;
  width: 100%;
  padding: 0;
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  padding: 0 20px;
  gap: 20px;
  position: relative;
}
header a img {
  height: 38px;
  width: auto;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.main-nav a {
  color: #c6e6db;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.18s, background 0.16s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #49B67F;
  background: #1e252d;
}
.cta.primary,
.cta.secondary {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 12px 28px;
  transition: background 0.16s, color 0.16s, box-shadow 0.19s, border 0.15s;
  margin-left: 28px;
  box-shadow: 0 2px 14px 0 #49b67f11;
  cursor: pointer;
  outline: none;
  border: none;
}
.cta.primary {
  background: #49B67F;
  color: #171C22;
  border: 2px solid #53e1a0;
  text-shadow: 0 1px 6px #49b67f33;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #34e1a1;
  color: #fff;
  box-shadow: 0 2px 28px 0 #34e1a188;
}
.cta.secondary {
  background: #232F3C;
  color: #49B67F;
  border: 2px solid #49B67F;
}
.cta.secondary:hover,
.cta.secondary:focus {
  color: #fff;
  background: #49B67F;
  box-shadow: 0 2px 28px 0 #49B67F55;
}

header .cta.primary, header .cta.secondary {
  margin-left: 18px;
}

/* ---------------
   HERO SECTIONS
-----------------*/
.hero-section, .cta-banner {
  background: linear-gradient(90deg, #222E3A 10%, #22394a 60%, #222E3A 100%);
  border-bottom: 2.5px solid #263043;
  margin-bottom: 0;
}
.hero-section .container,
.cta-banner .container {
  flex-direction: column;
  align-items: flex-start;
}
.hero-section h1, .cta-banner h1, .cta-banner p {
  color: #fff;
  text-shadow: 0 2px 12px #0b192c66, 0 0px 4px #49B67F35;
}
.hero-section p,
.cta-banner p {
  font-size: 1.16rem;
  color: #d1e2e0;
  margin-bottom: 18px;
}

/* ----------------
   FEATURES
------------------*/
.features {
  background: #1B232C;
  margin-bottom: 60px;
  border-bottom: 1px solid #232F3C;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: center;
  font-size: 1.08em;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #acefd7;
  background: #212b32;
  border-radius: 10px;
  padding: 12px 18px;
  gap: 16px;
  box-shadow: 0 1px 10px 0 #49B67F18;
}
.feature-list img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 4px #49b67f99);
}

/* --------------------
   RANKING, SERVICES, CARDS
-----------------------*/
.service-cards {
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0 8px 0;
}
.service-card {
  background: #232F3C;
  border-radius: 14px;
  box-shadow: 0 1.5px 18px 0 #49B67F08;
  padding: 18px 22px 32px 22px;
  position: relative;
  min-width: 230px;
  max-width: 330px;
  flex: 1 1 210px;
  border: 1.5px solid #262f39;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card h3 {
  color: #49B67F;
  font-size: 1.22em;
}
.price-badge {
  position: absolute;
  bottom: 14px;
  right: 22px;
  background: #49B67F;
  color: #171C22;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.01em;
  padding: 7px 17px 6px 17px;
  box-shadow: 0 1.5px 12px 0 #49B67F24;
}

.ranking-preview, .ranking-list, .mini-reviews {
  background: #1B222C;
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 32px;
  box-shadow: 0 1.5px 12px 0 #49B67F13;
}
.score-badge {
  background: #222E3A;
  color: #49B67F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98em;
  border-radius: 5px;
  padding: 3px 13px;
  margin-left: 10px;
  margin-right: 8px;
  border: 1px solid #49B67F;
  letter-spacing: 0.02em;
}
.ranking-list ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.ranking-list li {
  background: #232f39;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  font-size: 1.09em;
}
.ranking-list a.cta.secondary {
  margin-left: auto;
  font-size: 0.93em;
  padding: 4px 16px;
}

/* ------------------
   TESTIMONIALS
--------------------*/
.testimonials {
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 22px;
}
.trust-signals {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 22px;
  color: #acefd7;
  font-size: 1.01em;
}
.trust-signals img {
  margin-right: 8px;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 3px #49B67F99);
}

/* ---------------
   CTA BANNER
-----------------*/
.cta-banner {
  border-top: 2.5px solid #49B67F22;
  border-bottom: 2px solid #222E3A;
  padding-top: 40px;
  padding-bottom: 40px;
  background: linear-gradient(90deg, #22394a 5%, #222E3A 80%);
}

.cta-banner .cta {
  margin-top: 14px;
}

/* -----------------------------
   LEGAL SECTIONS, INFO CARDS
-------------------------------*/
.legal-section, .about-us, .values, .timeline,
.comparison-tool, .how-it-works, .service-details,
.consultation-steps, .faq, .contact-section, .thank-you-message {
  background: #1A2127;
  border-radius: 13px;
  margin-bottom: 38px;
  box-shadow: 0 1.5px 8px 0 #49B67F11;
}
.legal-section h1, .about-us h1, .values h2,
.timeline h2, .comparison-tool h2, .how-it-works h2,
.service-details h2, .consultation-steps h2 {
  color: #49B67F;
  font-size: 1.42rem;
}

.milestones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list h3 {
  color: #49B67F;
  margin-bottom: 5px;
}

.text-section {
  background: #232F3C;
  border-radius: 9px;
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 10px 0 #49B67F0d;
}

/* ------------------------
   PRODUCT TABLES, TEASERS
--------------------------*/
.product-table {
  background: #222E3A;
  color: #fff;
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 0.99em;
  margin-top: 10px;
  margin-bottom: 18px;
}
.teaser {
  background: #212B32;
  border-left: 4px solid #49B67F;
  color: #B3F7DD;
  padding: 13px 22px;
  border-radius: 8px;
  margin: 24px 0 16px 0;
  font-size: 1em;
}
.pricing-info {
  color: #49B67F;
  font-weight: 600;
  margin-top: 9px;
  font-size: 1.05em;
}

/* -------------------
   FOOTER
--------------------*/
footer {
  background: #171C22;
  padding: 36px 0 16px 0;
  border-top: 3px solid #1e272d;
  color: #c1dbd2;
  font-size: 0.99em;
  letter-spacing: 0.01em;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
footer .footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  color: #49B67F;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.93rem;
  margin-bottom: 10px;
}
footer .footer-nav a {
  color: #49B67F;
  transition: color 0.14s;
}
footer .footer-nav a:hover,
footer .footer-nav a:focus {
  color: #34e1a1;
}
footer .contact-info {
  margin-bottom: 6px;
}
footer .footer-bottom {
  margin-bottom: 12px;
}
footer .footer-bottom img {
  height: 28px;
}
footer .social-icons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 8px;
}
footer .social-icons img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 5px #49B67F99);
  background: #181E25;
  border-radius: 50%;
  padding: 2.5px;
}

/* -------------------------
   MOBILE MENU (Burger nav)
--------------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #49B67F;
  font-size: 2.1rem;
  cursor: pointer;
  margin-left: auto;
  margin-right: 2px;
  z-index: 210;
  transition: color 0.16s;
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 340px;
  height: 100vh;
  background: #141a24;
  box-shadow: -6px 0 32px 0 #49B67F33;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.55,.01,.38,1.1);
  padding: 36px 26px 24px 26px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -12px 0 38px 0 #49B67F44;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #49B67F;
  font-size: 2rem;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: #EFEFEF;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.14em;
  padding: 10px 7px 10px 0;
  border-radius: 6px;
  transition: background 0.12s, color 0.14s;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #49B67F;
  background: #212b32;
}

/* Overlay for mobile menu */
body.mobile-menu-active::after {
  content: '';
  display: block;
  position: fixed;
  z-index: 950;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: #171C22BB;
  transition: opacity 0.22s;
}

/* -------------------
   COOKIE CONSENT BANNER
---------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #202C39;
  color: #EFEFEF;
  font-size: 1em;
  z-index: 4000;
  width: 100%;
  padding: 22px 18px 22px 18px;
  box-shadow: 0 -2px 20px 0 #49B67F33;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.34s, opacity 0.22s;
  border-top: 2px solid #49B67F66;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.02em;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.12s;
}
.cookie-banner .accept {
  background: #49B67F;
  color: #171c22;
  box-shadow: 0 2px 8px #49B67F44;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #34e1a1;
  color: #fff;
}
.cookie-banner .reject {
  background: #232F3C;
  color: #c1dbd2;
  border: 1.5px solid #49B67F;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #49B67F;
  color: #171c22;
}
.cookie-banner .settings {
  background: #232F3C;
  color: #49B67F;
  border: 1.5px solid #49B67F;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #49B67F;
  color: #171c22;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 120%);
  z-index: 4050;
  width: 96vw;
  max-width: 480px;
  background: #232F3C;
  color: #EFEFEF;
  border-radius: 16px;
  box-shadow: 0 6px 120px 0 #4EEFC570;
  padding: 34px 30px 28px 30px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s, opacity 0.23s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%);
}
.cookie-modal h2 {
  color: #49B67F;
  font-size: 1.19em;
  margin-bottom: 8px;
}
.cookie-modal .close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  color: #49b67f;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin: 8px 0;
}
.cookie-modal label {
  font-size: 1.02em;
  color: #b5e9d6;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #49B67F;
  width: 20px;
  height: 20px;
  margin-right: 2px;
}
.cookie-modal .always-on {
  color: #a8ffdc;
  font-weight: 700;
  font-size: 0.98em;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 15px;
}
.cookie-modal .save {
  background: #49B67F;
  color: #171C22;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal .save:hover,
.cookie-modal .save:focus {
  background: #34e1a1;
  color: #fff;
}

/* -------------------
   RESPONSIVE DESIGN
--------------------*/
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
    padding: 0 7px;
  }
  header .container {
    gap: 10px;
    padding: 0 7px;
  }
  .service-cards, .card-container, .features {
    gap: 16px;
  }
  .testimonial-slider {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section,
  .hero-section .container,
  .cta-banner .container {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  .service-cards, .card-container, .features {
    gap: 13px;
    flex-direction: column;
  }
  .testimonial-slider {
    flex-direction: column;
  }
  .milestones, .ranking-list ul {
    gap: 7px;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 7px;
    min-height: 52px;
  }
  .cta.primary, .cta.secondary, .cta-banner .cta {
    width: 100%;
    margin: 0;
    justify-content: center;
    text-align: center;
  }
  .section, .hero-section, .cta-banner {
    padding: 28px 7px;
  }
}
@media (max-width:520px) {
  h1 { font-size: 1.12rem; }
  h2 { font-size: 1.01rem; }
  .hero-section .cta, .cta-banner .cta {
    font-size: 1em;
    padding: 10px 12px;
  }
  .service-card {
    padding: 15px 8px 30px 12px;
  }
  .testimonial-card {
    padding: 12px 6px;
    min-width: unset;
    max-width: 99vw;
  }
  .cookie-modal {
    padding: 18px 4px 12px 10px;
    max-width: 98vw;
  }
}

/* -------------------
   MICRO-INTERACTIONS
--------------------*/
.card, .service-card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.14s, border-color 0.13s;
}
.card:hover, .service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 4px 26px 0 #49B67F2f;
  border-color: #49B67F;
  z-index: 3;
}
.testimonial-card:hover {
  transform: scale(1.025);
  box-shadow: 0 4px 40px 0 #232F3C22;
  border-color: #49B67F;
  z-index: 3;
}
.cta.primary:active, .cta.secondary:active, .cookie-banner button:active {
  transform: scale(0.96);
}
.mobile-menu,
.cookie-modal {
  will-change: transform, opacity;
}

/* Focus Outlines Accessibility */
:focus-visible {
  outline: 2px solid #49B67F;
  outline-offset: 2px;
}

/* Prevent Unwanted Overlaps */
.section, .service-card, .testimonial-card, .card, .feature-item, .footer-nav, .social-icons {
  margin-bottom: 20px;
}
section .section, section .service-card, section .testimonial-card,
section .card, section .feature-item {
  margin-bottom: 0;
}

/* Utility for visually hidden (for accessible overlays etc.) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0;
  padding: 0; margin: 0;
}

/* End of CSS */
