html {
            scroll-padding-top: 65px; /* Offset for fixed navbar */
        }
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            padding-top: 65px; /* Prevent content from hiding behind fixed navbar */
        }
        .header-section {
            position: relative;
            overflow: hidden;
            color: white;
            padding: 100px 0;
            text-align: center;
        }
        .header-section::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), var(--header-bg, none);
            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
            transform: scale(1);
            transition: transform 6s ease;
            will-change: transform;
            z-index: 0;
        }
        .header-section:hover::before {
            transform: scale(1.06);
        }
        .header-section > * {
            position: relative;
            z-index: 1;
        }
        @media (max-width: 767.98px) {
            .header-section {
                padding: 56px 0 48px;
            }
            .header-section h1 {
                margin-bottom: 0.75rem;
            }
            .header-section .lead {
                margin-bottom: 0.75rem;
            }
            .header-section .mt-4 {
                margin-top: 1rem !important;
            }
            .header-section .mb-4 {
                margin-bottom: 1rem !important;
            }
        }
        .section-heading {
            margin-bottom: 40px;
            font-weight: 300;
        }
        .feature-icon {
            font-size: 3rem;
            color: #007bff;
            margin-bottom: 15px;
        }
        .feature-card {
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }
        .feature-card:hover {
            transform: translateY(-8px);
            box-shadow: none;
        }
        .download-card {
            border: 1px solid #e2e8f0;
            background: linear-gradient(135deg, #f6f9ff 0%, #ffffff 55%, #f1f6ff 100%);
        }
        .download-card .card-body {
            background: transparent;
        }
        .download-card .card-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .download-card .download-windows-icon {
            color: #2b6cb0;
            font-size: 1.15rem;
            opacity: 0.85;
        }
        .download-card .badge {
            letter-spacing: 0.04em;
        }
        .about-intro {
            font-size: 1.25rem;
            font-style: italic;
            padding-left: 12px;
        }
        .about-cta {
            font-size: 1.25rem;
            font-style: normal;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .about-cta .btn {
            font-size: 1.25rem;
        }
        .about-reveal {
            transition: transform 0.6s ease, opacity 0.6s ease;
            will-change: transform, opacity;
        }
        .license-card {
            border: 1px solid #eee;
            border-top: 6px solid #007bff;
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .license-card--flip {
            display: block;
            border: none;
            padding: 0;
            perspective: 1200px;
            overflow: hidden;
            background-color: #f1f1f1;
            border-radius: 8px;
        }
        .license-card--flip .license-card__inner {
            display: grid;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.7s ease;
        }
        .license-card--flip .license-card__face {
            grid-area: 1 / 1;
            backface-visibility: hidden;
            display: flex;
            flex-direction: column;
            padding: 30px;
            border: 1px solid #eee;
            border-top: 6px solid transparent;
            border-radius: 8px;
        }
        .license-card--flip .license-card__face--front {
            background: var(--license-front-bg, #f0f7ff);
            border-top-color: var(--license-front-top, #007bff);
        }
        .license-card--flip .license-card__face--back {
            background: linear-gradient(135deg, #ff1f3a 0%, #ff3b5c 45%, #ff6b6b 100%);
            color: #ffffff;
            text-align: center;
            transform: rotateY(180deg);
            border-top-color: #ff1f3a;
        }
        .license-card--flip.is-flipped .license-card__inner {
            transform: rotateY(180deg);
        }
        .license-card__back-badge {
            align-self: center;
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.45);
            border-radius: 999px;
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            padding: 6px 16px;
            text-transform: uppercase;
            margin-bottom: 18px;
        }
        .license-card__back-title {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 12px;
        }
        .license-card__back-price {
            font-size: 1.35rem;
            font-weight: 700;
            line-height: 1.35;
            margin-bottom: 18px;
            text-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
        }
        .license-card__back-price--small {
            font-size: 1.05rem;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .license-card__back-note {
            font-size: 0.95rem;
            opacity: 0.9;
            margin-bottom: 20px;
        }
        .license-card--pro {
            position: relative;
            overflow: hidden;
        }
        .license-card__ribbon {
            position: absolute;
            top: 14px;
            right: -48px;
            background: #ffc107;
            color: #ffffff;
            padding: 8px 64px;
            font-size: 2rem;
            font-weight: 800;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            transform: rotate(45deg);
            box-shadow: 0 6px 12px rgba(0,0,0,0.2);
            text-align: center;
            line-height: 1;
        }
        .license-card__ribbon-text {
            display: inline-block;
            text-shadow: 0 1px 1px rgba(0,0,0,0.25), 0 -1px 1px rgba(255,255,255,0.3);
            transform: translateX(13px);
        }
        @media (hover: hover) and (pointer: fine) {
            .license-card:hover {
                box-shadow: 0 4px 15px rgba(0,0,0,0.1);
                transform: translateY(-5px);
            }
            .license-card--flip:hover .license-card__inner {
                transform: rotateY(180deg);
            }
        }
        .license-card .btn {
            margin-top: auto;
        }
        .license-card h3 {
            color: #007bff;
        }
        .license-card .price {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 20px;
        }
        .license-card .duration {
            font-size: 1.1rem;
            color: #444;
            font-weight: 500;
            margin-bottom: 20px;
        }
        .monthly-note {
            display: block;
            font-family: "Trebuchet MS", "Segoe UI", sans-serif;
            font-weight: 600;
            color: #5a5a5a;
            margin-top: 4px;
        }
        .license-choose-list {
            margin: 0 auto;
            padding-left: 1.25rem;
            max-width: 80%;
        }
        .license-choose-list li {
            margin-bottom: 0.5rem;
        }
        .license-choose-list ul {
            margin-top: 0.35rem;
            padding-left: 1.25rem;
            list-style: circle;
        }
        .license-choose {
            position: relative;
            background: linear-gradient(120deg, #f4f8ff 0%, #f2f8f4 45%, #fff5da 100%);
            border: 1px solid #e6edf5;
            border-radius: 20px;
            padding: 32px;
            box-shadow: 0 14px 30px rgba(0,0,0,0.08);
            overflow: hidden;
            max-width: 950px;
            width: 95%;
            margin: 0 auto;
        }
        .license-choose::before {
            content: "";
            position: absolute;
            top: -80px;
            right: -100px;
            width: 220px;
            height: 220px;
            background: radial-gradient(circle, rgba(0,123,255,0.22) 0%, rgba(0,123,255,0) 70%);
            pointer-events: none;
        }
        .license-choose__grid {
            margin-top: 24px;
        }
        .cookie-consent {
            position: fixed;
            left: 16px;
            right: 16px;
            bottom: 16px;
            z-index: 1100;
            background: rgba(255, 255, 255, 0.96);
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 14px 16px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            font-size: 0.95rem;
            display: none;
        }
        .cookie-consent.is-visible {
            display: block;
        }
        .cookie-consent__row {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
        }
        .cookie-consent__text {
            margin: 0;
            color: #333;
            flex: 1 1 320px;
        }
        .cookie-consent__actions {
            display: flex;
            gap: 8px;
            flex: 0 0 auto;
        }
        .cookie-consent__actions .btn {
            padding: 6px 12px;
            font-size: 0.9rem;
        }
        .cookie-consent__link {
            color: #0b5ed7;
            text-decoration: underline;
        }
        .privacy-modal__header {
            background: #fbe7ef;
        }
        @media (min-width: 992px) {
            .cookie-consent {
                left: auto;
                right: 24px;
                max-width: 520px;
            }
        }
        .choose-card {
            background: #ffffff;
            border: 1px solid rgba(0,0,0,0.06);
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            height: 100%;
        }
        .choose-card--pro {
            border-color: rgba(255,193,7,0.4);
            box-shadow: 0 14px 28px rgba(255,193,7,0.2);
        }
        .choose-card__eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.8rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            font-weight: 700;
            color: #6b7280;
            background: #f4f6f8;
            padding: 6px 12px;
            border-radius: 999px;
            margin-bottom: 12px;
        }
        .choose-card--standard .choose-card__eyebrow {
            color: #0b5ed7;
            background: #e7f1ff;
        }
        .choose-card--pro .choose-card__eyebrow {
            background: #fff3cd;
            color: #a36a00;
        }
        .choose-card__title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: #111827;
        }
        .choose-card__lead {
            font-size: 1rem;
            color: #4b5563;
            margin-bottom: 16px;
        }
        .choose-card__list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 12px;
        }
        .choose-card__list li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            color: #374151;
        }
        .choose-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 38px;
            padding: 4px 10px;
            border-radius: 999px;
            font-weight: 700;
            font-size: 0.75rem;
            color: #ffffff;
            background: #007bff;
            flex-shrink: 0;
        }
        .choose-pill--kr {
            background: #28a745;
        }
        .choose-pill--pro {
            background: #ffc107;
            color: #4a3b00;
        }
        .choose-pill--bundle {
            background: #e9ecef;
            color: #495057;
        }
        [data-reveal] {
            --reveal-progress: 0;
            opacity: var(--reveal-opacity, 0);
            transform: translate(var(--reveal-shift-x, 0px), var(--reveal-shift-y, 0px)) scale(var(--reveal-scale, 1));
            transition: transform 0.1s linear;
            will-change: transform, opacity;
        }
        [data-reveal][data-reveal-fade="false"] {
            opacity: 1;
        }
        [data-center-fade] {
            opacity: var(--center-opacity, 0);
            transform: translateY(var(--center-shift, 0px));
            will-change: transform, opacity;
        }
        @media (max-width: 767.98px) {
            .license-choose {
                padding: 24px;
            }
        }
        .small-caps {
            font-variant: small-caps;
            letter-spacing: 1px;
            font-weight: bold;
        }
        .footer {
            background-color: #f8f9fa;
            color: #333;
            padding: 40px 0;
            text-align: center;
        }
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
            max-width: 100%;
            background: #000;
            margin-bottom: 30px;
        }
        .video-container iframe,
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        .video-download-link {
            display: inline-block;
        }
        .video-download-link video {
            cursor: pointer;
        }
        .okstudio-social a {
            color: #fff;
            display: inline-block;
            font-size: 2rem;
            margin: 0 10px;
            text-decoration: none;
        }
        .okstudio-social a:hover {
            color: #dbe8ff;
        }
        .zoom-effect {
            transition: transform 0.3s ease;
        }
        .zoom-effect:hover {
            transform: scale(1.05);
        }
        /* Video Tile Styles */
        .video-tile {
            position: relative;
            cursor: pointer;
            overflow: hidden;
            border-radius: 0.375rem; /* Bootstrap rounded */
            background-color: #000; /* Prevent white gaps/flashes */
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth zoom animation */
        }
        .video-tile:hover {
            transform: scale(1.05);
        }
        .video-tile img {
            width: 100%;
            height: auto;
            display: block; /* Removes bottom whitespace gap */
            transition: transform 0.3s ease;
        }
        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.8;
            transition: all 0.3s ease;
        }
        .video-tile:hover .play-overlay {
            background: rgba(0,0,0,0.1);
            opacity: 1;
        }
        .play-icon {
            font-size: 4rem;
            color: white;
            opacity: 0.9;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .video-tile:hover .play-icon {
            transform: scale(1.2);
            color: #fff;
        }
        /* Zoom Tile Styles (Magnifying Glass) */
        .zoom-tile {
            position: relative;
            cursor: pointer;
            overflow: hidden;
            border-radius: 0.375rem;
            background-color: #000;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .zoom-tile:hover {
            transform: scale(1.05);
        }
        .zoom-tile img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }
        .zoom-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.3s ease;
        }
        .zoom-tile:hover .zoom-overlay {
            background: rgba(0,0,0,0.1);
            opacity: 1;
        }
        .zoom-icon {
            font-size: 4rem;
            color: white;
            opacity: 0.9;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .zoom-tile:hover .zoom-icon {
            transform: scale(1.2);
            color: #fff;
        }
        /* Hide zoom-overlay on mobile */
        @media (max-width: 767.98px) {
            .zoom-overlay {
                display: none !important;
            }
        }
        /* State for active video on mobile */
        .video-tile.mobile-active {
            transform: scale(1.05);
            z-index: 10;
            box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
        }
        /* State for active image on mobile */
        .zoom-tile.mobile-active {
            transform: scale(1.05);
            z-index: 10;
            box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
        }
        /* Modal Close Button Overlay Style */
        .modal-content .btn-close {
            box-shadow: none !important;
            outline: none !important;
            position: absolute;
            right: 15px;
            top: 15px;
            z-index: 1056;
            opacity: 0; /* Hidden by default */
            padding: 10px;
            border-radius: 50%;
            transition: opacity 0.3s ease, background-color 0.2s;
        }
        .modal:not(.media-modal) .modal-content .btn-close {
            opacity: 0.7; /* Visible for text modals */
        }
        .modal-content:hover .btn-close {
            opacity: 0.7; /* Visible when hovering modal */
        }
        .modal-content .btn-close:hover {
            opacity: 1; /* Brighter on X hover */
        }
        .modal-content .btn-close:active, .modal-content .btn-close:focus {
            background-color: rgba(0,0,0,0.5); /* Circle only on click */
        }
        .nav-link.nav-preview {
            color: #0d6efd;
            font-weight: 600;
        }
        .nav-link.nav-preview:hover,
        .nav-link.nav-preview:focus {
            color: #0b5ed7;
        }
        .navbar-toggler:focus,
        .navbar-toggler:focus-visible {
            box-shadow: 0 0 0 0.1rem rgba(255,255,255,0.35);
        }

        /* Media modal sizing for large screens */
        .media-modal .modal-dialog {
            width: fit-content;
            max-width: 90vw;
            margin-left: auto;
            margin-right: auto;
        }
        .media-modal .modal-content {
            width: fit-content;
        }
        .media-modal .modal-body {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .media-modal .media-modal__media {
            max-height: 90vh;
            max-width: 90vw;
            width: auto;
            height: auto;
        }
        /* Changelog Modal Specific Styles */
        #changelogModal .modal-content {
            background-color: #212529; /* Dark background */
            color: #e2e6ea; /* Light text */
            border: 1px solid #343a40;
        }
        #changelogModal .modal-body {
            padding: 1.5rem;
            max-height: 70vh; /* Limit height to prevent overflow */
            overflow-y: auto; /* Enable scrolling for long content */
            border-radius: 0.375rem; /* Match modal content border-radius */
        }
        #changelogModal .modal-body pre {
            background-color: #1a1e21; /* Slightly darker background for code block */
            color: #d1d5da;
            padding: 1rem;
            border-radius: 0.25rem;
            font-family: 'Consolas', 'Menlo', 'Courier New', monospace;
            font-size: 0.875rem;
            line-height: 1.4;
            white-space: pre-wrap; /* Preserve formatting and wrap long lines */
            word-break: break-all; /* Break long words */
            margin-bottom: 0;
            border: 1px solid #343a40;
        }
        #changelogModal .modal-body pre strong {
            color: #ffffff; /* Highlight strong text in changelog */
        }
        #changelogModal .modal-body pre em {
            color: #adb5bd; /* Emphasize italic text */
        }
        /* Custom Scrollbar for Changelog Modal */
        #changelogModal .modal-body::-webkit-scrollbar {
            width: 10px; /* Szerokość suwaka */
        }
        #changelogModal .modal-body::-webkit-scrollbar-track {
            background: #212529; /* Kolor tła suwaka (pasuje do tła modala) */
        }
        #changelogModal .modal-body::-webkit-scrollbar-thumb {
            background: #495057; /* Kolor uchwytu suwaka */
            border-radius: 5px; /* Zaokrąglenie uchwytu */
            border: 2px solid #212529; /* Obramowanie uchwytu, pasujące do tła suwaka */
        }
        #changelogModal .modal-body::-webkit-scrollbar-thumb:hover {
            background: #6c757d; /* Kolor uchwytu suwaka po najechaniu */
        }
        /* Firefox scrollbar styles */
        #changelogModal .modal-body {
            scrollbar-width: thin; /* "auto" lub "thin" */
            scrollbar-color: #495057 #212529; /* Kolor uchwytu Kolor tła suwaka */
        }
