/* --- CSS RESET & BASE --- */
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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: #fff;
  color: #111;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  color: inherit;
  border-radius: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ol, ul { list-style: none; }
a {
  color: inherit;
  text-decoration: none;
  transition: color .16s;
}
a:focus-visible { outline: 2px solid #191919; outline-offset: 2px; }

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 18px; font-weight: 500; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 12px; font-weight: 500; }
strong, b   { font-weight: 600; }

p, li, span, label, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #232323;
}
p, ul, ol { margin-bottom: 16px; }

blockquote {
  font-style: italic;
  background: #FAFAFA;
  border-left: 4px solid #111;
  margin: 0 0 16px 0;
  padding: 15px 25px 15px 20px;
  color: #222;
  font-size: 1.125rem;
  border-radius: 6px;
}

em { color: #424242; background: #f2f2f2; border-radius: 3px; padding: 0 4px; font-style: italic; }

/* --- MONOCHROME SOPHISTICATED COLORS --- */
:root {
  --color-bg: #fff;
  --color-bg-alt: #F4F4F4;
  --color-fg: #191919;
  --color-fg-light: #363636;
  --color-primary: #111;
  --color-dark: #000;
  --color-accent: #222;
  --color-card: #FAFAFA;
  --color-border: #dedede;
  --shadow-card: 0 4px 16px 0 rgba(0,0,0,0.09);
  --shadow-nav: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-focus: 0 0 0 2px #2323235c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #191A1C;
    --color-bg-alt: #232426;
    --color-card: #232426;
    --color-fg: #E8E8E8;
    --color-fg-light: #aaa;
    --color-primary: #fafafa;
    --color-dark: #000;
    --color-accent: #2a2a2a;
    --color-border: #313337;
    --shadow-card: 0 4px 16px 0 rgba(0,0,0,0.26);
  }
  body { background: var(--color-bg); color: var(--color-fg); }
  blockquote { color: #ebebeb; background: #292929; border-left: 4px solid #ccc; }
}

body {
  background: var(--color-bg);
  color: var(--color-fg);
}

/* --- CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--color-bg);
  box-shadow: var(--shadow-nav);
  z-index: 100;
  position: relative;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.logo-link img {
  height: 50px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-fg);
  font-weight: 500;
  position: relative;
  padding: 2px 0;
  transition: color .18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #000;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #0b0b0b;
  border: 2px solid #111;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 34px;
  border-radius: 28px;
  box-shadow: 0 2px 8px #21212112;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, border 0.14s;
  cursor: pointer;
  margin-left: 18px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #111;
  color: #fff;
  box-shadow: 0 4px 18px #1112;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #191919;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ececec;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 2px 48px rgba(0,0,0,0.25);
  z-index: 2003;
  padding-top: 32px;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  transform: translateX(-100vw);
  opacity: 0;
  visibility: hidden;
  transition: all 0.38s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 32px;
  margin-bottom: 25px;
  font-size: 2.2rem;
  color: #181818;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 3px 12px;
  cursor: pointer;
  z-index: 12;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #eaeaea;
  color: #000;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-left: 38px;
  padding-right: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  padding: 13px 0;
  color: #111;
  width: 100%;
  border-radius: 4px;
  outline: 0;
  transition: color 0.13s, background 0.21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f2f2f2;
  color: #191919;
}

@media (max-width: 1020px) {
  .main-nav { gap: 14px; }
  .header-flex { gap: 10px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 8px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
  .header-flex { gap: 8px; }
}

/* --- HERO SECTION & MAIN SECTIONS --- */
.hero-section {
  background: linear-gradient(130deg, #fff 82%,#ededed 100%);
  padding-top: 40px;
  padding-bottom: 50px;
  margin-bottom: 60px;
}
.hero-section h1 {
  font-size: 2.3rem;
  letter-spacing: -0.07em;
  color: #0b0b0b;
}
.hero-section p {
  color: #212121;
  font-size: 1.2rem;
  margin-bottom: 28px;
  max-width: 670px;
}

@media (max-width: 680px) {
  .hero-section h1 { font-size: 1.6rem; }
  .hero-section p { font-size: 1rem; }
}

.features-section ul,
.products-preview-section ul,
.about-section ul,
.team-section ul,
.how-to-use-section ul,
.products-section ul,
.newsletter-signup-section ul,
.case-studies-section ul,
.terms-section ul,
.privacy-section ul,
.cookies-section ul,
.gdpr-section ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 18px;
}
.features-section ul li,
.value-icons li, .about-section ul li, .team-section ul li,
.case-studies-section ul li, .terms-section ul li, .privacy-section ul li,
.cookies-section ul li, .gdpr-section ul li, .products-section ul li,
.how-to-use-section ul li, .newsletter-signup-section ul li {
  padding-left: 0.5em;
  font-size: 1.06rem;
  color: #2c2c2c;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.features-section ul li img, .value-icons li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.products-preview-section h2,
.products-section h2,
.how-to-use-section h2,
.services-section h2,
.testimonials-section h2,
.contact-cta-section h2,
.about-section h2 {
  border-left: 5px solid #191919;
  padding-left: 14px;
  font-size: 2rem;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

/* --- FLEXBOX LAYOUTS --- */
.card-container,
.service-cards-grid,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: stretch;
}
.card-container { gap: 24px; }
.content-grid { gap: 20px; }

.service-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .service-cards-grid { gap: 18px; }
  .card-container, .content-grid { gap: 16px; }
}
@media (max-width: 768px) {
  .service-cards-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}

.card, .service-card {
  margin-bottom: 20px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  flex: 1 1 220px;
  min-width: 220px;
  padding: 26px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s, border 0.17s;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 6px 18px #0002;
  border-color: #363636;
  transform: translateY(-2px) scale(1.013);
  z-index: 3;
}
.service-card h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: #181818;
}
.service-price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  color: #111;
  font-weight: 600;
  margin-top: auto;
  letter-spacing: .02em;
}

