/* style.css */

/* Global Reset for Responsiveness */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #f0f0f0;
    background-color: #1a1a2e; /* Dark Blue/Purple Background */
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- Navigasi --- */
nav {
    background-color: #1a1a2e;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.5em;
    font-weight: 800;
    color: #00bcd4;
}

.nav-cta {
    background-color: #ff2079;
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.nav-cta:hover {
    background-color: #e6006c;
}

/* --- Hero Section --- */
#hero {
    text-align: center;
    padding: 100px 0;
    background: radial-gradient(circle at center, #23234d 0%, #1a1a2e 70%);
}

.hero-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #ff2079;
    box-shadow: 0 0 15px rgba(255, 32, 121, 0.5);
    margin-bottom: 20px;
}

.neon-text {
    font-size: 3.5em;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 
        0 0 7px #00bcd4,
        0 0 10px #00bcd4,
        0 0 21px #00bcd4,
        0 0 42px rgba(0, 188, 212, 0.5),
        0 0 82px rgba(0, 188, 212, 0.5),
        0 0 92px rgba(0, 188, 212, 0.5),
        0 0 102px rgba(0, 188, 212, 0.5);
    animation: flicker 1.5s infinite alternate;
    margin-bottom: 10px;
}

@keyframes flicker {
    from { opacity: 1; }
    to { opacity: 0.8; }
}

.tagline {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.cta-group .cta-button {
    text-decoration: none;
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button.primary {
    background-color: #ff2079;
    color: white;
    box-shadow: 0 0 15px rgba(255, 32, 121, 0.4);
}

.cta-button.primary:hover {
    background-color: #e6006c;
    transform: translateY(-3px);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #00bcd4;
    color: #00bcd4;
}

.cta-button.secondary:hover {
    background-color: #00bcd4;
    color: #1a1a2e;
    transform: translateY(-3px);
}

/* --- Stats Section (Responsive Grid) --- */
#stats {
    padding: 40px 0;
    background-color: #1f1f3a;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.stat-item {
    padding: 20px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3em;
    font-weight: 800;
    color: #00bcd4;
    display: block;
}

.stat-label {
    margin: 0;
    font-size: 1.1em;
    color: #ff2079;
}
.source-info {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 5px;
}


/* --- Features Section (Responsive Grid) --- */
#features {
    padding: 80px 0;
    background-color: #1a1a2e;
    text-align: center;
}

h2 {
    font-size: 2.2em;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

#h2h-products h2 {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    padding-top: 40px; /* Tambahkan padding agar tidak terlalu dekat dengan pricing */
}

.feature-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #1f1f3a;
    padding: 30px;
    border-radius: 12px;
    border-top: 3px solid #ff2079;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: border-top-color 0.3s;
}

.feature-card:hover {
    border-top-color: #00bcd4;
}

.feature-card i {
    font-size: 2.5em;
    color: #00bcd4;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-top: 0;
    color: #fff;
}

.feature-card p {
    color: #ccc;
}

/* --- Pricing/H2H Section Containers --- */
#pricing, #h2h-products {
    padding: 80px 0;
    text-align: center;
}

/* Warna latar belakang gelap untuk section pricing */
.dark-accent-bg {
    background-color: #1f1f3a; 
    color: #f0f0f0; 
}
.dark-accent-bg h2 {
    color: #00bcd4; 
    text-shadow: none;
    margin-bottom: 40px;
}
.dark-accent-bg .warning-text {
    color: #ff2079; 
    font-weight: 600;
}

/* Layanan Dinamis Grid */
#service-list-container, #h2h-list-container {
    margin: 40px 0;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    justify-content: center;
}

.service-card {
    /* Kartu di dalam dark-accent-bg menggunakan warna yang lebih gelap lagi */
    background-color: #23234d; 
    color: #f0f0f0;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border-bottom: 3px solid #00bcd4; 
    border-left: none; 
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-bottom-color: #ff2079; 
}

.service-card h3 {
    font-size: 1.2em;
    color: #fff;
    margin-top: 0;
    min-height: 40px; 
}

.service-card .price {
    font-size: 1.8em;
    font-weight: 800;
    color: #ff2079;
    margin: 10px 0;
}

.service-card .stock-status {
    font-size: 0.9em;
    font-weight: 600;
}

.status-ready {
    color: #28a745;
}

.status-sold {
    color: #dc3545;
}
.loading-message {
    color: #00bcd4;
    font-weight: 600;
}

/* --- H2H Product Specific Styling --- */
.h2h-img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.h2h-card {
    border-bottom: 3px solid #ff2079; /* Aksen berbeda untuk H2H */
}

.h2h-card:hover {
    border-bottom-color: #00bcd4;
}

.original-price {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8em;
    margin: -5px 0 5px;
    text-decoration: line-through;
}

/* --- Footer --- */
footer {
    background-color: #141423;
    padding: 20px 0;
    font-size: 0.9em;
}

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

.footer-links a {
    color: #00bcd4;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* =================================================== */
/* MEDIA QUERIES (RESPONSIVENESS)          */
/* =================================================== */
@media (max-width: 900px) {
    .neon-text {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    /* Umum */
    #hero {
        padding: 60px 0;
    }
    h2 {
        font-size: 1.8em;
    }

    /* Stats Grid: Stack Vertikal */
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
        gap: 10px;
        border: none;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 15px;
        background-color: #1f1f3a;
        border-radius: 8px;
    }
    .stat-number {
        font-size: 2.5em;
    }

    /* Hero */
    .neon-text {
        font-size: 2em;
    }
    .tagline {
        font-size: 1em;
    }
    .cta-group {
        flex-direction: column;
        gap: 10px;
    }
    .cta-group .cta-button {
        width: 100%;
        max-width: 300px;
    }

    /* Layanan Dinamis */
    .service-list-grid {
        grid-template-columns: repeat(2, 1fr); 
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 500px) {
    .service-list-grid {
        grid-template-columns: 1fr;
    }
}
