/* =============================
   NeuroComet Monochrome Sophisticated Style
   ============================= */

/* === 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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #222;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* === COLOR VARIABLES (with Fallbacks) === */
:root {
  --color-bg: #fff;
  --color-bg-alt: #f5f5f5;
  --color-primary: #222;
  --color-secondary: #777;
  --color-accent: #264031; /* Monochrome adapted: deep green as dark contrast */
  --color-brand: #264031;
  --color-grey-100: #eee;
  --color-grey-200: #ccc;
  --color-grey-300: #aaa;
  --color-grey-900: #111;
  --color-white: #fff;
  --color-black: #0c0c0c;
}

/* === FONTS === */
html {
  font-size: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-primary);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.33rem; margin-bottom: 12px; }
h4 { font-size: 1.13rem; margin-bottom: 8px; }
h5 { font-size: 1rem; margin-bottom: 8px; }
p, li, ul, ol { font-size: 1rem; color: var(--color-secondary); }
p { margin-bottom: 14px; }

@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
}

strong, b { font-weight: bold; color: var(--color-black); }
em, i { font-style: italic; }

/* === SPACING UTILITIES === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-100);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 32px;
}
.logo img {
  height: 48px;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
  margin-left: 24px;
}
.main-nav a {
  color: var(--color-secondary);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  padding: 2px 8px;
  transition: color 0.18s, border-bottom 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-black);
  border-bottom: 2px solid var(--color-black);
  background: var(--color-grey-100);
  outline: none;
}

.cta-primary {
  background: var(--color-black);
  color: var(--color-white);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 26px;
  font-size: 1.08rem;
  box-shadow: 0 1px 6px 0 rgba(34, 34, 34, 0.08);
  letter-spacing: 0.5px;
  border: none;
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.16s;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 3px 16px 0 rgba(38, 64, 49, 0.12);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* === MOBILE MENU == */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-black);
  cursor: pointer;
  margin-left: 8px;
  z-index: 31;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-accent);
  outline: none;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 50;
  background: rgba(25,25,25, 0.97);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.73,.21,.64,1.22);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 32px 20px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.25rem;
  cursor: pointer;
  margin-bottom: 28px;
  margin-right: 4px;
  z-index: 52;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.27rem;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
  outline: none;
}

