/* Base Technologhy Digital - Main Styles */

/* Reset dan smooth scrolling */
* {
    box-sizing: border-box;
}

/* Smooth scrolling untuk HTML dan body */
html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a092d;
    color: #e0e0e0;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

/* Custom Background Animation */
.main-container {
    position: relative;
    min-height: 100vh;
    background-image: radial-gradient(circle at 25% 25%, rgba(58, 12, 163, 0.4) 0%, transparent 40%),
                      radial-gradient(circle at 75% 75%, rgba(0, 150, 255, 0.3) 0%, transparent 40%);
    background-attachment: fixed;
}

.bg-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='50' cy='50' r='1'/%3E%3Ccircle cx='10' cy='10' r='1'/%3E%3Ccircle cx='90' cy='90' r='1'/%3E%3Ccircle cx='10' cy='90' r='1'/%3E%3Ccircle cx='90' cy='10' r='1'/%3E%3C/g%3E%3C/svg%3E");
    animation: animate-stars 50s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes animate-stars {
    from { background-position: 0 0; }
    to { background-position: 1000px 1000px; }
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}
.glass-card:hover:not(.no-hover) {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.5);
    transform: translateY(-8px);
}



.primary-btn {
    background: linear-gradient(90deg, #0096FF, #0052D4);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 255, 0.4);
}
.primary-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 119, 255, 0.6);
}

.secondary-btn {
    border-color: #0096FF;
    color: #0096FF;
    transition: all 0.3s ease;
}
.secondary-btn:hover {
    background-color: #0096FF;
    color: white;
}

/* Sidebar Styling */
#sidebar {
    transition: transform 0.3s ease-in-out;
}

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.package-ribbon {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 110px;
    height: 110px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.package-ribbon span {
    position: absolute;
    transform: rotate(45deg);
    background: linear-gradient(90deg, #0096FF, #0052D4);
    color: white;
    padding: 6px 0;
    width: 150px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    right: -35px;
    top: 30px;
}

.loader {
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left-color: #0096FF;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrolling improvements */
section {
    position: relative;
    z-index: 1;
}

/* Ensure proper spacing between sections */
.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Mobile scroll improvements */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Logo styling */
.logo-img {
    transition: transform 0.3s ease;
    filter: brightness(1.1);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Popular badge positioning */
.popular-badge-custom {
    position: absolute;
    top: -0px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #22d3ee;
    color: #000;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
}

