html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* Navbar Placeholder */
.navbar-placeholder {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-placeholder .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-brand {
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
}

.navbar-nav {
    display: flex;
    gap: 2rem;
}

.navbar-nav a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar-nav a:hover {
    color: #ffffff;
}

/* HERO SECTION STYLES */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    color: #06b6d4;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(90deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

/* Hero Visual (Right Side) */
.hero-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card-float {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: absolute;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-main {
    width: 320px;
    height: 220px;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: float 6s ease-in-out infinite;
}

.card-back {
    width: 280px;
    height: 200px;
    background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(124,58,237,0.2));
    z-index: 1;
    transform: translate(40px, -40px);
    animation: floatDelayed 6s ease-in-out infinite;
}

.server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: bold;
}

/* Ensure inline SVG icons are visible and properly sized */
.server-title svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
}

.stat-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.badge {
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.online {
    background: rgba(0,255,0,0.2);
    color: #4ade80;
    border: 1px solid #4ade80;
}

.stat-badge {
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.stat-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: #06b6d4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
}

.stat-icon.ram {
    background: #7c3aed;
    color: white;
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 2px;
}

.stat-value {
    font-weight: 600;
    color: white;
}

.stat-value small {
    color: #4ade80;
}

.uptime-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #06b6d4, #7c3aed);
    width: 99.9%;
    border-radius: 10px;
}

.uptime-value {
    text-align: center;
    color: #06b6d4;
    font-weight: 600;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatDelayed {
    0%, 100% { transform: translate(40px, -40px); }
    50% { transform: translate(40px, -60px); }
}

.services {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.package {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.package.popular {
    border: 2px solid #ff6b6b;
    position: relative;
    animation: pulse 2s infinite;
}

.package.popular::before {
    content: 'POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8em;
    box-shadow: 0 2px 10px rgba(255,107,107,0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,107,107,0.7); }
    50% { box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 10px rgba(255,107,107,0); }
    100% { box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,107,107,0); }
}

.package h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.package p {
    margin: 0.3rem 0;
    color: #cccccc;
    font-size: 0.9rem;
}

.price {
    font-size: 1.4em;
    color: #4ade80 !important;
    font-weight: bold;
    margin: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.buy-btn {
    background: linear-gradient(45deg, #4ade80, #22c55e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74,222,128,0.3);
}

.buy-btn:hover {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(74,222,128,0.4);
}

.info {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-content div {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.info-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.info-content ul {
    list-style: none;
    padding: 0;
}

.info-content li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.info-content li::before {
    content: '•';
    color: #4ade80;
    position: absolute;
    left: 0;
}

.testimonials {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(15,15,35,0.8) 100%);
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.testimonials-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn {
    background: linear-gradient(45deg, #4ade80, #22c55e);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74,222,128,0.3);
    z-index: 10;
}

.slider-btn:hover {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74,222,128,0.4);
}

.prev-btn {
    margin-right: 1rem;
}

.next-btn {
    margin-left: 1rem;
}

.testimonials-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem;
    max-width: 1000px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.testimonials-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonial {
    flex: 0 0 300px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #4ade80;
}

.stars {
    color: #ffd700;
    font-size: 1.5em;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.testimonial p {
    color: #cccccc;
    margin: 0.5rem 0;
}

.testimonial p:last-child {
    color: #ffffff;
    font-weight: bold;
}

footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f23 100%);
    color: #cccccc;
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer a {
    color: #4ade80;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none; /* hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

/* When .show is added via JS the modal becomes centered and visible */
.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    position: relative;
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
    animation: modalFadeIn 0.6s ease;
    padding: 2rem;
}

/* Server logo next to brand */
.brand-wrap { display: flex; align-items: center; gap: 10px; }
#cursor-badge {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* doesn't block clicks */
}

#cursor-badge svg { width: 28px; height: 28px; display: block; }

@media (hover: none), (max-width: 768px) {
    /* hide extra decoration on small/touch devices */
    #cursor-badge { display: none !important; }
}

.close-btn {
    background: linear-gradient(45deg, #4ade80, #22c55e);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74,222,128,0.3);
}

.close-btn:hover {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(74,222,128,0.4);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close {
    color: #cccccc;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #ffffff;
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.option {
    margin-bottom: 1.5rem;
}

.option label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="radio"] {
    margin-right: 0.5rem;
}

.buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

#whatsappBtn {
    background: linear-gradient(45deg, #25d366, #128c7e);
    flex: 1;
}

#telegramBtn {
    background: linear-gradient(45deg, #0088cc, #005a87);
    flex: 1;
}

#whatsappBtn, #telegramBtn {
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

#whatsappBtn:hover, #telegramBtn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1rem;
    }
    header h1 {
        font-size: 2rem;
    }
    header p {
        font-size: 1rem;
    }
    .status {
        padding: 0.4rem 0.8rem;
        gap: 0.3rem;
    }
    .status-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    .services {
        padding: 2rem 1rem;
    }
    .services h2 {
        font-size: 1.8rem;
    }
    .packages {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .package {
        padding: 1.5rem;
    }
    .package h3 {
        font-size: 1.3rem;
    }
    .price {
        font-size: 1.2em;
    }
    .buy-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9em;
    }
    .info {
        padding: 2rem 1rem;
    }
    .info h2 {
        font-size: 1.8rem;
    }
    .info-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .info-content div {
        padding: 1.5rem;
    }
    .testimonials {
        padding: 2rem 1rem;
    }
    .testimonials h2 {
        font-size: 1.8rem;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .prev-btn {
        margin-right: 0.5rem;
    }
    .next-btn {
        margin-left: 0.5rem;
    }
    .testimonials-container {
        gap: 1.5rem;
        padding: 0.5rem;
    }
    .testimonial {
        flex: 0 0 250px;
        padding: 1.5rem;
    }
    .testimonial img {
        width: 60px;
        height: 60px;
    }
    .stars {
        font-size: 1.3em;
    }
    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 1.5rem;
    }
    .modal-content h2 {
        font-size: 1.5rem;
    }
    .buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    #whatsappBtn, #telegramBtn {
        padding: 0.6rem 1rem;
        font-size: 0.9em;
    }
    footer {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none; /* Hide nav on mobile for simplicity */
    }
    
    .hero-section {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .card-main {
        width: 280px;
        height: 180px;
        padding: 15px;
    }
    
    .card-back {
        width: 240px;
        height: 160px;
        transform: translate(30px, -30px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    }
    
    .services {
        padding: 3rem 1rem;
    }
    .package {
        padding: 1rem;
    }
    .package h3 {
        font-size: 1.2rem;
    }
    .package p {
        font-size: 0.8rem;
    }
    .price {
        font-size: 1.1em;
    }
    .buy-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8em;
    }
    .info-content div {
        padding: 1rem;
    }
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .testimonial {
        flex: 0 0 200px;
        padding: 1rem;
    }
    .testimonial img {
        width: 50px;
        height: 50px;
    }
    .stars {
        font-size: 1.2em;
    }
    .modal-content {
        width: 98%;
        margin: 10% auto;
        padding: 1rem;
    }
    .modal-content h2 {
        font-size: 1.3rem;
    }
    #whatsappBtn, #telegramBtn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8em;
    }
}
