/* ---------- 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,
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  background: #1a2220; /* Futuristic dark base */
  color: #FFFFFF;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  outline: none;
}
button {
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- BRAND VARIABLES ---------- */
:root {
  --primary: #20482E;
  --secondary: #FFFFFF;
  --accent: #C06800;
  --primary-dark: #182c22;
  --secondary-soft: #F8F3ED;
  --neutral-dark: #1a2220;
  --neutral-light: #f8faf9;
  --neon: #36ffe5;
  --error: #FF3131;
  --shadow-1: 0 6px 32px 0 rgba(32, 72, 46, 0.13);
  --shadow-2: 0 2px 8px 0 rgba(220, 147, 47, 0.1);
}

/* ---------- TYPOGRAPHY ---------- */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
h1 { font-size: 2.75rem; letter-spacing: 0.01em; color: var(--secondary); }
h2 { font-size: 2rem; color: var(--neon); text-shadow: 0 2px 12px #1a2220; }
h3 { font-size: 1.35rem; color: var(--accent); }
strong, b { color: var(--accent); font-weight: 700; }
p, ul, li { font-size: 1rem; line-height: 1.7; color: var(--secondary); }

@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
}

/* ---------- LAYOUT CONTAINERS ---------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 850px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  background: #202b23;
  border-radius: 32px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 800px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
}

/* ---------- FLEX PATTERNS ---------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #232f27;
  border-radius: 20px;
  box-shadow: var(--shadow-2);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(54,255,229,0.12), 0 2px 8px 0 rgba(220, 147, 47, 0.15);
}
.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: var(--secondary);
  color: #122118;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 14px rgba(44,68,54,0.09);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  max-width: 520px;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(32,72,46,0.13), 0 0 1px var(--accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ------------- HEADER & NAVIGATION ------------- */
header {
  width: 100%;
  background: linear-gradient(90deg, #232F27 60%, var(--primary) 100%);
  box-shadow: 0 2px 18px 0 #1a222075;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 12px 16px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
}
header nav a {
  position: relative;
  padding: 8px 0;
  color: var(--secondary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.2s;
}
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 60%, var(--neon) 100%);
  border-radius: 2px;
  transition: width 0.25s;
  margin-top: 2px;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
}
header nav a:hover::after, header nav a:focus::after {
  width: 100%;
}
header img, footer img {
  width: 140px;
  height: auto;
  margin-right: 16px;
}

/* ---------- MOBILE NAVIGATION ---------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--neon);
  z-index: 2100;
  margin-left: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #232F27;
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #121914ec;
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.26,1.55);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: var(--accent);
  background: none;
  border: none;
  padding: 18px 20px 10px 10px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--neon);
}
.mobile-nav {
  width: 88vw;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #212e24e0;
  padding: 38px 28px 32px 26px;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 8px 28px rgba(54, 255, 229, 0.10);
}
.mobile-nav a {
  color: var(--neon);
  font-size: 1.18rem;
  padding: 14px 0;
  border-radius: 8px;
  transition: background 0.17s, color 0.22s;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #191e21;
  color: var(--accent);
}
@media (max-width:1100px) {
  header nav {
    gap: 14px;
  }
  header img, footer img {
    width: 106px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:901px) {
  .mobile-menu { display: none !important; }
}

/* ---------- HERO and CTA BUTTONS ---------- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 12px 32px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.23s, box-shadow 0.22s, color 0.16s;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(32, 72, 46, 0.07);
  outline: none;
  border: none;
  letter-spacing: 0.03em;
}
.cta-primary {
  background: var(--accent);
  color: var(--secondary);
  text-shadow: 0 1px 6px #1a222040;
  box-shadow: 0 2px 25px 0 rgba(198, 104, 0, 0.17);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--neon);
  color: #001a16;
  box-shadow: 0 4px 30px 0 rgba(54,255,229,0.15);
}
.cta-secondary {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 2px 16px 0 rgba(198, 104, 0, 0.10);
  border: 2px solid var(--accent);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--accent);
  color: var(--secondary);
  border-color: var(--accent);
  box-shadow: 0 2px 16px 0 rgba(198, 104, 0, 0.19);
}

/* ---------- LISTS, UL, LI ---------- */
ul, ol {
  margin-bottom: 16px;
}
ul li, .feature-item li {
  padding-left: 0;
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 1rem;
  position: relative;
  line-height: 1.7;
}
ul li b, ul li strong {
  color: var(--accent);
}

/* ---------- SECTIONS, CARDS, GRIDS ---------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
}
@media (min-width:900px) {
  .section { gap: 40px; }
}

/* --------------- FOOTER --------------- */
footer {
  width: 100%;
  background: #202b23;
  border-top: 2px solid #223027;
  margin-top: 50px;
  padding: 36px 0 16px 0;
  box-shadow: 0 -6px 22px #0a0e0a27;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
footer nav a {
  color: var(--neon);
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
}
footer p {
  font-size: 0.96rem;
  color: #DBD8D0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card p {
  font-size: 1.15rem;
  font-weight: 400;
  color: #183321;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #476650;
  font-weight: 600;
  margin-left: 10px;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 18px 12px;
  }
}

/* ---------- MODERN FUTURISTIC ACCENTS ---------- */
h2, .cta-primary, .cta-secondary {
  box-shadow: 0 2px 19px 0 rgba(54,255,229,0.04);
}
.cta-primary, .cta-secondary {
  border-radius: 48px;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s;
}
.section, .card, .testimonial-card {
  border-radius: 20px;
  box-shadow: var(--shadow-1);
}
.card:before, .testimonial-card:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  pointer-events: none;
  border-radius: inherit;
  border: 1.5px solid transparent;
  background:
    linear-gradient(135deg, transparent 60%, var(--neon) 100%) border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box, 
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  opacity: 0.06;
}