/* Feature Items & Testimonial Card */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  box-shadow: 0 3px 12px 0 #0001;
  padding: 20px 26px;
  margin-bottom: 20px;
  max-width: 640px;
  width: 100%;
  transition: box-shadow 0.17s, border 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px #1112;
  border-color: #333;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.15rem;
  color: #1b1b1b;
  background: #f6f6f6;
  margin-bottom: 10px;
  padding: 12px 22px;
  border-left: 5px solid #191919;
  border-radius: 6px;
}
.testimonial-card p {
  font-size: 1rem;
  color: #222;
}

@media (max-width: 480px) {
  .testimonial-card, .service-card { padding: 16px 10px; }
  .testimonial-card blockquote { padding: 10px 14px; }
}

/* Article Preview / Blog List */
.article-preview {
  background: #fafbfc;
  border: 1px solid #dfdfdf;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 #0001;
  padding: 22px 28px 18px 18px;
  margin-bottom: 20px;
  transition: border .17s, box-shadow .19s, background .17s;
  cursor: pointer;
}
.article-preview:hover, .article-preview:focus-within {
  border-color: #212121;
  background: #f4f4f4;
  box-shadow: 0 5px 19px #19191918;
}
.article-preview h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: #191919;
}
.article-preview p { color: #262626; }

/* Table Styles */
.prices-table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0 0 0;
  background: #fafbfd;
  border: 1px solid #c0c0c0;
  box-shadow: 0 2px 10px #1111;
  font-size: 1rem;
  border-radius: 10px;
  overflow: hidden;
}
.prices-table caption {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #222;
  padding-top: 8px;
  padding-bottom: 8px;
}
.prices-table th, .prices-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #e7e7e7;
}
.prices-table th {
  background: #f5f5f5;
  color: #181818;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.prices-table tr:last-child td { border-bottom: none; }

/* --- TEXT-IMAGE & FLEX LAYOUTS --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
}

.text-section {
  margin-bottom: 20px;
}
.address-map-hint {
  background: #F3F3F3;
  border-radius: 7px;
  padding: 9px 13px;
  color: #505050;
  font-size: 0.98rem;
}

/* --- FOOTER --- */
footer {
  background: #101010;
  color: #eee;
  width: 100%;
  padding: 34px 0 22px 0;
  font-size: 1rem;
  border-top: 1px solid #222;
}
.footer-flex {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
}
.footer-brand img {
  width: 34px;
  height: 34px;
  display: block;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #eaeaea;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.17s;
  position: relative;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  font-size: 0.98rem;
  color: #dfdfdf;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.8;
}
.footer-contact strong {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 900px) {
  .footer-flex { flex-direction: column; gap: 18px; align-items: flex-start; }
  footer { padding: 28px 0 16px 0; }
}

/* --- BUTTONS & MICRO-INTERACTIONS --- */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .15s, color .15s, border .15s, box-shadow .17s;
}
button:active, .cta-btn:active {
  transform: scale(.98);
}

