@media (max-width: 1200px) {
    .cards {
        grid-template-columns: 1fr;
    }
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 60px;
        padding-top: 170px;
        padding-bottom: 60px;
    }

    .hamburger {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(5, 10, 20, 0.98);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px 8%;
        list-style: none;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 18px;
    }
    .hero-content h1 {
        font-size: 55px;
    }
    .hero-content h2 {
        font-size: 45px;
    }
}

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

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

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .location-grid {
        grid-template-columns: 1fr;
    }
    .trusted-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .section-title h2 {
        font-size: 32px;
    }
    .section-title p {
        font-size: 16px;
    }
    .hero-content h1 {
        font-size: 38px;
    }
    .hero-content h2 {
        font-size: 30px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .trusted h2 {
        font-size: 26px;
    }
    .stat-card h3 {
        font-size: 40px;
    }
    .plan-price {
        font-size: 40px;
    }

    .topbar {
        font-size: 12px;
    }
    .topbar p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        padding: 0 14px;
    }

    .navbar {
        padding: 14px 5%;
    }
    .logo h1 {
        font-size: 24px;
    }
    .panel-btn {
        padding: 11px 18px;
        font-size: 14px;
    }
    .discord-btn {
        width: 40px;
        height: 40px;
    }

    .server-illustration {
        transform: scale(0.72);
        transform-origin: center top;
    }
    .ping-card {
        left: 0;
    }
    .uptime-card {
        right: 0;
    }

    .products,
    .features,
    .stats,
    .locations,
    .faq,
    .reviews {
        padding: 80px 5%;
    }
    .trusted {
        padding: 50px 5%;
    }

    .trusted-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trusted-grid div {
        padding: 20px;
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content h2 {
        font-size: 26px;
    }
    .section-title h2 {
        font-size: 28px;
    }
    .hosting-tabs {
        gap: 10px;
    }
    .tab {
        padding: 13px 20px;
        font-size: 15px;
    }
    .trusted-grid {
        grid-template-columns: 1fr;
    }
    .server-illustration {
        transform: scale(0.62);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    .hero-content h2 {
        font-size: 22px;
    }
    .panel-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    .server-illustration {
        transform: scale(0.55);
    }
}

@media (max-width: 700px) {
    .feature-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo-img {
        width: 32px;
        height: 32px;
    }
    .logo h1 {
        font-size: 22px;
    }
    .logo {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 28px;
        height: 28px;
    }
    .logo h1 {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .discord-widget-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 25px;
    }

    .dw-classic {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 480px) {
    .dw-stat .dw-num {
        font-size: 20px;
    }

    .dw-classic-header {
        padding: 11px 12px;
    }

    .dw-classic-name {
        font-size: 13px;
    }
}
