body {
    font-family: var(--font-main);
    text-align: center;
    background-color: var(--color-bg);
    color: var(--color-text);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Usunięcie poziomego suwaka */
}

/* Styl dla wersji desktopowej */
header {
    position: relative;
    background-color: rgba(19, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding: 15px 20px;
    box-shadow: 0 2px 15px var(--color-shadow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

header .logo {
    display: flex;
    align-items: center;
    height: 42px;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

header .logo img {
    max-height: 100%;
    width: auto;
}

.desktop-menu {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 40px;
}

.menu-left, .menu-right {
    display: flex;
    align-items: center;
}

.desktop-menu a {
    color: var(--color-text);
    text-decoration: none;
    margin: 0 15px;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    line-height: .5; /* Dodano dla normalizacji wysokości linii */
}

.desktop-menu a:hover {
    color: var(--color-primary);
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after,
.desktop-menu a.active::after {
    width: 100%;
}

.desktop-menu a.active {
    color: var(--color-primary);
    font-weight: 600;
}

.desktop-menu a.register-button {
    background-color: var(--color-primary);
    padding: 8px 16px; /* Lekko zwiększony padding poziomy */
    border-radius: 24px;
    color: var(--color-text);
    margin-left: 15px; /* Dostosowany margines */
    box-shadow: 0 4px 12px rgba(0, 127, 255, 0.25);
    transition: all 0.3s ease;
    border: none;
    font-weight: 600;
    display: inline-flex; /* Dla lepszego wyrównania */
    align-items: center;  /* Wyśrodkowanie w pionie */
    justify-content: center; /* Wyśrodkowanie w poziomie */
    line-height: 1.1; /* Zapewnia odpowiednią wysokość */
    text-align: center;
}

.desktop-menu a.register-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 127, 255, 0.35);
}

.desktop-menu a.register-button::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    font-size: 24px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--color-primary);
}

/* Styl dla wersji mobilnej */
@media (max-width: 767px) {
    header {
        padding: 12px 15px;
    }
    
    .header-container {
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    header .logo {
        margin-top: 5px; /* Przesuwa logo nieco niżej */
    }

    .desktop-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        padding: 5px;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #131212;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 1000;
    }

    .mobile-menu.menu-open {
        display: block;
    }

    .menu-content {
        display: flex;
        flex-direction: column;
        padding: 15px 0;
        align-items: center;
    }

    .menu-content a {
        color: #fff;
        text-decoration: none;
        padding: 12px 20px;
        text-align: center;
        font-weight: 500;
        font-size: 16px;
        width: 100%;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .menu-content a:hover,
    .menu-content a.active {
        color: var(--color-primary);
        background-color: rgba(0, 127, 255, 0.1);
    }

    .menu-content a.register-button {
        background-color: var(--color-primary);
        color: white;
        border-radius: 24px;
        margin: 15px auto;
        padding: 10px 25px; /* Dodano padding */
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0, 127, 255, 0.25);
        display: inline-flex; /* Dla lepszego wyrównania */
        align-items: center; /* Wyśrodkowanie w pionie */
        justify-content: center; /* Wyśrodkowanie w poziomie */
        line-height: 1.5; /* Zapewnia odpowiednią wysokość */
        text-align: center;
        max-width: 200px; /* Opcjonalnie: maksymalna szerokość */
    }

    .menu-content a.register-button:hover {
        background-color: #0066cc;
        transform: translateY(-2px);
    }
}

/* Animacja dla menu mobilnego */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-15px); }
}

.mobile-menu.menu-open .menu-content {
    animation: slideDown 0.3s ease-out;
}

.mobile-menu.menu-closing .menu-content {
    animation: slideUp 0.3s ease-out;
}

.mobile-menu.menu-closing {
    pointer-events: none;
}

.mobile-menu.menu-closing .menu-content {
    animation: slideUp 0.3s ease-out forwards;
}

section {
    padding: 50px 20px;
}

#about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
    background-color: var(--color-bg);
}

#about .content {
    max-width: 600px;
    text-align: left;
    margin-right: 50px;
}

#about h2 {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

#about p {
    color: var(--color-text);
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

#about .button-container {
    display: flex;
    justify-content: center;
}

#about .button-container a {
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    margin: 5px;
}

#about .button-container a:hover {
    background-color: #0066CC;
}

#about .image-placeholder {
    background-color: #f4f4f4;
    width: 300px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
    margin: 20px auto;
    border-radius: 12px;
}

/* Stylizacja formularza */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    width: 300px;
    text-align: left;
}

input, button {
    width: 300px; /* Ustawienie jednakowej szerokości dla wszystkich inputów i przycisków */
    margin: 10px 0;
    padding: 10px;
    border: none;
    border-radius: 12px; /* Ustawienie zaokrąglenia na 12px */
}

button {
    background-color: var(--color-primary);
    color: #fff;
    cursor: pointer;
}

button:hover {
    background-color: #0066CC;
}

input[type="text"], 
input[type="password"], 
input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px !important;
    font-family: var(--font-main);
    box-sizing: border-box;
    color: var(--color-text);
    background-color: var(--color-bg);
}

.container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 20px;
    max-width: 100%;
    box-sizing: border-box;
    gap: 20px;
}

.canvas-container {
    flex: 0 0 auto;
    position: relative;
    width: min(calc(100vw - 400px), 1152px);
    aspect-ratio: 16/9;
    border: 2px solid #ccc;
    background-color: #4a4a4a;
}

#canvas {
    width: 100%;
    height: 100%;
    background-color: #4a4a4a;
}

.text-options {
    flex: 0 0 clamp(300px, 25vw, 400px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    min-width: 300px;
    overflow-x: hidden;
}

@media screen and (min-width: 1600px) {
    .text-options {
        flex: 0 0 clamp(400px, 30vw, 500px);
    }
}

@media screen and (max-width: 1200px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    
    .canvas-container {
        width: min(100%, 1152px);
        margin-bottom: 20px;
    }
    
    .text-options {
        width: 100%;
        max-width: 600px;
        flex: none;
    }
}

#addText {
    margin-bottom: 20px;
}

#textEditors {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px; /* Zmniejszony padding dla scrollbara */
    border: 1px solid #333;
    box-sizing: border-box;
}

.text-editor {
    display: inline-block;
    text-align: left;
    background-color: var(--color-bg);
    border: 1px solid #333;
    border-right: none;
    border-left: none;
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    color: var(--color-text);
}

.text-editor:last-child {
    border-bottom: 1px solid #333;
}

.text-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    color: var(--color-text);
    border-bottom: 1px solid #333;
    user-select: none;
}

