/*
Theme Name: Ilmu Hytam Theme
Theme URI: https://ilmuhytam.com
Author: High-Level Dev Group
Description: Tema Cyber Security premium dengan performa tinggi, dirancang khusus untuk blog Forensics dan Red Team dengan custom cyber cursor.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ilmuhytam
*/

:root {
    --bg-main: #050508;
    --bg-surface: rgba(10, 10, 16, 0.7);
    --bg-card: rgba(18, 18, 28, 0.4);
    --primary: #00ff66;
    --secondary: #00d2ff;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-glow: rgba(0, 255, 102, 0.15);
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    cursor: none; 
}

body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

.glow-orb {
    position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    filter: blur(140px); opacity: 0.12; z-index: -1; pointer-events: none;
}
.orb-1 { top: -10%; right: -5%; background: var(--primary); }
.orb-2 { top: 50%; left: -10%; background: var(--secondary); }

/* Custom Cursor */
.custom-cursor-dot {
    width: 6px; height: 6px; background: var(--primary);
    position: fixed; border-radius: 50%; pointer-events: none; z-index: 99999;
    transform: translate(-50%, -50%); transition: width 0.1s, height 0.1s;
}
.custom-cursor-outline {
    width: 30px; height: 30px; border: 1.5px solid var(--secondary);
    position: fixed; border-radius: 50%; pointer-events: none; z-index: 99998;
    transform: translate(-50%, -50%); animation: cursorIdle 2s infinite ease-in-out;
}
@keyframes cursorIdle {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; border-color: var(--primary); }
}
.cursor-click-effect {
    position: fixed; border: 2px solid var(--primary); border-radius: 50%;
    pointer-events: none; z-index: 99997; transform: translate(-50%, -50%);
    animation: shockwave 0.4s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
@keyframes shockwave {
    0% { width: 0px; height: 0px; opacity: 1; }
    100% { width: 60px; height: 60px; opacity: 0; border-color: transparent; }
}
body.cursor-hovering .custom-cursor-dot { background: var(--secondary); width: 10px; height: 10px; }
body.cursor-hovering .custom-cursor-outline { width: 45px; height: 45px; border-color: var(--primary); background: rgba(0, 255, 102, 0.05); animation: none; }
a, button, .service-card, .blog-card { cursor: none !important; }

/* Navbar Header */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--bg-surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); z-index: 1000;
}
.navbar { max-width: 1300px; margin: 0 auto; padding: 20px 40px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; text-decoration: none; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.logo span { background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 35px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 600; position: relative; padding: 5px 0; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.cta-header-btn { background: rgba(0, 255, 102, 0.08); border: 1px solid var(--primary); color: var(--primary); padding: 10px 22px; border-radius: 6px; font-family: var(--font-display); font-weight: 600; text-decoration: none; font-size: 0.9rem; box-shadow: 0 0 15px rgba(0, 255, 102, 0.1); transition: all 0.3s; }
.cta-header-btn:hover { background: var(--primary); color: var(--bg-main); box-shadow: 0 0 25px rgba(0, 255, 102, 0.3); transform: translateY(-2px); }

/* Hero Section */
.hero { max-width: 1300px; margin: 0 auto; padding: 180px 40px 80px 40px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 210, 255, 0.06); border: 1px solid rgba(0, 210, 255, 0.2); color: var(--secondary); padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 25px; font-family: var(--font-display); }
.hero h1 { font-family: var(--font-display); font-size: 4rem; line-height: 1.1; font-weight: 700; margin-bottom: 25px; }
.hero h1 span { display: block; background: linear-gradient(120deg, var(--text-main) 30%, var(--text-muted)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; margin-bottom: 40px; max-width: 600px; }
.btn-primary { background: linear-gradient(90deg, var(--primary), #00cc52); color: var(--bg-main); padding: 16px 32px; border-radius: 8px; font-family: var(--font-display); font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 255, 102, 0.2); transition: all 0.3s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 255, 102, 0.35); }

.console-box { background: rgba(10, 11, 18, 0.8); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 25px; font-family: monospace; box-shadow: 0 30px 60px rgba(0,0,0,0.6); position: relative; }
.console-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 12px 12px 0 0; }
.console-header { display: flex; gap: 8px; margin-bottom: 20px; }
.console-dot { width: 10px; height: 10px; border-radius: 50%; }
.console-dot.red { background: #ff5f56; }
.console-dot.yellow { background: #ffbd2e; }
.console-dot.green { background: #27c93f; }
.console-body { color: #5fff87; font-size: 0.9rem; line-height: 1.6; }
.console-body .blue-text { color: var(--secondary); }
.console-body .white-text { color: var(--text-main); }
.console-body .gray-text { color: var(--text-muted); }

/* Static Navigation Cards */
.services { max-width: 1300px; margin: 0 auto; padding: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.03); padding: 40px 35px; border-radius: 16px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(0, 210, 255, 0.3); box-shadow: 0 20px 40px rgba(0, 210, 255, 0.05); }
.card-icon { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--secondary); margin-bottom: 25px; transition: all 0.3s; }
.service-card:hover .card-icon { color: var(--bg-main); background: var(--secondary); box-shadow: 0 0 20px rgba(0, 210, 255, 0.4); }
.service-card.red-variant:hover .card-icon { color: var(--bg-main); background: var(--primary); box-shadow: 0 0 20px rgba(0, 255, 102, 0.4); }
.service-card.red-variant:hover { border-color: rgba(0, 255, 102, 0.3); }
.service-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Dynamic Blog Loop Section */
.blog-section { max-width: 1300px; margin: 0 auto; padding: 60px 40px 140px 40px; }
.section-title { font-family: var(--font-display); font-size: 2rem; margin-bottom: 35px; font-weight: 700; }
.section-title span { color: var(--primary); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.blog-card { background: rgba(15, 15, 25, 0.5); border: 1px solid rgba(255,255,255,0.05); border-radius: 14px; padding: 30px; text-decoration: none; color: inherit; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s; }
.blog-card:hover { border-color: var(--secondary); background: rgba(15, 15, 25, 0.8); transform: scale(1.01); }
.blog-meta { font-size: 0.85rem; color: var(--secondary); margin-bottom: 10px; font-family: var(--font-display); }
.blog-card h4 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.blog-excerpt { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .services-grid, .blog-grid { grid-template-columns: 1fr; }
    .custom-cursor-dot, .custom-cursor-outline { display: none; }
    body { cursor: default; }
}