:root {
    --cyan: #00f5ff;
    --blue: #3b82f6;
    --purple: #a855f7;
    --neon-cyan: #00ffff;
    --neon-blue: #0080ff;
    --neon-purple: #bf00ff;
    --dark: #020409;
    --dark-2: #060d1a;
    --dark-3: #080f1f;
    --glow-cyan: 0 0 20px rgba(0,245,255,0.5), 0 0 40px rgba(0,245,255,0.2);
    --glow-blue: 0 0 20px rgba(59,130,246,0.5), 0 0 40px rgba(59,130,246,0.2);
    --glow-purple: 0 0 20px rgba(168,85,247,0.5), 0 0 40px rgba(168,85,247,0.2);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark);
    color: #fff;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
}
.font-orbitron { font-family: 'Orbitron', monospace; }
.font-mono { font-family: 'Fira Code', monospace; }

#canvas-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.neon-text-cyan {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0,245,255,0.8), 0 0 30px rgba(0,245,255,0.4);
}
.neon-text-blue {
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96,165,250,0.8), 0 0 30px rgba(96,165,250,0.4);
}
.neon-text-purple {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(192,132,252,0.8), 0 0 30px rgba(192,132,252,0.4);
}
.neon-border-cyan {
    border-color: rgba(0,245,255,0.4);
    box-shadow: 0 0 15px rgba(0,245,255,0.15), inset 0 0 15px rgba(0,245,255,0.05);
}
.neon-border-blue {
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 0 15px rgba(59,130,246,0.15), inset 0 0 15px rgba(59,130,246,0.05);
}
.neon-border-purple {
    border-color: rgba(168,85,247,0.4);
    box-shadow: 0 0 15px rgba(168,85,247,0.15), inset 0 0 15px rgba(168,85,247,0.05);
}

.glass-card {
    background: rgba(6, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,245,255,0.1);
}
.glass-card-blue {
    background: rgba(6, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59,130,246,0.15);
}
.glass-card-purple {
    background: rgba(6, 13, 26, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168,85,247,0.15);
}