.text-editor-header .header-content {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.text-editor-header .arrow-icon {
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.text-editor-header .header-text {
    color: var(--color-text);
}

.text-editor-header .delete-icon {
    color: #ff4444;
    cursor: pointer;
    transition: color 0.3s ease;
    pointer-events: auto;
}

.text-editor-header .delete-icon:hover {
    color: #ff0000;
}

.text-editor-content {
    padding: 15px;
    border-top: none;
    background-color: #1a1a1a;
    max-height: 1000px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out, padding 0.2s ease-in-out;
}

.text-editor-content.hidden {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.close-button {
    font-size: 20px;
    font-weight: bold;
    color: red;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

label {
    display: block;
    margin-top: 5px;
    color: var(--color-text);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    margin: 5px 0;
    background: none; /* Usunięcie białego tła */
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    transition: 0.2s;
    background: var(--color-primary);
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type="range"]::-webkit-slider-thumb {
    border: 1px solid var(--color-primary);
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none; /* Dodanie standardowej właściwości appearance */
    margin-top: -8px;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
    background: var(--color-primary);
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    transition: 0.2s;
    background: var(--color-primary);
    border-radius: 1.3px;
    border: 0.2px solid #010101;
}

input[type="range"]::-moz-range-thumb {
    border: 1px solid var(--color-primary);
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 8.4px;
    cursor: pointer;
    transition: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

input[type="range"]::-ms-fill-lower {
    background: var(--color-primary);
    border: 0.2px solid #010101;
    border-radius: 2.6px;
}

input[type="range"]::-ms-fill-upper {
    background: var(--color-primary);
    border: 0.2px solid #010101;
    border-radius: 2.6px;
}

input[type="range"]::-ms-thumb {
    border: 1px solid var(--color-primary);
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    height: 8.4px;
    appearance: none; /* Dodanie standardowej właściwości appearance */
}

input[type="range"]:focus::-ms-fill-lower {
    background: var(--color-primary);
}

input[type="range"]:focus::-ms-fill-upper {
    background: var(--color-primary);
}

input[type="color"] {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    width: 50px; /* Zmniejszamy szerokość samego color pickera */
    height: 30px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
}

button {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    font-family: var(--font-main);
    border-radius: 4px !important;
    text-align: center;
    font-size: 16px;
}

button:hover {
    background-color: #0066CC;
    border-radius: 4px !important;
}

button.spacing {
    margin-right: 5px;
}

textarea {
    width: 100%;
    height: 80px;
    font-family: var(--font-main);
    box-sizing: border-box;
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 1px solid #ccc;
    resize: none; /* Prevent resizing */
}

/* Style for the login form specifically */
#login input[type="text"],
#login input[type="password"] {
    width: 300px; /* Set both to the same width */
    border-radius: 12px; /* Ensure both have the same border-radius */
}

/* Style for text editor container to avoid horizontal scroll and set vertical scrollbar width */
#textEditors {
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px; /* Zmniejszony padding dla scrollbara */
    border: 1px solid #333;
    box-sizing: border-box;
}

#textEditors::-webkit-scrollbar {
    width: 8px;
}

#textEditors::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 4px;
}

#textEditors::-webkit-scrollbar-track {
    background-color: #1a1a1a;
    border-left: 1px solid #333;
}

#textEditors:empty {
    border: none;
    padding: 0;
}

.text-editor-content[style*="display: none"] + .text-editor-header .arrow-icon {
    transform: rotate(0deg);
}

.text-editor-content[style*="display: block"] + .text-editor-header .arrow-icon {
    transform: rotate(90deg);
}

/* Usuń stare styles dla przycisków wyrównywania */
.gg-align-left,
.gg-align-center,
.gg-align-right {
    display: none;
}

/* Nowe styles for numeric buttons */
.number-controls {
    display: flex;
    gap: 5px;
    margin-top: 15px;
    justify-content: center; /* Wycentruj przyciski */
    padding: 10px 0;
}

button.spacing {
    background-color: #2a2b30;
    color: var(--color-text);
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: auto;
    min-width: 40px;
    margin: 0;
    flex: 1; /* Przyciski zajmują równą przestrzeń */
    max-width: 80px; /* Maksymalna szerokość przycisków */
}

button.spacing:hover {
    background-color: var(--color-primary);
    color: var(--color-text);
}

button.spacing:active {
    transform: scale(0.95);
}



/* Styl for grid */
canvas.grid-on {
    background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1) 76%, transparent 77%, transparent), 
                      linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.1) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1) 76%, transparent 77%, transparent);
    background-size: 50px 50px; /* Adjust size of the grid */
}

/* Stylizacja strony logowania */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--color-bg);
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.login-form {
    background-color: rgba(42, 43, 48, 1);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.login-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent, 
        transparent, 
        transparent, 
        var(--color-primary)
    );
    animation: rotateGlow 12s linear infinite;
    z-index: -1;
}

.login-form::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background-color: rgba(42, 43, 48, 1);
    border-radius: 10px;
    z-index: -1;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-form h2 {
    color: var(--color-primary);
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.login-form label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.login-form input {
    width: 100%;
    background-color: rgba(30, 31, 36, 0.8);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.login-form input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 127, 255, 0.2);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me input {
    width: auto;
    margin-right: 10px;
}

.login-form button {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00a1ff 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 127, 255, 0.3);
}

.login-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 127, 255, 0.4);
}

.login-form p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    text-align: center;
}

.login-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 450px;
    height: 450px;
    margin-left: 60px;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

.login-image img {
    width: 110%;
    height: 110%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.register-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 450px;
    height: 450px;
    margin-left: 60px;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

.register-image img {
    width: 110%;
    height: 110%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.message-box {
    position: fixed;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 127, 255, 0.15);
    color: var(--color-text);
    padding: 15px 25px;
    border: 1px solid rgba(0, 127, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 127, 255, 0.2);
    display: none;
    z-index: 1000;
}

#verificationCodeSection {
    background-color: rgba(0, 127, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid rgba(0, 127, 255, 0.2);
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        padding: 20px;
    }

    .login-form, .register-form {
        max-width: 100%;
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 25px;
    }

    .login-form h2 {
        font-size: 1.6rem;
    }

    .login-image, .register-image {
        display: none;
    }
}

