/* ------------------ 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, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F9;
  color: #191A21;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}

/* ------------------ BRAND COLORS & TYPE ------------------ */
:root {
  --color-dark: #212437;
  --color-light: #FFFFFF;
  --color-gray: #ECECF0;
  --color-gray2: #C2C2C7;
  --color-gray3: #33343C;
  --color-accent: #212437;
  --color-success: #6BE175;
  --color-fg: #191A21;
  --color-btn-text: #FFF;
  --color-shadow: rgba(33,36,55,0.07);
  --radius: 13px;
  --elev1: 0 2px 12px var(--color-shadow);
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ------------------ GLOBAL TYPOGRAPHY ------------------ */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.13;
  color: var(--color-accent);
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.17;
  color: var(--color-accent);
  margin-bottom: 16px;
  letter-spacing: -0.7px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.18;
  margin-bottom: 14px;
  color: var(--color-accent);
}
h4, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--color-dark);
}
p, li, table, th, td {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-fg);
  letter-spacing: 0.01em;
}
strong {
  font-weight: 600;
  color: var(--color-dark);
}
.text-section {
  margin-top: 18px;
  margin-bottom: 18px;
}
.category, .category-tags span {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  color: #FFF;
  background: var(--color-gray3);
  border-radius: 6px;
  margin-right: 8px;
  font-family: var(--font-display);
}
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 8px;
}

/* ------------------ CONTAINER & LAYOUT ------------------ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--elev1);
  transition: box-shadow 0.18s;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 26px 5px;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

/* --- Card containers --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  box-shadow: var(--elev1);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: box-shadow .2s, transform .18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(33,36,55,0.12);
  transform: translateY(-4px) scale(1.017);
}
.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) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------ NAVIGATION ------------------ */
header {
  background: #FFF;
  box-shadow: 0 1px 16px var(--color-shadow);
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 13px 0;
}
.main-nav a {
  color: var(--color-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 4px 2px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-success);
  background: var(--color-gray);
}
.main-nav img {
  height: 36px;
  width: auto;
  margin-right: 18px;
}
.btn-primary,
.btn-secondary {
  display: inline-flex;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  padding: 12px 32px;
  cursor: pointer;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s, transform 0.15s;
  margin-top: 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-btn-text);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-success);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.035);
}
.btn-secondary {
  background: #F7F7F7;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-success);
  border-color: var(--color-success);
  color: var(--color-accent);
}

/* --- Mobile Burger Menu --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-accent);
  margin-left: 18px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1010;
}
.mobile-menu-toggle:focus {
  color: var(--color-success);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,36,55, 0.97);
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(.6,.02,.22,1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 28px 16px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 28px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #FFF;
  cursor: pointer;
  z-index: 1012;
  transition: color 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-success);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 40px;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.15s, background 0.13s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--color-success);
  background: rgba(107,225,117,0.07);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav a:not(:first-child) {
    font-size: 0.98rem;
    padding: 2px 1px;
  }
}
@media (max-width: 820px) {
  .main-nav a {
    font-size: 0.93rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------ CONTENT BLOCKS ------------------ */
