body {
    background-color: #0a0a0a;
    background: 
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 100% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.08) 0%, transparent 30%),
        rgb(9, 9, 9);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    z-index: 9999;
    background: rgba(9, 9, 9, 0.7); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(99, 99, 99);
    margin: 20px auto 10px auto;
    width: 35%; 
    min-width: 550px;
    padding: 0 25px;
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.nav-logo span {
    color: whitesmoke;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-logo img {
    height: 30px;
    width: auto;
    display: block;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: rgb(160, 160, 160);
}

.nav-btn {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn-terms {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    color: whitesmoke;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-terms:hover {
    border-color: rgb(99, 99, 99);
    box-shadow: 
      0 0 10px rgba(54, 54, 54, 0.3),
      0 0 20px rgb(99 99 99 / 0.2),
      0 0 40px rgb(99 99 99 / 0.1);
}

@media (max-width: 1400px) {
    .navbar { width: 50%; }
}

@media (max-width: 1024px) {
    .navbar { width: 70%; }
}

@media (max-width: 768px) {
    .navbar { width: 90%; min-width: auto; }
    .nav-logo span { display: none; }
}

@media (max-width: 600px) {
    .navbar { width: 95%; height: 55px; }
    .nav-auth { display: none; }
    .nav-links { 
        position: static; 
        transform: none; 
        margin: 0 auto;
        gap: 15px;
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 90%;
    max-width: 1500px;
    border-radius: 15px;
    padding: 60px;
    margin: 60px auto 100px auto;
    gap: 40px;
}

.hero-text {
    width: 100%;
}

.hero-text h1 {
    font-size: 56px;
    color: rgb(223, 223, 223);
    margin: 0 auto 15px auto;
    line-height: 1.1;
    white-space: normal;
    max-width: 900px;
    text-align: center;
}

.hero-text p {
    color: rgb(156, 156, 156);
    font-size: 19px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

@media (max-width: 600px) {
    .hero-text h1 {
        font-size: 30px;
    }
    .container {
        width: 95%;
        padding: 25px;
    }
}

.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto 60px auto;
}

.feature-card {
    background: #0d0d0d6e;
    border: 1px solid #1a1a1a; 
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-icon-box i {
    font-size: 18px;
    color: whitesmoke;
    transition: all 0.3s ease;
}

.feature-card h3 {
    color: rgb(235, 235, 235);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    font-family: 'Inter', sans-serif;
}

.feature-card p {
    color: rgb(160, 160, 160);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.feature-card:hover {
    /* background: rgba(238, 130, 238, 0.05); */
    border-color: rgb(99, 99, 99);
}

.feature-card:hover .feature-icon-box i {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    background: rgba(255, 255, 255, 0.11);
    transition: all 0.3s ease;
    transform: scale(1.1);
    box-shadow: 
      0 0 10px rgba(54, 54, 54, 0.3),
      0 0 20px rgb(99 99 99 / 0.2),
      0 0 40px rgb(99 99 99 / 0.1);
    
}

@media (max-width: 1100px) {
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .features-section {
        grid-template-columns: 1fr;
    }
}

.reviews {
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
}

.reviews-kreciolek {
    display: flex;
    position: relative;
    width: 100%;
}

.reviews-content {
    display: flex;
    gap: 20px;
    will-change: transform;
    animation: marquee-scroll 40s linear infinite;
}

.review-card {
    flex-shrink: 0;
    width: 360px;
    background: #0d0d0d6e;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: rgb(99, 99, 99);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars {
    color: whitesmoke;
    font-size: 13px;
    display: flex;
    gap: 4px;
}

.review-date {
    color: rgb(99, 99, 99);
    font-size: 11px;
}

.review-text {
    color: whitesmoke;
    font-size: 15px;
    line-height: 1.6;
    height: 65px;
    white-space: normal;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.review-footer {
    color: rgb(99, 99, 99);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reviews-kreciolek:hover .reviews-content {
    animation-play-state: paused;
}

.section-header {
    text-align: center;
    margin: 100px auto 50px auto;
    max-width: 800px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 42px;
    color: rgb(223, 223, 223);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-header p {
    color: rgb(156, 156, 156);
    font-size: 18px;
    line-height: 1.6;
}

.footer {
    width: 100%;
    padding: 40px 0;
    margin-top: 100px;
    border-top: 1px solid #1a1a1a;
    background: #0d0d0d6e;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgb(99, 99, 99);
    font-size: 13px;
    flex: 1;
}

.footer-left img {
    height: 20px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.5;
    display: block;
}

.footer-center {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex: 2;
}

.footer-center a {
    color: rgb(99, 99, 99);
    text-decoration: none;
    font-size: 13px;
    transition: 0.3s;
    white-space: nowrap;
}

.footer-center a:hover {
    color: whitesmoke;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.footer-right a {
    color: rgb(99, 99, 99);
    font-size: 16px;
    line-height: 1;
    transition: 0.3s;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-right a:hover {
    color: whitesmoke;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-left, .footer-center, .footer-right {
        justify-content: center;
        width: 100%;
        flex: none;
    }

    .footer-center {
        flex-direction: column;
        gap: 15px;
    }
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 9, 9, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    --color: hsl(0, 0%, 87%);
    --animation: 2s ease-in-out infinite;
}

.loader .circle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 20px;
    height: 20px;
    border: solid 2px var(--color);
    border-radius: 50%;
    margin: 0 10px;
    background-color: transparent;
    animation: circle-keys var(--animation);
}

.loader .circle .dot {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color);
    animation: dot-keys var(--animation);
}

.loader .circle .outline {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: outline-keys var(--animation);
}

.circle:nth-child(2), .circle:nth-child(2) .dot { animation-delay: 0.3s; }
.circle:nth-child(3), .circle:nth-child(3) .dot { animation-delay: 0.6s; }
.circle:nth-child(4), .circle:nth-child(4) .dot { animation-delay: 0.9s; }
.circle:nth-child(5), .circle:nth-child(5) .dot { animation-delay: 1.2s; }

.circle:nth-child(1) .outline { animation-delay: 0.9s; }
.circle:nth-child(2) .outline { animation-delay: 1.2s; }
.circle:nth-child(3) .outline { animation-delay: 1.5s; }
.circle:nth-child(4) .outline { animation-delay: 1.8s; }
.circle:nth-child(5) .outline { animation-delay: 2.1s; }

@keyframes circle-keys {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes dot-keys {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0); }
}

@keyframes outline-keys {
    0% { transform: scale(0); outline: solid 20px var(--color); outline-offset: 0; opacity: 1; }
    100% { transform: scale(1); outline: solid 0 transparent; outline-offset: 20px; opacity: 0; }
}

.faq-section {
    width: 90%;
    max-width: 800px;
    margin: 0 auto 100px auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #0d0d0d6e;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: rgb(99, 99, 99);
}

.faq-item summary {
    list-style: none;
    color: rgb(235, 235, 235);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    font-size: 14px;
    color: rgb(99, 99, 99);
    transition: transform 0.3s ease;
}

.faq-item[open] {
    border-color: rgb(99, 99, 99);
    background: rgba(255, 255, 255, 0.03);
}

.faq-item[open] summary i {
    transform: rotate(45deg);
    color: whitesmoke;
}

.faq-answer {
    padding-top: 15px;
    color: rgb(160, 160, 160);
    font-size: 15px;
    line-height: 1.6;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .faq-item summary {
        font-size: 16px;
    }
}

.pricing-section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 100px auto;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: #0d0d0d6e;
    border: 1px solid #1a1a1a;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    height: fit-content;
}

.pricing-card:hover {
    border-color: rgb(99, 99, 99);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: whitesmoke;
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-header h3 {
    color: rgb(156, 156, 156);
    font-size: 18px;
    margin-bottom: 10px;
}

.price {
    color: whitesmoke;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}

.price span {
    font-size: 16px;
    color: rgb(99, 99, 99);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.btn-template-preview {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid rgb(99, 99, 99);
    background: transparent;
    color: rgb(200, 200, 200);
    transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.btn-template-preview:hover {
    border-color: rgb(140, 140, 140);
    background: rgba(255, 255, 255, 0.05);
    color: whitesmoke;
}

.btn-template-preview:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
}

.pricing-features li {
    color: rgb(200, 200, 200);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    font-size: 14px;
    color: rgb(99, 99, 99);
}

.pricing-features li.disabled {
    color: rgb(70, 70, 70);
}

.pricing-features li.disabled i {
    color: rgb(40, 40, 40);
}

.btn-pricing {
    display: block;
    text-align: center;
    text-decoration: none;
    color: whitesmoke;
    border: 1px solid #1a1a1a;
    padding: 12px;
    border-radius: 10px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-pricing:hover {
    border-color: rgb(99, 99, 99);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

@media (max-width: 1024px) {
    .pricing-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        order: -1;
    }
}

.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
}

.hero-reveal {
    transform: scale(0.9) translateY(40px);
}

.hero-reveal.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.feature-reveal {
    transform: translateY(50px);
}

.feature-reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.pricing-reveal {
    transform: translateX(50px);
}

.pricing-reveal.show {
    opacity: 1;
    transform: translateX(0);
}

.faq-reveal {
    filter: blur(10px);
    transform: translateY(20px);
}

.faq-reveal.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

.template-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    box-sizing: border-box;
}

.template-preview-modal[hidden] {
    display: none !important;
}

.template-preview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.template-preview-panel {
    position: relative;
    z-index: 1;
    width: min(96vw, 1100px);
    max-height: min(92vh, 900px);
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.template-preview-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.92);
    color: rgb(210, 210, 210);
    cursor: pointer;
    font-size: 18px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.template-preview-close:hover {
    border-color: rgb(99, 99, 99);
    color: #fff;
}

.template-preview-close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
}

.template-preview-viewport {
    position: relative;
    flex: 1;
    min-height: min(70vh, 640px);
    display: flex;
    align-items: stretch;
}

.template-preview-track {
    flex: 1;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #444 #111;
}

.template-preview-track::-webkit-scrollbar {
    height: 8px;
}

.template-preview-track::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.template-preview-slide {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 52px 24px;
    box-sizing: border-box;
}

.template-preview-slide img {
    max-width: 100%;
    max-height: min(78vh, 820px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #222;
    vertical-align: middle;
}

.template-preview-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2a2a2a;
    border-radius: 50%;
    background: rgba(14, 14, 14, 0.9);
    color: rgb(220, 220, 220);
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.2s, border-color 0.2s, background 0.2s;
}

.template-preview-nav:hover:not(:disabled) {
    border-color: rgb(99, 99, 99);
    background: rgba(30, 30, 30, 0.95);
}

.template-preview-nav:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: 2px;
}

.template-preview-nav:disabled {
    opacity: 0.28;
    cursor: default;
}

.template-preview-nav--prev {
    left: 10px;
}

.template-preview-nav--next {
    right: 10px;
}

@media (max-width: 520px) {
    .template-preview-slide {
        padding: 52px 12px 20px;
    }

    .template-preview-nav {
        width: 42px;
        height: 42px;
    }

    .template-preview-nav--prev {
        left: 6px;
    }

    .template-preview-nav--next {
        right: 6px;
    }
}