/* Styl dla pola weryfikacyjnego */
.verification-code-container {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.verification-digit {
    width: 40px;
    height: 50px;
    background-color: rgba(30, 31, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    color: var(--color-text);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.verification-digit:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 127, 255, 0.2);
}

#verificationCodeSection {
    background-color: rgba(0, 127, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid rgba(0, 127, 255, 0.2);
}

input[type="email"], input[type="password"], input[type="text"] {
    background-color: rgba(30, 31, 36, 0.8);
    color: var(--color-text);
}

/* Dodaj poniższe styles to pliku style.css */
.admin-container {
    display: flex;
    justify-content: space-between;
}

.form-container {
    width: 35%; /* Zmienna szerokość kontenera formularza */
}

.user-list-container {
    width: 40%; /* Zmienna szerokość kontenera listy użytkowników */
}

.user-item {
    background-color: var(--color-bg);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.user-item p {
    margin: 5px 0;
}

.user-item button {
    margin-right: 10px;
}

.text-element-class {
    position: absolute;
    color: var(--color-text); /* lub inny domyślny kolor */
    font-size: 16px; /* lub inna domyślna wielkość czcionki */
    font-family: inherit;
}

/* Styl for mobile warning message */
.mobile-warning {
    display: none; /* Domyślnie ukryty */
    background-color: #ffcc00;
    color: #000;
    padding: 15px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Zapewnia, że komunikat będzie zawsze na wierzchu */
}

/* Wyświetlanie komunikatu na urządzeniach mobilnych */
@media only screen and (max-width: 767px) {
    .mobile-warning {
        display: block; /* Wyświetl komunikat na urządzeniach mobilnych */
    }

    header .logo {
        margin-bottom: 10px;
    }

    header nav {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav a {
        margin: 5px 0;
    }

    #about {
        flex-direction: column;
        padding: 20px 0;
        max-width: 90%;
    }

    #about .content {
        margin: 0 0 20px 0;
    }

    #about .image-placeholder {
        width: 80%;
        height: auto;
    }
}
/* Stylizacja sekcji na stronie Plany */
section {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: var(--color-text);
    padding: 20px;
    border-radius: 12px;
}

/* Style for miniaturek płócien na stronie dashboard */
.canvas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.canvas-item {
    width: 250px; /* Zwiększono szerokość z 200px na 250px */
    text-align: center;
    background-color: #2a2b30;
    padding: 15px; /* Zwiększono padding dla lepszego wyglądu */
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.canvas-thumbnail {
    display: block;
    margin-bottom: 10px;
}

.canvas-image {
    width: 100%;
    height: 180px; /* Zwiększono wysokość z 150px na 180px */
    object-fit: cover;
    border-radius: 4px;
}

.canvas-name {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 10px;
}

.canvas-open-link,
.delete-canvas-button {
    display: inline-block;
    width: 80%; /* Zmniejszono szerokość z 100% na 80% */
    max-width: 100px; /* Zmniejszono max-width z 120px na 100px */
    padding: 5px 0px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 0px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.canvas-open-link {
    background-color: var(--color-primary);
    color: var(--color-text);
}

.canvas-open-link:hover {
    background-color: #004b96;
}
.delete-canvas-button {
    background-color: #ff4444;
    color: var(--color-text);
    border: none;
    cursor: pointer;
}

.delete-canvas-button:hover {
    background-color: #cc0000;
}

.custom-logout-button {
    background-color: #f44336;
    color: white;
    padding: 10px 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-family: var(--font-main);
    font-weight: bold;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 120px;
    margin-left: 18px;
}

.custom-logout-button:hover {
    background-color: #d32f2f;
}


#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--color-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loading #loading-overlay {
    display: flex;
}

body:not(.loading) #loading-overlay {
    display: none;
}

.changelog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.changelog-list {
    list-style-type: none;
    padding-left: 0;
}

.changelog-list > li {
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
}

.version {
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    width: 50px;
    text-align: right;
}

.changelog-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.changelog-content {
    margin-left: 20px;
    text-align: justify;
}

.changelog-content p {
    margin-bottom: 10px;
    text-align: justify;
}

.changelog-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.changelog-content ul li {
    margin-bottom: 5px;
    text-align: justify;
}




section h2, section h3 {
    color: var(--color-primary);
}

section ul {
    list-style-type: none;
    padding: 0;
}

section ul li {
    margin-bottom: 10px;
}

section ul li strong {
    color: var(--color-text);
}

a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: bold; 
}

a.button:hover {
    background-color: #0066CC;
}

/* Style dla sekcji FAQ na faq.html */
#faq-page {
    padding: 80px 5%;
    background-color: #131212;
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-header p {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.faq-category {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: var(--color-card);
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease, text-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-category:hover {
    color: var(--color-text);
    background-color: #2a2b30;
    border-color: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.faq-category.active {
    background-color: rgba(0, 127, 255, 0.1);
    color: var(--color-primary);
    border-color: rgba(0, 127, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 127, 255, 0.6);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto 60px;
}

#faq-page .faq-item {
    background-color: var(--color-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#faq-page .faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 127, 255, 0.3);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

#faq-page .faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

#faq-page .faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    transition: color 0.3s ease;
    text-align: left;
}

#faq-page .faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    transition: transform 0.3s ease;
    text-shadow: 0 0 12px rgba(0, 127, 255, 0.7);
}

#faq-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 30px;
    text-align: left;
}

#faq-page .faq-answer p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 24px;
}

#faq-page .faq-answer a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

#faq-page .faq-answer a:hover {
    color: #4da3ff;
    text-decoration: underline;
}

#faq-page .faq-item.active .faq-icon {
    transform: rotate(180deg);
}

#faq-page .faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 0;
}

#faq-page .faq-item.active .faq-question h3 {
    color: var(--color-primary);
}

#faq-page .faq-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-box {
    background-color: var(--color-card);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 127, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(0, 127, 255, 0.8);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-box:hover .contact-icon {
    transform: scale(1.08);
    background-color: rgba(0, 127, 255, 0.15);
}

.contact-box h3 {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 15px;
}

.contact-box p {
    color: #b0b0b0;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.contact-box .button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00a1ff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
}

.contact-box .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 127, 255, 0.35);
}

.contact-box .button-secondary {
    background: #2a2b30;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.contact-box .button-secondary:hover {
    background: #3a3b40;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsywność dla FAQ */
@media (max-width: 767px) {
    #faq-page {
        padding: 40px 5%;
    }
    
    .faq-header h1 {
        font-size: 36px;
    }
    
    .faq-header p {
        font-size: 16px;
    }
    
    .faq-categories {
        margin-bottom: 30px;
    }
    
    .faq-category {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    #faq-page .faq-question {
        padding: 18px 20px;
    }
    
    #faq-page .faq-question h3 {
        font-size: 16px;
    }
    
    #faq-page .faq-answer {
        padding: 0 20px;
    }
    
    #faq-page .faq-answer p {
        font-size: 14px;
        padding-bottom: 18px;
    }
    
    #faq-page .faq-contact {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--color-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.loading #loading-overlay {
    display: flex;
}

