/* ---------------- CSS RESET & NORMALIZE ---------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: #181C24;
  color: #F6F4EB;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
a {
  color: #B2D682;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A2FD6B;
  text-shadow: 0 0 6px #B2D682;
}

/* ---------------- BRAND COLORS AS CSS VARIABLES ---------------- */
:root {
  --primary: #27623A;
  --primary-deep: #183b24;
  --secondary: #B2D682;
  --secondary-bright: #A2FD6B;
  --accent: #F6F4EB;
  --bg-dark: #181C24;
  --bg-darker: #10131A;
  --neon-green: #38FF9B;
  --neon-blue: #33E0FF;
  --error: #FF5277;
  --shadow-futuristic: 0 4px 24px 0 rgba(40,150,80, 0.15), 0 1.5px 6px 0 rgba(50,250,180,0.15);
}

/* ---------------- TYPOGRAPHY ---------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}
em {
  color: var(--accent);
  font-style: italic;
}

/* Typography scale responsive */
@media (max-width: 768px) {
 h1 { font-size: 2rem; }
 h2 { font-size: 1.4rem; }
}

/* ---------------- CONTAINERS & LAYOUTS ---------------- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: var(--primary-deep);
  border-radius: 20px;
  box-shadow: var(--shadow-futuristic);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 6px;
}
.features-grid > div {
  background: var(--bg-darker);
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(50, 250, 180, 0.07);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 350px;
  padding: 28px 18px 18px 18px;
  border: 1.3px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: transform 0.12s, box-shadow 0.12s;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 6px 32px 6px rgba(56,255,155, 0.12);
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px var(--neon-green));
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--primary-deep);
  border-radius: 18px;
  box-shadow: var(--shadow-futuristic);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 340px;
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--accent);
  color: #202d1d;
  box-shadow: 0 2px 22px 0 rgba(40,160,60,.11);
  position: relative;
  flex: 1 1 340px;
  min-width: 250px;
  max-width: 510px;
  border-left: 6px solid var(--neon-green);
  transition: box-shadow 0.22s, border-color 0.2s;
}
.testimonial-card strong {
  color: var(--primary);
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-style: italic;
  color: #343434;
  margin-right: 12px;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 38px 0 rgba(50,250,180,0.13);
  border-left-color: var(--neon-blue);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-info img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px var(--neon-blue));
}

@media (max-width: 900px) {
  .features-grid { flex-direction: column; }
  .testimonial-card { margin-bottom: 24px; }
}
@media (max-width: 768px) {
  .section { padding: 30px 4vw; }
  .container { padding: 0 6px; }
  .features-grid { gap: 18px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------------- BUTTONS & INTERACTIVE ELEMENTS ---------------- */
.btn-primary, .btn-primary:visited {
  display: inline-block;
  background: linear-gradient(95deg, var(--secondary) 0%, var(--primary) 100%);
  color: #161916;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  border: none;
  border-radius: 99px;
  padding: 12px 38px;
  box-shadow: 0 0 18px 1px var(--neon-green);
  transition: background 0.23s, box-shadow 0.23s, color 0.14s, transform 0.14s;
  margin-right: 12px;
  cursor: pointer;
  position: relative;
  outline: none;
  letter-spacing: 0.3px;
  z-index: 2;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(95deg, var(--neon-green) 5%, var(--secondary-bright) 100%);
  color: #10131A;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 32px 2px var(--neon-green);
}

button, .btn, .btn-primary {
  user-select: none;
}

/* ---------------- HEADER & NAVIGATION ---------------- */
header {
  width: 100%;
  position: sticky;
  top: 0;
  background: #10131A;
  box-shadow: 0 12px 32px -20px rgba(56,255,155, 0.13);
  z-index: 30;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  min-height: 74px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--secondary);
  font-weight: 600;
  padding: 10px 0 10px 0;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.16s;
}
header nav a:after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--neon-green);
  border-radius: 2px;
  transition: width 0.19s;
  position: absolute;
  left: 0; right: 0; bottom: 1px;
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
header nav a:hover,
header nav a:focus {
  color: var(--neon-blue);
  text-shadow: 0 0 8px var(--neon-blue);
}
@media (max-width: 900px) {
  header nav { display: none; }
  .btn-primary { display: none; }
}
header img {
  height: 52px;
  width: auto;
  margin-right: 12px;
  filter: drop-shadow(0 0 7px var(--neon-green));
}

