/* Reset + podstawowy układ */
body {
    font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
    background: #151515;
    color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    background: #111;
    box-shadow: 0 2px 8px #0003;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    padding-right: 32px;
    white-space: nowrap;
	display: flex; 
	align-items: center;
}
.logo img {
    vertical-align: middle;
    width: 201px;
    height: 43px;
    display: inline-block;
}

.main-nav .menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .menu li a {
    color: #fff;
    font-size: 1.07em;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.18s;
}

.main-nav .menu li a:hover,
.main-nav .menu li a:focus {
    color: #e4bc59;
    border-bottom: 2px solid #e4bc59;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.08em;
    margin-left: 24px;
}

.lang-switcher a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.18s, color 0.18s;
    opacity: 0.87;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    background: #e4bc59;
    color: #222;
    opacity: 1;
}

.lang-switcher span {
    color: #777;
    font-size: 1.07em;
}

/* Responsiveness */
@media (max-width: 850px) {
    .header-flex {
        flex-direction: column;
        height: auto;
        padding: 14px 0;
        gap: 12px;
        align-items: stretch;
    }
    .main-nav .menu {
        gap: 20px;
        justify-content: center;
    }
    .lang-switcher {
        justify-content: center;
        margin-left: 0;
    }
    .logo {
        padding-right: 0;
        margin-bottom: 4px;
    }
}

/* Hero section */
.hero {
    background: #181818;
    padding: 48px 0 40px 0;
}

.hero-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.hero-img {
    flex: 1 1 300px;
    text-align: center;
}

.hero-img img{
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 2px 12px #0003;
}

.hero-content {
    flex: 2 1 320px;
}

.hero-content h1 {
    font-size: 2.3em;
    margin-bottom: 12px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
	display: inline-block;
    background: #e4bc59;
    color: #222;
    padding: 12px 32px;
    border: none;
    border-radius: 24px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover {
    background: #cfa63e;
	color: #222;
}

.btn-outline {
	display: inline-block;
    border: 2px solid #e4bc59;
    color: #e4bc59;
    background: transparent;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
    background: #e4bc59;
    color: #222;
}

/* Features */
.features {
    padding: 64px 0 36px 0;
}

.features h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 36px;
    color: #e4bc59;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.feature-block {
    background: #222;
    padding: 28px 18px;
    border-radius: 20px;
    box-shadow: 0 4px 16px #00000016;
    text-align: center;
}

.feature-block .icon {
    font-size: 2.5em;
    color: #e4bc59;
    margin-bottom: 16px;
}

.feature-block h3 {
    margin-bottom: 10px;
}

.feature-block ul {
    text-align: left;
    margin: 0 auto;
    padding-left: 16px;
}

/* How it works */
.how-it-works {
    background: #181818;
    padding: 54px 0;
}

.how-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 38px;
}

.how-content {
    flex: 1 1 320px;
}

.how-content h2 {
    color: #e4bc59;
    margin-bottom: 18px;
}

.how-content ol {
    margin-bottom: 24px;
}

.how-graphic {
    flex: 1 1 200px;
    text-align: center;
}

.manual, .contact {
    padding: 48px 0;
}

.manual h2, .contact h2 {
    color: #e4bc59;
    margin-bottom: 18px;
}
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 38px;
    margin-top: 34px;
}

.how-step {
    display: flex;
    gap: 34px;
    align-items: center;
    background: #222;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 2px 18px #0001;
}

.how-step:nth-child(even) {
    flex-direction: row-reverse;
    background: #181818;
}

.how-img img {
	min-width: 279px;
    max-width: 350px;
    /*width: 350px;
    height: 350px;*/
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 2px 12px #0003;
}

.how-text h3 {
    color: #e4bc59;
    margin-bottom: 7px;
    font-size: 1.22em;
}

.how-text p {
    color: #eee;
    font-size: 1.06em;
    margin: 0;
}

@media (max-width: 700px) {
    .how-step, .how-step:nth-child(even) {
        flex-direction: column;
        gap: 18px;
        padding: 18px 8px;
    }
    .how-img img {
        width: 84px;
        min-height: 84px;
    }
}