@media (max-width: 991px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* === HERO SECTIONS === */
.hero {
  padding: 60px 0 40px 0;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .container {
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  color: var(--color-black);
  text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.hero p {
  font-size: 1.13rem;
  color: var(--color-secondary);
}
.hero .cta-primary {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .hero {
    padding: 36px 0 24px 0;
  }
}

/* === FLEXBOX PATTERNS & LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  box-shadow: 0 2px 16px 0 rgba(28,28,28,0.08);
  border-radius: 20px;
  padding: 28px 24px;
  transition: box-shadow 0.18s, transform 0.16s;
  min-width: 260px;
  flex: 1 1 300px;
  overflow: hidden;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(0,0,0,0.15);
  transform: translateY(-4px) scale(1.01);
  z-index: 2;
}

.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;
  padding: 20px;
  background: #f3f3f3;
  border-radius: 18px;
  box-shadow: 0 1px 7px 0 rgba(0,0,0,0.06);
  flex-direction: column;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 540px;
  color: #111;
}
.testimonial-card p {
  color: #0f0f0f;
  font-size: 1.07rem;
  font-style: italic;
}
.testimonial-card span {
  color: #666;
  font-size: 0.96rem;
  font-style: normal;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* === FEATURES & VALUES GRIDS === */
.feature-grid,
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.feature, .features-grid .feature {
  background: var(--color-bg-alt);
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(48,48,48,0.05);
  padding: 30px 24px 22px 24px;
  flex: 1 1 240px;
  min-width: 218px;
  max-width: 335px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-left: 4px solid var(--color-grey-200);
  transition: border-color 0.16s, box-shadow 0.18s, background 0.18s;
}
.feature img {
  margin-bottom: 12px;
  width: 36px;
  height: 36px;
}
.feature h3 {
  margin-top: 0px;
  color: #101010;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 28px 0 rgba(38, 64, 49, 0.11);
  border-left: 4px solid var(--color-accent);
  background: #ececec;
}

@media (max-width: 990px) {
  .feature-grid, .features-grid {
    gap: 18px;
  }
  .feature, .features-grid .feature {
    min-width: 160px;
    max-width: 420px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .features-grid {
    flex-direction: column;
    align-items: stretch;
  }
}

/* === BUTTONS === */
button, .button {
  cursor: pointer;
  font-family: 'Montserrat','Open Sans', Arial, sans-serif;
  font-weight: 600;
  padding: 11px 28px;
  border: none;
  border-radius: 22px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 1.02rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.15s;
  box-shadow: 0 1px 8px 0 rgba(34,34,34,0.03);
}
button:hover, .button:hover, .button:focus {
  background: var(--color-accent);
  transform: translateY(-2px) scale(1.025);
  color: #fff;
  outline: none;
}

/* Secondary/outline style - used for cookie consent banner */
.button-outline {
  background: transparent;
  color: var(--color-black);
  border: 1.5px solid var(--color-black);
}
.button-outline:hover, .button-outline:focus {
  background: var(--color-black);
  color: #fff;
  outline: none;
}

/* Accent button */
.button-accent {
  background: var(--color-accent);
  color: #fff;
}
.button-accent:hover, .button-accent:focus {
  background: #111;
  color: #fff;
}

/* TABLE (Pricing) === */
.pricing-table {
  width: 100%;
  background: #f6f6f6;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 23px;
  font-family: 'Open Sans', Arial, sans-serif;
  box-shadow: 0 1px 6px 0 rgba(34,34,34,0.06);
}
.pricing-table th,
.pricing-table td {
  padding: 16px 14px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #e0e0e0;
}
.pricing-table th {
  background: #222;
  color: #fff;
  font-weight: 700;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 560px) {
  .pricing-table, .pricing-table thead, .pricing-table tbody, .pricing-table tr, .pricing-table th, .pricing-table td {
    display: block;
    width: 100%;
  }
  .pricing-table td, .pricing-table th {
    padding: 12px 6px;
  }
}

/* === CONTACT DETAILS  === */
.contact-details, .contact-details-section ul, .contact-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 10px 0 0 0;
}
.contact-details li, .contact-options li, .contact-details-section li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  font-size: 1.01rem;
}
.contact-details a, .contact-options a {
  color: var(--color-accent);
  font-weight: 600;
}
.contact-details img, .contact-details-section img, .contact-options img {
  width: 20px; height: 20px; margin-right: 2px;
}

.map {
  background: var(--color-bg-alt);
  border-radius: 12px;
  padding: 18px 16px;
  margin: 18px 0 0 0;
  font-size: 1rem;
}

/* === FOOTER === */
footer {
  background: #fafafa;
  border-top: 1px solid #ededed;
  padding: 36px 0 18px 0;
}
footer .container {
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 0;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-menu a {
  font-size: 0.98rem;
  color: #444;
  margin-right: 6px;
  transition: color 0.17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-accent);
  outline: none;
}
.company-info {
  font-size: 0.98rem;
}
.company-info ul {
  margin: 8px 0 0 0;
  padding: 0;
}
.company-info li {
  margin: 0 0 3px 0;
}
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.social-media-links img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 1px 5px 0 rgba(30,30,30,0.04);
  background: #fff;
  padding: 3px;
  transition: box-shadow 0.20s, background 0.13s;
}
.social-media-links a:hover img, .social-media-links a:focus img {
  box-shadow: 0 2px 18px 0 rgba(38, 64, 49, 0.11);
  background: #ededed;
  outline: none;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* === COOKIES CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 16px 16px 16px;
  background: #232323;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1999;
  box-shadow: 0 -3px 30px 0 rgba(0,0,0,0.18);
  gap: 28px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s, transform 0.25s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 480px;
  color: #fff;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  min-width: 120px;
  margin-right: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-btn:last-child { margin-right: 0; }

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 6px 12px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-text { max-width: 100%; }
}

/* === COOKIE MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(12,12,12,0.83);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #181818;
  border-radius: 16px;
  max-width: 390px;
  box-shadow: 0 6px 44px 0 rgba(34,34,34,0.20);
  padding: 32px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalShow 0.5s cubic-bezier(.42,1.16,.87,1.01);
  position: relative;
}
@keyframes modalShow {
  from { transform: translateY(40px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.03rem;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-primary);
  width: 18px; height: 18px;
}
.cookie-category .locked {
  color: #aaa;
  font-size: 0.96em;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 19px;
  top: 18px;
  background: none;
  color: #aaa;
  border: none;
  font-size: 1.8em;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #222;
  outline: none;
}

/* === SECTION & CARD SPACING === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 700px) {
  section {
    padding: 25px 4px;
    margin-bottom: 40px;
  }
}

/* === FORMATTED LISTS (Feature, Steps, etc.) === */
ul, ol {
  margin-left: 18px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 9px;
  padding-left: 1em;
  position: relative;
  color: #333;
}
ul > li::before {
  content: '\2022';
  color: #858585;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: -2px;
}
ol {
  counter-reset: listNum;
}
ol > li {
  counter-increment: listNum;
}
ol > li::before {
  content: counter(listNum) '.';
  position: absolute;
  left: 0;
  color: #595959;
  font-weight: 600;
  top: 0;
}

.benefits-list, .tip-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

/* === PROJECTS & PORTFOLIO === */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.text-section {
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(100,100,100,0.04);
  padding: 20px 16px;
  flex: 1 1 230px;
  min-width: 200px;
  max-width: 420px;
  margin-bottom: 14px;
}
.text-section h3 {
  font-size: 1.16rem;
  color: #232323;
}
.text-section p {
  color: #575757;
  font-size: 1.01rem;
}
@media (max-width: 900px) {
  .project-list { flex-direction: column; gap: 12px; }
}

/* === PRIVACY/GDPR/COOKIES/TEXT-ONLY SECTIONS === */
.privacy-policy, .gdpr-info, .terms-of-use, .cookie-policy {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 28px 0 rgba(40,40,40,0.07);
  padding: 40px 32px;
  color: #161616;
  font-size: 1.05rem;
}
.privacy-policy h1, .gdpr-info h1, .terms-of-use h1, .cookie-policy h1 {
  font-size: 2.15rem;
  margin-bottom: 22px;
}

/* === RESPONSIVE FLEXBOX ADJUSTMENTS === */
@media (max-width: 1040px) {
  .container { max-width: 960px; }
  .content-wrapper { gap: 16px; }
}
@media (max-width: 768px) {
  .container { max-width: 100%; padding: 0 8px; }
  .content-wrapper { gap: 12px; }
  .main-nav, .footer-menu { gap: 14px; }
  .header .container { gap: 12px; }
  .hero .content-wrapper { padding: 0; }
  .feature, .features-grid .feature { padding: 15px 9px 14px 11px; gap: 5px; }
  .testimonial-card { padding: 11px 7px; }
  .project-list, .card-container, .content-grid { gap: 10px; }
  .footer-menu { margin-bottom: 13px; }
}

/* FLEXBOX DIRECTION CHANGE FOR MOBILE */
@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .feature-grid, .features-grid,
  .card-container,
  .project-list
  {
    flex-direction: column;
    align-items: stretch !important;
  }
  .content-wrapper { flex-direction: column; }
}