/* Newsletter, About, Terms sections etc. */
.newsletter-signup-section, .privacy-section, .gdpr-section, .terms-section, .cookies-section {
  background: #fafafd;
  border-top: 1px solid #dedede;
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  width: 100vw;
  left: 0;
  bottom: 0;
  z-index: 2800;
  background: #fff;
  border-top: 1px solid #222;
  box-shadow: 0 -2px 20px #2223;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 28px;
  padding: 24px 30px;
  font-size: 1rem;
  color: #121212;
  animation: slideUpCookie 0.7s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUpCookie {
  from { transform: translateY(140px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner--text {
  flex: 2 2 320px;
  min-width: 180px;
}
.cookie-banner--actions {
  display: flex;
  gap: 14px;
  flex-direction: row;
}
.cookie-btn, .cookie-btn-secondary {
  padding: 8px 28px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  border: 2px solid #000;
  background: #fff;
  color: #181818;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s, color .15s, border .16s;
}
.cookie-btn {
  background: #191919;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus { background: #232323; border-color: #232323; color: #fff; }
.cookie-btn-secondary {
  background: #fff;
  color: #1a1a1a;
  border-color: #232323;
}
.cookie-btn-secondary:hover, .cookie-btn-secondary:focus {
  background: #f4f4f4;
}
@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 15px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner--actions { gap: 6px; flex-wrap: wrap; }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2900;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,16,18,.53);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.35s cubic-bezier(.4,0,.2,1);
}
@keyframes fadeInModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  max-width: 420px;
  width: 98vw;
  border-radius: 15px;
  box-shadow: 0 10px 38px 0 #0003;
  padding: 40px 28px 30px 28px;
  border: 1px solid #222;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: slideDownModal 0.42s cubic-bezier(.4,0,.2,1);
}
@keyframes slideDownModal {
  from { transform: translateY(-90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 15px;
  color: #181818;
  font-size: 2.2rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 9px 3px 9px;
  transition: background 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #efefef;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  border: 0;
  padding: 0;
  margin-bottom: 5px;
  margin-top: 0;
}
.cookie-modal-category {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #252525;
}
.cookie-switch {
  width: 42px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #ddd;
  border-radius: 17px;
  transition: background .15s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #111;
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .19s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(16px);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 12px;
}

/* --- MISC & HELPERS --- */
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

hr {
  border: none;
  border-top: 1px solid #dbdbdb;
  margin: 20px 0;
}

/* --- UTILITY CLASSES --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 22px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 22px; }

/* --- RESPONSIVE TYPOGRAPHY & LAYOUT --- */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  .container { padding-left: 12px; padding-right: 12px; }
  .section { margin-bottom: 42px; padding: 28px 8px; }
  .footer-flex { gap: 12px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.18rem; }
  h2 { font-size: 1.01rem; }
}

/* --- FOCUS STYLES --- */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible, input:focus-visible {
  outline: 2px solid #191919;
  outline-offset: 2px;
  box-shadow: var(--shadow-focus);
  z-index: 10;
}

/* --- Z-INDEX LAYERS FOR MODALS AND NAV --- */
.mobile-menu { z-index: 2003; }
.mobile-menu-close { z-index: 2010; }
.cookie-modal-overlay { z-index: 2900; }
.cookie-banner { z-index: 2800; }

/* --- PRINT --- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
  .container, body, html { background: #fff !important; color: #111 !important; }
}