/* ----------- FORMS (Contact) ----------- */
input, textarea, select {
  background: #212e24;
  color: var(--neon);
  border-radius: 12px;
  border: 1px solid #394a41;
  padding: 12px 14px;
  margin-bottom: 18px;
  width: 100%;
  max-width: 360px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.19s, outline 0.23s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  outline: 2px solid var(--neon);
}
label {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

/* ---------- COOKIE CONSENT ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #232f27fa;
  color: var(--secondary);
  padding: 22px 20px 20px 20px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 18px 0 #1a222075;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5000;
  gap: 20px;
  animation: cb-slide-in 0.6s cubic-bezier(.55,-0.25,.5,1.21);
}
@keyframes cb-slide-in {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 4px;
}
.cookie-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cookie-btn {
  background: var(--accent);
  color: var(--secondary);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 22px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(198, 104, 0, 0.12);
  transition: background 0.21s, color 0.16s;
  margin: 0 2px;
}
.cookie-btn.accept {
  background: var(--neon);
  color: #163628;
}
.cookie-btn.settings {
  background: #2b4a35;
  color: var(--neon);
  border: 2px solid var(--neon);
}
.cookie-btn.reject {
  background: #354e41;
  color: #ffeae8;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--neon);
}

/* ------ COOKIE CONSENT MODAL ------ */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%) scale(1);
  background: #222e24ee;
  border-radius: 22px;
  box-shadow: 0 12px 32px 0 #0a181017;
  z-index: 5100;
  min-width: 340px;
  max-width: 92vw;
  padding: 36px 29px 23px 29px;
  display: flex;
  flex-direction: column;
  animation: cookie-modal-pop 0.28s cubic-bezier(.31,1.43,.21,1.01);
  gap: 19px;
}
@keyframes cookie-modal-pop {
  from { transform: translate(-50%, -65%) scale(0.7); opacity:0; }
  to { transform: translate(-50%, -55%) scale(1); opacity:1; }
}
.cookie-modal__header {
  font-family: 'Montserrat',sans-serif;
  color: var(--neon);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-modal__group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cookie-modal__group label {
  font-size: 1.05rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
}
.cookie-toggle {
  appearance: none;
  outline: none;
  width: 34px;
  height: 18px;
  background: #37504d;
  border-radius: 18px;
  margin-right: 10px;
  position: relative;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: var(--neon);
}
.cookie-toggle::before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 15px; height: 15px;
  background: var(--secondary);
  border-radius: 50%;
  transition: transform 0.16s, background 0.2s;
  box-shadow: 0 2px 6px 0 #1113;
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
  background: var(--accent);
}
.cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.cookie-modal__close {
  font-size: 1.4rem;
  color: var(--accent);
  background: none;
  border: none;
  position: absolute;
  right: 16px;
  top: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: var(--error);
}

/* ---------- ANIMATION KEYFRAMES ---------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideVerticalIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------- SCROLLBAR ----------- */
::-webkit-scrollbar {
  width: 11px;
  background: #202b23;
}
::-webkit-scrollbar-thumb {
  background: #254937;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- TABLES (GDPR, Policy) ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  padding: 11px 10px;
  border-bottom: 1px solid #1e2a24;
  color: var(--secondary);
}
th { background: var(--primary); }

/* ---------- MISC UI ----------- */
a[role="button"] {
  cursor: pointer;
}
@media (max-width:600px) {
  .container {
    padding: 0 4vw;
  }
  .cookie-modal {
    padding: 16px 6vw 14px 6vw;
    min-width: 0;
  }
}

/* ---------- FOCUS STATES ---------- */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 3px var(--neon), 0 2px 18px rgba(54,255,229, 0.12);
  outline: none !important;
}

/* ---------- UTILITIES ---------- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.gap-20 { gap: 20px !important; }
.gap-30 { gap: 30px !important; }

/* ----------- PAGE-SPECIFIC ADJUSTMENTS ----------- */
/* Thank-you, minimal sections */
.thank-you-main .content-wrapper {
  align-items: center;
  text-align: center;
}

/* Policy text for contrast */
.text-section, .main-policy-section {
  background: #1f2820;
  padding: 23px 18px;
  border-radius: 16px;
  color: var(--secondary);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* ---------- Z-INDEX LAYERS ---------- */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 4000;
}
footer img {
  max-width: 60px;
}
/* --------- END OF STYLE.CSS --------- */
