/* --- Orbital Variables --- */
:root {
    --bg-dark: #05070a;
    --bg-card: rgba(10, 15, 25, 0.8);
    --accent-blue: #00f2ff;
    --accent-purple: #7000ff;
    --text-main: #e0e6ed;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Required for custom pointer */
}

/* --- Custom Mouse Pointer --- */
#custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    position: fixed; /* Fixed so it follows viewport */
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px var(--accent-blue);
    z-index: 9999;
    transition: transform 0.1s ease-out;
}

/* --- Navigation --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 10%;
    z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 2rem;
}

header nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: var(--accent-blue);
}

/* --- Hero Section with Background Image --- */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    
    /* The Background Implementation */
    background: linear-gradient(
        to bottom,
        rgba(5, 7, 10, 0.4) 0%,
        rgba(5, 7, 10, 0.9) 100%
    ), 
    url('assets/hero-bg.png'); /* Ensure this matches your folder structure */
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

#hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.2));
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.8;
}

/* --- Agent Content Section --- */
#index {
    padding: 6rem 10%;
    background: var(--bg-dark);
}

#index h2 {
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

#file-list {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    list-style: none;
}

#file-list li {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.2s;
}

#file-list li:last-child {
    border-bottom: none;
}

#file-list li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.02);
}

.agent-link {
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Utilities --- */
.loading {
    color: var(--accent-blue);
    font-style: italic;
    opacity: 0.6;
}