/* Contact form */
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 400px;
    margin: 0 auto;
}

input, textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    font-size: 1em;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #e4bc59;
}

.msg {
  margin: 20px auto;
  padding: 12px 18px;
  max-width: 420px;
  border-radius: 12px;
  font-size: 1.12em;
  font-weight: 500;
  background: #F6EDB3;
  color: #222;
  border: 2px solid #e4bc59;
  box-shadow: 0 2px 12px #0002;
  text-align: center;
  letter-spacing: 0.1px;
  transition: background 0.3s, border-color 0.2s;
}
.msg.error {
  background: #2d1919;
  color: #ff7575;
  border-color: #e13b3b;
}
.legal-recaptcha{
  color: #aaa;
  font-size: 0.9em;
  line-height: 1.25rem;
  margin: 0;
}
.underline{
  text-decoration-line: underline;
  color: inherit;
}

/* Download */
.app-download {
  background: #181818;
  padding: 64px 0 36px 0;
  border-bottom: 1px solid #222;
}

.download-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
}

.download-info h2 {
  color: #e4bc59;
  margin-bottom: 10px;
}
.download-info p {
  color: #bbb;
  font-size: 1.09em;
}

.download-qrs {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}

.download-item {
  background: #232323;
  border-radius: 14px;
  padding: 20px 16px 12px 16px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-shadow: 0 2px 12px #0002;
  transition: box-shadow 0.18s;
}
.download-item:hover {
  box-shadow: 0 6px 24px #0005;
}
.download-item img {
  margin-bottom: 10px;
  max-width: 140px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.app-logo-center img {
    display: block;
    margin: 16px auto 0 auto;
    box-shadow: 0 4px 20px #0002;
    border-radius: 16px;
    background: #fff;
    padding: 4px;
    width: 120px;
    height: 120px;
}

/* Footer */
footer {
    background: #151515;
    color: #aaa;
    padding: 22px 0 14px 0;
    margin-top: 24px;
    font-size: 1em;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

footer .footer-legal {
	text-align: center;
    margin: 0;
    padding: 0;
}

.footer-social{
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin: 18px 0;
    flex-wrap: wrap;
}
.footer-social-icon{
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
footer .my-icon { 
	width: 32px; 
	height: 32px; 
}
.footer-social a img {
  transition: transform 0.18s, filter 0.18s;
  opacity: 0.93;
}
.footer-social a:hover img {
  transform: scale(1.15);
  opacity: 1;
  filter: brightness(1.1);
}
a {
	color: #e4bc59;
}
a:hover {
	color: #cfa63e;
}
.footer-social a {
	color: #aaa;
}
.footer-social a:hover {
	color: #e4bc59;
}
footer a {
    text-decoration: none;
    opacity: 0.9;
    transition: color 0.2s;
}


footer .copyright {
    margin-left: auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

/* Responsiveness */
@media (max-width: 900px) {
    .hero-flex, .how-flex, .footer-flex {
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
    }
	.hero-content{
		flex: 2 1;
	}
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 1.3em;
    }
    .features h2, .how-content h2 {
        font-size: 1.2em;
    }
    .logo {
        font-size: 1.2em;
    }
    .manual, .contact, .features, .app-download, .hero {
        padding: 30px 0;
    }
}

.legal-page {
    display: flex;
    gap: 0;
    background: #191919;
    min-height: 55vh;
	width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
.legal-nav {
    background: #222;
    width: 260px;
    padding: 34px 0 34px 0;
    border-right: 2px solid #292929;
}
.legal-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
}
.legal-nav li {
    margin-bottom: 10px;
}
.legal-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 8px 0 0 8px;
    font-weight: 500;
    background: none;
    transition: background 0.15s, color 0.18s;
    font-size: 1.0em;
    opacity: 0.86;
}
.legal-nav a.active, .legal-nav a:hover {
    background: #e4bc59;
    color: #222;
    opacity: 1;
}
.legal-content {
    flex: 1 1 0%;
    padding: 38px 34px;
    color: #f4f4f4;
    min-height: 340px;
    background: #181818;
    font-size: 1.12em;
}
@media (max-width: 900px) {
    .legal-page { flex-direction: column; }
    .legal-nav { width: 100%; border-right: 0; border-bottom: 2px solid #292929; padding: 14px 0;}
    .legal-nav a { border-radius: 8px 8px 0 0; text-align: center;}
    .legal-content { padding: 24px 0px; }
}

.manual-page {
    display: flex;
    gap: 0;
    background: #191919;
    min-height: 55vh;
	width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
.manual-nav {
    background: #222;
    width: 320px;
    padding: 34px 0 34px 0;
    border-right: 2px solid #292929;
}
.manual-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 12px;
}
.manual-nav li {
    margin-bottom: 4px;
}
.manual-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 3px 22px;
    border-radius: 8px 0 0 8px;
    font-weight: 500;
    background: none;
    transition: background 0.15s, color 0.18s;
    font-size: 1.0em;
    opacity: 0.86;
}
.manual-nav a.active, .manual-nav a:hover {
    background: #e4bc59;
    color: #222;
    opacity: 1;
}
.manual-content {
    flex: 1 1 0%;
    padding: 38px 34px;
    color: #f4f4f4;
    min-height: 340px;
    background: #181818;
}
@media (max-width: 900px) {
    .manual-page { flex-direction: column; }
    .manual-nav { width: 100%; border-right: 0; border-bottom: 2px solid #292929; padding: 14px 0;}
    .manual-nav a { border-radius: 8px 8px 0 0; text-align: center;}
    .manual-content { padding: 24px 0px; }
}
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: #181818;
  color: #fff;
  font-size: 1.07em;
  box-shadow: 0 -2px 8px #0006;
  padding: 20px 18px 18px 18px;
  text-align: center;
  border-top: 2px solid #e4bc59;
  transition: transform 0.3s;
}
.cookie-btn {
  background: #e4bc59;
  color: #222;
  border: none;
  margin: 0 6px;
  border-radius: 16px;
  padding: 10px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1em;
  transition: background 0.15s;
}
.cookie-btn:hover {
  background: #cfa63e;
}
#cookie-fab-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
  width: 56px;
  height: 56px;
  background: #e4bc59;
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 10px #0005;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.2s;
  padding: 0;
  outline: none;
}
#cookie-fab-btn:hover, #cookie-fab-btn:focus {
  background: #cfa63e;
  box-shadow: 0 4px 20px #0007;
}
#cookie-fab-btn svg {
  width: 32px;
  height: 32px;
  pointer-events: none;
}
.manual-section {
  margin: 36px 0 44px 0;
  padding: 18px 0;
}

