/* PriCoSoft Cloud website (pricosoft.cloud): one stylesheet for all pages, system fonts only (no external requests),
   light and dark mode follow the operating system. */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --text: #1c2340;
  --muted: #56607a;
  --border: #dfe5ef;
  --brand: #2a55a8;
  --brand-2: #5b4ca8;
  --brand-light: #3f86e6;
  --ink: #3d3d5c;
  --accent-text: #2a55a8;
  --shadow: 0 10px 30px rgb(28 35 64 / 0.08);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --wordmark: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1320;
    --surface: #161d2e;
    --surface-2: #1d2639;
    --text: #e8edf7;
    --muted: #a3aec4;
    --border: #2a3550;
    --ink: #e8edf7;
    --accent-text: #8fb6f5;
    --shadow: 0 10px 30px rgb(0 0 0 / 0.35);
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
}
/* Even line lengths: no single word alone on the last line of headings and lead texts. */
h1,
h2,
h3,
summary {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
a {
  color: var(--accent-text);
}
.wrap {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
}
:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 700 22px/1 var(--wordmark);
  letter-spacing: -0.3px;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand small {
  font: 600 13px/1 var(--font);
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 2px;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--accent-text);
}
/* Language menu: globe with the current language code, the list opens below (works without JavaScript). */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary:hover,
.lang-menu[open] summary {
  color: var(--accent-text);
  border-color: var(--brand-light);
}
.lang-menu svg {
  width: 18px;
  height: 18px;
}
.lang-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.nav .lang-menu a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 8px;
}
.nav .lang-menu a:hover {
  background: var(--surface-2);
}
.lang-menu a[aria-current="page"] {
  color: var(--accent-text);
  font-weight: 700;
}
.lang-menu a span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.menu-button {
  display: none;
  margin-left: auto;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  width: 44px;
  height: 40px;
  font-size: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand) 60%, var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 20px rgb(42 85 168 / 0.3);
}
.button.ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}
.nav .button {
  padding: 8px 16px;
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgb(63 134 230 / 0.18), transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 16px 0 18px;
}
h1 .grad {
  background: linear-gradient(120deg, var(--brand-light), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 28px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}
.facts li::before {
  content: "✓ ";
  color: var(--brand-light);
  font-weight: 700;
}

/* Launcher mock-up */
.mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #13284a;
  color: #fff;
  font: 700 15px/1 var(--wordmark);
}
.mock-bar img {
  width: 24px;
  height: 24px;
}
.mock-bar span {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #6f9be0;
}
.mock-body {
  padding: 20px;
}
.mock-body p {
  margin: 0 0 14px;
  font-weight: 600;
}
.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.mock-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}
.mock-tile img {
  width: 36px;
  height: 36px;
  flex: none;
}

/* Sections */
section {
  padding: 72px 0;
}
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
/* Section heading: the lead text may use the full content width, so short leads stay on one line on desktops. */
.section-head {
  margin-bottom: 36px;
}
.section-head h2 {
  max-width: 820px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin: 10px 0 12px;
}
h3 {
  font-size: 20px;
  margin: 0 0 6px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}
