
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--accent-2);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 80px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    overflow: hidden; /* ładnie przytnie ICO do zaokrąglenia */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
   
}

.logo-icon img {
    width: 100%;
    height: 100%;
}


.logo-text-main {
    font-weight: 700;
    letter-spacing: 0.03em;
}

.logo-text-sub {
    font-size: 12px;
    color: var(--muted);
}

nav {
    display: flex;
    gap: 18px;
    font-size: 14px;
    align-items: center;
}

nav a {
    color: var(--muted);
}

nav a:hover {
    color: var(--text);
}

/* przełącznik języków */
.lang-switch {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}

.lang-btn {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(5,7,22,0.9);
    color: var(--muted);
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
}

.lang-btn.active {
    border-color: var(--accent-soft);
    color: var(--text);
}

/* HERO */

.hero {
    display: block !important;
    padding: 24px 0 40px;
}


@media (max-width: 800px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }
    nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

.hero-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-2);
    margin-bottom: 10px;
}

.hero-title {
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 800;
    margin: 0 0 10px;
}

.hero-title span {
    background: linear-gradient(120deg, #ff6bcb, #ffd66b, #40c9ff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 22px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-badge {
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent-soft);
    background: rgba(5,7,22,0.7);
    font-size: 12px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.07s ease, box-shadow 0.07s ease, background 0.1s ease, border-color 0.1s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(120deg, #ff6bcb, #ffd66b);
    color: #050716;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(0,0,0,0.7);
}

.btn-ghost {
    background: rgba(5,7,22,0.7);
    color: var(--muted);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--accent-soft);
    color: var(--text);
}

.hero-note {
    font-size: 12px;
    color: var(--muted);
}

.hero-note strong {
    color: var(--accent-2);
}

.hero-media {
    position: relative;
}

.hero-card {
    background: radial-gradient(circle at top left, rgba(255,107,203,0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(64,201,255,0.12), transparent 55%),
                var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
}

.hero-card-title {
    font-weight: 600;
}

.hero-card-dots {
    display: flex;
    gap: 6px;
}

.hero-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff6bcb;
}

.hero-card-dot:nth-child(2) { background: #ffd66b; }
.hero-card-dot:nth-child(3) { background: #40c9ff; }

.hero-card-body {
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.03);
    font-size: 12px;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .hero-card-grid {
        grid-template-columns: 1fr;
    }
}

.key-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(5,7,22,0.9);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 6px;
}

.key-pill-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-pill-keycap {
    min-width: 26px;
    text-align: center;
    padding: 4px 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
    font-size: 11px;
    background: linear-gradient(145deg, #121528, #080922);
    box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.key-pill-desc {
    font-size: 11px;
    color: var(--muted);
}

.key-pill-count {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 11px;
    color: #ffd66b;
}

.rainbow-preview {
    margin-top: 6px;
    border-radius: 10px;
    height: 46px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
}

.rainbow-bar {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #ff6bcb, #ffd66b, #40c9ff, #a8ff60, #ff6bcb);
    background-size: 200% 100%;
    animation: slide 5s linear infinite;
    opacity: 0.55;
}

.rainbow-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0,0,0,0.4), transparent 45%),
                radial-gradient(circle at bottom, rgba(0,0,0,0.7), transparent 55%);
}

.rainbow-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #fdfdfd;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

@keyframes slide {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.hero-card-footer {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--muted);
}

.hero-card-tag {
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(5,7,22,0.7);
}

.hero-card-obs {
    font-size: 11px;
    color: var(--muted);
}

/* Sections */

.section {
    margin-top: 40px;
    padding: 24px 18px;
    background: rgba(5,7,22,0.88);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.section-title {
    font-size: 20px;
    margin: 0 0 6px;
}

.section-subtitle {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 18px;
}

/* Features */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    border-radius: var(--radius-md);
    padding: 12px 12px 14px;
    background: linear-gradient(145deg, #070a1c, #050716);
    border: 1px solid var(--border);
}

.feature-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-2);
    margin-bottom: 4px;
}

.feature-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-body {
    font-size: 13px;
    color: var(--muted);
}

.feature-body ul {
    padding-left: 18px;
    margin: 4px 0 0;
}

.feature-body li {
    margin-bottom: 4px;
}

/* Downloads */

.downloads-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;
}

@media (max-width: 800px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

.download-card {
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
    padding: 12px 14px;
    background: rgba(8,10,26,0.8);
    margin-bottom: 10px;
}

.download-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.download-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--accent-soft);
    color: var(--accent-2);
    background: rgba(5,7,22,0.9);
}

.download-card-body {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

.download-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.download-link {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(5,7,22,0.9);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.download-link strong {
    color: var(--text);
}

.download-link span {
    font-size: 11px;
    opacity: 0.8;
}

.download-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.howto-list {
    font-size: 13px;
    color: var(--muted);
    padding-left: 18px;
    margin: 0;
}

.howto-list li {
    margin-bottom: 4px;
}

/* Screenshots */

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 600px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

.screenshot {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
}

.screenshot img {
    width: 100%;
    display: block;
    height: auto;
}

/* Twoje dodatkowe klasy na wielkość gifów */
.screenshot.small {
    width: 50%;
    margin: auto;
}

.screenshot.large {
    width: 75%;
    margin: auto;
}

/* FAQ */

.faq-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 800px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    margin-bottom: 10px;
}

.faq-q {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}

/* Footer */

footer {
    margin-top: 40px;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 12px;
}