/* Nagłówek każdej sekcji instrukcji */
.manual-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 22px;
  letter-spacing: 1px;
}
.manual-step {
  display: inline-block;
  background: #e4bc59;
  color: #222;
  border-radius: 10px;
  padding: 6px 18px;
  margin-right: 14px;
  font-size: 1em;
  vertical-align: middle;
}

/* Główna kolumna (np. ekran powitalny) */
.manual-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 520px;
  margin: 0 auto;
  gap: 24px;
}

/* Wysrodkowanie zdjęc */
.manual-img-center {
  padding: 20px 0 24px 0;
  margin: 0 auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Mockup telefonu */
.manual-phone-mockup {
  max-width: 100%;
  border-radius: 24px;
  box-shadow: 0 4px 24px #0003;
  margin: 0 auto;
}

/* Treść instrukcji pod ekranem */
.manual-body, .manual-content {
  padding: 26px 0 18px 0;
  margin: 0 auto;
  width: 100%;
  background: #181818;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 1px 12px #0002;
}

.manual-body ol,
.manual-content ol {
  padding-left: 18px;
}
.manual-body ol > li,
.manual-content ol > li {
  margin-bottom: 22px;
  font-size: 1.0em;
  line-height: 1.6;
}

/* Tabela zgodności */
.manual-table {
  width: 98%;
  margin: 16px auto 14px auto;
  border-collapse: collapse;
  font-size: 1em;
}
.manual-table th, .manual-table td {
  border: 1px solid #999;
  padding: 6px 12px;
  background: #181818;
}
.manual-table th {
  background: #222;
  color: #e4bc59;
  font-weight: bold;
}
.table-scroll{
  overflow-x: auto;          /* przewijaj w poziomie */
  overflow-y: visible;
  -webkit-overflow-scrolling: touch; /* płynne przewijanie iOS */
  margin: 0 0 1rem;
}

/* Kody QR */
.manual-qr-codes {
  display: flex;
  gap: 36px;
  margin-top: 15px;
  justify-content: center;
}
.manual-qr-codes div {
  text-align: center;
}
.manual-qr-codes img {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 7px;
  border: 1px solid #ddd;
}

/* Alert / Ważna informacja */
.manual-alert {
  background: #464646;
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 1.08em;
  box-shadow: 0 2px 16px #0001;
}

/* Grid dla parowania */
.manual-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 18px;
}
.manual-pairing-grid {
  display: flex;
  gap: 40px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pairing-images {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
}
.manual-pairing-img {
  width: 150px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px #0002;
  border: 1px solid #ccc;
}
.pairing-steps {
  flex: 1 1 350px;
  min-width: 250px;
  font-size: 1.08em;
}
.pairing-steps ol { padding-left: 18px; }
.pairing-steps li { margin-bottom: 13px; line-height: 1.65; }

.manual-pairing-screens {
  display: flex;
  gap: 18px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: auto;
}
.manual-pairing-thumb {
  height: auto;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 8px #0002;
}
.w150{
	width: 150px;
}
.w200{
	width: 200px;
}
.w300{
	width: 300px;
}
.mw300{
    min-width: 300px;
}
.borcook-note{
	background: #fff;
    color: #222;
    padding: 15px;
    border: 1px solid #222;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.hf{
	height: fit-content;
}

.cus_pro_edit {
  display: flex;
  gap: 34px;
  align-items: flex-start;
  background: #222;
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: 0 2px 18px #0001;
  flex-wrap: wrap; /* pozwala łamać układ */
}

.cus_pro_edit-img {
  flex: 0 0 20%;
}

.cus_pro_edit-text {
  flex: 1 1 0;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cus_pro_edit-text hr {
  margin: 20px 0;
  border: none;
  border-bottom: 1px solid #444;
}
@media (max-width: 768px) {
  .cus_pro_edit {
    flex-direction: column;   /* obrazek nad tekstem */
    align-items: center;
    text-align: center;
  }

  .cus_pro_edit-img {
    margin-bottom: 20px;
  }

  .cus_pro_edit-text {
    text-align: left; /* na mobile lepiej czytać z lewej */
  }
}
.colorbar {
  display: flex;
  flex-wrap: wrap;       /* pozwala łamać elementy przy mniejszej szerokości */
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 10px;
}

.colorbar span {
  flex: 1 1 33.3%;       /* rośnie, maleje, bazowo 1/3 szerokości */
  text-align: center;
  color: #222;
  padding: 6px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

/* Kolory */
.colorbar .green { background: #dcf5df; }
.colorbar .yellow { background: #ffefcb; } 
.colorbar .gray { background: #e0e0e0; }

.flex{
  flex 1 1 auto;
}

/* Dodatkowe dopasowanie dla małych ekranów */
@media (max-width: 600px) {
  .colorbar span {
    flex: 1 1 100%;   /* każdy zajmuje całą szerokość */
  }
}

/* Responsywność */
@media (max-width: 900px) {
  .manual-pairing-grid { flex-direction: column; gap: 24px;}
  .pairing-images { flex-direction: row; gap: 12px; justify-content: center;}
  .pairing-steps { font-size: 1em; }
  .manual-pairing-screens { gap: 10px; }
  /*.manual-pairing-thumb, .manual-pairing-img { width: 82px; } */
}

@media (max-width: 700px) {
  .manual-title { font-size: 1.2em; }
  .manual-step { font-size: .98em; }
  .manual-single { max-width: 98vw; }
  .manual-phone-mockup { width: 300px; }
  .wm300 { width: 300px;}	
  .manual-content, .manual-body { padding: 14px 0px; font-size: 1em;}
  .manual-table th, .manual-table td { font-size: .98em; }
  .manual-qr-codes { gap: 15px; }
}