/* ---------------- MOBILE MENU ---------------- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--neon-green);
  font-size: 2.2rem;
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.21s, box-shadow 0.2s;
  box-shadow: 0 0 12px 2px rgba(56,255,155, 0.11);
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(40,240,130,0.08);
  color: var(--neon-blue);
}
@media (min-width:900px) {
  .mobile-menu-toggle { display: none !important; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,20,30, 0.97);
  box-shadow: 0 0 60px 0 rgba(50,250,180,0.15);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 28px 8px 0;
  background: none;
  color: var(--neon-green);
  font-size: 2.4rem;
  border-radius: 7px;
  padding: 4px 14px;
  cursor: pointer;
  transition: color 0.19s, background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(38,250,200,0.09);
  color: var(--neon-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 17px;
  margin: 0 auto;
  padding-top: 38px;
  width: 96vw; max-width: 414px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  color: var(--secondary);
  background: rgba(9,11,20,.07);
  border-radius: 10px;
  font-size: 1.27rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 17px 18px;
  margin-bottom: 0px;
  border-left: 5px solid transparent;
  transition: background 0.17s, border-color 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(56,255,155, 0.13);
  color: var(--neon-green);
  border-left: 5px solid var(--neon-green);
}

@media (min-width:900px) {
  .mobile-menu { display: none !important; }
}

/* ---------------- MAIN PAGES LAYOUT ---------------- */
main {
  flex: 1;
  width: 100%;
  margin-top: 0px;
  min-height: 60vh;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  background: linear-gradient(115deg, rgba(39,98,58,0.97) 20%, rgba(24,28,36,0.98) 90%);
  border-radius: 28px;
  box-shadow: 0 4px 18px 1px rgba(56,255,155,0.10);
}
section .container > h2 {
  margin-bottom: 26px;
  color: var(--secondary);
}
@media (max-width: 768px) {
  section { padding: 20px 2vw; margin-bottom: 40px; border-radius: 16px;}
}

/* ---------------- LISTS & CONTENT ---------------- */
ul, ol {
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--accent);
}
ul li, ol li {
  margin-bottom: 11px;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 13px;
  background: var(--neon-green);
  border-radius: 8px;
  box-shadow: 0 0 4px var(--neon-blue);
  vertical-align: middle;
}

/* ---------------- FOOTER ---------------- */
footer {
  width: 100%;
  background: #10131A;
  box-shadow: 0 -10px 40px -16px rgba(56,255,155,.09);
  padding: 32px 0 20px 0;
  margin-top: 30px;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
footer nav a {
  color: var(--accent);
  font-size: 1rem;
  padding: 8px 4px;
  border-radius: 7px;
    transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #1f252c;
  color: var(--secondary);
}
footer p {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0;
  letter-spacing: 0.04em;
  opacity: 0.73;
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; align-items: stretch; gap: 12px;}
  footer nav { margin-bottom: 8px; }
}