body:not(.loading) #loading-overlay {
    display: none;
}

/* Styl dla wersji desktopowej */
@media (min-width: 768px) {
    header .desktop-menu {
        display: flex !important;
    }

    header .mobile-menu,
    header .menu-toggle {
        display: none !important;
    }
}

/* Styl dla wersji mobilnej */
@media (max-width: 767px) {
    header .desktop-menu {
        display: none !important;
    }

    header .menu-toggle {
        display: block !important;
    }

    header .mobile-menu {
        display: none;
    }

    header .mobile-menu.menu-open {
        display: block !important;
    }
}

.main-title {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.header-subtitle {
    font-size: 1.8em;
    margin-bottom: 0.3em;
}

.subheader {
    font-size: 1.4em;
    margin-bottom: 1em;
}



.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




.center-button {
    text-align: center;
}

.center-button .button {
    display: inline-block;
    /* Inne styles for button, if needed */
}

.response-time {
    font-style: italic;
    margin-top: 20px;
}

#hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%; /* Zajmij całą szerokość */
    padding: 80px 10%; /* Zostawiono padding dla treści */
    box-sizing: border-box;
    position: relative; /* Potrzebne dla obrazka i floating elements */
    border-radius: 0;
    margin-bottom: 0; /* Usunięcie marginesu dolnego */
}



.hero-content {
    flex: 1; 
    max-width: 550px; 
    text-align: left;
    margin-right: 50px; 
    box-sizing: border-box;
    position: relative; 
    z-index: 1;
}

.hero-content h1 {
    font-size: 64px; 
    color: var(--color-text);
    margin-bottom: 25px; 
    font-weight: 700;
    line-height: 1.2;
}

.hero-highlight {
    background: linear-gradient(135deg, #00a1ff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block; 
}

.hero-content p {
    font-size: 20px; 
    color: #b0b0b0; 
    margin-bottom: 40px; 
    line-height: 1.6;
}

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

.hero-content .button {
    padding: 14px 28px; 
    text-decoration: none;
    border-radius: 30px; 
    font-size: 16px;
    font-weight: 600;
    display: inline-flex; 
    align-items: center;
    gap: 8px; 
    transition: all 0.3s ease;
    border: none;
}

.hero-content .button-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 127, 255, 0.3);
}

.hero-content .button-primary:hover {
    background-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 127, 255, 0.4);
}

.hero-content .button-secondary {
    background-color: #2a2b30; 
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

.hero-content .button-secondary:hover {
    background-color: #3a3b40;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1; 
    max-width: 750px; 
}

.hero-image img {
    max-width: 100%; 
    height: auto;
    border-radius: 12px;
    background-color: transparent; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); 
    backdrop-filter: none; 
    -webkit-backdrop-filter: none;
}

.hero-content .trial-text {
    display: none;
}

.hero-caption {
    display: none;
}

#simplicity-section {
    background-color: transparent;
    padding: 0 5% 40px; 
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 100%; 
    box-sizing: border-box;
    margin-top: 0; 
}


.simplicity-header {
    padding-top: 80px;
    margin-bottom: 60px; 
    position: relative;
    z-index: 1;
}

#simplicity-section h2 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px; 
    font-weight: 700;
}

#simplicity-section .simplicity-header p {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto; 
    line-height: 1.6;
}

.simplicity-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto; 
    position: relative;
    z-index: 1;
}

.step-card {
    background-color: rgba(42, 43, 48, 0.7); 
    padding: 35px 25px; 
    border-radius: 12px; 
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden; 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
}

.step-card:hover {
    transform: translateY(-8px); 
}

.step-icon-container {
    width: 70px; 
    height: 70px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px; 
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08); 
}

.step-card:hover .step-icon-container {
    transform: scale(1.1); 
}

.step-icon {
    font-size: 32px; 
    color: var(--color-primary);
    text-shadow: 0 0 12px rgba(0, 127, 255, 0.7);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 127, 255, 0.15);
    color: #00a1ff;
    font-weight: 700;
    font-size: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.step-card h3 {
    font-size: 22px; 
    color: var(--color-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.step-card p {
    font-size: 15px; 
    color: #b0b0b0;
    line-height: 1.6;
}

.simplicity-features,
.feature {
    display: none; 
}

#benefits-section {
    padding: 40px 5%; 
    text-align: center;
    position: relative;
    z-index: 1; 
    max-width: none; 
    margin: 0; 
    background-color: #131212; 
    border-radius: 0; 
}

#benefits-section h2 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px; 
    font-weight: 700; 
}

#benefits-section > p {
    font-size: 18px;
    color: #b0b0b0; 
    margin-bottom: 60px; 
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6; 
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 25px; 
    max-width: 900px; 
    margin: 0 auto; 

}

.benefit {
    background-color: var(--color-card); 
    padding: 30px 35px; 
    border-radius: 16px; 
    text-align: left; 
    position: relative; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    gap: 35px; 
    width: 100%; 
    box-sizing: border-box; 
}

.benefit:hover {
    transform: translateY(-5px); 
    border-color: rgba(0, 127, 255, 0.3); 
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2); 
}

.benefit-icon-container {
    width: 80px; 
    height: 80px;
    background-color: rgba(0, 127, 255, 0.1); 
    border-radius: 16px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin: 0; 
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(0, 127, 255, 0.2); 
    flex-shrink: 0; 
}

.benefit:hover .benefit-icon-container {
    transform: scale(1.08);     
    background-color: rgba(0, 127, 255, 0.15);
}

.benefit i {   
    font-size: 36px; 
    color: var(--color-primary); 
    text-shadow: 0 0 12px rgba(0, 127, 255, 0.7); 
}

.benefit-content {
    flex: 1; 
}

.benefit h3 {
    font-size: 20px; 
    color: var(--color-text);
    margin-bottom: 8px; 
    font-weight: 600; 
    margin-top: 0; 
}

.benefit p {
    font-size: 15px; 
    color: #b0b0b0; 
    line-height: 1.6; 
    margin-bottom: 0; 
}