.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.app {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.section-alt .app {
  background: var(--bg);
}
.app:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.app img {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
}
.app p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 15.5px;
}
.app ul {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text);
}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--accent-text);
  margin-left: 6px;
  vertical-align: middle;
}
/* Product tour: real screenshots, one tab per application */
.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
.tour-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: 600 15px var(--font);
  cursor: pointer;
}
.tour-tabs button img {
  width: 26px;
  height: 26px;
}
.tour-tabs button[aria-selected="true"] {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 1px var(--brand-light);
}
.tour figure {
  margin: 0;
}
/* Screenshots sit in a drawn monitor (bezel, camera, stand), so they read as screenshots and not as part of the page. */
.tour .frame {
  --bezel: clamp(6px, 1.3vw, 14px);
  position: relative;
  width: min(100%, 1000px);
  margin: 0 auto calc(var(--bezel) * 3 + 14px);
  padding: var(--bezel) var(--bezel) calc(var(--bezel) * 2.2);
  border-radius: calc(var(--bezel) + 8px);
  background: linear-gradient(180deg, #2b3242, #161b26);
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 0.06) inset,
    0 24px 50px rgb(28 35 64 / 0.22);
}
/* Camera dot in the top bezel. */
.tour .frame::before {
  content: "";
  position: absolute;
  top: calc(var(--bezel) / 2 - 2px);
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #4a5468;
}
/* Stand: neck and foot below the screen. */
.tour .frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 26%;
  height: calc(var(--bezel) * 3 + 14px);
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, #b9c1cf, #97a1b3) bottom / 100% 6px no-repeat,
    linear-gradient(90deg, #8d97aa, #c3cad6 50%, #8d97aa) center top / 34% calc(100% - 6px) no-repeat;
  border-radius: 0 0 6px 6px;
}
.tour .frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 3px;
}
.tour figcaption {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
@media (prefers-color-scheme: dark) {
  .tour .frame {
    background: linear-gradient(180deg, #232a39, #0b0e15);
    box-shadow:
      0 0 0 1px rgb(255 255 255 / 0.1) inset,
      0 24px 50px rgb(0 0 0 / 0.45);
  }
  .tour .frame::after {
    background:
      linear-gradient(180deg, #4a5468, #343c4d) bottom / 100% 6px no-repeat,
      linear-gradient(90deg, #2c3343, #4d5770 50%, #2c3343) center top / 34% calc(100% - 6px) no-repeat;
  }
}
/* Explainer video below the product tour. */
.video {
  width: min(100%, 1000px);
  margin: 56px auto 0;
  text-align: center;
}
.video h3 {
  margin: 0 0 6px;
  font-size: 24px;
}
.video p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}
.video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #0f2142;
  box-shadow: var(--shadow);
}
/* Without JavaScript all screenshots are shown one below the other. */
.tour.js figure[hidden] {
  display: none;
}
.tour:not(.js) .tour-tabs {
  display: none;
}
.tour:not(.js) figure + figure {
  margin-top: 28px;
}

/* Trust strip below the hero */
.trust {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.trust ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  list-style: none;
  margin: 0 auto;
  padding: 18px 0;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.trust li span {
  font-size: 20px;
}
/* German flag drawn in CSS (Windows shows flag emojis as letters). */
.trust .flag-de,
.security-card .flag i {
  display: inline-block;
  width: 22px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%);
  box-shadow: 0 0 0 1px rgb(127 127 127 / 0.3);
}

/* Security and data protection */
.security {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.security-card {
  background: linear-gradient(135deg, #13284a, #2a3a7a);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
}
.security-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.security-card p {
  margin: 0 0 18px;
  opacity: 0.9;
}
.security-card .flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  font-weight: 600;
}
.security-card a {
  color: #fff;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.checks li {
  padding-left: 34px;
  position: relative;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 14px;
}
.checks strong {
  display: block;
}
.checks span {
  color: var(--muted);
  font-size: 15px;
}

/* Integrations */
.integrations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.integration {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.section-alt .integration {
  background: var(--bg);
}
.integration .glyph {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface-2);
  font-size: 20px;
}
.integration h3 {
  font-size: 16px;
  margin: 0 0 2px;
}
.integration p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* CRM modules */
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.module {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px 18px;
  overflow: hidden;
}
.module::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #4384e6, #1d4fa3);
}
.module h3 {
  font-size: 17px;
}
.module p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.module-all {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.module-all li {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand-2));
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.section-alt .steps li {
  background: var(--bg);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--accent-text);
  font-weight: 700;
  margin-bottom: 10px;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.faq details {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::after {
  content: "+";
  color: var(--accent-text);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}
.cta {
  background: linear-gradient(135deg, #3f86e6, #2a55a8 55%, #5b4ca8);
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta h2 {
  margin-top: 0;
}
.cta p {
  margin: 0;
  opacity: 0.9;
}
.cta address {
  font-style: normal;
  display: grid;
  gap: 8px;
}
.cta a {
  color: #fff;
}
.cta .button {
  background: #fff;
  color: #2a55a8;
  justify-self: start;
}

/* Footer */
.site-footer {
  padding: 40px 0 48px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.site-footer a {
  color: var(--muted);
}

/* Narrow screens */
@media (max-width: 980px) {
  .hero .wrap,
  .cta,
  .security {
    grid-template-columns: 1fr;
  }
  .apps,
  .features,
  .modules,
  .integrations {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Menu button as soon as the navigation no longer fits in one row. */
@media (max-width: 1160px) {
  .menu-button {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .nav.open {
    display: flex;
  }
  .lang-menu ul {
    position: static;
    margin-top: 8px;
    box-shadow: none;
  }
}
@media (max-width: 760px) {
  .apps,
  .features,
  .steps,
  .modules,
  .integrations,
  .checks {
    grid-template-columns: 1fr;
  }
  .trust ul {
    justify-content: flex-start;
  }
  .hero {
    padding-top: 44px;
  }
  section {
    padding: 52px 0;
  }
  .cta {
    padding: 28px;
  }
  .brand small {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