/* ---------------- COOKIE CONSENT BANNER ---------------- */
.cookie-banner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(95deg, rgba(39,98,58,1), rgba(17,21,35,0.97));
  color: var(--accent);
  padding: 19px 30px;
  z-index: 9950;
  box-shadow: 0 -6px 30px 0 rgba(36,255,180,0.12);
  font-size: 1rem;
  transition: transform 0.3s, opacity 0.3s;
}
.cookie-banner.closed {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__buttons {
  display: flex;
  flex-direction: row;
  gap: 19px;
  align-items: center;
}
.cookie-banner button {
  padding: 10px 28px;
  margin-left: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: var(--secondary);
  color: #143211;
  box-shadow: 0 0 8px 0 var(--neon-green);
  margin-right: 7px;
  transition: background 0.16s, color 0.18s, box-shadow 0.14s;
}
.cookie-banner button.accept {
  background: var(--neon-green);
  color: #202B14;
  box-shadow: 0 0 10px 2px var(--neon-green);
}
.cookie-banner button.reject {
  background: var(--error);
  color: #fff;
  box-shadow: 0 0 12px 1px rgba(255,82,119,0.18);
}
.cookie-banner button.settings {
  background: var(--secondary);
  color: #103611;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--neon-blue);
  color: #112110;
  box-shadow: 0 0 19px 6px var(--neon-blue);
}
@media (max-width: 650px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px 6vw; gap: 11px; }
  .cookie-banner__buttons { margin-top: 7px; gap: 13px; }
  .cookie-banner__buttons button { width: 100%; margin-right: 0px; }
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,12,18,0.69);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: linear-gradient(92deg, #223d25 60%, #151D22 120%);
  color: var(--accent);
  border-radius: 23px;
  min-width: 320px; max-width: 98vw;
  box-shadow: 0 0 80px 0 rgba(56,255,155, 0.23);
  padding: 38px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 11101;
  animation: fadeInUpCookieModal 0.4s;
}
@keyframes fadeInUpCookieModal {
  0% { opacity: 0; transform: translateY(60px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.24rem;
  color: var(--secondary);
  margin-bottom: 19px;
}
.cookie-modal-section {
  margin-bottom: 17px;
  width: 100%;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.cookie-modal-category label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--neon-green);
  width: 19px;
  height: 19px;
  margin-top: 5px;
}
.cookie-modal-category.essential label {
  color: #6ed88d;
}
.cookie-modal-category.essential input[type="checkbox"] {
  accent-color: var(--secondary);
}
.cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal button {
  box-shadow: 0 0 12px 1px var(--neon-green);
  padding: 9px 26px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  margin-right: 7px;
  transition: background .16s,color .16s,box-shadow .14s;
  border: none;
  cursor: pointer;
}
.cookie-modal button:active {
  transform: scale(0.96);
}
.cookie-modal .close-modal {
  background: var(--error);
  color: #fff;
}
.cookie-modal .save-modal {
  background: var(--neon-green);
  color: #202B14;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--neon-blue);
  color: #112110;
}

@media (max-width: 540px) {
  .cookie-modal { min-width: unset; padding: 20px 7vw 15px 7vw; }
  .cookie-modal-buttons { flex-direction: column; gap: 12px; width: 100%; }
  .cookie-modal button { width: 100%; }
}

/* ---------------- FORM ELEMENTS (for future) ---------------- */
input, textarea {
  border-radius: 9px;
  border: 1.2px solid var(--accent);
  padding: 12px 13px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: rgba(246,244,235,0.03);
  color: var(--accent);
  width: 100%;
  box-shadow: 0 0 6px 0 var(--primary);
  transition: border-color 0.16s, box-shadow 0.16s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--neon-green);
  box-shadow: 0 0 12px 0 var(--neon-green);
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 6px;
  display: block;
}

/* ---------------- ANIMATIONS & MICRO-INTERACTIONS ---------------- */
.btn-primary, .cookie-banner button, .mobile-menu-toggle, .mobile-nav a, .testimonial-card, .features-grid > div, .features-grid img {
  transition: all 0.18s cubic-bezier(.39,.23,.3,.93);
}
.card, .testimonial-card, .features-grid > div {
  will-change: transform, box-shadow;
}

/* ---------------- SCROLLBAR STYLING (desktop only) ---------------- */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 13px; background: #181C24; }
  ::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #B2D682 35%, #27623A 100%); border-radius: 20px; }
}

/* ---------------- SELECTION COLOR ---------------- */
::selection {
  background: var(--secondary);
  color: #103610;
}

/* ---------------- ERROR STATES ---------------- */
.error {
  color: var(--error);
}

/* ------------- REMOVE ABSOLUTE POS FROM LAYOUT (except decorators) ------------- */
/* All layout is only flex-based, following requirements. */

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