/* --------------------- 
   CSS Reset and 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;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #10151c;
  color: #F4F3EE;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #2A9D8F;
  transition: color 0.2s;
  word-break: break-word;
}
a:hover, a:focus {
  color: #F4F3EE;
}
img {
  max-width: 100%;
  display: block;
}

/* --------------------- 
   Custom Properties
------------------------ */
:root {
  --primary: #264653;
  --secondary: #2A9D8F;
  --accent: #F4F3EE;
  --neon-blue: #41e4ff;
  --neon-green: #69ffa0;
  --danger: #ec4450;
  --brand-shadow: 0 4px 16px 0 rgba(42,157,143,0.10), 0 1.5px 6px 0 rgba(38,70,83,0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.22s cubic-bezier(.6,.2,.3,1);
  --bg-gradient: linear-gradient(130deg,#131c25 0%, #22313b 100%);
}

/* --------------------- 
   Typography
------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #F4F3EE;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.4rem; margin-bottom: 24px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, li, blockquote {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #B9C4CC;
  margin-bottom: 16px;
}
strong {
  color: var(--accent);
  font-weight: 700;
}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--secondary);
  padding-left: 14px;
  color: #F4F3EE;
  margin: 0 0 16px 0;
}
ul li, ol li {
  margin-bottom: 10px;
}

/* Spacing utility for clear breathing room */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-gradient);
  border-radius: var(--radius);
  box-shadow: var(--brand-shadow);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.text-section {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* ---------------------- 
   Header & Navigation
------------------------- */
header {
  background: #19222c;
  box-shadow: 0 2px 8px rgba(38,70,83,.09);
  position: sticky;
  top: 0;
  z-index: 80;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
}
header a img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 4px var(--secondary));
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
header nav a {
  color: var(--accent);
  padding: 6px 10px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: #10151c;
}
.btn-primary {
  background: var(--secondary);
  color: #10151c;
  padding: 11px 28px;
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 2px 24px 0 rgba(42,157,143,0.18);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--neon-blue);
  box-shadow: 0 0 0 2px var(--neon-blue), var(--brand-shadow);
}

/* Hamburger Menu Styles */
.mobile-menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  color: #F4F3EE;
  font-size: 2rem;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2A9D8F;
  color: #10151c;
}

/* Hide desktop nav/CTA button in mobile */
@media (max-width: 900px) {
  header nav,
  .btn-primary {
    display: none;
  }
}

/* Show on desktop only */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/**** Mobile Menu Overlay ****/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 30, 40, 0.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,.2,.1,1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  margin: 0 22px 18px 26px;
  align-self: flex-start;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #17212b;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  padding: 0 34px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--accent);
  padding: 16px 0;
  border-bottom: 1px solid #223244;
  transition: color var(--transition), background var(--transition);
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #10151c;
  border-radius: var(--radius-sm);
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Main content section layouts (FLEXBOX ONLY!) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.features-grid > div {
  background: #1c2530;
  border-radius: var(--radius);
  flex: 1 1 240px;
  min-width: 230px;
  max-width: 345px;
  padding: 28px 24px 24px 24px;
  box-shadow: var(--brand-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
  border: 1.5px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.features-grid > div:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 2px var(--neon-blue), var(--brand-shadow);
  transform: translateY(-4px) scale(1.03);
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 2px;
  filter: drop-shadow(0 0 10px var(--neon-green));
}
.features-grid h3 { color: var(--neon-green); font-size: 1.2rem; }
.features-grid p { color: #BBC7CE; font-size: 1rem; }

/* Card & Testimonial Styles */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #1c2530;
  border-radius: var(--radius);
  box-shadow: var(--brand-shadow);
  padding: 28px 22px;
  position: relative;
}

/* Testimonial Cards - CRITICAL Contrast */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F4F3EE;
  color: #10151c;
  border-radius: var(--radius);
  box-shadow: 0 2px 16px rgba(38,70,83,0.11);
  margin-bottom: 20px;
  border-left: 7px solid var(--secondary);
  position: relative;
  width: 100%;
  max-width: 700px;
}
.testimonial-card blockquote {
  color: #10151c;
  border-left: none;
  padding-left: 0;
  margin: 0 0 10px 0;
  font-style: italic;
}
.testimonial-card p {
  color: #264653;
  margin: 0;
  font-size: 1.05rem;
}

/* Layout utilities - CRITICAL SPACING */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.alert {
  background: #2A9D8F;
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  margin-top: 14px;
  box-shadow: 0 1px 10px rgba(42,157,143, 0.19);
  border-left: 5px solid #41e4ff;
  font-size: 1rem;
  font-weight: 500;
}

/* Contact & Footer */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-details p,
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F4F3EE;
  font-size: 1rem;
}
.footer-contact img {
  width: 22px; height: 22px;
  filter: drop-shadow(0 0 6px var(--neon-green));
}
.brand-tagline {
  margin-top: 20px;
  color: #46facb;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  font-weight: 500;
  text-shadow: 0 0 5px #1a8380;
}

footer {
  background: #19222c;
  border-top: 2px solid #223244;
  padding: 36px 0 24px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.8;
  padding: 6px 10px;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
  border-radius: var(--radius-sm);
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  background: var(--secondary);
  color: #10151c;
}

/* List Styles for About/Legal */
ul, ol {
  margin-left: 16px;
  margin-bottom: 16px;
}
ul li {
  position: relative;
  padding-left: 14px;
}
ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 0.9em;
  top: 1.5px;
}
ol li {
  counter-increment: step-counter;
  padding-left: 16px;
  position: relative;
}
ol li::before {
  content: counter(step-counter) '.';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 600;
}
ol {
  counter-reset: step-counter;
}