.btn-neon-cyan {
    background: linear-gradient(135deg, rgba(0,245,255,0.15), rgba(0,128,255,0.15));
    border: 1px solid rgba(0,245,255,0.5);
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0,245,255,0.6);
    box-shadow: 0 0 20px rgba(0,245,255,0.2), inset 0 0 20px rgba(0,245,255,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-neon-cyan::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,245,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-neon-cyan:hover::before { left: 100%; }
.btn-neon-cyan:hover {
    box-shadow: 0 0 30px rgba(0,245,255,0.4), inset 0 0 30px rgba(0,245,255,0.1);
    transform: translateY(-2px);
}

.btn-neon-blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(99,102,241,0.2));
    border: 1px solid rgba(59,130,246,0.5);
    color: #93c5fd;
    box-shadow: 0 0 20px rgba(59,130,246,0.2), inset 0 0 20px rgba(59,130,246,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-neon-blue::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-neon-blue:hover::before { left: 100%; }
.btn-neon-blue:hover {
    box-shadow: 0 0 30px rgba(59,130,246,0.4), inset 0 0 30px rgba(59,130,246,0.1);
    transform: translateY(-2px);
    color: #bfdbfe;
}

.gradient-text-cyber {
    background: linear-gradient(135deg, #00f5ff, #3b82f6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-neon {
    background: linear-gradient(90deg, #00f5ff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor-blink { animation: blink 1s step-end infinite; }
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.float-anim { animation: floatY 4s ease-in-out infinite; }
.float-anim-slow { animation: floatY 6s ease-in-out infinite; }
.float-anim-delay { animation: floatY 4s ease-in-out 1s infinite; }
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.pulse-glow-cyan { 
    animation: pulseGlowCyan 2s ease-in-out infinite; 
}
@keyframes pulseGlowCyan {
    0%, 100% { box-shadow: 0 0 15px rgba(0,245,255,0.3); }
    50% { box-shadow: 0 0 35px rgba(0,245,255,0.7), 0 0 60px rgba(0,245,255,0.3); }
}

.pulse-glow-blue {
    animation: pulseGlowBlue 2s ease-in-out infinite;
}

@keyframes pulseGlowBlue {
    0%, 100% {
        box-shadow: 0 0 15px rgba(59,130,246,0.3);
    }

    50% {
        box-shadow:
            0 0 35px rgba(59,130,246,0.7),
            0 0 60px rgba(59,130,246,0.3);
    }
}

.pulse-glow-purple {
    animation: pulseGlowPurple 2s ease-in-out infinite;
}

@keyframes pulseGlowPurple {
    0%, 100% {
        box-shadow: 0 0 15px rgba(168,85,247,0.3);
    }

    50% {
        box-shadow:
            0 0 35px rgba(168,85,247,0.7),
            0 0 60px rgba(168,85,247,0.3);
    }
}

.pulse-glow-green {
    animation: pulseGlowGreen 2s ease-in-out infinite;
}

@keyframes pulseGlowGreen {
    0%, 100% {
        box-shadow: 0 0 15px rgba(34,197,94,0.3);
    }

    50% {
        box-shadow:
            0 0 35px rgba(34,197,94,0.7),
            0 0 60px rgba(34,197,94,0.3);
    }
}

.scan-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: scanDown 3s linear infinite;
    pointer-events: none;
}
@keyframes scanDown {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.grid-bg {
    background-image: 
        linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.nav-link {
    position: relative;
    transition: all 0.3s;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 0 8px rgba(0,245,255,0.6);
    transition: width 0.3s;
}
.nav-link:hover { color: var(--cyan); text-shadow: 0 0 8px rgba(0,245,255,0.4); }
.nav-link:hover::after { width: 100%; }

.nav-link.active {
    color: #00f5ff !important;
    text-shadow: 0 0 10px rgba(0,245,255,0.7);
}

.stat-counter {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
}

.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.project-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,245,255,0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.project-card:hover::before { opacity: 1; }
.project-card:hover { transform: translateY(-8px) scale(1.01); }

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 30px;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s;
}
.tech-badge:hover {
    transform: translateY(-3px);
}

.testimonial-card {
    background: rgba(6,13,26,0.9);
    border: 1px solid rgba(0,245,255,0.1);
    transition: all 0.3s;
}
.testimonial-card:hover {
    border-color: rgba(0,245,255,0.3);
    box-shadow: 0 0 30px rgba(0,245,255,0.1);
    transform: translateY(-4px);
}

.faq-item {
    background: rgba(6,13,26,0.8);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.faq-item.open {
    border-color: rgba(0,245,255,0.3);
    box-shadow: 0 0 20px rgba(0,245,255,0.08);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-icon { transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.cta-banner {
    background: linear-gradient(135deg, rgba(0,245,255,0.08) 0%, rgba(59,130,246,0.08) 50%, rgba(168,85,247,0.08) 100%);
    border: 1px solid rgba(0,245,255,0.2);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0,245,255,0.05), transparent, rgba(168,85,247,0.05), transparent);
    animation: rotateBg 10s linear infinite;
}
@keyframes rotateBg { to { transform: rotate(360deg); } }

.corner-bracket {
    position: absolute;
    width: 20px; height: 20px;
}
.corner-bracket.tl { top: 8px; left: 8px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.corner-bracket.tr { top: 8px; right: 8px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }
.corner-bracket.bl { bottom: 8px; left: 8px; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); }
.corner-bracket.br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); }

.section-title-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.section-title-line::before, .section-title-line::after {
    content: '';
    display: block;
    height: 1px;
    width: 40px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}
.section-title-line::after {
    background: linear-gradient(90deg, var(--cyan), transparent);
}

html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--cyan), var(--blue)); border-radius: 3px; }

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-slide-left { animation: slideInLeft 0.8s ease forwards; }
.animate-slide-right { animation: slideInRight 0.8s ease forwards; }
.animate-slide-up { animation: slideInUp 0.6s ease forwards; }

.hexagon-bg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath d='M30 2 L58 17 L58 47 L30 62 L2 47 L2 17 Z' fill='none' stroke='rgba(0,245,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 52px;
}

