:root {
    --primary-dark: #0c1016;
    --secondary-dark: #121823;
    --primary-blue: #6789ff;
    --hover-blue: #5578f5;
    --accent-blue: #6691ff;
    --light-text: #ffffff;
    --gray-text: #a0a0a0;
    --card-border: #1e2a3a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary-dark);
    color: var(--light-text);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Grid Background */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(12, 16, 22, 0.97) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 16, 22, 0.97) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    z-index: -1;
    opacity: 0.4;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(12, 16, 22, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    margin-right: 10px;
    height: 150px;
    width: 256px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    margin-left: 30px;
    transition: color 0.3s, transform 0.2s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(103, 137, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--hover-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 137, 255, 0.4);
}

.btn-outline {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    background-color: rgba(103, 137, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(103, 137, 255, 0.15);
}

.hero {
    text-align: center;
    padding: 120px 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(103, 137, 255, 0.15) 0%, rgba(12, 16, 22, 0) 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(103, 137, 255, 0.3);
}

.typewriter-text {
    background: linear-gradient(to right, #ffffff, #6789ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.typewriter-text::after {
    content: '|';
    position: absolute;
    right: -8px;
    color: var(--primary-blue);
    font-weight: 900;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero p {
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.logo-large {
    margin-bottom: 30px;
    animation: float 6s ease-in-out infinite;
}

.logo-large img {}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--secondary-dark);
    border-radius: 12px;
    padding: 40px 30px;
    flex: 1;
    border: 1px solid var(--card-border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), #8a9fff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    background-color: var(--primary-blue);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 0 20px rgba(103, 137, 255, 0.5);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.feature-desc {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.7;
}

.categories {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 50px;
}

.category-card {
    background-color: var(--secondary-dark);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.category-header {
    height: 180px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(12, 16, 22, 0.3), rgba(12, 16, 22, 0.8));
    z-index: 1;
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.category-card:hover .category-bg {
    transform: scale(1.1);
}

.category-minecraft .category-bg {
    background: linear-gradient(135deg, #4e7a27 0%, #3b5c1f 100%);
}

.category-database .category-bg {
    background: linear-gradient(135deg, #2d5b9e 0%, #1e3c67 100%);
}

.category-bot .category-bg {
    background: linear-gradient(135deg, #9e772d 0%, #72541d 100%);
}

.category-vps .category-bg {
    background: linear-gradient(135deg, #614092 0%, #422e63 100%);
}

.category-icon {
    background-color: rgba(255, 255, 255, 0.15);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.category-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.category-price {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.category-cycle {
    color: var(--gray-text);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.category-btn {
    margin-top: auto;
}

.reviews {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background-color: var(--secondary-dark);
    border-radius: 12px;
    padding: 35px;
    flex: 1;
    border: 1px solid var(--card-border);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.review-card::after {
    content: '"';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(103, 137, 255, 0.1);
    font-family: serif;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #2a3a4a;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px solid rgba(103, 137, 255, 0.3);
}

.review-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.stars {
    color: gold;
    letter-spacing: 2px;
}

.review-text {
    color: var(--gray-text);
    font-style: italic;
    line-height: 1.7;
    font-size: 1.05rem;
}

.stats {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background-color: var(--secondary-dark);
    border-radius: 12px;
    padding: 40px 30px;
    flex: 1;
    border: 1px solid var(--card-border);
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    background-color: var(--primary-blue);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(103, 137, 255, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #6789ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--gray-text);
    font-size: 1.1rem;
}

.cta {
    background: linear-gradient(135deg, #4a66c7 0%, #6691ff 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(74, 102, 199, 0.7) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 102, 199, 0.7) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    position: relative;
}

.cta .hero-buttons {
    position: relative;
    display: flex;
    justify-content: center;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-blue);
}

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta .btn-outline {
    border-color: white;
    color: white;
}

.cta .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

footer {
    background-color: var(--secondary-dark);
    padding: 60px 0 30px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-blue);
    bottom: -8px;
    left: 0;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
    font-size: 0.9rem;
}

@media (max-width: 992px) {

    .features,
    .reviews,
    .stats,
    .categories {
        flex-direction: column;
        gap: 20px;
    }

    .feature-card,
    .review-card,
    .stat-card,
    .category-card {
        margin-bottom: 20px;
    }

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

    .section-title {
        font-size: 2.2rem;
    }

    .cta h2 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--secondary-dark);
        padding: 20px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo span {
        display: none;
    }

    .hero {
        padding: 80px 0;
    }

    .section {
        padding: 60px 0;
    }
}