/* -------------------- 
   Cookie Consent Banner
---------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #19222c;
  color: #F4F3EE;
  padding: 22px 16px 22px 20px;
  border-top: 2px solid #2A9D8F;
  box-shadow: 0 -2px 14px rgba(38,70,83,0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 3000;
  animation: fadeInBanner 0.7s ease;
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  font-size: 1rem;
  color: #F4F3EE;
  margin-bottom: 0;
  flex: 1 1 100px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 18px;
  margin: 0 0 0 2px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  font-size: 1.02rem;
  cursor: pointer;
  background: var(--secondary);
  color: #10151c;
  box-shadow: 0 1px 8px rgba(42,157,143,0.13);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-btn.accept {
  background: var(--neon-green);
  color: #10151c;
}
.cookie-btn.reject {
  background: var(--danger);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--neon-blue);
}
.cookie-btn.settings {
  background: #22313b;
  color: var(--accent);
  border: 1.5px solid var(--secondary);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  min-width: 320px;
  max-width: 93vw;
  background: #10151c;
  box-shadow: 0 8px 32px rgba(38,70,83,0.20);
  border-radius: var(--radius);
  z-index: 4000;
  padding: 40px 28px 30px 28px;
  animation: fadeInModal 0.4s cubic-bezier(.7,.2,.1,1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translate(-50%,-30%); }
  to { opacity: 1; transform: translate(-50%,-50%); }
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cookie-modal__header h2 {
  color: var(--neon-blue);
  font-size: 1.45rem;
  margin-bottom: 0;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.0rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition);
  padding: 3px 8px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #263a4e;
  color: var(--neon-blue);
}
.cookie-modal__category {
  background: #19222c;
  color: #F4F3EE;
  border-radius: var(--radius-sm);
  padding: 16px 14px 12px 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 7px rgba(42,157,143,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
}
.cookie-toggle {
  margin-left: auto;
}
input[type="checkbox"].cookie-toggle {
  width: 36px;
  height: 21px;
  appearance: none;
  border-radius: 14px;
  background: #263547;
  outline: none;
  cursor: pointer;
  border: 1.5px solid #2A9D8F;
  position: relative;
  transition: background .16s, border .16s;
}
input[type="checkbox"].cookie-toggle:checked {
  background: var(--neon-green);
  border-color: var(--neon-blue);
}
input[type="checkbox"].cookie-toggle:before {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 2px;
  top: 1.3px;
  box-shadow: 0 1px 4px rgba(38,70,83,0.07);
  transition: left .18s;
}
input[type="checkbox"].cookie-toggle:checked:before {
  left: 15px;
  background: #2A9D8F;
}

/* Essential Cookies (Can't be toggled) */
.cookie-modal__category.essential .cookie-toggle {
  pointer-events: none;
  opacity: 0.65;
}

.cookie-modal__footer {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 12px;
}

/* -------------- Responsive Layouts ------------- */
@media (max-width: 1120px) {
  .features-grid { flex-direction: column; }
  .features-grid > div { max-width: 98vw; width: 100%; }
}
@media (max-width: 900px) {
  .container { max-width: 95vw; }
  .content-wrapper { gap: 24px; }
  header .container { padding: 10px 10px; }
  .section { padding: 24px 8px; }
}
@media (max-width: 768px) {
  .section { margin-bottom: 34px; padding: 18px 4px; }
  .container { padding: 0 4px; }
  .content-wrapper { gap: 14px; }
  .testimonial-card { padding: 13px 10px; }
  .features-grid { flex-direction: column; gap: 16px; }
  .features-grid > div { padding: 18px 10px; min-width: 0; }
  .card-container { gap: 12px; }
  .content-grid { gap: 10px; flex-direction: column; }
  .footer-contact {
    gap: 4px;
  }
  footer .container { gap: 10px; }
  .brand-tagline { margin-top: 10px; font-size: 0.95rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 6px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1.05rem; }
  .testimonial-card { max-width: 98vw; }
  .features-grid > div { max-width: 98vw; }
}
@media (max-width: 480px) {
  .cookie-modal { min-width: 0; padding: 16px 6px; }
  .cookie-modal__header h2 { font-size: 1.08rem; }
  .cookie-modal__footer .cookie-btn { font-size: 0.97rem; padding: 7px 10px; }
}

/* -------------- Micro Interactions, Effects, Misc ------------- */
.card, .testimonial-card, .features-grid > div {
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 0 0 2px var(--neon-blue), var(--brand-shadow);
  border-color: var(--neon-blue);
}

.btn-primary:active, .cookie-btn:active {
  transform: scale(0.97);
  box-shadow: none;
}

input:focus, button:focus, a:focus {
  outline: 2px solid var(--neon-blue);
  outline-offset: 1px;
}

::-webkit-input-placeholder { color: #B9C4CC; }
::-moz-placeholder { color: #B9C4CC; }
:-ms-input-placeholder { color: #B9C4CC; }
::placeholder { color: #B9C4CC; }

/**** Hide scrollbars for mobile menu/modal ****/
.mobile-menu, .cookie-modal {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  display: none;
}

/* --------------- Extra: Hide Cookie Banner by default (add .active via JS) --------------- */
.cookie-banner { display: none; }
.cookie-banner.active { display: flex; }

.cookie-modal { display: none; }
.cookie-modal.open { display: flex; }

/* Brand neon/glow accent for headings */
h1, h2 { text-shadow: 0 2px 18px #1c8d88, 0 1px 1px #1d525f; }

/**** End of CSS ****/