.data-stream {
    position: absolute;
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    color: rgba(0,245,255,0.3);
    animation: streamFall 8s linear infinite;
    pointer-events: none;
}
@keyframes streamFall {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.filter-btn { transition: all 0.3s; }











/* Style Untuk Halaman Free Project */
.page-hero {
    background: linear-gradient(135deg, rgba(0,245,255,0.05) 0%, rgba(2,4,9,0.15) 40%, rgba(168,85,247,0.05) 100%);
    border-bottom: 1px solid rgba(0,245,255,0.1);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.search-input {
    background: rgba(6,13,26,0.9);
    border: 1px solid rgba(0,245,255,0.15);
    color: #fff;
    transition: all 0.3s;
    font-family: 'Exo 2', sans-serif;
}
.search-input:focus {
    outline: none;
    border-color: rgba(0,245,255,0.5);
    box-shadow: 0 0 20px rgba(0,245,255,0.1), 0 0 0 3px rgba(0,245,255,0.05);
}
.search-input::placeholder { color: rgba(255,255,255,0.2); }

.filter-select {
    background: rgba(6,13,26,0.9);
    border: 1px solid rgba(0,245,255,0.15);
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    -webkit-appearance: none;
    appearance: none;
}
.filter-select:focus {
    outline: none;
    border-color: rgba(0,245,255,0.4);
    color: #fff;
}
.filter-select option { background: #060d1a; }

.tag-filter-btn {
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Fira Code', monospace;
    border: 1px solid rgba(255,255,255,0.08);
    color: #6b7280;
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.tag-filter-btn:hover {
    border-color: rgba(0,245,255,0.3);
    color: #00f5ff;
    background: rgba(0,245,255,0.05);
}
.tag-filter-btn.active {
    border-color: rgba(0,245,255,0.5);
    color: #00f5ff;
    background: rgba(0,245,255,0.08);
    box-shadow: 0 0 12px rgba(0,245,255,0.15);
}

.view-toggle-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #6b7280;
    cursor: pointer;
    transition: all 0.25s;
}
.view-toggle-btn.active, .view-toggle-btn:hover {
    border-color: rgba(0,245,255,0.4);
    color: #00f5ff;
    background: rgba(0,245,255,0.08);
    box-shadow: 0 0 10px rgba(0,245,255,0.15);
}

#cards-container {
    transition: all 0.3s;
}

.sc-card {
    background: rgba(6,13,26,0.85);
    border: 1px solid rgba(0,245,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: default;
}
.sc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,245,255,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.sc-card:hover {
    border-color: rgba(0,245,255,0.3);
    box-shadow: 0 0 30px rgba(0,245,255,0.08), 0 20px 40px rgba(0,0,0,0.4);
    transform: translateY(-6px);
}
.sc-card:hover::before { opacity: 1; }

.sc-card-list {
    flex-direction: row;
    align-items: center;
    border-radius: 12px;
}
.sc-card-list:hover { transform: translateY(-3px) translateX(4px); }
.sc-card-list .card-thumb { width: 140px; min-width: 140px; height: 100%; min-height: 110px; }
.sc-card-list .card-body { flex: 1; padding: 20px; }
.sc-card-list .card-footer { border-top: none; border-left: 1px solid rgba(255,255,255,0.05); padding: 20px; min-width: 180px; flex-direction: column; align-items: flex-end; gap: 10px; }

.card-thumb {
    position: relative;
    overflow: hidden;
    height: 160px;
    background: linear-gradient(135deg, rgba(0,245,255,0.06), rgba(168,85,247,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.card-thumb .thumb-icon {
    font-size: 3rem;
    opacity: 0.15;
    transition: all 0.3s;
}
.sc-card:hover .thumb-icon { opacity: 0.25; transform: scale(1.1); }
.card-thumb .thumb-badge {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    background: rgba(74,222,128,0.12);
    border: 1px solid rgba(74,222,128,0.3);
    color: #4ade80;
    text-shadow: 0 0 8px rgba(74,222,128,0.4);
}
.card-thumb .thumb-stack {
    position: absolute;
    bottom: 10px; right: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-family: 'Fira Code', monospace;
    background: rgba(2,4,9,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    color: #9ca3af;
}
.card-thumb-line {
    height: 3px;
    width: 100%;
}

.card-body { padding: 20px 20px 16px; flex: 1; }
.card-title {
    font-family: 'Orbitron', monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}
.card-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-tag {
    font-size: 0.65rem;
    font-family: 'Fira Code', monospace;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: #9ca3af;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid rgba(255,255,255,0.04);
    gap: 10px;
}
.card-stat { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: #6b7280; font-family: 'Fira Code', monospace; }
.card-stat i { font-size: 0.65rem; }

.btn-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    background: rgba(168,85,247,0.08);
    border: 1px solid rgba(168,85,247,0.35);
    color: #a855f7;
    text-shadow: 0 0 8px rgba(168,85,247,0.4);
    box-shadow: 0 0 15px rgba(168,85,247,0.1);
    transition: all 0.3s;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(168,85,247,0.15),
        transparent
    );
    transition: left 0.4s;
}

.btn-preview:hover::before {
    left: 100%;
}

.btn-preview:hover {
    background: rgba(168,85,247,0.15);
    box-shadow: 0 0 25px rgba(168,85,247,0.25);
    transform: translateY(-1px);
}

/* bagian btn buy */
.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.35);
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251,191,36,0.4);
    box-shadow: 0 0 15px rgba(251,191,36,0.1);
    transition: all 0.3s;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(251,191,36,0.15),
        transparent
    );
    transition: left 0.4s;
}

.btn-buy:hover::before {
    left: 100%;
}

.btn-buy:hover {
    background: rgba(251,191,36,0.15);
    box-shadow: 0 0 25px rgba(251,191,36,0.25);
    transform: translateY(-1px);
}
    
.empty-state {
    text-align: center;
    padding: 80px 20px;
    display: none;
}
.empty-state i {
    font-size: 3rem;
    color: rgba(0,245,255,0.2);
    margin-bottom: 16px;
    display: block;
}

.result-count {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #4b5563;
}
.result-count span { color: #00f5ff; }

.new-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.3);
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.sc-card { animation: cardFadeIn 0.4s ease forwards; }
.sc-card:nth-child(1) { animation-delay: 0.05s; }
.sc-card:nth-child(2) { animation-delay: 0.1s; }
.sc-card:nth-child(3) { animation-delay: 0.15s; }
.sc-card:nth-child(4) { animation-delay: 0.2s; }
.sc-card:nth-child(5) { animation-delay: 0.25s; }

.grid-view { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; }
@media (min-width: 640px) { .grid-view { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-view { grid-template-columns: repeat(3, 1fr); } }

.list-view { display: flex; flex-direction: column; gap: 16px; }
.list-view .sc-card { flex-direction: row; border-radius: 12px; }
.list-view .sc-card:hover { transform: translateY(-3px) translateX(4px); }
.list-view .card-thumb { width: 130px; min-width: 130px; height: auto; min-height: 120px; border-radius: 0; }
.list-view .card-body { padding: 18px 20px; }
.list-view .card-footer { border-top: none; border-left: 1px solid rgba(255,255,255,0.04); padding: 18px 20px; min-width: 200px; flex-direction: column; align-items: flex-end; gap: 10px; justify-content: center; }
.list-view .card-thumb-line { width: 3px; height: 100%; position: absolute; top: 0; left: 0; }
.list-view .card-thumb { position: relative; }

@media (max-width: 639px) {
    .list-view .sc-card { flex-direction: column; }
    .list-view .card-thumb { width: 100%; min-height: 120px; }
    .list-view .card-footer { border-left: none; border-top: 1px solid rgba(255,255,255,0.04); flex-direction: row; min-width: unset; }
}



/* Ini untuk style AI */
.ai-float{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:9999;

    width:58px;
    height:58px;

    border-radius:50%;
    overflow:hidden;

    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(
        135deg,
        #0f172a,
        #1e293b
    );

    border:1px solid rgba(139,92,246,.4);

    box-shadow:
        0 0 10px rgba(139,92,246,.4),
        0 0 20px rgba(59,130,246,.3),
        0 0 40px rgba(139,92,246,.2);

    transition:all .3s ease;
    animation:aiFloat 3s ease-in-out infinite;
}

.ai-float:hover{
    transform:translateY(-4px) scale(1.08);

    box-shadow:
        0 0 15px rgba(139,92,246,.8),
        0 0 30px rgba(59,130,246,.5),
        0 0 60px rgba(139,92,246,.4);
}

.ai-float img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    position:relative;
    z-index:2;
}

.ai-glow{
    position:absolute;
    inset:-6px;

    border-radius:50%;
    border:2px solid rgba(139,92,246,.35);

    animation:aiPulse 2s infinite;
}

.ai-tooltip{
    position:absolute;
    right:72px;

    background:rgba(15,23,42,.96);
    color:#8b5cf6;

    border:1px solid rgba(139,92,246,.25);

    padding:8px 12px;
    border-radius:10px;

    font-size:12px;
    font-weight:700;

    white-space:nowrap;

    opacity:0;
    transform:translateX(10px);

    transition:.3s;
}

.ai-float:hover .ai-tooltip{
    opacity:1;
    transform:translateX(0);
}

@keyframes aiPulse{
    0%{
        transform:scale(1);
        opacity:1;
    }
    100%{
        transform:scale(1.35);
        opacity:0;
    }
}

@keyframes aiFloat{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-6px);
    }
}

/* Mobile */
@media(max-width:768px){
    .ai-float{
        width:56px;
        height:56px;
        right:15px;
        bottom:15px;
    }

    .ai-tooltip{
        display:none;
    }
}

/* =========================================================
   OPTIMASI PERFORMA GPU & SCROLLING MOBILE
   ========================================================= */

/* 1. Kelancaran scroll native */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* 2. Hardware acceleration untuk elemen berat */
.glass-card,
.glass-card-blue,
.glass-card-purple,
header {
    transform: translateZ(0);
    will-change: transform, backdrop-filter;
}

/* 3. Optimasi khusus mobile */
@media(max-width: 768px) {
    .glass-card,
    .glass-card-blue,
    .glass-card-purple {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    header[style*="blur(20px)"] {
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
}