/* --- 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #181c20;
  color: #F5F3EA;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  background-color: #181c20;
  /* Futuristic tech gradient background using brand colors */
  background-image: linear-gradient(135deg, #316146 0%, #181c20 70%, #303B30 100%);
  font-size: 16px;
}
img { max-width: 100%; height: auto; border-radius: 12px; }
a { color: #D9472C; text-decoration: none; transition: color 0.15s; }
a:hover, a:focus { color: #FF795D; text-decoration: underline; }
ul, ol { margin: 0 0 16px 24px; }
li { margin-bottom: 6px; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
}

/* --- BRAND TYPOGRAPHY --- */
h1, .hero h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #F5F3EA;
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 2px 20px #31614655;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #F5F3EA;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  line-height: 1.18;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #D9472C;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #F5F3EA;
}
p, .text-section p, .feature-item p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #F5F3EA;
  margin-bottom: 14px;
  line-height: 1.6;
}
strong, b { font-weight: 700; color: #F5F3EA; }
.text-section h2, .text-section h3, .text-section h1 { color: #F5F3EA; }

/* --- CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #232b25;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 #31614622, 0 0 0 2px #31614608;
  padding: 28px 30px 24px 30px;
  transition: box-shadow 0.26s, transform 0.26s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 32px 0 #D9472C55, 0 0 0 2px #D9472C55;
  transform: translateY(-2px) scale(1.02);
}
.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;
  background: #f5f3eacc;
  color: #222b18;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 14px 0 #31614618;
  position: relative;
  font-size: 1.07rem;
  max-width: 600px;
  width: 100%;
}
.testimonial-card p {
  color: #222b18;
  margin-bottom: 0;
  line-height: 1.55;
  font-size: 1.07rem;
}
.testimonial-card strong {
  color: #316146;
  font-size: 1rem;
  font-weight: bold;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: rgba(24,28,32,0.96);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px 0 #31614622;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 18px;
}
header img {
  height: 48px;
  border-radius: 8px;
  filter: drop-shadow(0 2px 18px #31614644);
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-left: 38px;
}
header nav a {
  color: #F5F3EA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.17s, border 0.17s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: #D9472C;
  border-bottom: 2px solid #D9472C;
}
.cta-btn.primary {
  background: #D9472C;
  color: #F5F3EA;
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-left: 42px;
  border: none;
  box-shadow: 0 2px 14px 0 #D9472CCC;
  cursor: pointer;
  outline: none;
  transition: background 0.22s, box-shadow 0.17s, color 0.2s;
  position: relative;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: #FF795D;
  color: #181c20;
  box-shadow: 0 4px 24px 0 #FF795D88;
}
.cta-btn {
  display: inline-block;
  background: #316146;
  color: #F5F3EA;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 12px 0 #31614655;
  cursor: pointer;
  outline: none;
  transition: background 0.18s, box-shadow 0.14s, color 0.19s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #42A96A;
  color: #181c20;
  box-shadow: 0 6px 22px #42A96A66;
}

/* --- HERO BANNER --- */
.hero {
  width: 100%;
  min-height: 270px;
  background: linear-gradient(128deg, #316146 0%, #232b25 100%);
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  box-shadow: 0 8px 32px #31614611;
  border-radius: 0 0 20px 20px;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 44px;
  padding: 38px 20px 34px 20px;
}
.hero .content-wrapper {
  gap: 18px;
  max-width: 680px;
}
.hero p {
  color: #F5F3EA;
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.45;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 12px;
  margin-bottom: 16px;
}
.feature-grid > div {
  background: #232b25;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #31614622, 0 0 0 2px #232b2544;
  padding: 26px 22px 20px 22px;
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: transform 0.19s, box-shadow 0.16s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div img {
  height: 40px;
  width: 40px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 6px #D9472C44);
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 5px 26px 0 #D9472C65, 0 0 0 2px #D9472C44;
  transform: translateY(-4px) scale(1.025);
}
.feature-grid > div h3 {
  margin-bottom: 7px;
}

/* --- TEXT BLOCKS --- */
.text-section {
  background: #232b25;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px #3161461E;
}
.text-section ul,
.text-section ol {
  margin-left: 22px;
}
.text-section li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #F5F3EA;
}
.text-section a { color: #FF795D; text-decoration: underline; }
.text-section a:hover,
.text-section a:focus { color: #D9472C; }

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #151A20;
  color: #cbd8d4;
  box-shadow: 0 -3px 18px #31614611;
  border-radius: 18px 18px 0 0;
  font-size: 1rem;
  margin-top: 36px;
  letter-spacing: 0.005em;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 12px 18px 12px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 6px;
}
footer nav a {
  color: #C1FFE2;
  font-weight: 500;
  transition: color 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  color: #D9472C;
  text-decoration: underline;
}
footer p {
  color: #A8ADA9;
  font-size: 0.92rem;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #316146;
  color: #F5F3EA;
  font-size: 2rem;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 202;
  justify-content: center;
  align-items: center;
  border: none;
  box-shadow: 0 2px 18px #31614644;
  transition: background 0.16s, color 0.14s, box-shadow 0.15s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #D9472C;
  color: #fff;
  box-shadow: 0 6px 30px #D9472C66;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26, 27, 32, 0.98);
  box-shadow: 0 10px 36px #31614699;
  z-index: 201;
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  opacity: 1;
  pointer-events: auto;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  display: block;
  background: #D9472C;
  color: #FFF;
  font-size: 2rem;
  position: absolute;
  top: 27px;
  right: 24px;
  border: none;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  z-index: 204;
  box-shadow: 0 2px 22px #D9472CCC;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #316146;
  color: #fff;
}
.mobile-nav {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.mobile-nav a {
  color: #F5F3EA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 0;
  border-radius: 6px;
  width: 90vw;
  text-align: center;
  transition: background 0.18s, color 0.14s;
  background: transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #316146BB;
  color: #D9472C;
}

@media (max-width: 1060px) {
  .container {
    max-width: 96vw;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .feature-grid {
    gap: 16px;
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .section, .hero .container, .text-section, .feature-grid > div, .card {
    padding-left: 14px;
    padding-right: 14px;
  }
  .card,
  .feature-grid > div {
    min-width: 90vw;
    max-width: 96vw;
  }
  .testimonial-card {
    max-width: 96vw;
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none !important;
  }
  .cta-btn.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    position: fixed;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .hero {
    min-height: 170px;
    border-radius: 0 0 12px 12px;
    margin-bottom: 32px;
  }
  .hero .container {
    flex-direction: column;
    gap: 8px;
    padding: 28px 10px 24px 10px;
  }
  h1, .hero h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.32rem;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 13px 10px;
  }
  .card, .feature-grid > div, .text-section {
    padding: 14px 10px;
    border-radius: 13px;
  }
  .section {
    margin-bottom: 32px;
    padding: 18px 0;
  }
  .mobile-nav {
    margin-top: 90px;
  }
}
@media (max-width: 460px) {
  .container, .section, .text-section { padding-left: 4vw; padding-right: 4vw; }
  .card, .feature-grid > div { padding: 7vw 4vw; }
  .mobile-nav a { width: 96vw; font-size: 1rem; }
}

/* --- INTERACTIONS & MICRO-ANIMATIONS --- */
.card, .feature-grid > div, .cta-btn, .cta-btn.primary, .testimonial-card, .mobile-menu {
  transition: box-shadow 0.22s, background 0.20s, color 0.21s, transform 0.18s;
}
.cta-btn:active, .cta-btn.primary:active {
  transform: scale(0.97);
  box-shadow: 0 0 0 2px #D9472C33;
}
@media (hover: hover) {
  .card:hover, .feature-grid > div:hover, .testimonial-card:hover {
    box-shadow: 0 5px 32px #D9472C3F;
    transform: scale(1.018) translateY(-3px);
  }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(94deg, #181c20 80%, #316146 100%);
  color: #F5F3EA;
  padding: 23px 18px 17px 18px;
  z-index: 3000;
  box-shadow: 0 -6px 32px #31614633;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  animation: slideInCookieBanner 0.54s cubic-bezier(.33,0,.13,1);
}
@keyframes slideInCookieBanner {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: none; }
}
.cookie-consent-banner p {
  color: #F5F3EA;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.48;
}
.cookie-consent-btn, .cookie-settings-btn {
  background: #316146;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 1rem;
  margin-left: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.17s, color 0.18s, box-shadow 0.19s;
  box-shadow: 0 1px 7px #31614655;
}
.cookie-consent-btn.reject {
  background: #D9472C;
}
.cookie-consent-btn.accept {
  background: #316146;
}
.cookie-consent-btn:hover, .cookie-settings-btn:hover {
  background: #D9472C;
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: #F5F3EA;
  border: 2px solid #316146;
  margin-left: 8px;
}
.cookie-settings-btn:hover {
  background: #316146;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 96vw;
  max-width: 380px;
  background: #232b25;
  color: #F5F3EA;
  border-radius: 22px;
  box-shadow: 0 7px 38px #31614688;
  z-index: 4000;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity .33s, transform .33s;
  padding: 36px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal-header {
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #F5F3EA;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 28px;
  height: 28px;
  accent-color: #316146;
  border-radius: 9px;
  border: 2px solid #316146;
  margin-right: 7px;
}
.cookie-category input[type="checkbox"][disabled] {
  accent-color: #D9472C;
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 2px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 2rem;
  background: none;
  color: #D9472C;
  border: none;
  cursor: pointer;
  line-height: 1;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  transition: background 0.11s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #31614633;
}
@media (max-width: 600px) {
  .cookie-modal {
    width: 96vw;
    padding: 19vw 4vw 9vw 4vw;
    max-width: 98vw;
    border-radius: 12px;
  }
  .cookie-category input[type="checkbox"] {
    width: 24px; height: 24px;
  }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
    background: #232b25;
}
::-webkit-scrollbar-thumb {
  background: #316146;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #42A96A;
}

/* -- MISC -- */
hr {
  border: none;
  border-top: 1px solid #31614644;
  margin: 28px 0;
}

/* --- SELECTION COLORS --- */
::selection {
  background: #D9472C;
  color: #F5F3EA;
}

/* ---- INVISIBLE UTILS (for smooth hiding on mobile) ---- */
@media (max-width: 900px) {
  header nav {
    display: none !important;
  }
  .cta-btn.primary {
    display: none !important;
  }
  .mobile-menu-toggle{
    display: flex !important;
  }
}

/* --- END OF STYLE.CSS --- */
