@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
}

.main {
    padding: 90px 160px;
}

header {
    color: white;
    min-height: 90px;
    width: 100%;
    display: flex;
    position: absolute;
    justify-content: space-between;
    align-items: center;
    top: 0;
    transition: top linear;
}

.logo {
    width: 80px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    display: inline;
}

.title {
    padding: 14px 14px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.client-panel-button {
    background-color: #9245f2;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
}

.slider-main {
    padding: 90px 0;
    background:
        linear-gradient(
                to bottom right,
                transparent 49.8%,
                rgb(27.5, 27.5, 27.5) 50%
            )
            top / 100% 35%,
        linear-gradient(
                to top right,
                transparent 49.8%,
                rgb(27.5, 27.5, 27.5) 50%
            )
            bottom / 100% 35%,
        linear-gradient(rgb(27.5, 27.5, 27.5), rgb(27.5, 27.5, 27.5)) center /
            100% 30%;

    background-repeat: no-repeat;
}

.slider {
    padding: 80px 0;
    width: 100%;
    text-align: center;
    user-select: none;
}

.slider-content {
    display: flex;
}

.slide {
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-text {
    flex: 1;
}

.slider-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.slider-text .slide-title-typing {
    font-size: 36px;
    margin-bottom: 0;
}

.slider-image {
    flex: 1;
    text-align: right;
}

.slider-image img {
    max-width: 100%;
    height: auto;
}

.slider-dots {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #333;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #9245f2;
}

.boxes-main {
    padding: 0 160px;
}

.boxes {
    display: flex;
    padding: 60px 0;
    text-align: center;
    flex-direction: row;
}

.box {
    color: white;
    text-align: center;
}

.box h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.services-main {
    padding: 0 160px;
}

.services {
    display: flex;
    background-color: #1a1a1a;
    padding: 60px 0;
    text-align: center;
    flex-direction: row;
}

.service {
    background-color: rgba(51, 51, 51, 0.1);
    color: white;
    border-radius: 5px;
    padding: 30px;
    text-align: left;
}

.service h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-icon {
    justify-content: center;
    justify-items: center;
    text-align: center;
    align-items: center;
}

.service-img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.service hr {
    border: 1px solid #282828;
    margin: 10px 0;
}

.service ul {
    list-style: none;
    padding: 0;
}

.service ul li {
    font-size: 16px;
    margin-bottom: 5px;
}

.service p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.service button {
    background-color: #9245f2;
    color: white;
    font-family: "Poppins", sans-serif;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.service-btn {
    text-align: center;
}

.service .cechy {
    padding: 15px;
}

.contact-main {
    padding: 0 160px;
    padding-bottom: 70px;
}

.contact-form {
    background-color: #9245f2;
    padding: 60px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info {
    width: 30%;
    text-align: left;
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
}

.contact-info address p {
    font-size: 16px;
    margin-bottom: 10px;
}

.form {
    width: 65%;
    text-align: left;
}

.form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form p {
    font-size: 16px;
    margin-bottom: 20px;
}

.form form {
    display: flex;
    flex-direction: column;
}

.form input,
.form textarea {
    background-color: #333;
    color: white;
    border: 1px solid #666;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.form button {
    background-color: #9245f2;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.footer {
    background-color: #161616;
}

.footer-main {
    display: flex;
    justify-content: center;
}

.footer-container {
    display: flex;
    max-width: 1600px;
    flex-direction: row;
    padding: 60px 0;
}

.footer-bottom {
    text-align: center;
    background-color: #121212;
    padding: 25px;
}

.footer-text {
    display: flex;
    flex: 0 0 25%;
    max-width: 25%;
}

.footer-section {
    text-align: left;
    vertical-align: top;
    padding: 0 15px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 15px;
}

.footer-section ul {
    padding-left: 15px;
}

.footer-section a {
    text-decoration: none;
    color: #9245f2;
}

.scrolled {
    position: fixed;
    width: 100%;
    background-color: rgb(27, 27, 27);
}

.slide-title {
    text-align: left;
}

.slide-cursor {
    animation: fade 1s infinite;
}

.submenu {
    display: none;
    top: 70px;
    position: absolute;
    background-color: rgb(30, 30, 30);
    list-style: none;
    padding: 15px;
    border-radius: 4px;
    min-width: 200px;
    margin: 0;
    flex-direction: column;
    transition: all 0.3s ease;
    text-align: left;
}

.submenu a {
    color: #fff;
    text-decoration: none;
}

.has-submenu:hover .submenu {
    display: flex;
    gap: 0;
}

.header-content {
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-l {
    flex: 1;
    text-align: left;
}

.header-p {
    display: flex;
    flex: 1;
    text-align: right;
    align-items: center;
    justify-content: end;
}

.submenu:hover {
    display: flex;
    gap: 0;
}

.header {
    display: flex;
    width: 100%;
}

.row {
    gap: 15px;
}

.advantages {
    margin-bottom: 50px;
}

.header-titles {
    display: flex;
}

.faq-container {
    background-color: rgba(51, 51, 51, 0.2);
    color: #fff;
    border-radius: 5px;
}

.question {
    font-size: 1rem;
    font-weight: 600;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.question .fa-caret-down {
    transition: 0.2s;
}

.question.active .fa-caret-down {
    transform: rotate(180deg);
}

.answercont {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.answer {
    padding: 0 20px 20px;
    line-height: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.answer a,
.footer-bottom a,
.regulations a {
    color: #9245f2;
    text-decoration: none;
}

.question.active + .answercont {
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#vps,
#regulations {
    margin-top: 90px;
}

.regulations-container {
    background-color: rgba(51, 51, 51, 0.2);
    color: #fff;
    border-radius: 5px;
}

.regulations {
    font-size: 1rem;
    font-weight: 600;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Beta Popup Styles */
.beta-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.beta-popup-overlay.show {
    opacity: 1;
    transform: scale(1);
}

.beta-popup-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(146, 69, 242, 0.3);
    border: 1px solid rgba(146, 69, 242, 0.2);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.beta-popup-overlay.show .beta-popup-container {
    transform: translateY(0);
}

.beta-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.beta-popup-close:hover {
    color: #9245f2;
}

.beta-popup-content {
    text-align: center;
    color: #fff;
}

.beta-popup-image {
    margin-bottom: 20px;
}

.beta-popup-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.beta-popup-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.beta-popup-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.beta-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.beta-btn-primary {
    background: linear-gradient(45deg, #9245f2, #b454ff);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(146, 69, 242, 0.4);
}

.beta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(146, 69, 242, 0.6);
}

.beta-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.beta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.beta-link {
    position: relative;
    display: inline-block;
}

.free-server-badge {
    position: absolute;
    top: 30px;
    right: -15px;
    background-color: #9245f2;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media screen and (min-width: 768px) {
    #faq {
        transform: translateY(25%);
        transition: transform 0.5s ease;
    }

    #faq.slide-up {
        transform: translateY(0%);
    }

    #services {
        transform: translateY(25%);
        transition: transform 0.5s ease;
    }

    #services.slide-up {
        transform: translateY(0%);
    }

    #boxes {
        transform: translateY(25%);
        transition: transform 0.5s ease;
    }

    #boxes.slide-up {
        transform: translateY(0%);
    }
}

@media screen and (max-width: 768px) {
    .slider-main {
        padding: 140px 50px;
        background: rgb(27.5, 27.5, 27.5);
        padding-bottom: 0px;
        margin-bottom: 50px;
    }

    .main {
        padding: 90px 40px;
    }

    .slider-image img {
        max-width: none;
        width: 300px;
    }

    .slide {
        flex-direction: column;
        gap: 50px;
    }

    .footer-container {
        flex-direction: column;
        gap: 15px;
    }

    .footer-text {
        max-width: none;
        justify-content: center;
        flex: 0;
    }

    .footer-section h4 {
        text-align: center;
        margin-bottom: 0;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section li {
        list-style-type: none;
    }

    .footer-section ul {
        padding-left: 0;
    }

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

    .header-titles {
        display: flex;
        margin-bottom: 5px;
    }

    nav ul {
        display: block;
        text-align: center;
    }

    header {
        min-height: 200px;
        align-items: normal;
    }

    .header-p {
        align-items: normal;
        margin-top: -45px;
    }

    .footer-section p {
        margin-bottom: 0;
    }

    .slider-text {
        min-height: 180px;
    }

    #vps,
    #regulations {
        margin-top: 165px;
    }

    .submenu {
        top: 125px;
    }

    .slider-text p {
        font-size: 14px;
    }

    .beta-popup-container {
        padding: 20px;
        margin: 20px;
    }

    .beta-popup-text h2 {
        font-size: 24px;
    }

    .beta-popup-text p {
        font-size: 14px;
    }

    .beta-popup-buttons {
        flex-direction: column;
    }

    .beta-btn-primary,
    .beta-btn-secondary {
        width: 100%;
    }

    .beta-popup-image img {
        width: 150px;
    }

    .free-server-badge {
        display: none;
    }
}