ul li, ol li {
  margin-bottom: 8px;
  padding-left: 0;
  position: relative;
}
ul:not(.main-nav):not(.footer-nav) li::before {
  content: '▸';
  font-size: 0.96em;
  color: var(--color-accent);
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
ul:not(.main-nav):not(.footer-nav) img {
  margin-left: 10px;
  vertical-align: middle;
  height: 1.2em;
}

.text-section ul {
  margin-top: 7px;
  margin-bottom: 7px;
}
.text-section li {
  margin-bottom: 6px;
}
.text-section img {
  width: 19px;
  height: 19px;
  margin-right: 9px;
  vertical-align: middle;
}
.text-section span {
  display: flex;
  align-items: center;
  gap: 12px;
}

ol {
  padding-left: 24px;
}

/* ---- Table Styling ---- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  margin-bottom: 8px;
  background: var(--color-gray);
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  padding: 14px 12px;
  border: 1px solid var(--color-gray2);
  text-align: left;
  font-size: 1rem;
}
th {
  background: var(--color-gray3);
  color: #FFF;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.07em;
}
tr:nth-child(even) td {
  background: #F7F7F9;
}

/* ------------------ TESTIMONIAL CARDS ------------------ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7F7F7;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px var(--color-shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.14s, background 0.13s;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #22222a;
  font-weight: 500;
  margin-right: 16px;
}
.testimonial-card .testimonial-details {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.01rem;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(33,36,55,0.11);
  background: #FFF;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 7px;
  }
}

/* ------------------ FOOTER ------------------ */
footer {
  background: #202020;
  color: #F7F7F7;
  padding: 46px 0 22px 0;
  font-size: 1.04rem;
  font-family: var(--font-body);
}
.footer-nav {
  display: flex;
  gap: 26px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #D9DAE8;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:focus,
.footer-nav a:hover {
  color: var(--color-success);
}
.footer-contact {
  margin-bottom: 10px;
  color: #F7F7F7;
}
.footer-copy {
  color: #A1A1B4;
  font-size: 0.98rem;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .footer-nav {
    gap: 12px;
    font-size: 0.98rem;
  }
  footer {
    font-size: 0.96rem;
    padding: 30px 0 16px 0;
  }
}

/* ------------------ COOKIE CONSENT BANNER ------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #20222F;
  color: #F7F7F7;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px 25px 32px;
  box-shadow: 0 -2px 16px var(--color-shadow);
  border-radius: 16px 16px 0 0;
  font-size: 1.06rem;
  z-index: 10100;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .34s cubic-bezier(.28,1,.5,1), opacity .26s;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 0;
  margin-right: 20px;
  font-size: 1.04rem;
  color: #FFF;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  border-radius: 9px;
  border: none;
  padding: 10px 26px;
  box-shadow: 0 2px 12px var(--color-shadow);
  margin-bottom: 3px;
  transition: background 0.17s, color 0.12s, box-shadow 0.15s;
  cursor: pointer;
}
.cookie-btn-accept {
  background: var(--color-success);
  color: var(--color-accent);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--color-accent);
  color: var(--color-btn-text);
}
.cookie-btn-reject {
  background: #FFF;
  color: var(--color-accent);
  border: 1px solid var(--color-gray2);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--color-gray2);
  color: #222;
}
.cookie-btn-settings {
  background: var(--color-accent);
  color: #FFF;
  border: none;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--color-success);
  color: var(--color-accent);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 6px 16px 8px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-banner-text {
    margin-right: 0;
  }
  .cookie-banner .cookie-buttons {
    flex-direction: column;
    gap: 7px;
  }
}

/* --- Cookie Modal --- */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 10101;
  background: rgba(33,36,55, 0.83);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #FFF;
  min-width: 310px;
  max-width: 99vw;
  width: 378px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 33px 0 rgba(33,36,55,0.16);
  padding: 32px 26px 24px 26px;
  position: relative;
  z-index: 10110;
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: cookie-modal-in .46s cubic-bezier(.23,.98,.47,.98);
}
@keyframes cookie-modal-in {
  0% { opacity: 0; transform: translateY(45px) scale(0.93); }
  80% { opacity: 1; transform: translateY(-6px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.38rem;
  font-family: var(--font-display);
  color: var(--color-accent);
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  background: var(--color-gray);
  border-radius: 9px;
  margin-bottom: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-modal .cookie-category input[type='checkbox'],
.cookie-modal .cookie-category input[type='radio'] {
  accent-color: var(--color-success);
  width: 18px; height: 18px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-accent);
}
.cookie-modal .cookie-modal-footer {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 20px;
  border: none;
  background: none;
  color: var(--color-accent);
  font-size: 1.43rem;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 10113;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  color: var(--color-success);
}

@media (max-width: 420px) {
  .cookie-modal {
    min-width: 0;
    width: 97vw;
    padding: 14px 5px;
  }
}

/* ------------------ RESPONSIVE MEDIA QUERIES ------------------ */
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.12rem; }
}

/* ------------------ MICRO-INTERACTIONS & SCROLLBAR ------------------ */
html {
  scroll-behavior: smooth;
}
::-webkit-scrollbar {
  width: 10px;
  background: #ECECF0;
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-success);
}

/* ------------------ FOCUS & ACCESSIBILITY ------------------ */
a:focus,
.btn-primary:focus,
.btn-secondary:focus,
.cookie-btn:focus,
.mobile-menu-toggle:focus,
.cookie-modal-close:focus {
  outline: 2px solid var(--color-success);
  outline-offset: 2px;
  z-index: 2;
}

/* ------------------ MISCELLANEOUS ------------------ */
/* Spacing helpers used (8px, 16px, 24px, etc.) */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.pb-24 { padding-bottom: 24px; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* Hide visually */
.visually-hidden {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* -- Animations for effects -- */
.btn-primary, .btn-secondary, .cookie-btn {
  will-change: background, color, box-shadow, transform;
}

/* ------------------ MONOCHROME SOPHISTICATED STYLE ------------------ */
/* (applies everywhere, tailored for monochrome contrast, for drama) */
body {
  background: #F7F7F9;
  color: var(--color-accent);
}
h1,h2,h3,h4 {
  text-shadow: 0 1px 0 #E8E9F3;
}
.section {
  background: #FFF;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: var(--radius);
}
.content-wrapper {
  color: var(--color-accent);
}
.card,
.testimonial-card,
.feature-item {
  border-radius: var(--radius);
  box-shadow: 0 1px 7px var(--color-shadow);
  background: #FFF;
}
hr {
  border: none;
  border-bottom: 1px solid var(--color-gray2);
  margin: 24px 0;
}

/* ------ END ------ */