@media (max-width: 767px) {
    .benefits-list {
        gap: 20px; 
        max-width: 100%; 
        padding: 0 15px; 
        box-sizing: border-box;
    }

    #benefits-section {
        padding: 30px 0; 
    }

    .benefit {
        flex-direction: column; 
        align-items: center; 
        text-align: center; 
        padding: 25px 20px; 
        gap: 20px; 
    }

    .benefit-icon-container {
        width: 50px; 
        height: 50px; 
        margin-bottom: 0; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
    }

    .benefit i {
        font-size: 24px !important; 
        margin-bottom: 0; 
        display: inline-block; 
        vertical-align: middle; 
    }

    .benefit h3 {
        font-size: 18px; 
    }

    .benefit p {
        font-size: 14px; 
    }
}

#plans-section {
    padding: 80px 5%; 
    background-color: #131212; 
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: none; 
    margin: 0; 
    border-radius: 0; 
    isolation: isolate;
}

#plans-section::before {
    content: "";
    position: absolute;
    top: -100%; 
    right: -60%;
    left: auto; 
    width: 150%; 
    height: 300%; 
    background: radial-gradient(circle at center, rgba(0, 127, 255, 0.10) 0%, rgba(0, 127, 255, 0) 20%); 
    transform: rotate(-15deg); 
    z-index: -1; 
    pointer-events: none;
}

#plans-section h2 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 700;
}

#plans-section > p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.plans-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    max-width: 900px; 
    margin: 0 auto; 
}

.plan {
    background-color: var(--color-card); 
    padding: 40px 30px;
    border-radius: 16px; 
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    width: auto; 
    min-height: auto; 
}

.plan:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 127, 255, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.plan-header {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 25px;
}

.plan h3 {
    font-size: 24px; 
    color: var(--color-text);
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center; 
}

.plan-price {
    font-size: 36px; 
    color: var(--color-primary);
    font-weight: 700;
    margin: 0;
    text-align: center; 
}

.plan-period {
    font-size: 16px;
    color: #b0b0b0;
    font-weight: 400;
    margin-left: 5px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.plan-features li {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features i {
    color: var(--color-primary); 
    font-size: 18px;
    width: 20px; 
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 127, 255, 0.6);
}

.plan-features .feature-limited i {
    color: rgba(255, 255, 255, 0.3); 
    text-shadow: none; 
}

.plan-features .feature-limited {
    color: rgba(255, 255, 255, 0.5); 
    text-decoration: line-through; 
}

.plan-button {
    width: 100%;
    text-align: center;
    padding: 12px 20px; 
    font-size: 15px; 
    font-weight: 600;
    border-radius: 8px; 
    margin-top: auto; 
    border: none; 
    transition: all 0.3s ease; 
    box-sizing: border-box; 
}

.plan-button:not(.button-secondary) {
    background: linear-gradient(135deg, var(--color-primary) 0%, #00a1ff 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 127, 255, 0.25);
}

.plan-button:not(.button-secondary):hover {
    background: linear-gradient(135deg, #0066cc 0%, #008ae6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 127, 255, 0.35);
}

.plan-button.button-secondary {
    background-color: #2a2b30;
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-button.button-secondary:hover {
    background-color: #3a3b40;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Usunięcie starych, niepotrzebnych stylów dla planów */
.plan.featured::before {
    display: none;
}

/* Styl dla sekcji Zaufali nam (Nowoczesny Redesign) */
#trusted-section {
    padding: 60px 5%;
    background-color: #131212;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

#trusted-section h2 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 700;
}

#trusted-section > p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.trusted-logos-grid {
    display: flex; 
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%; 
}

.logos-scroll-track {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center;
    gap: 40px; 
    padding: 0 15px; 
}
    
.trusted-logos-grid a,
.logo-placeholder {
    display: flex; 
    justify-content: center;
    align-items: center;
    height: 80px; 
    flex-shrink: 0; 
}

.trusted-logos-grid img {
    max-width: 250px;
    max-height: 110px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s, filter 0.3s;
    border-radius: 6px;
    filter: grayscale(1) brightness(1.2);
}

.trusted-logos-grid a:hover img {
    transform: scale(1.05);
    filter: none;
}

.logo-placeholder {
    border: 2px dashed rgba(255, 255, 255, 0.3); 
    border-radius: 8px; 
    width: 180px; 
    color: rgba(255, 255, 255, 0.4); 
    font-size: 14px;
    font-style: italic;
    text-align: center;
    padding: 10px; 
    box-sizing: border-box; 
    transition: border-color 0.3s ease, color 0.3s ease;
}

.logo-placeholder:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 767px) {
    #trusted-section {
        padding: 40px 0; 
    }

    #trusted-section h2 {
        font-size: 36px;
    }

    #trusted-section > p {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 15px; /* Dodano padding do tekstu */
    }

    .trusted-logos-grid {
        overflow: hidden; /* Ukryj elementy wychodzące poza kontener */
        position: relative; /* Dla pseudo-elementów gradientu */
        width: 100%;
        display: block; /* Nadpisanie flex z wersji desktopowej */
        mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); /* Maska gradientu */
        -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    }

    .logos-scroll-track {
        display: flex;
        width: max-content; /* Szerokość dopasowana do zawartości */
        align-items: center; /* Wyrównanie elementów w pionie */
        animation: scrollLogos 15s linear infinite; /* Nazwa, czas trwania, timing, powtarzanie */
    }

    @keyframes scrollLogos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%); /* Przykładowa wartość dla 3 elementów + 3 kopii */
        }
    }

    .logos-scroll-track:hover {
        animation-play-state: paused;
    }

    .trusted-logos-grid a,
    .logo-text-link {
        height: 60px; /* Zmniejszona wysokość na mobilnych */
        flex-shrink: 0;
        margin: 0 25px; /* Zwiększony margines poziomy między elementami */
    }

    .trusted-logos-grid img {
        max-width: 140px;
        max-height: 60px;
        transition: transform 0.3s, filter 0.3s;
        border-radius: 6px;
        filter: grayscale(1) brightness(1.2);
    }

    .trusted-logos-grid a:hover img {
        transform: scale(1.05);
        filter: none;
    }

    .logo-text-link {
        font-size: 18px;
        height: 60px;
        padding: 0 10px;
    }

}

/* Styl dla sekcji FAQ na stronie głównej */
#faq-section {
    padding: 80px 5%;
    background-color: #131212;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

#faq-section h2 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 700;
}

#faq-section > p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 127, 255, 0.3);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    transition: color 0.3s ease;
    text-align: left;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 30px;
    text-align: left;
}

.faq-answer p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 24px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-top: 0;
}

.faq-item.active .faq-question h3 {
    color: var(--color-primary);
}

