* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Konten utama */
main {
    flex: 0 1 800px;
    /* konten max 800px biar fokus */
    padding: 48px 24px;
    background: none;
}

/* Sidebar iklan kiri & kanan */
.side-ads {
    flex: 0 0 160px;
    /* lebar fixed sidebar */
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.ad-slot {
    margin: 16px 0;
    text-align: center;
    min-height: 250px;
    /* contoh slot medium rectangle */
}

/* Responsive: kalau layar kecil, buang side ads */
@media (max-width: 1024px) {
    .side-ads {
        display: none;
    }

    main {
        flex: 1;
        max-width: 100%;
    }
}

html,
body {
    height: 100%;
}

body {
    font-family: Inter, system-ui, sans-serif;
    background: linear-gradient(180deg, #0f1115 0%, #141519 100%);
    color: #e6eef8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header stays fixed */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(20, 22, 26, 0.85);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #b9becd);
}

.site-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
}

nav a {
    color: #9fb9d9;
    margin-left: 18px;
    text-decoration: none;
}

nav a:hover {
    color: #e6f6ff;
    text-decoration: underline;
}

/* Main content */
main {
    margin-top: 72px;
    flex: 1 0 auto;
    padding: 48px 24px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 2.1rem;
    margin-bottom: 14px;
    color: #fff;
}

.hero p {
    color: #bcd6ee;
    margin-bottom: 18px;
}


.dot {
    min-width: 44px;
    height: 44px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(102, 204, 255, 0.08);
    color: #66ccff;
    font-weight: bold;
    font-size: 1.5rem;
}

pre {
    background: #0b0c0f;
    padding: 14px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: monospace;
    color: #cfeffd;
    font-size: 13px;
    margin-top: 14px;
}

footer {
    flex-shrink: 0;
    background: rgba(18, 20, 24, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    text-align: center;
    color: #a8bed6;
    font-size: 0.9rem;
}

.subtitle {
    color: #6d7783;
    font-size: 12px;
}

/* Base feature card */
.feature {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 12px;
}

.feature:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.04);
}

/* Dot badge */
.feature .dot {
    min-width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Feature titles */
.feature h3 {
    color: #fff;
    font-size: 1.1rem;
}

/* Sub-features list */
.sub-features {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 0;
    justify-content: flex-start;
}

.sub-feature {
    flex: 1 1 calc(33.333% - 16px);
    /* max 3 per row */
    max-width: 200px;
    display: flex;
    flex-direction: column;
    /* teks di atas, img di bawah */
    align-items: center;
    text-align: center;
}

.sub-feature span {
    font-size: 0.9rem;
    color: #a8bed6;
    margin-bottom: 6px;
}

.sub-feature img {
    width: 128px;
    height: 128px;
    border-radius: 8px;
    /* rounded 8 */
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
}


/* PASSWORD (red) */
.feature-password .dot {
    background: rgba(255, 4, 0, 0.1);
    color: #cd2727;
}

.feature-password:hover {
    border-color: rgba(255, 55, 0, 0.6);
    box-shadow: 0 6px 16px rgba(255, 55, 0, 0.25);
}

/* JSON (Orange) */
.feature-json .dot {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
}

.feature-json:hover {
    border-color: rgba(255, 165, 0, 0.6);
    box-shadow: 0 6px 16px rgba(255, 165, 0, 0.25);
}

/* Excel (Green) */
.feature-excel .dot {
    background: rgba(0, 200, 100, 0.1);
    color: #00c864;
}

.feature-excel:hover {
    border-color: rgba(0, 200, 100, 0.6);
    box-shadow: 0 6px 16px rgba(0, 200, 100, 0.25);
}

/* AI (RGB Animation) */
@keyframes rgb {
    0% {
        color: #ff0000;
        border-color: #ff0000;
        box-shadow: 0 0 8px #ff0000;
    }

    33% {
        color: #00ff00;
        border-color: #00ff00;
        box-shadow: 0 0 8px #00ff00;
    }

    66% {
        color: #00aaff;
        border-color: #00aaff;
        box-shadow: 0 0 8px #00aaff;
    }

    100% {
        color: #ff0000;
        border-color: #ff0000;
        box-shadow: 0 0 8px #ff0000;
    }
}

.feature-ai .dot {
    background: rgba(255, 255, 255, 0.08);
    animation: rgb 3s linear infinite;
}

.feature-ai:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.06);
}