:root {
    --primary-color: #1a202c;
    --secondary-color: #2d3748;
    --accent-color: #4fd1c5;
    --text-color: #e2e8f0;
    --background-color: #0d1117;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

.header {
    background-color: rgba(26, 32, 44, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: nowrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.logo a {
    color: var(--accent-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--white);
}

.logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.nav-links li a.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
}

.nav-links li a.cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
    }

    .hamburger-menu {
        display: block;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        order: 3;
        flex-basis: 100%;
        justify-content: flex-start;
        padding-top: 5rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }
}

main {
    padding-top: 5rem;
}

section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--white);
}

.hero {
    color: var(--text-color);
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    margin-left: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--primary-color);
}

.cta-button:hover::before {
    width: 100%;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item,
.faq-item,
.testimonial-item {
    background-color: rgba(30, 58, 138, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.1);
}

.feature-item:hover,
.faq-item:hover,
.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: rgba(30, 58, 138, 0.1);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, rgba(34, 211, 238, 0) 70%);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.feature-item:hover::before {
    top: -25%;
    left: -25%;
}

.feature-item h3 {
    color: var(--accent-color);
    margin: 1rem 0;
    font-size: 1.4rem;
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-item p {
    margin-bottom: 0.5rem;
}

.feature-item ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.feature-item ul li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.feature-item ul li:before {
    content: "•";
    color: var(--accent-color);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--white);
}

.panel-showcase {
    margin-top: 4rem;
    background-color: var(--primary-color);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.panel-showcase h3 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.panel-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.panel-description {
    flex: 1;
}

.panel-description ul {
    list-style-type: none;
    padding: 0;
}

.panel-description ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.panel-description ul li i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.panel-image {
    flex: 1;
}

.panel-screenshot {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.panel-screenshot:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .panel-content {
        flex-direction: column;
    }

    .panel-image {
        order: -1;
        margin-bottom: 2rem;
    }
}

#services-pricing,
#features,
#faq,
#testimonials {
    padding: 6rem 2rem;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

#services-pricing::before,
#features::before,
#faq::before,
#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 58, 138, 0) 100%);
    z-index: -1;
}

.service-pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-pricing-item.minecraft {
    text-align: left;
    margin-bottom: 3rem;
    background-color: rgba(30, 58, 138, 0.3);
    border-radius: 15px;
    padding: 3rem;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.service-pricing-item.minecraft:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.minecraft-icon {
    flex-shrink: 0;
    margin-right: 2rem;
}

.minecraft-icon i {
    font-size: 4rem;
    color: var(--accent-color);
}

.minecraft-content {
    flex-grow: 1;
}

.minecraft-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.minecraft-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-pricing-item.plan {
    background-color: rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--accent-color);
}

.service-pricing-item.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.service-pricing-item.plan h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-pricing-item.plan .cpu-info {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 1rem;
    font-style: italic;
}

.service-pricing-item.plan.featured {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    z-index: 1;
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    right: -4rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 4rem;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
}

.service-pricing-item.plan .price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-pricing-item.plan ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.service-pricing-item.plan ul li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.service-pricing-item.plan ul li i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.additional-services {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.additional-services .service-pricing-item {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
}

.additional-services .service-pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.additional-services .service-pricing-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    .plans-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plans-container {
        grid-template-columns: 1fr;
    }

    .service-pricing-item.plan {
        max-width: 100%;
    }

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

    .additional-services .service-pricing-item {
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .service-pricing-item.plan.featured {
        transform: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 2rem;
    }

    .hero-content, .hero-image {
        width: 100%;
    }

    .hero-image {
        margin-top: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-pricing-item.plan {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }
}


#testimonials {
    background-color: var(--primary-color);
    padding: 4rem 2rem;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-color);
}

#faq {
    padding: 4rem 2rem;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

footer {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

section {
    opacity: 0;
}

section.fade-in {
    animation: fadeIn 1s ease-in-out forwards;
}

#features .feature-item,
#faq .faq-item,
#testimonials .testimonial-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#features.fade-in .feature-item,
#faq.fade-in .faq-item,
#testimonials.fade-in .testimonial-item {
    opacity: 1;
    transform: translateY(0);
}

#features.fade-in .feature-item:nth-child(1) { transition-delay: 0.1s; }
#features.fade-in .feature-item:nth-child(2) { transition-delay: 0.2s; }
#features.fade-in .feature-item:nth-child(3) { transition-delay: 0.3s; }
#features.fade-in .feature-item:nth-child(4) { transition-delay: 0.4s; }
#features.fade-in .feature-item:nth-child(5) { transition-delay: 0.5s; }
#features.fade-in .feature-item:nth-child(6) { transition-delay: 0.6s; }

#faq.fade-in .faq-item:nth-child(1) { transition-delay: 0.1s; }
#faq.fade-in .faq-item:nth-child(2) { transition-delay: 0.2s; }
#faq.fade-in .faq-item:nth-child(3) { transition-delay: 0.3s; }

#testimonials.fade-in .testimonial-item:nth-child(1) { transition-delay: 0.1s; }
#testimonials.fade-in .testimonial-item:nth-child(2) { transition-delay: 0.2s; }
#testimonials.fade-in .testimonial-item:nth-child(3) { transition-delay: 0.3s; }

@media (max-width: 768px) {
    .service-item,
    .pricing-item,
    .footer-section {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }
}