/* Responsywność dla sekcji FAQ */
@media (max-width: 767px) {
    #faq-section {
        padding: 40px 5%;
    }
    
    #faq-section h2 {
        font-size: 36px;
    }
    
    #faq-section > p {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
        padding-bottom: 18px;
    }
}

    /* Stylizacja dla urządzeń mobilnych */
    @media (max-width: 767px) {
        #hero-section {
            flex-direction: column;
            align-items: center;
            padding: 40px 5%; /* Zmniejszono padding na mobilnych */
            text-align: center; /* Wyśrodkuj tekst */
        }

        #hero-section::before {
            width: 120%; /* Powiększ gradient na mobilnych */
            height: 100%;
            top: -10%;
            left: -10%;
        }

        .hero-content {
            max-width: 100%;
            text-align: center;
            margin-right: 0;
            margin-bottom: 40px; /* Dodano margines na dole */
        }

        .hero-content h1 {
            font-size: 42px; /* Zmniejszono rozmiar na mobilnych */
        }

        .hero-content p {
            font-size: 18px; /* Zmniejszono rozmiar na mobilnych */
        }

        .hero-buttons {
            flex-direction: column; /* Przyciski jeden pod drugim */
            align-items: center; /* Wyśrodkuj przyciski */
            gap: 15px;
        }

        .hero-content .button {
            width: 80%; /* Przyciski zajmują większość szerokości */
            justify-content: center; /* Wyśrodkuj zawartość przycisku */
        }

        .hero-image {
            max-width: 100%; /* Obrazek zajmuje całą szerokość */
        }

        #simplicity-section {
            padding: 0 5% 30px; /* Zmniejszony dolny padding from 60px */
        }

        #simplicity-section h2,
        #simplicity-section > p {
            text-align: center;
        }

        .simplicity-features {
            flex-direction: column;
            align-items: center;
        }

        .feature {
            margin-bottom: 30px;
        }

        .feature i {
            font-size: 80px; /* Zwiększenie rozmiaru ikon */
        }

        #benefits-section {
            padding: 30px 20px;
        }

        #benefits-section h2,
        #benefits-section > p {
            text-align: center;
            padding: 0 10px;
        }

        .benefits-list {
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 0 10px;
        }

        .benefit {
            width: 100%;
            margin: 0;
            padding: 20px;
            box-sizing: border-box;
            text-align: center;
        }

        .benefit i {
            font-size: 60px;
            margin-bottom: 15px;
        }

        .benefit h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        .benefit p {
            font-size: 14px;
            line-height: 1.4;
        }
    }
    
    
    
    .newsletter-form {
        display: flex;
        margin-top: 16px;
    }
    
    .newsletter-form input {
        flex: 1;
        padding: 10px 15px;
        border: none;
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        border-radius: 4px 0 0 4px;
    }
    
    .newsletter-form button {
        background: var(--color-primary);
        color: #fff;
        border: none;
        padding: 10px 15px;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    
    .newsletter-form button:hover {
        background: #0066cc;
    }
    
    
/* Responsive styles for different screen ratios */
@media screen and (max-aspect-ratio: 16/9) {
    .container {
        padding: 10px;
    }
    
    .canvas-container {
        width: calc(100% - 320px);
        height: auto;
    }
}

@media screen and (min-aspect-ratio: 21/9) {
    .container {
        justify-content: center;
        gap: 40px;
    }
    
    .canvas-container {
        margin-right: 0;
    }
    
    .text-options {
        transform: none;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    
    .canvas-container {
        width: min(100%, 1152px);
        margin-bottom: 20px;
    }
    
    .text-options {
        width: 100%;
        max-width: 600px;
    }
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.slider-container input[type="number"] {
    width: 60px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    background-color: #2a2b30;
    color: var(--color-text);
}

.slider-container input[type="range"] {
    flex: 1;
}

.color-input-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.color-font-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

input[type="text"].hex-input {
    width: 90px;
    height: 30px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
}

select {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    cursor: pointer;
}

.docs-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    background-color: var(--color-bg);
}

.docs-header-left {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.docs-input {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    height: 32px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #333;
    background-color: var(--color-bg);
    color: #fff;
    font-family: var(--font-main);
    font-size: 14px;
}

@media (max-width: 767px) {
    .docs-header {
        padding: 12px;
    }

    .docs-header-left {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .docs-button,
    .docs-input {
        width: 100%;
        max-width: none;
        height: 40px;
        font-size: 16px;
        margin-bottom: 8px;
        box-sizing: border-box;
    }

    .docs-input {
        min-width: unset;
        flex: none;
    }

    label.docs-button {
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: normal;
        margin: 0;
    }

    .docs-title {
        font-size: 18px;
        margin-bottom: 12px;
        width: 100%;
    }
}

.shortcut-group {
    margin-bottom: 20px;
}

.shortcut-input {
    width: 150px;
    height: 30px;
    margin: 5px 0;
    padding: 5px;
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
}

.shortcut-input:focus {
    border-color: var(--color-primary);
    outline: none;
}

.shortcut-group label {
    display: inline-block;
    width: 100px;
    margin-right: 10px;
}

.floating-element {
    position: absolute;
    background-color: rgba(25, 26, 31, 0.85); /* Ciemniejsze tło z przezroczystością */
    color: var(--color-text);
    padding: 10px 20px;
    border-radius: 25px; /* Bardziej zaokrąglone */
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Mocniejszy cień */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2; /* Upewnij się, że są nad obrazkiem */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.floating-element i {
    color: var(--color-primary); /* Kolor ikony */
    font-size: 1.1em;
    /* Dodanie efektu glow */
    text-shadow: 0 0 12px rgba(0, 127, 255, 0.7);
}

.live-badge {
    top: 15%;
    left: -8%; /* Pozycjonowanie poza obrazek */
    transform: rotate(-5deg); /* Lekkie nachylenie */
}

.auto-update-badge {
    bottom: 25%;
    right: -10%; /* Pozycjonowanie poza obrazek */
    transform: rotate(3deg); /* Lekkie nachylenie */
}

.score-update-badge {
    bottom: -12%; /* Pozycjonowanie pod obrazkiem */
    left: 50%;
    transform: translateX(-50%); /* Wyśrodkowanie */
    font-size: 16px;
}

/* Responsywność dla pływających elementów */
@media (max-width: 1200px) {
    .floating-element {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 20px;
    }

    .live-badge {
        top: 10%;
        left: -5%;
    }

    .auto-update-badge {
        bottom: 20%;
        right: -6%;
    }

    .score-update-badge {
        bottom: -8%;
        font-size: 14px;
    }
}

/* Usunięcie starych, niepotrzebnych stylów */
.hero-content .trial-text {
    display: none;
}

.hero-caption {
    display: none;
}

/* Stylizacja dla urządzeń mobilnych */
@media (max-width: 767px) {
    #hero-section {
        flex-direction: column;
        align-items: center;
        padding: 40px 5%; /* Zmniejszono padding na mobilnych */
        text-align: center; /* Wyśrodkuj tekst */
    }

    #hero-section::before {
        width: 120%; /* Powiększ gradient na mobilnych */
        height: 100%;
        top: -10%;
        left: -10%;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 40px; /* Dodano margines na dole */
    }

    .hero-content h1 {
        font-size: 42px; /* Zmniejszono rozmiar na mobilnych */
    }

    .hero-content p {
        font-size: 18px; /* Zmniejszono rozmiar na mobilnych */
    }

    .hero-buttons {
        flex-direction: column; /* Przyciski jeden pod drugim */
        align-items: center; /* Wyśrodkuj przyciski */
        gap: 15px;
    }

    .hero-content .button {
        width: 80%; /* Przyciski zajmują większość szerokości */
        justify-content: center; /* Wyśrodkuj zawartość przycisku */
    }

    .hero-image {
        max-width: 100%; /* Obrazek zajmuje całą szerokość */
    }

    /* Ukryj pływające elementy na mobilnych */
    .floating-element {
        display: none;
    }

    #simplicity-section {
        padding: 0 5% 30px; /* Zmniejszony dolny padding from 60px */
    }

    #simplicity-section h2,
    #simplicity-section > p {
        text-align: center;
    }

    .simplicity-features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        margin-bottom: 30px;
    }

    .feature i {
        font-size: 80px; /* Zwiększenie rozmiaru ikon */
    }

    #benefits-section {
        padding: 30px 20px;
    }

    #benefits-section h2,
    #benefits-section > p {
        text-align: center;
        padding: 0 10px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .benefit {
        width: 100%;
        margin: 0;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
    }

    .benefit i {
        font-size: 60px;
        margin-bottom: 0px;
    }

    .benefit h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .benefit p {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Wrapper dla sekcji Hero i Simplicity */
.hero-simplicity-wrapper {
    background-color: #131212; /* Tło dla obu sekcji */
    position: relative; /* Potrzebne dla gradientu */
    /* Przywrócono overflow: hidden */
    overflow: hidden;
    /* Utwórz nowy stacking context */
    isolation: isolate;
}

.hero-simplicity-wrapper::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -60%;
    width: 150%;
    height: 300%;
    background: radial-gradient(circle at center, rgba(0, 127, 255, 0.15) 0%, rgba(0, 127, 255, 0) 20%); /* Changed from 35% to 30% */
    transform: rotate(15deg);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 767px) {
    .hero-simplicity-wrapper::before {
        top: -50%; /* Mniejsze przesunięcie w górę */
        left: -50%; /* Mniejsze przesunięcie w lewo */
        width: 150%; /* Może być konieczne dostosowanie */
        height: 135%; /* Może być konieczne dostosowanie */
        transform: rotate(0deg);
        background: radial-gradient(circle at center, rgba(0, 127, 255, 0.15) 0%, rgba(0, 127, 255, 0) 30%);
    }

    .simplicity-header {
        padding-top: 60px; /* Zmniejszony padding górny nagłówka */
    }

    .simplicity-steps {
        grid-template-columns: 1fr; /* Jeden krok na wiersz */
        gap: 20px; /* Mniejszy odstęp */
    }

    #simplicity-section {
        padding: 0 5% 60px; /* Zmniejszony dolny padding */
    }

}

