:root {
  --bg: #06101d;
  --bg-soft: #0a1728;
  --panel: #0e1d30;
  --panel-light: #14263c;
  --gold: #d7b86b;
  --gold-strong: #efcf7d;
  --text: #f6f2e8;
  --muted: #b8c3d2;
  --line: rgba(215, 184, 107, .28);
  --success: #73d3aa;
  --danger: #ffb0a6;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(45, 82, 126, .28), transparent 34rem),
    radial-gradient(circle at 10% 20%, rgba(215, 184, 107, .08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(6, 16, 29, .90);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-strong);
  font-weight: 800;
  letter-spacing: -.06em;
  box-shadow: inset 0 0 20px rgba(215, 184, 107, .08);
}

.brand-text strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: .06em;
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: .75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #dfe7f1;
  font-size: .93rem;
}

.nav a:hover {
  color: var(--gold-strong);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-links {
  display: flex;
  gap: 7px;
  color: var(--muted);
  font-size: .78rem;
}

.language-links a {
  padding: 5px 7px;
  border-radius: 8px;
}

.language-links a[aria-current="page"] {
  color: var(--gold-strong);
  background: rgba(215, 184, 107, .12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--gold);
  border-radius: 13px;
  color: #07111f;
  background: linear-gradient(135deg, #f0d486, #c99e49);
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.button.secondary {
  color: var(--gold-strong);
  background: transparent;
}

.button.ghost {
  min-height: 42px;
  padding-inline: 15px;
  border-color: rgba(255,255,255,.14);
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.hero {
  padding: 100px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 68px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-strong);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.13;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  letter-spacing: -.055em;
}

h1 span {
  color: var(--gold-strong);
}

.hero-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 34px;
  color: #ced8e4;
  font-size: .9rem;
}

.trust-row span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--success);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(155deg, rgba(255,255,255,.07), rgba(255,255,255,.018)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(215, 184, 107, .10);
  filter: blur(2px);
}

.hero-card h2 {
  margin: 0 0 18px;
  font-size: 1.55rem;
}

.flow {
  display: grid;
  gap: 14px;
}

.flow-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(0,0,0,.12);
}

.flow-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--gold-strong);
  background: rgba(215,184,107,.11);
}

.flow-item strong {
  display: block;
}

.flow-item small {
  color: var(--muted);
}

.section {
  padding: 88px 0;
}

.section.alt {
  border-block: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.018);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.04em;
}

.section-heading p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  padding: 25px;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}

.card-number {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--gold-strong);
  font-weight: 750;
}

.card h3 {
  margin: 0 0 11px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.problem {
  display: flex;
  gap: 15px;
  padding: 21px;
  border-radius: 17px;
  background: rgba(255,255,255,.028);
}

.problem-icon {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--gold-strong);
  background: rgba(215,184,107,.10);
}

.problem strong {
  display: block;
  margin-bottom: 3px;
}

.problem span {
  color: var(--muted);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.industry {
  padding: 24px;
  border-left: 3px solid var(--gold);
  border-radius: 4px 18px 18px 4px;
  background: rgba(255,255,255,.025);
}

.industry h3 {
  margin: 0 0 8px;
}

.industry p {
  margin: 0;
  color: var(--muted);
}

.pricing-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
}

.price-info,
.calculator {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.base-price {
  margin: 10px 0 22px;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -.055em;
  color: var(--gold-strong);
}

.base-price small {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 0;
}

.checklist {
  display: grid;
  gap: 11px;
  padding: 0;
  list-style: none;
}

.checklist li {
  color: var(--muted);
}

.checklist li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--success);
}

.control {
  margin-bottom: 25px;
}

.control-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.control-value {
  color: var(--gold-strong);
  font-weight: 750;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.summary {
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0;
  color: var(--muted);
}

.summary-row.total {
  margin-top: 17px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 750;
}

.summary-row.total strong {
  color: var(--gold-strong);
  font-size: 1.45rem;
}

.price-note {
  margin-top: 15px;
  color: var(--muted);
  font-size: .82rem;
}

.dedicated {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 35px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(215,184,107,.10), transparent 45%),
    var(--panel);
}

.dedicated h2 {
  margin: 0 0 15px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.dedicated p {
  color: var(--muted);
}

.dedicated-features {
  display: grid;
  gap: 11px;
}

.dedicated-feature {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  background: rgba(0,0,0,.12);
}

.case-study {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 35px;
  align-items: center;
}

.case-number {
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 850;
  line-height: .85;
  color: rgba(215,184,107,.18);
}

.case-content h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.case-content p {
  color: var(--muted);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.security-item {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 18px;
  background: rgba(255,255,255,.022);
}

.security-item h3 {
  margin-top: 0;
}

.security-item p {
  color: var(--muted);
}

.cta {
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 100%, rgba(215,184,107,.18), transparent 38rem),
    var(--panel);
}

.cta h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.cta p {
  max-width: 680px;
  margin: 17px auto 27px;
  color: var(--muted);
}

.site-footer {
  padding: 45px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, .7fr);
  gap: 30px;
}

.footer-grid h3 {
  margin-top: 0;
  color: var(--text);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: .9rem;
}

.footer-links a:hover {
  color: var(--gold-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .84rem;
}

.mobile-menu-button {
  display: none;
}

@media (max-width: 1000px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .pricing-shell,
  .dedicated,
  .case-study {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 26px, var(--max));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-text small,
  .header-actions .button {
    display: none;
  }

  .hero {
    padding: 72px 0 48px;
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-card,
  .price-info,
  .calculator,
  .dedicated,
  .cta {
    padding: 23px;
  }

  .cards,
  .problem-grid,
  .industry-grid,
  .security-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }
}

/* SOFBAC logo – prawidłowy rozmiar */
.site-header .brand-logo,
.site-footer .brand-logo {
  display: block !important;
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  object-fit: contain !important;
  flex: 0 0 58px !important;
}

.site-header .brand {
  min-height: 70px;
  align-items: center;
}

.site-header .header-inner {
  min-height: 78px;
  max-height: 78px;
}

@media (max-width: 640px) {
  .site-header .brand-logo,
  .site-footer .brand-logo {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
  }
}

.site-header .brand-logo {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  max-height: 64px !important;
  flex: 0 0 64px !important;
}

.site-header .brand-text strong {
  font-size: 1.2rem;
  letter-spacing: .08em;
}