/* === MICRO-INTERACTIONS === */
.cta-primary, .button, .button-outline, .button-accent {
  transition: background 0.16s, color 0.16s, box-shadow 0.18s, transform 0.13s;
}
.main-nav a, .mobile-nav a {
  transition: color 0.13s, background 0.15s, border-bottom 0.17s;
}
.feature, .features-grid .feature {
  transition: box-shadow 0.18s, border-color 0.17s, background 0.20s;
}
.testimonial-card {
  transition: box-shadow .19s, background .14s, transform .14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 24px 0 rgba(38, 64, 49, 0.14);
  background: #f8f8f6;
  transform: translateY(-2px) scale(1.013);
}

/* === ACCESSIBILITY & SELECTION === */
:focus {
  outline: 2px dashed var(--color-accent);
  outline-offset: 2px;
}
::-moz-selection {
  background: #ccc;
  color: #101010;
}
::selection {
  background: #ccc;
  color: #101010;
}

/* === MISC === */
hr {
  border: none;
  border-bottom: 1.5px solid #ededed;
  margin: 30px 0;
}

/* Hide visually but available for screen readers */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Ensure ".card-content", "flexbox alignment" */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 13px;
}

/* === SMOOTH MOBILE MENU ANIMATION (transform) === */
@media (max-width: 991px) {
  .mobile-menu {
    will-change: transform;
  }
}


/* === END OF NEUROCOMET CSS === */