/* Wyłączenie gradientu na mobilnych */
@media (max-width: 767px) {
    #plans-section::before {
        display: none;
    }
}

/* Styl dla linku tekstowego */
.logo-text-link {
    color: rgba(255, 255, 255, 0.7); /* Przygaszony biały */
    font-size: 22px; /* Dopasuj rozmiar czcionki */
    font-weight: 600; /* Pogrubienie */
    text-decoration: none;
    text-transform: uppercase; /* Wielkie litery */
    letter-spacing: 0.5px; /* Lekki odstęp między literami */
    text-align: center;
    line-height: 1.3; /* Dostosowanie wysokości linii dla lepszego wyrównania */
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0 15px; /* Dodatkowy padding dla tekstu */
    /* Dziedziczy display: flex, justify-content, align-items, height, flex-shrink z .trusted-logos-grid a */
}

.logo-text-link:hover {
    color: var(--color-text); /* Pełny biały przy najechaniu */
}

/* Responsywność dla sekcji Zaufali nam */
@media (max-width: 767px) {
    .trusted-logos-grid a,
    .logo-placeholder {
        height: 70px; /* Zwiększona wysokość na mobilnych */
    }

    /* Usunięto styl dla .logo-placeholder na mobilnych */

    .logo-text-link {
        font-size: 16px; /* Mniejsza czcionka na mobilnych */
        height: 70px; /* Dopasowanie wysokości */
    }
}

/* Style dla Tally Form */
.tally-form-wrapper {
    margin-top: 20px;
    border-radius: 8px; /* Zaokrąglenie, jeśli potrzebne */
    overflow: hidden; /* Ukrycie ewentualnych wystających elementów iframe */
}

/* Responsywność dla demo page */
@media (max-width: 767px) {
    #demo-page {
        padding: 40px 5%;
    }

    .demo-header h1 {
        font-size: 36px;
    }

    .demo-header p {
        font-size: 16px;
    }

    #demo-video-container {
        margin-bottom: 30px;
    }

    #demo-contact-container {
        margin-top: 40px;
    }

    .demo-contact-box {
        padding: 30px 20px;
    }

    .demo-contact-box h2 {
        font-size: 22px;
    }

    .demo-contact-box p {
        font-size: 14px;
    }
}

/* Style dla strony demo (inspirowane FAQ) */
#demo-page {
    padding: 80px 5%;
    background-color: #131212; /* Tło jak w FAQ */
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

.demo-header {
    text-align: center;
    margin-bottom: 50px;
}

.demo-header h1 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.demo-header p {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 800px; /* Trochę szerszy opis niż w FAQ */
    margin: 0 auto;
    line-height: 1.6;
}

#demo-video-container {
    max-width: 900px; /* Ograniczenie szerokości kontenera wideo */
    margin: 0 auto 40px; /* Wyśrodkowanie i margines dolny */
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px; /* Zaokrąglenie jak w FAQ item */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Cień jak w FAQ item */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Ramka jak w FAQ item */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#demo-download {
    text-align: center;
    margin-bottom: 50px;
}

#demo-download .button {
    /* Style przycisku są już globalne, ewentualne dostosowania */
    padding: 12px 24px;
    font-size: 16px;
    /* Dodanie stylu gradientu i cienia jak w primary contact button */
    background: linear-gradient(135deg, var(--color-primary) 0%, #00a1ff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px; /* Upewnij się, że jest 8px */
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-block; /* Upewnij się, że jest inline-block */
    box-shadow: 0 5px 15px rgba(0, 127, 255, 0.25); /* Dodanie cienia */
}

#demo-download .button:hover {
    background: linear-gradient(135deg, #0066cc 0%, #008ae6 100%); /* Ciemniejszy gradient na hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 127, 255, 0.35); /* Mocniejszy cień na hover */
}

/* Style dla nowej sekcji demo-features */
#demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsywna siatka */
    gap: 30px;
    max-width: 900px;
    margin: 60px auto; /* Margines górny i dolny */
}

.feature-item {
    background-color: var(--color-card); /* Tło jak w benefit */
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 127, 255, 0.3);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 0 12px rgba(0, 127, 255, 0.7);
}

.feature-item h3 {
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-item p {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.6;
}

#demo-contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.demo-contact-box {
    background-color: var(--color-card); /* Tło jak w contact-box */
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.demo-contact-box h2 {
    font-size: 24px; /* Dostosowany rozmiar */
    color: var(--color-text);
    margin-bottom: 15px;
}

.demo-contact-box p {
    color: #b0b0b0;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

/* Style dla Tally Form */

/* Nowe style dla strony Plany (plans.html) */
#plans-page {
    padding: 80px 5%;
    background-color: #131212; /* Takie samo tło jak faq */
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    border-radius: 0;
    isolation: isolate;
    min-height: 60vh; /* Zapewnia minimalną wysokość */
}

.plans-header {
    text-align: center;
    margin-bottom: 60px; /* Zwiększony margines dolny */
}

.plans-header h1 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.plans-header p {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 700px; /* Nieco szerszy opis */
    margin: 0 auto;
    line-height: 1.6;
}

.plans-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsywna siatka */
    gap: 30px;
    max-width: 1100px; /* Szerszy kontener na karty */
    margin: 0 auto;
}

.plan-info-card {
    background-color: var(--color-card); /* Tło jak w contact-box/faq-item */
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; /* Użycie flexbox */
    flex-direction: column; /* Elementy w kolumnie */
    align-items: center; /* Wyśrodkowanie w poziomie */
    min-height: 350px; /* Minimalna wysokość karty dla spójności */
    justify-content: space-between; /* Rozłożenie zawartości */
}

.plan-info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 127, 255, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.plan-info-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 127, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(0, 127, 255, 0.8);
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0; /* Zapobiega kurczeniu się ikony */
}

.plan-info-card:hover .plan-info-icon {
    transform: scale(1.08);
    background-color: rgba(0, 127, 255, 0.15);
}

.plan-info-card h3 {
    font-size: 22px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 600;
    flex-shrink: 0;
}

.plan-info-card p {
    color: #b0b0b0;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1; /* Pozwala paragrafowi zająć dostępną przestrzeń */
    max-width: 100%; /* Zapobiega wychodzeniu tekstu */
}

.plan-info-card .button {
    width: 80%; /* Przycisk zajmuje większość szerokości karty */
    max-width: 250px; /* Maksymalna szerokość przycisku */
    margin-top: auto; /* Dopycha przycisk do dołu */
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    flex-shrink: 0;
}

/* Style dla karty "Coming Soon" */
.plan-info-card.coming-soon {
    opacity: 0.7; /* Lekkie przygaszenie */
    /* Można dodać inne style, np. filtr grayscale */
}

.plan-info-card.coming-soon:hover {
    transform: none; /* Wyłączenie efektu hover */
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.status-badge {
    background-color: rgba(255, 165, 0, 0.2); /* Pomarańczowe tło badge */
    color: #FFA500; /* Pomarańczowy tekst */
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: auto; /* Dopycha badge do dołu */
    display: inline-block;
}

/* Responsywność dla strony Plany */
@media (max-width: 767px) {
    #plans-page {
        padding: 40px 5%;
    }

    .plans-header h1 {
        font-size: 36px;
    }

    .plans-header p {
        font-size: 16px;
    }

    .plans-info-container {
        grid-template-columns: 1fr; /* Jedna karta na wiersz */
        gap: 20px;
    }

    .plan-info-card {
        padding: 30px 20px;
        min-height: auto; /* Usuń min-height na mobilnych */
    }

    .plan-info-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .plan-info-card h3 {
        font-size: 20px;
    }

    .plan-info-card p {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .plan-info-card .button {
        width: 90%;
    }
}

/* --- CONTACT PAGE RE-DESIGN --- */
#contact-page {
    padding: 80px 5%;
    background-color: #131212;
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    border-radius: 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 48px;
    color: var(--color-text);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-header p {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-option-card {
    background-color: var(--color-card);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-option-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,127,255,0.3);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

.contact-option-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
    text-shadow: 0 0 12px rgba(0,127,255,0.7);
}

.contact-option-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-option-card p {
    color: #b0b0b0;
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.5;
}

.contact-option-card a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.contact-option-card a:hover {
    color: #4da6ff;
}

.contact-option-card a i {
    font-size: 0.8rem;
    margin-left: 5px;
}

.contact-form-card {
    background-color: var(--color-card);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 40px;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-form-card h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.contact-form-card iframe {
    width: 100%;
    min-height: 300px;
}

.contact-form-card .response-time {
    text-align: center;
    color: #b0b0b0;
    font-style: italic;
    margin-top: 20px;
    font-size: 0.95rem;
    padding: 0 20px;
}

.contact-faq-card {
    background-color: var(--color-card);
    border-radius: 16px;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 840px;
    margin: 0 auto 40px auto;
}

.contact-faq-card h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.contact-faq-card p {
    color: #b0b0b0;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-faq-card .button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00a1ff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
}

.contact-faq-card .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,127,255,0.35);
}

@media (max-width: 767px) {
    #contact-page {
        padding: 40px 5%;
    }
    .contact-header h1 {
        font-size: 36px;
    }
    .contact-header p {
        font-size: 16px;
    }
    .contact-options-grid {
        gap: 20px;
    }
    .contact-option-card {
        padding: 25px 15px;
    }
    .contact-form-card {
        padding: 25px 15px;
    }
    .contact-faq-card {
        padding: 25px 15px;
    }
}
/* --- END CONTACT PAGE RE-DESIGN --- */
